|
|
@@ -9,35 +9,35 @@
|
|
|
.menu{
|
|
|
width: 100%;
|
|
|
height: 40px;
|
|
|
- background: #229ee6;
|
|
|
+ /*background: #229ee6;*/
|
|
|
margin: 0;
|
|
|
line-height: 40px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.menu .btn{
|
|
|
border: none;
|
|
|
- background: none;
|
|
|
- color: #fff;
|
|
|
- padding: 8px 30px;
|
|
|
+ /*background: none;*/
|
|
|
+ /*color: #fff;*/
|
|
|
+ /*padding: 8px 30px;*/
|
|
|
width: 100px;
|
|
|
}
|
|
|
-.menu .btn:active{
|
|
|
- background: none;
|
|
|
-}
|
|
|
+/*.menu .btn:active{*/
|
|
|
+ /*background: none;*/
|
|
|
+/*}*/
|
|
|
.menu .btn-group{
|
|
|
height: 40px;
|
|
|
}
|
|
|
-.menu .btn-primary:before,.menu a:hover:before{
|
|
|
- content: "";
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- display: inline-block;
|
|
|
- background: #fff;
|
|
|
- transform: rotate(-45deg);
|
|
|
- position: absolute;
|
|
|
- bottom: -18px;
|
|
|
- left: 40%;
|
|
|
-}
|
|
|
+/*.menu .btn-primary:before{*/
|
|
|
+ /*!*content: "";*!*/
|
|
|
+ /*!*width: 20px;*!*/
|
|
|
+ /*!*height: 20px;*!*/
|
|
|
+ /*!*display: inline-block;*!*/
|
|
|
+ /*background: blue;*/
|
|
|
+ /*!*transform: rotate(-45deg);*!*/
|
|
|
+ /*!*position: absolute;*!*/
|
|
|
+ /*!*bottom: -18px;*!*/
|
|
|
+ /*!*left: 40%;*!*/
|
|
|
+/*}*/
|
|
|
.menu .col-sm-3{
|
|
|
float: right;
|
|
|
margin-right: 100px;
|
|
|
@@ -73,8 +73,11 @@
|
|
|
color: #219ee6;
|
|
|
}
|
|
|
.adopt {
|
|
|
- background: red;
|
|
|
+ position: absolute;
|
|
|
+ left: 0px;
|
|
|
+ top: 0px;
|
|
|
}
|
|
|
+
|
|
|
</style>
|
|
|
<div>
|
|
|
<div class="box-header well">
|
|
|
@@ -84,65 +87,84 @@
|
|
|
<div class="fullscreen" style="padding: 10px;">
|
|
|
<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.inquiry.code"></span>
|
|
|
+ <p class="text-center">物料信息</p>
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
</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 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 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 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.cmpCode"></span>
|
|
|
+ <p class="text-center">求购信息</p>
|
|
|
+ <!--<span class="col-sm-6" ng-bind="seek.inquiry.code"></span>-->
|
|
|
</div>
|
|
|
<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 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 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 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>
|
|
|
</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 class="col-sm-3 f14">
|
|
|
<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 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>
|
|
|
</div>
|
|
|
<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>
|
|
|
@@ -152,13 +174,13 @@
|
|
|
</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.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 class="col-sm-3 f14">
|
|
|
<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>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -168,7 +190,7 @@
|
|
|
<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 === '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>
|
|
|
@@ -184,12 +206,12 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody ng-repeat="qutation in seek.qutations">
|
|
|
- <tr class="text-center" ng-class="{'adopt':qutation.agreed == 1}">
|
|
|
- <td><span ng-bind="qutation.offerTime | date:'yyyy-MM-dd HH:mm:ss'"></span></td>
|
|
|
+ <tr class="text-center">
|
|
|
+ <td style="position: relative;"><span ng-bind="qutation.offerTime | date:'yyyy-MM-dd HH:mm:ss'"></span><img ng-if="qutation.agreed == 1" class="adopt" src="static/img/seekPurchase/recieved-left.png" alt=""></td>
|
|
|
<td><p ng-bind="qutation.enterprise.enName"></p></td>
|
|
|
<td><span ng-bind="qutation.enterprise.enTel"></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>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@@ -209,7 +231,7 @@
|
|
|
<td><span ng-bind="go.enterpriseName"></span></td>
|
|
|
<td><p ng-bind="go.b2cMinDelivery + '-' + go.b2cMaxDelivery"></p></td>
|
|
|
<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">
|
|
|
<span ng-bind="p.start + '+'"></span>|<span ng-bind="go.currencyName + p.uSDPrice | currencyStr"></span>
|
|
|
</p></td>
|
|
|
@@ -222,21 +244,19 @@
|
|
|
<table ng-show="status == 103" class="table table-bordered table-striped table-hover" style="word-break:break-all; word-wrap:break-all;">
|
|
|
<thead>
|
|
|
<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>
|
|
|
</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><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>
|
|
|
</table>
|
|
|
</div>
|