|
@@ -84,65 +84,84 @@
|
|
|
<div class="fullscreen" style="padding: 10px;">
|
|
<div class="fullscreen" style="padding: 10px;">
|
|
|
<div class="col-sm-3 f14">
|
|
<div class="col-sm-3 f14">
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">询价单号:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.inquiry.code"></span>
|
|
|
|
|
|
|
+ <p class="text-center">物料信息</p>
|
|
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">规格:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.spec"></span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.cmpCode">
|
|
|
|
|
+ <span class="col-sm-5 text-right">型号:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.cmpCode"></span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">币种:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.currency"></span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.inbrand">
|
|
|
|
|
+ <span class="col-sm-5 text-right">品牌:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.inbrand"></span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.product.spec">
|
|
|
|
|
+ <span class="col-sm-5 text-right">名称:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.product.spec"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--<div class="form-group row">-->
|
|
|
|
|
+ <!--<span class="col-sm-5 text-right">询价单号:</span>-->
|
|
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.product.spec">
|
|
|
|
|
+ <span class="col-sm-5 text-right">规格:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.product.spec"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm-3 f14">
|
|
<div class="col-sm-3 f14">
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">型号:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.cmpCode"></span>
|
|
|
|
|
|
|
+ <p class="text-center">求购信息</p>
|
|
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">封装:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.encapsulation"></span>
|
|
|
|
|
|
|
+ <span class="col-sm-5 text-right">求购状态:</span>
|
|
|
|
|
+ <span ng-if="seek.agreed && seek.agreed == 1 && seek.offerAmount > 0" class="col-sm-5" style="color:green;">已采纳</span>
|
|
|
|
|
+ <span ng-if="(!seek.agreed || seek.agreed == 0) && seek.offerAmount > 0" class="col-sm-5" style="color:red;">已报价</span>
|
|
|
|
|
+ <span ng-if="!seek.offerAmount || seek.offerAmount == 0" class="col-sm-5">待报价</span>
|
|
|
|
|
+ <!--<span ng-if="seek.agreed && seek.agreed == 1" class="col-sm-5" style="color:green;">已截至</span>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">生产日期:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.produceDate"></span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.date">
|
|
|
|
|
+ <span class="col-sm-5 text-right">发布日期:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.date | date:'yyyy-MM-dd HH:mm:dd'"></span>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- <div class="col-sm-3 f14">
|
|
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">品牌:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.inbrand"></span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.endDate">
|
|
|
|
|
+ <span class="col-sm-5 text-right">截止日期:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.endDate | date:'yyyy-MM-dd HH:mm:dd'"></span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">采购数量:</span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.needquantity">
|
|
|
|
|
+ <span class="col-sm-5 text-right">采购数量:</span>
|
|
|
<span class="col-sm-6" ng-bind="seek.needquantity"></span>
|
|
<span class="col-sm-6" ng-bind="seek.needquantity"></span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">截止日期:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.endDate | date:'yyyy-MM-dd HH:mm:dd'"></span>
|
|
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.unitPrice">
|
|
|
|
|
+ <span class="col-sm-5 text-right">单价预算:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.unitPrice"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.encapsulation">
|
|
|
|
|
+ <span class="col-sm-5 text-right">封装:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.encapsulation"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.produceDate">
|
|
|
|
|
+ <span class="col-sm-5 text-right">生产日期:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.produceDate"></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group row" ng-if="seek.currency">
|
|
|
|
|
+ <span class="col-sm-5 text-right">币种:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.currency"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm-3 f14">
|
|
<div class="col-sm-3 f14">
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">求购状态:</span>
|
|
|
|
|
- <span ng-if="seek.agreed && seek.agreed == 1 && seek.offerAmount > 0" class="col-sm-4" style="color:green;">已采纳</span>
|
|
|
|
|
- <span ng-if="(!seek.agreed || seek.agreed == 0) && seek.offerAmount > 0" class="col-sm-4" style="color:red;">已报价</span>
|
|
|
|
|
- <span ng-if="!seek.offerAmount || seek.offerAmount == 0" class="col-sm-4">待报价</span>
|
|
|
|
|
- <!--<span ng-if="seek.agreed && seek.agreed == 1" class="col-sm-4" style="color:green;">已截至</span>-->
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="form-group row">
|
|
|
|
|
- <span class="col-sm-4 text-right">发布日期:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.date | date:'yyyy-MM-dd HH:mm:dd'"></span>
|
|
|
|
|
|
|
+ <p class="text-center">分配状态</p>
|
|
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group row" ng-if="salesman_name">
|
|
<div class="form-group row" ng-if="salesman_name">
|
|
|
- <span class="col-sm-4 text-right">业务员:</span>
|
|
|
|
|
|
|
+ <span class="col-sm-5 text-right">业务员:</span>
|
|
|
<span class="col-sm-6" ng-bind="salesman_name"></span>
|
|
<span class="col-sm-6" ng-bind="salesman_name"></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group row" ng-if="!salesman_name">
|
|
<div class="form-group row" ng-if="!salesman_name">
|
|
|
- <span class="col-sm-4 text-right"></span>
|
|
|
|
|
- <button class="btn btn-primary" ng-click="orders()">我来接单</button></p>
|
|
|
|
|
|
|
+ <span class="col-sm-5 text-right"></span>
|
|
|
|
|
+ <button class="btn btn-primary col-sm-5" ng-click="orders()">我来接单</button></p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -152,13 +171,13 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm-3 f14">
|
|
<div class="col-sm-3 f14">
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">买家:</span>
|
|
|
|
|
- <span class="col-sm-6" ng-bind="seek.userName + '|' + seek.inquiry.enterprise.enName"></span>
|
|
|
|
|
|
|
+ <span class="col-sm-5 text-right">买家:</span>
|
|
|
|
|
+ <span class="col-sm-6" ng-bind="seek.userName + ' | ' + seek.inquiry.enterprise.enName"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm-3 f14">
|
|
<div class="col-sm-3 f14">
|
|
|
<div class="form-group row">
|
|
<div class="form-group row">
|
|
|
- <span class="col-sm-4 text-right">电话:</span>
|
|
|
|
|
|
|
+ <span class="col-sm-5 text-right">电话:</span>
|
|
|
<span class="col-sm-6" ng-bind="seek.userTel"></span>
|
|
<span class="col-sm-6" ng-bind="seek.userTel"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -168,7 +187,7 @@
|
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
|
<a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'offer'}" ng-click="setActive('offer')">当前报价({{seek.qutations.length}})</a>
|
|
<a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'offer'}" ng-click="setActive('offer')">当前报价({{seek.qutations.length}})</a>
|
|
|
<a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'goods'}" ng-click="setActive('goods')">商城现货({{goods.length}})</a>
|
|
<a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'goods'}" ng-click="setActive('goods')">商城现货({{goods.length}})</a>
|
|
|
- <a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'pricing'}" ng-click="setActive('pricing')">核价信息(0)</a>
|
|
|
|
|
|
|
+ <a type="button" class="btn btn-default" ng-class="{'btn-primary': active === 'pricing'}" ng-click="setActive('pricing')">核价信息({{product.length}})</a>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -189,7 +208,7 @@
|
|
|
<td><p ng-bind="qutation.enterprise.enName"></p></td>
|
|
<td><p ng-bind="qutation.enterprise.enName"></p></td>
|
|
|
<td><span ng-bind="qutation.enterprise.enTel"></span></td>
|
|
<td><span ng-bind="qutation.enterprise.enTel"></span></td>
|
|
|
<td><span ng-bind="qutation.leadtime"></span></td>
|
|
<td><span ng-bind="qutation.leadtime"></span></td>
|
|
|
- <td><p ng-repeat="re in qutation.replies"><span ng-bind="re.lapQty + '+'"></span>|<span ng-bind="qutation.currency + re.price | currencyStr"></span></p></td>
|
|
|
|
|
|
|
+ <td><p ng-repeat="re in qutation.replies"><span ng-bind="re.lapQty + '+'"></span> | <span ng-bind="qutation.currency + re.price | currencyStr"></span></p></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
@@ -209,7 +228,7 @@
|
|
|
<td><span ng-bind="go.enterpriseName"></span></td>
|
|
<td><span ng-bind="go.enterpriseName"></span></td>
|
|
|
<td><p ng-bind="go.b2cMinDelivery + '-' + go.b2cMaxDelivery"></p></td>
|
|
<td><p ng-bind="go.b2cMinDelivery + '-' + go.b2cMaxDelivery"></p></td>
|
|
|
<td><p ng-if="go.currencyName == 'RMB'" ng-repeat="p in go.prices">
|
|
<td><p ng-if="go.currencyName == 'RMB'" ng-repeat="p in go.prices">
|
|
|
- <span ng-bind="p.start + '+'"></span>|<span ng-bind="go.currencyName + p.rMBPrice | currencyStr"></span>
|
|
|
|
|
|
|
+ <span ng-bind="p.start + '+'"></span> | <span ng-bind="go.currencyName + p.rMBPrice | currencyStr"></span>
|
|
|
</p><p ng-if="go.currencyName == 'USD'" ng-repeat="p in go.prices">
|
|
</p><p ng-if="go.currencyName == 'USD'" ng-repeat="p in go.prices">
|
|
|
<span ng-bind="p.start + '+'"></span>|<span ng-bind="go.currencyName + p.uSDPrice | currencyStr"></span>
|
|
<span ng-bind="p.start + '+'"></span>|<span ng-bind="go.currencyName + p.uSDPrice | currencyStr"></span>
|
|
|
</p></td>
|
|
</p></td>
|
|
@@ -222,21 +241,19 @@
|
|
|
<table ng-show="status == 103" class="table table-bordered table-striped table-hover" style="word-break:break-all; word-wrap:break-all;">
|
|
<table ng-show="status == 103" class="table table-bordered table-striped table-hover" style="word-break:break-all; word-wrap:break-all;">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr class="tr-default">
|
|
<tr class="tr-default">
|
|
|
- <th width="10%;" class="text-center">卖家</th>
|
|
|
|
|
- <th width="20%;" class="text-center">物料编号</th>
|
|
|
|
|
- <th width="10%" class="text-center">物料名称</th>
|
|
|
|
|
- <th width="10%" class="text-center">标记</th>
|
|
|
|
|
- <th width="50%" class="text-center">价格梯度</th>
|
|
|
|
|
|
|
+ <th width="30%;" class="text-center">卖家</th>
|
|
|
|
|
+ <th width="40%;" class="text-center">物料编号</th>
|
|
|
|
|
+ <th width="30%" class="text-center">物料名称</th>
|
|
|
|
|
+ <!--<th width="10%" class="text-center">标记</th>-->
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
- <tbody ng-repeat="qutation in seek.qutations">
|
|
|
|
|
- <!--<tr class="text-center">-->
|
|
|
|
|
- <!--<td><span ng-bind="qutation.offerTime | date:'yyyy-MM-dd HH:mm:ss'"></span></td>-->
|
|
|
|
|
- <!--<td><p ng-bind="qutation.enterprise.enName"></p></td>-->
|
|
|
|
|
- <!--<td><span ng-bind="qutation.enterprise.enTel"></span></td>-->
|
|
|
|
|
|
|
+ <tbody ng-repeat="p in product">
|
|
|
|
|
+ <tr class="text-center">
|
|
|
|
|
+ <td><span ng-bind="p.enterprise.enName"></span></td>
|
|
|
|
|
+ <td><p ng-bind="p.prodNum"></p></td>
|
|
|
|
|
+ <td><span ng-bind="p.kind"></span></td>
|
|
|
<!--<td><span ng-bind="qutation.leadtime"></span></td>-->
|
|
<!--<td><span ng-bind="qutation.leadtime"></span></td>-->
|
|
|
- <!--<td><p ng-repeat="re in qutation.replies"><span ng-bind="re.lapQty + '+'"></span>|<span ng-bind="qutation.currency + re.price | currencyStr"></span></p></td>-->
|
|
|
|
|
- <!--</tr>-->
|
|
|
|
|
|
|
+ </tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
</div>
|
|
</div>
|