|
|
@@ -87,15 +87,22 @@
|
|
|
.order-table .order-bd .product {
|
|
|
padding-left: 20px;
|
|
|
}
|
|
|
+ .order-table .order-bd .product .dropdown-toggle span{
|
|
|
+ color:#333;
|
|
|
+ }
|
|
|
.order-table .order-bd .product .dropdown-toggle{
|
|
|
position:relative;
|
|
|
display:inline-block;
|
|
|
+ color:#333;
|
|
|
}
|
|
|
.order-table .order-bd .product .dropdown-toggle:hover{
|
|
|
text-decoration: none;
|
|
|
- color:#327ebe;
|
|
|
cursor:pointer;
|
|
|
}
|
|
|
+ .order-table .order-bd .product .dropdown-toggle:hover span{
|
|
|
+ text-decoration: none;
|
|
|
+ color:#327ebe;
|
|
|
+ }
|
|
|
.order-table .order-bd .product .dropdown-toggle i{
|
|
|
position:relative;
|
|
|
top:-3px;
|
|
|
@@ -158,6 +165,22 @@
|
|
|
}
|
|
|
</style>
|
|
|
<link rel="stylesheet" href="static/css/public.css">
|
|
|
+<style>
|
|
|
+ .order-table .order-bd .pane-body span{
|
|
|
+ font-size: 14px;
|
|
|
+ color:#333;
|
|
|
+ }
|
|
|
+ .order-table .order-bd .pane-body em{
|
|
|
+ font-size: 14px;
|
|
|
+ color:#999;
|
|
|
+ font-style:normal;
|
|
|
+ }
|
|
|
+ .order-table .order-bd td span{
|
|
|
+ font-size: 14px;
|
|
|
+ color:#999;
|
|
|
+ font-style:normal;
|
|
|
+ }
|
|
|
+</style>
|
|
|
<div class="block" id="public">
|
|
|
<div class="loading in" ng-class="{'in': loading}">
|
|
|
<i></i>
|
|
|
@@ -354,10 +377,17 @@
|
|
|
<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"
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <span>产品规格:</span>
|
|
|
+ <em ng-bind="::inquiryItem.product.spec"></em>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>产品名称:</span>
|
|
|
+ <em ng-bind="::inquiryItem.product.title"></em>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div ng-show="!inquiryItem.product.spec && !inquiryItem.product.title"
|
|
|
class="text-center text-muted">暂无产品信息</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -365,49 +395,27 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
- <span ng-bind="::inquiryItem.brand"></span>
|
|
|
+ <span ng-bind="inquiryItem.product.brand ? inquiryItem.product.brand : '-'"></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 ng-repeat="reply in inquiryItem.replies">
|
|
|
+ <span ng-bind="reply.lapQty"></span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
- <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 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>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
- <div ng-show="!inquiryItem.$editing">
|
|
|
- <span ng-bind="inquiryItem.minOrderQty ? inquiryItem.minOrderQty : '-'"></span> /
|
|
|
- <span ng-bind="inquiryItem.minPackQty ? inquiryItem.minPackQty : '-'"></span>
|
|
|
- </div>
|
|
|
+ <span ng-bind="inquiryItem.minOrderQty ? inquiryItem.minOrderQty : '-'"></span>
|
|
|
+ <span>/</span>
|
|
|
+ <span ng-bind="inquiryItem.minPackQty ? inquiryItem.minPackQty : '-'"></span>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
<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">
|
|
|
@@ -427,23 +435,6 @@
|
|
|
<div ng-show="!inquiryItem.$editing">
|
|
|
<a ng-click="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>
|