|
|
@@ -1,6 +1,7 @@
|
|
|
<div class="pane base-info">
|
|
|
<div class="pane-header">
|
|
|
- 客户询价单<!-- <a href="#" class="pull-right text-simple"><i
|
|
|
+ 客户询价单
|
|
|
+ <!-- <a href="#" class="pull-right text-simple"><i
|
|
|
class="fa fa-print fa-fw"></i>打印</a> -->
|
|
|
</div>
|
|
|
<div class="pane-body">
|
|
|
@@ -83,18 +84,22 @@
|
|
|
ng-bind="::inquiryItem.product.code"></div>
|
|
|
<div ng-bind="::inquiryItem.product.title"></div>
|
|
|
<div class="text-muted" ng-bind="::inquiryItem.product.spec"></div>
|
|
|
- <div class="form-group" ng-if="inquiryItem.$editing" style="width: 180px;">
|
|
|
+ <div class="form-group" ng-if="inquiryItem.$editing"
|
|
|
+ style="width: 180px;">
|
|
|
<input type="text" class="form-control input-xs"
|
|
|
ng-model="inquiryItem.brand" placeholder="物料品牌">
|
|
|
</div>
|
|
|
- <div class="form-group" ng-if="inquiryItem.$editing" style="width: 180px;">
|
|
|
+ <div class="form-group" ng-if="inquiryItem.$editing"
|
|
|
+ style="width: 180px;">
|
|
|
<input type="text" class="form-control input-xs"
|
|
|
ng-model="inquiryItem.vendorprodcode" placeholder="供应商物料编号">
|
|
|
</div>
|
|
|
- <div class="form-group" ng-if="inquiryItem.$editing" style="width: 220px;">
|
|
|
+ <div class="form-group" ng-if="inquiryItem.$editing"
|
|
|
+ style="width: 220px;">
|
|
|
<input type="number" class="form-control input-xs"
|
|
|
- ng-model="inquiryItem.leadtime" placeholder="交货周期(天数)" style="display: inline-block;width: 180px;">
|
|
|
- <span ng-if="!inquiryItem.leadtime" class="text-inverse"> 必填*</span>
|
|
|
+ ng-model="inquiryItem.leadtime" placeholder="交货周期(天数)"
|
|
|
+ style="display: inline-block; width: 180px;"> <span
|
|
|
+ ng-if="!inquiryItem.leadtime" class="text-inverse"> 必填*</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
@@ -141,7 +146,8 @@
|
|
|
<div class="row row-sm"
|
|
|
ng-repeat="historyReply in historyItem.replies">
|
|
|
<div class="col-xs-5">≥{{historyReply.lapQty}}</div>
|
|
|
- <div class="col-xs-5">价格{{historyReply.price | number:6}}</div>
|
|
|
+ <div class="col-xs-5">价格{{historyReply.price |
|
|
|
+ number:6}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="text-muted">{{historyItem.inquiry.date |
|
|
|
@@ -240,6 +246,27 @@
|
|
|
ng-if="inquiryItem.status == 201 && inquiryItem.agreed == null"
|
|
|
class="block">
|
|
|
<span class="text-trans warning">已报价</span>
|
|
|
+ <div ng-if="inquiryItem.replyable" style="padding-top: 50px;">
|
|
|
+ <div ng-show="!inquiryItem.$editing">
|
|
|
+ <a ng-click="inquiryItem.$editing=!inquiryItem.$editing">修改报价</a>
|
|
|
+ </div>
|
|
|
+ <div ng-show="inquiryItem.$editing">
|
|
|
+ <div>
|
|
|
+ <a ng-click="inquiryItem.$editing=!inquiryItem.$editing">取消</a>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <button ng-click="onReplyClick(inquiryItem, true)"
|
|
|
+ ng-disabled="!isValid(inquiryItem, true)"
|
|
|
+ class="btn btn-link btn-xs text-inverse">
|
|
|
+ 保存并<br>确认报价
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-if="inquiryItem.inquiry.check == 1" class="text-muted"
|
|
|
+ style="padding-top: 50px;">
|
|
|
+ 客户正在<br>审批...
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div ng-if="inquiryItem.status == 201 && inquiryItem.agreed == 1"
|
|
|
class="block">
|