demo20230512/Views/Partial/templates/reply_mode.cshtml
2023-05-12 10:20:28 +08:00

72 lines
3.7 KiB
Plaintext

<div class="reply_mode_wrap">
<div class="reply_mode">
<div ng-show="!reply_mode_selected">
@Resource.StaticLabelInfoPleaseSelectReplyMode
</div>
<div ng-show="reply_mode_selected==2&&selectedProductLCA&&!selectedProductLCA.CanReplyOtherRequest">
@Resource.StaticLabelInfoReplyModeString1
</div>
<div ng-show="reply_mode_selected==2&&selectedProductLCA&&selectedProductLCA.CanReplyOtherRequest">
@Resource.StaticLabelInfoReplyModeString2
</div>
<div ng-show="reply_mode_selected==1">
@Resource.StaticLabelInfoReplyModeString3
</div>
<div ng-show="reply_mode_selected==3">
@Resource.StaticLabelInfoReplyModeString4
</div>
<div ng-show="paramsObj.selectedRequest.CanBeReplied">
@Resource.StaticLabelInfoReplyModeString5
</div>
<form name="form" novalidate>
<div class="reply_mode_content">
<div class="row">
<div>
<span style="width:100px;">@Resource.LCAReplyMode</span>
<div class="select_wrap">
<select ng-model="reply_mode_selected" style="width:150px">
<option value="">@Resource.StaticLabelGlobal_Select </option>
<option value="1">@Resource.StaticLabelActualInventory </option>
<option value="2">@Resource.StaticLabelReferenceInventory </option>
@*<option value="3">@Resource.AnonymousReply</option>*@
</select>
</div>
</div>
</div>
<div class="row" ng-show="reply_mode_selected==2">
<div>
<span style="width:100px;">@Resource.StaticLabelLCAList</span>
<div class="select_wrap">
<select ng-model="selectedProductLCA" style="width:150px"
ng-options="item as item.ID+' '+item.Description for item in model.productLCAs"
ng-change="previewReplyValue(paramsObj.selectedRequest,selectedProductLCA)">
</select>
</div>
</div>
</div>
<div class="row" ng-show="reply_mode_selected==2&&selectedProductLCA&&selectedProductLCA.CanReplyOtherRequest">
<div>
<span style="width:100px;">@Resource.DistributionPrinciple</span>
<div class="select_wrap">
<select ng-model="paramsObj.selectedRequest.DivideBy" style="width:150px"
ng-change="previewReplyValue(paramsObj.selectedRequest,selectedProductLCA)">
<option value="0">@Resource.DistributeByWeight</option>
<option value="1">@Resource.DistributeByArea</option>
<option value="2">@Resource.DistributeByHour</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div>
<button class="header_button reply_confirm_btn"
ng-show="reply_mode_selected&&paramsObj.selectedRequest.CanBeReplied"
ng-click="StartReplyLCA(reply_mode_selected,selectedProductLCA)">
@Resource.StaticLabelGlobal_Confirm
</button>
</div>
</div>
</form>
</div>
</div>