|
@@ -87,6 +87,28 @@
|
|
|
.order-table .order-bd .product {
|
|
.order-table .order-bd .product {
|
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .order-table .order-bd .product .dropdown-toggle{
|
|
|
|
|
+ position:relative;
|
|
|
|
|
+ display:inline-block;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table .order-bd .product .dropdown-toggle:hover{
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+ color:#327ebe;
|
|
|
|
|
+ cursor:pointer;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table .order-bd .product .dropdown-toggle i{
|
|
|
|
|
+ position:relative;
|
|
|
|
|
+ top:-3px;
|
|
|
|
|
+ color:#c8c8c8;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table .order-bd .product .dropdown-toggle:hover i{
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+ color:#000;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-table .order-bd .product .dropdown-toggle:hover .dropdown-menu{
|
|
|
|
|
+ display:block;
|
|
|
|
|
+ margin:0;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
.input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
.input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
|
{
|
|
{
|
|
@@ -247,22 +269,20 @@
|
|
|
<table class="order-table block" ng-table="tableParams">
|
|
<table class="order-table block" ng-table="tableParams">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr class="header">
|
|
<tr class="header">
|
|
|
- <th>产品</th>
|
|
|
|
|
- <th width="60">单位</th>
|
|
|
|
|
- <th width="110"><span class="text-default">≥</span>分段数</th>
|
|
|
|
|
|
|
+ <th>产品型号</th>
|
|
|
|
|
+ <th width="160">品牌</th>
|
|
|
|
|
+ <th width="110">分段数量</th>
|
|
|
<th width="90">价格</th>
|
|
<th width="90">价格</th>
|
|
|
- <th width="80">最小订购</th>
|
|
|
|
|
- <th width="80">最小包装</th>
|
|
|
|
|
- <th width="120">有效期</th>
|
|
|
|
|
|
|
+ <th width="160">最小订购/包装</th>
|
|
|
<th width="75">操作</th>
|
|
<th width="75">操作</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr class="sep-row">
|
|
<tr class="sep-row">
|
|
|
- <td colspan="7"></td>
|
|
|
|
|
|
|
+ <td colspan="6"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody ng-if="tableParams.total() == 0">
|
|
<tbody ng-if="tableParams.total() == 0">
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td colspan="7">
|
|
|
|
|
|
|
+ <td colspan="6">
|
|
|
<div class="row text-muted info-container" style="padding: 50px 10px;">
|
|
<div class="row text-muted info-container" style="padding: 50px 10px;">
|
|
|
<div class="col-md-4 text-center">
|
|
<div class="col-md-4 text-center">
|
|
|
<br>
|
|
<br>
|
|
@@ -297,24 +317,18 @@
|
|
|
</tbody>
|
|
</tbody>
|
|
|
<tbody ng-repeat="inquiryItem in $data track by inquiryItem.id">
|
|
<tbody ng-repeat="inquiryItem in $data track by inquiryItem.id">
|
|
|
<tr class="order-hd">
|
|
<tr class="order-hd">
|
|
|
- <td class="first" colspan="4">
|
|
|
|
|
|
|
+ <td class="first" colspan="2">
|
|
|
<div class="order-main">
|
|
<div class="order-main">
|
|
|
- <!--<span> <input type="checkbox" class="selector"
|
|
|
|
|
- ng-model="inquiryItem.$selected">
|
|
|
|
|
- </span> -->
|
|
|
|
|
- <a href="javascript:void(0)" ng-if="!isUnread(inquiryItem.id)">
|
|
|
|
|
- <i class="fa fa-circle-thin"></i>
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="javascript:void(0)" ng-if="isUnread(inquiryItem.id)">
|
|
|
|
|
- <i class="fa fa-circle" style="color: #f40;"></i>
|
|
|
|
|
- </a>
|
|
|
|
|
- <span class="text-num text-bold" title="{{inquiryItem.inquiry.date}}"
|
|
|
|
|
- ng-bind="::inquiryItem.inquiry.date | date:'yyyy-MM-dd'"></span>
|
|
|
|
|
- <span
|
|
|
|
|
- ng-bind="::inquiryItem.inquiry.enterprise.enName"></span>
|
|
|
|
|
- <span>流水号:<a title="查看详情"
|
|
|
|
|
- class="text-num order-detail" ng-bind="::inquiryItem.inquiry.code" ui-sref="sale.pubinquiry_detail({id:inquiryItem.inquiry.id})" target="_self"
|
|
|
|
|
- ng-click="setOrdersRead(inquiryItem.id)"></a>
|
|
|
|
|
|
|
+ <span class="text-num text-bold" title="{{inquiryItem.inquiry.date}}"
|
|
|
|
|
+ ng-bind="::inquiryItem.inquiry.date | date:'yyyy-MM-dd'"></span>
|
|
|
|
|
+ <span ng-bind="::inquiryItem.inquiry.enterprise.enName"></span>
|
|
|
|
|
+ <span>流水号:
|
|
|
|
|
+ <a title="查看详情"
|
|
|
|
|
+ class="text-num order-detail"
|
|
|
|
|
+ ng-bind="::inquiryItem.inquiry.code"
|
|
|
|
|
+ ui-sref="sale.pubinquiry_detail({id:inquiryItem.inquiry.id})"
|
|
|
|
|
+ target="_self"
|
|
|
|
|
+ ng-click="setOrdersRead(inquiryItem.id)"></a>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
@@ -322,69 +336,36 @@
|
|
|
币别:<span ng-bind="::(isUser?'-':inquiryItem.currency)"></span>
|
|
币别:<span ng-bind="::(isUser?'-':inquiryItem.currency)"></span>
|
|
|
</td>
|
|
</td>
|
|
|
<td>
|
|
<td>
|
|
|
- 税率:<input type="text" ng-pattern="/^\+?[1-9]\d*$/" ng-model="inquiryItem.taxrate" style="width: 25px" ng-readonly="!inquiryItem.$editing">%
|
|
|
|
|
|
|
+ 税率:<span>17</span>%
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="text-right" colspan="1" class="order-sum">
|
|
|
|
|
|
|
+ <td class="text-right" colspan="2" class="order-sum">
|
|
|
<div ng-if="inquiryItem.replyable">
|
|
<div ng-if="inquiryItem.replyable">
|
|
|
<span class="text-inverse text-bold" ng-bind="::inquiryItem.inquiry.endDate | timespan"></span>
|
|
<span class="text-inverse text-bold" ng-bind="::inquiryItem.inquiry.endDate | timespan"></span>
|
|
|
- <span class="text-muted">后截止报价</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="text-center">
|
|
|
|
|
- <div class="">
|
|
|
|
|
- 类型: <span ng-bind="::inquiryItem.inquiry.inquirytype || '无'"></span>
|
|
|
|
|
|
|
+ <span class="text-muted" style="margin-right:35px;">后截止报价</span>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr class="order-bd">
|
|
<tr class="order-bd">
|
|
|
<td class="product">
|
|
<td class="product">
|
|
|
- <div class="text-num text-bold" ng-bind="::inquiryItem.product.code"></div>
|
|
|
|
|
- <div ng-bind="::inquiryItem.product.title"></div>
|
|
|
|
|
- <div class="text-muted" ng-bind="::inquiryItem.product.spec"></div>
|
|
|
|
|
- <div ng-if="::inquiryItem.brand && !inquiryItem.$editing" class="text-muted">
|
|
|
|
|
- 品牌:<span ng-bind="::inquiryItem.brand"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="::inquiryItem.vendorprodcode && !inquiryItem.$editing" class="text-muted">
|
|
|
|
|
- 供应商物料编号:<span ng-bind="::inquiryItem.vendorprodcode"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="::inquiryItem.needquantity" class="text-num text-bold">
|
|
|
|
|
- 需求数量:<span ng-bind="::inquiryItem.needquantity"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-show="inquiryItem.remark">
|
|
|
|
|
- 备注:{{::inquiryItem.remark}}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="inquiryItem.inquiry.attachs.length" class="text-muted">
|
|
|
|
|
- <i class="fa fa-paperclip fa-fw" style="color: #ffa340; font-size: 18px;"></i>附件:<a class="file" ng-repeat="attach in inquiryItem.inquiry.attachs" href="file/{{attach.id}}">{{::attach.name}}</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="inquiryItem.attaches.length" class="text-muted">
|
|
|
|
|
- <i class="fa fa-paperclip fa-fw" style="color: #ffa340; font-size: 18px;"></i>报价附件:
|
|
|
|
|
- <div ng-repeat="attach in inquiryItem.attaches">
|
|
|
|
|
- <a class="file" href="file/{{attach.id}}">{{::attach.name}} </a>
|
|
|
|
|
- <a ng-show="inquiryItem.$editing" ng-click="deleteAttach(inquiryItem.attaches, $index)" title="删除附件"><i class="fa fa-trash-o fa-lg"></i></a>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <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;">
|
|
|
|
|
- <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;">
|
|
|
|
|
- <input type="text" class="form-control input-xs" ng-change="verify(inquiryItem.leadtime,'leadtime')" ng-pattern="/^\+?[1-9]\d*$/"
|
|
|
|
|
- ng-model="inquiryItem.leadtime" placeholder="交货周期(确切天数)" style="display: inline-block;width: 180px;">
|
|
|
|
|
- <span ng-if="!inquiryItem.leadtime" class="text-inverse"> 必填*</span>
|
|
|
|
|
- <div style="margin-left: 50px;"class="text-bold text-inverse" ng-show="!leadtimeVerify">请填数字!</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="input-group form-group" ng-if="inquiryItem.$editing" style="width: 300px;">
|
|
|
|
|
- <div class="input-group-addon">上传附件:</div>
|
|
|
|
|
- <input type="file" ng-model="inquiryItem.myFiles" ng-file-select
|
|
|
|
|
- ng-multiple="false" class="form-control input-sm input-group" name="file">
|
|
|
|
|
|
|
+ <div class="text-num text-bold">
|
|
|
|
|
+ <a class="dropdown-toggle"
|
|
|
|
|
+ ng-mouseover="getHistory(inquiryItem)">
|
|
|
|
|
+ <span ng-bind="::inquiryItem.product.code"></span>
|
|
|
|
|
+ <i class="fa fa-fw fa-sort-desc"></i>
|
|
|
|
|
+ <div class="dropdown-menu pane" style="width: 270px;">
|
|
|
|
|
+ <div class="pane-body">
|
|
|
|
|
+ <ul class="list-unstyled list-menu">
|
|
|
|
|
+ <li ng-repeat="historyItem in ::inquiryItem.history">{{historyItem}}</li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ <div ng-show="!inquiryItem.history || inquiryItem.history.length == 0"
|
|
|
|
|
+ class="text-center text-muted">暂无产品信息</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </a>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
<td class="text-center">
|
|
<td class="text-center">
|
|
|
- <span ng-bind="::inquiryItem.product.unit"></span>
|
|
|
|
|
|
|
+ <span ng-bind="::inquiryItem.brand"></span>
|
|
|
</td>
|
|
</td>
|
|
|
<td class="text-center">
|
|
<td class="text-center">
|
|
|
<div ng-show="!inquiryItem.$editing">
|
|
<div ng-show="!inquiryItem.$editing">
|
|
@@ -392,104 +373,22 @@
|
|
|
<span ng-bind="reply.lapQty"></span>
|
|
<span ng-bind="reply.lapQty"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="margin: 0 auto;" ng-if="inquiryItem.$editing">
|
|
|
|
|
- <div ng-repeat="reply in inquiryItem.replies">
|
|
|
|
|
- <div class="form-group input-group input-group-xs">
|
|
|
|
|
- <input type="text" class="form-control input-xs" ng-class="{'input-error': !replylapQtys[$index]}" ng-change="verifylapQty(reply.lapQty,$index, inquiryItem)"
|
|
|
|
|
- ng-model="reply.lapQty" min="{{$index == 0 ? 0 :(inquiryItem.replies[$index - 1].lapQty + 1)}}" ng-pattern="/^\+?[1-9]\d*$/"
|
|
|
|
|
- ng-Readonly="$index == 0" placeholder="数量" />
|
|
|
|
|
- <span class="input-group-btn" ng-show="$index != 0">
|
|
|
|
|
- <button class="btn btn-default" type="button"
|
|
|
|
|
- ng-click="removeStep(inquiryItem, $index)">
|
|
|
|
|
- <i class="fa fa-trash-o"></i>
|
|
|
|
|
- </button>
|
|
|
|
|
- </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="text-bold text-inverse" style="margin-top:-15px" ng-show="!replylapQtys[$index]">分段数量递增!</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <a ng-click="addStep(inquiryItem)" class="btn btn-default btn-xs"
|
|
|
|
|
- ng-show="!inquiryItem.custLap">添加分段</a>
|
|
|
|
|
- </div>
|
|
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
|
|
+ <td class="text-center">
|
|
|
<div ng-show="!inquiryItem.$editing">
|
|
<div ng-show="!inquiryItem.$editing">
|
|
|
<div ng-repeat="reply in inquiryItem.replies">
|
|
<div ng-repeat="reply in inquiryItem.replies">
|
|
|
- <span ng-bind="isUser?'':(reply.price | number:6)"></span> <span
|
|
|
|
|
- ng-show="reply.price == null || isUser" class="text-muted">-</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="dropdown">
|
|
|
|
|
- <a href="javascript:void(0);" class="dropdown-toggle text-default"
|
|
|
|
|
- ng-mouseover="getHistory(inquiryItem)">历史报价<i
|
|
|
|
|
- class="fa fa-fw fa-angle-down"></i></a>
|
|
|
|
|
- <div class="dropdown-menu pane" style="width: 270px;">
|
|
|
|
|
- <div class="pane-body">
|
|
|
|
|
- <ul class="list-unstyled list-menu">
|
|
|
|
|
- <li ng-repeat="historyItem in ::inquiryItem.history">
|
|
|
|
|
- <div ng-class="{'text-inverse': $index==0}">
|
|
|
|
|
- <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>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="text-muted">{{historyItem.inquiry.date |
|
|
|
|
|
- date:'yyyy-MM-dd'}}{{historyItem.inquiry.enterprise.enName}}
|
|
|
|
|
- </div>
|
|
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <div ng-show="!inquiryItem.history || inquiryItem.history.length == 0"
|
|
|
|
|
- class="text-center text-muted">暂无历史报价</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div style="margin: 0 auto;" ng-if="inquiryItem.$editing">
|
|
|
|
|
- <div ng-repeat="reply in inquiryItem.replies">
|
|
|
|
|
- <div class="form-group">
|
|
|
|
|
- <input type="text" class="form-control input-xs " ng-class="{'input-error': !replyPrices[$index]}" ng-model="reply.price"
|
|
|
|
|
- ng-change="verify(reply.price,$index)" placeholder="单价(必填)" ng-init="reply.price = isUser?'-':reply.price"/>
|
|
|
|
|
- <div class="text-bold text-inverse" style="margin-bottom:-15px" ng-show="!replyPrices[$index]">请填数字!</div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <span ng-bind="isUser?'':(reply.price | number:6)"></span>
|
|
|
|
|
+ <span ng-show="reply.price == null || isUser" class="text-muted">-</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
- <div ng-show="!inquiryItem.$editing">
|
|
|
|
|
- <span ng-bind="inquiryItem.minOrderQty"></span> <span
|
|
|
|
|
- ng-show="inquiryItem.minOrderQty == null" class="text-muted">-</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="inquiryItem.$editing">
|
|
|
|
|
- <input type="text" class="form-control input-xs" ng-change="verify(inquiryItem.minOrderQty,'minOrderQty')"
|
|
|
|
|
- ng-class="{'input-error': !minOrderQtyVerify}" ng-model="inquiryItem.minOrderQty" placeholder="最小订购" >
|
|
|
|
|
- <div class="text-bold text-inverse" ng-show="!minOrderQtyVerify">请填数字!</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
|
|
+ <td class="text-center">
|
|
|
<div ng-show="!inquiryItem.$editing">
|
|
<div ng-show="!inquiryItem.$editing">
|
|
|
- <span ng-bind="inquiryItem.minPackQty"></span> <span
|
|
|
|
|
- ng-show="inquiryItem.minPackQty == null" class="text-muted">-</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-if="inquiryItem.$editing">
|
|
|
|
|
- <input type="text" class="form-control input-xs"
|
|
|
|
|
- ng-model="inquiryItem.minPackQty" placeholder="最小包装"
|
|
|
|
|
- ng-change="verify(inquiryItem.minPackQty,'minPackQty')" ng-class="{'input-error': !minPackQtyVerify}" >
|
|
|
|
|
- <div class="text-bold text-inverse" ng-show="!minPackQtyVerify">请填数字!</div>
|
|
|
|
|
|
|
+ <span ng-bind="inquiryItem.minOrderQty ? inquiryItem.minOrderQty : '-'"></span> /
|
|
|
|
|
+ <span ng-bind="inquiryItem.minPackQty ? inquiryItem.minPackQty : '-'"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
- <div ng-init="parseDate(inquiryItem)">
|
|
|
|
|
- <div ng-show="inquiryItem.toDate">
|
|
|
|
|
- <span class="text-muted">从 </span><span
|
|
|
|
|
- ng-bind="inquiryItem.fromDate | date:'yyyy-MM-dd'"></span> <span
|
|
|
|
|
- class="text-muted">到 </span><span
|
|
|
|
|
- ng-bind="inquiryItem.toDate | date:'yyyy-MM-dd'"></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-show="!inquiryItem.toDate">
|
|
|
|
|
- <span class="text-muted">-</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td class="text-center br-l">
|
|
|
|
|
|
|
+ <td class="text-center">
|
|
|
<div ng-if="inquiryItem.status == 201 && inquiryItem.agreed == null && inquiryItem.invalid != 1" class="block">
|
|
<div ng-if="inquiryItem.status == 201 && inquiryItem.agreed == null && inquiryItem.invalid != 1" class="block">
|
|
|
<span class="text-trans warning">已报价</span>
|
|
<span class="text-trans warning">已报价</span>
|
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1" style="padding-top: 50px;">
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1" style="padding-top: 50px;">
|
|
@@ -526,24 +425,24 @@
|
|
|
<div ng-if="inquiryItem.status == 200">
|
|
<div ng-if="inquiryItem.status == 200">
|
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1">
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1">
|
|
|
<div ng-show="!inquiryItem.$editing">
|
|
<div ng-show="!inquiryItem.$editing">
|
|
|
- <a ng-click="inquiryItem.$editing=!inquiryItem.$editing; getToken()">报 价</a>
|
|
|
|
|
|
|
+ <a ng-click="getToken()">报 价</a>
|
|
|
</div>
|
|
</div>
|
|
|
- <div ng-show="inquiryItem.$editing">
|
|
|
|
|
- <div>
|
|
|
|
|
- <a ng-click="inquiryItem.$editing=!inquiryItem.$editing; cancel()">取消</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <button ng-click="onReplyClick(inquiryItem);setOrdersRead(inquiryItem.id)"
|
|
|
|
|
- ng-disabled="!isValid(inquiryItem)"
|
|
|
|
|
- class="btn btn-link btn-xs text-default">保存</button>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <button ng-click="onReplyClick(inquiryItem, true);setOrdersRead(inquiryItem.id)"
|
|
|
|
|
- ng-disabled="!isValid(inquiryItem, true)"
|
|
|
|
|
- class="btn btn-link btn-xs text-inverse">
|
|
|
|
|
- 保存并<br>确认报价
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <!--<div ng-show="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<a ng-click="inquiryItem.$editing=!inquiryItem.$editing; cancel()">取消</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<button ng-click="onReplyClick(inquiryItem);setOrdersRead(inquiryItem.id)"-->
|
|
|
|
|
+ <!--ng-disabled="!isValid(inquiryItem)"-->
|
|
|
|
|
+ <!--class="btn btn-link btn-xs text-default">保存</button>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<button ng-click="onReplyClick(inquiryItem, true);setOrdersRead(inquiryItem.id)"-->
|
|
|
|
|
+ <!--ng-disabled="!isValid(inquiryItem, true)"-->
|
|
|
|
|
+ <!--class="btn btn-link btn-xs text-inverse">-->
|
|
|
|
|
+ <!--保存并<br>确认报价-->
|
|
|
|
|
+ <!--</button>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check == 1">
|
|
<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check == 1">
|
|
@@ -558,4 +457,294 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
+ <!--<table class="order-table block" ng-table="tableParams">-->
|
|
|
|
|
+ <!--<thead>-->
|
|
|
|
|
+ <!--<tr class="header">-->
|
|
|
|
|
+ <!--<th>产品</th>-->
|
|
|
|
|
+ <!--<th width="60">单位</th>-->
|
|
|
|
|
+ <!--<th width="110"><span class="text-default">≥</span>分段数</th>-->
|
|
|
|
|
+ <!--<th width="90">价格</th>-->
|
|
|
|
|
+ <!--<th width="80">最小订购</th>-->
|
|
|
|
|
+ <!--<th width="80">最小包装</th>-->
|
|
|
|
|
+ <!--<th width="120">有效期</th>-->
|
|
|
|
|
+ <!--<th width="75">操作</th>-->
|
|
|
|
|
+ <!--</tr>-->
|
|
|
|
|
+ <!--<tr class="sep-row">-->
|
|
|
|
|
+ <!--<td colspan="7"></td>-->
|
|
|
|
|
+ <!--</tr>-->
|
|
|
|
|
+ <!--</thead>-->
|
|
|
|
|
+ <!--<tbody ng-if="tableParams.total() == 0">-->
|
|
|
|
|
+ <!--<tr>-->
|
|
|
|
|
+ <!--<td colspan="7">-->
|
|
|
|
|
+ <!--<div class="row text-muted info-container" style="padding: 50px 10px;">-->
|
|
|
|
|
+ <!--<div class="col-md-4 text-center">-->
|
|
|
|
|
+ <!--<br>-->
|
|
|
|
|
+ <!--<br>-->
|
|
|
|
|
+ <!--<div><img src="static/img/all/info.png" width="130px" height="90px"></div>-->
|
|
|
|
|
+ <!--<div class="f16">当前没有对应的客户询价单!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="col-md-8 br-l">-->
|
|
|
|
|
+ <!--<div class="f16">-->
|
|
|
|
|
+ <!--<p>为什么我没有接收到客户的询价单?</p>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="f14">-->
|
|
|
|
|
+ <!--<div class="info">-->
|
|
|
|
|
+ <!--<p>1、您的客户还没有提交审核询价单<br>-->
|
|
|
|
|
+ <!--解决:与您的客户沟通确认单据是否已经审核(只有客户ERP中已经审核的单据才能接收到)</p>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="info">-->
|
|
|
|
|
+ <!--<p>2、客户ERP中供应商信息有误<br>-->
|
|
|
|
|
+ <!--解决:与您的客户沟通确认您的信息在客户的供应商资料中是否维护正确,尤其是企业UU号</p>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="info">-->
|
|
|
|
|
+ <!--<p>3、您的客户正在使用旧版本的UAS商务平台<br>-->
|
|
|
|
|
+ <!--解决:我们仍有部分用户在使用旧版本UAS商务平台系统,你可以用您的企业UU号和管理员个人UU号 <a href="http://www.usoftchina.com" class="text-bold text-link" title="http://www.usoftchina.com" target="_blank">登陆旧版本UAS商务平台</a></p>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<br>-->
|
|
|
|
|
+ <!--<br>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--</tr>-->
|
|
|
|
|
+ <!--</tbody>-->
|
|
|
|
|
+ <!--<tbody ng-repeat="inquiryItem in $data track by inquiryItem.id">-->
|
|
|
|
|
+ <!--<tr class="order-hd">-->
|
|
|
|
|
+ <!--<td class="first" colspan="4">-->
|
|
|
|
|
+ <!--<div class="order-main">-->
|
|
|
|
|
+ <!--<!–<span> <input type="checkbox" class="selector"-->
|
|
|
|
|
+ <!--ng-model="inquiryItem.$selected">-->
|
|
|
|
|
+ <!--</span> –>-->
|
|
|
|
|
+ <!--<a href="javascript:void(0)" ng-if="!isUnread(inquiryItem.id)">-->
|
|
|
|
|
+ <!--<i class="fa fa-circle-thin"></i>-->
|
|
|
|
|
+ <!--</a>-->
|
|
|
|
|
+ <!--<a href="javascript:void(0)" ng-if="isUnread(inquiryItem.id)">-->
|
|
|
|
|
+ <!--<i class="fa fa-circle" style="color: #f40;"></i>-->
|
|
|
|
|
+ <!--</a>-->
|
|
|
|
|
+ <!-- <span class="text-num text-bold" title="{{inquiryItem.inquiry.date}}"-->
|
|
|
|
|
+ <!--ng-bind="::inquiryItem.inquiry.date | date:'yyyy-MM-dd'"></span>-->
|
|
|
|
|
+ <!--<span-->
|
|
|
|
|
+ <!--ng-bind="::inquiryItem.inquiry.enterprise.enName"></span>-->
|
|
|
|
|
+ <!--<span>流水号:<a title="查看详情"-->
|
|
|
|
|
+ <!--class="text-num order-detail" ng-bind="::inquiryItem.inquiry.code" ui-sref="sale.pubinquiry_detail({id:inquiryItem.inquiry.id})" target="_self"-->
|
|
|
|
|
+ <!--ng-click="setOrdersRead(inquiryItem.id)"></a>-->
|
|
|
|
|
+ <!--</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td>-->
|
|
|
|
|
+ <!--币别:<span ng-bind="::(isUser?'-':inquiryItem.currency)"></span>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td>-->
|
|
|
|
|
+ <!--税率:<input type="text" ng-pattern="/^\+?[1-9]\d*$/" ng-model="inquiryItem.taxrate" style="width: 25px" ng-readonly="!inquiryItem.$editing">%-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-right" colspan="1" class="order-sum">-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.replyable">-->
|
|
|
|
|
+ <!--<span class="text-inverse text-bold" ng-bind="::inquiryItem.inquiry.endDate | timespan"></span>-->
|
|
|
|
|
+ <!--<span class="text-muted">后截止报价</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center">-->
|
|
|
|
|
+ <!--<div class="">-->
|
|
|
|
|
+ <!--类型: <span ng-bind="::inquiryItem.inquiry.inquirytype || '无'"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--</tr>-->
|
|
|
|
|
+ <!--<tr class="order-bd">-->
|
|
|
|
|
+ <!--<td class="product">-->
|
|
|
|
|
+ <!--<div class="text-num text-bold" ng-bind="::inquiryItem.product.code"></div>-->
|
|
|
|
|
+ <!--<div ng-bind="::inquiryItem.product.title"></div>-->
|
|
|
|
|
+ <!--<div class="text-muted" ng-bind="::inquiryItem.product.spec"></div>-->
|
|
|
|
|
+ <!--<div ng-if="::inquiryItem.brand && !inquiryItem.$editing" class="text-muted">-->
|
|
|
|
|
+ <!--品牌:<span ng-bind="::inquiryItem.brand"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="::inquiryItem.vendorprodcode && !inquiryItem.$editing" class="text-muted">-->
|
|
|
|
|
+ <!--供应商物料编号:<span ng-bind="::inquiryItem.vendorprodcode"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="::inquiryItem.needquantity" class="text-num text-bold">-->
|
|
|
|
|
+ <!--需求数量:<span ng-bind="::inquiryItem.needquantity"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-show="inquiryItem.remark">-->
|
|
|
|
|
+ <!--备注:{{::inquiryItem.remark}}-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.inquiry.attachs.length" class="text-muted">-->
|
|
|
|
|
+ <!--<i class="fa fa-paperclip fa-fw" style="color: #ffa340; font-size: 18px;"></i>附件:<a class="file" ng-repeat="attach in inquiryItem.inquiry.attachs" href="file/{{attach.id}}">{{::attach.name}}</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.attaches.length" class="text-muted">-->
|
|
|
|
|
+ <!--<i class="fa fa-paperclip fa-fw" style="color: #ffa340; font-size: 18px;"></i>报价附件:-->
|
|
|
|
|
+ <!--<div ng-repeat="attach in inquiryItem.attaches">-->
|
|
|
|
|
+ <!--<a class="file" href="file/{{attach.id}}">{{::attach.name}} </a>-->
|
|
|
|
|
+ <!--<a ng-show="inquiryItem.$editing" ng-click="deleteAttach(inquiryItem.attaches, $index)" title="删除附件"><i class="fa fa-trash-o fa-lg"></i></a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<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;">-->
|
|
|
|
|
+ <!--<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;">-->
|
|
|
|
|
+ <!--<input type="text" class="form-control input-xs" ng-change="verify(inquiryItem.leadtime,'leadtime')" ng-pattern="/^\+?[1-9]\d*$/"-->
|
|
|
|
|
+ <!--ng-model="inquiryItem.leadtime" placeholder="交货周期(确切天数)" style="display: inline-block;width: 180px;">-->
|
|
|
|
|
+ <!--<span ng-if="!inquiryItem.leadtime" class="text-inverse"> 必填*</span>-->
|
|
|
|
|
+ <!--<div style="margin-left: 50px;"class="text-bold text-inverse" ng-show="!leadtimeVerify">请填数字!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="input-group form-group" ng-if="inquiryItem.$editing" style="width: 300px;">-->
|
|
|
|
|
+ <!--<div class="input-group-addon">上传附件:</div>-->
|
|
|
|
|
+ <!--<input type="file" ng-model="inquiryItem.myFiles" ng-file-select-->
|
|
|
|
|
+ <!--ng-multiple="false" class="form-control input-sm input-group" name="file">-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center">-->
|
|
|
|
|
+ <!--<span ng-bind="::inquiryItem.product.unit"></span>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div ng-repeat="reply in inquiryItem.replies">-->
|
|
|
|
|
+ <!--<span ng-bind="reply.lapQty"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div style="margin: 0 auto;" ng-if="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div ng-repeat="reply in inquiryItem.replies">-->
|
|
|
|
|
+ <!--<div class="form-group input-group input-group-xs">-->
|
|
|
|
|
+ <!--<input type="text" class="form-control input-xs" ng-class="{'input-error': !replylapQtys[$index]}" ng-change="verifylapQty(reply.lapQty,$index, inquiryItem)"-->
|
|
|
|
|
+ <!--ng-model="reply.lapQty" min="{{$index == 0 ? 0 :(inquiryItem.replies[$index - 1].lapQty + 1)}}" ng-pattern="/^\+?[1-9]\d*$/"-->
|
|
|
|
|
+ <!--ng-Readonly="$index == 0" placeholder="数量" />-->
|
|
|
|
|
+ <!--<span class="input-group-btn" ng-show="$index != 0">-->
|
|
|
|
|
+ <!--<button class="btn btn-default" type="button"-->
|
|
|
|
|
+ <!--ng-click="removeStep(inquiryItem, $index)">-->
|
|
|
|
|
+ <!--<i class="fa fa-trash-o"></i>-->
|
|
|
|
|
+ <!--</button>-->
|
|
|
|
|
+ <!--</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div class="text-bold text-inverse" style="margin-top:-15px" ng-show="!replylapQtys[$index]">分段数量递增!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<a ng-click="addStep(inquiryItem)" class="btn btn-default btn-xs"-->
|
|
|
|
|
+ <!--ng-show="!inquiryItem.custLap">添加分段</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center br-l">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div ng-repeat="reply in inquiryItem.replies">-->
|
|
|
|
|
+ <!--<span ng-bind="isUser?'':(reply.price | number:6)"></span> <span-->
|
|
|
|
|
+ <!--ng-show="reply.price == null || isUser" class="text-muted">-</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div style="margin: 0 auto;" ng-if="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div ng-repeat="reply in inquiryItem.replies">-->
|
|
|
|
|
+ <!--<div class="form-group">-->
|
|
|
|
|
+ <!--<input type="text" class="form-control input-xs " ng-class="{'input-error': !replyPrices[$index]}" ng-model="reply.price"-->
|
|
|
|
|
+ <!--ng-change="verify(reply.price,$index)" placeholder="单价(必填)" ng-init="reply.price = isUser?'-':reply.price"/>-->
|
|
|
|
|
+ <!--<div class="text-bold text-inverse" style="margin-bottom:-15px" ng-show="!replyPrices[$index]">请填数字!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center br-l">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<span ng-bind="inquiryItem.minOrderQty"></span> <span-->
|
|
|
|
|
+ <!--ng-show="inquiryItem.minOrderQty == null" class="text-muted">-</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<input type="text" class="form-control input-xs" ng-change="verify(inquiryItem.minOrderQty,'minOrderQty')"-->
|
|
|
|
|
+ <!--ng-class="{'input-error': !minOrderQtyVerify}" ng-model="inquiryItem.minOrderQty" placeholder="最小订购" >-->
|
|
|
|
|
+ <!--<div class="text-bold text-inverse" ng-show="!minOrderQtyVerify">请填数字!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center br-l">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<span ng-bind="inquiryItem.minPackQty"></span> <span-->
|
|
|
|
|
+ <!--ng-show="inquiryItem.minPackQty == null" class="text-muted">-</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<input type="text" class="form-control input-xs"-->
|
|
|
|
|
+ <!--ng-model="inquiryItem.minPackQty" placeholder="最小包装"-->
|
|
|
|
|
+ <!--ng-change="verify(inquiryItem.minPackQty,'minPackQty')" ng-class="{'input-error': !minPackQtyVerify}" >-->
|
|
|
|
|
+ <!--<div class="text-bold text-inverse" ng-show="!minPackQtyVerify">请填数字!</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center br-l">-->
|
|
|
|
|
+ <!--<div ng-init="parseDate(inquiryItem)">-->
|
|
|
|
|
+ <!--<div ng-show="inquiryItem.toDate">-->
|
|
|
|
|
+ <!--<span class="text-muted">从 </span><span-->
|
|
|
|
|
+ <!--ng-bind="inquiryItem.fromDate | date:'yyyy-MM-dd'"></span> <span-->
|
|
|
|
|
+ <!--class="text-muted">到 </span><span-->
|
|
|
|
|
+ <!--ng-bind="inquiryItem.toDate | date:'yyyy-MM-dd'"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.toDate">-->
|
|
|
|
|
+ <!--<span class="text-muted">-</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--<td class="text-center br-l">-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.status == 201 && inquiryItem.agreed == null && inquiryItem.invalid != 1" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans warning">已报价</span>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1" style="padding-top: 50px;">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing && inquiryItem.replyable">-->
|
|
|
|
|
+ <!--<a ng-click="inquiryItem.$editing=!inquiryItem.$editing; getToken();">修改报价</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-show="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<a ng-click="inquiryItem.$editing=!inquiryItem.$editing; cancel()">取消</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<button ng-click="onReplyClick(inquiryItem, true);setOrdersRead(inquiryItem.id)"-->
|
|
|
|
|
+ <!--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 && inquiryItem.invalid != 1" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans success">已采纳</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.status == 201 && inquiryItem.invalid == 1" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans text-light">已失效</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.status == 314" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans text-light">已作废</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.status == 201 && inquiryItem.agreed == 0" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans error">未采纳</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.status == 200">-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check != 1">-->
|
|
|
|
|
+ <!--<div ng-show="!inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<a ng-click="inquiryItem.$editing=!inquiryItem.$editing; getToken()">报 价</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-show="inquiryItem.$editing">-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<a ng-click="inquiryItem.$editing=!inquiryItem.$editing; cancel()">取消</a>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<button ng-click="onReplyClick(inquiryItem);setOrdersRead(inquiryItem.id)"-->
|
|
|
|
|
+ <!--ng-disabled="!isValid(inquiryItem)"-->
|
|
|
|
|
+ <!--class="btn btn-link btn-xs text-default">保存</button>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div>-->
|
|
|
|
|
+ <!--<button ng-click="onReplyClick(inquiryItem, true);setOrdersRead(inquiryItem.id)"-->
|
|
|
|
|
+ <!--ng-disabled="!isValid(inquiryItem, true)"-->
|
|
|
|
|
+ <!--class="btn btn-link btn-xs text-inverse">-->
|
|
|
|
|
+ <!--保存并<br>确认报价-->
|
|
|
|
|
+ <!--</button>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.inquiry.overdue == 0 && inquiryItem.inquiry.check == 1">-->
|
|
|
|
|
+ <!--<span class="text-trans half">未报价</span>-->
|
|
|
|
|
+ <!--<div class="text-muted" style="padding-top: 50px;">询价单已<br>被提交...</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<div ng-if="inquiryItem.inquiry.overdue == 1" class="block">-->
|
|
|
|
|
+ <!--<span class="text-trans error">已过期</span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
|
|
+ <!--</tr>-->
|
|
|
|
|
+ <!--</tbody>-->
|
|
|
|
|
+ <!--</table>-->
|
|
|
</div>
|
|
</div>
|