|
|
@@ -33,6 +33,22 @@
|
|
|
border-radius: 2px;
|
|
|
-webkit-border-radius: 2px;
|
|
|
}
|
|
|
+.order-table .order-hd {
|
|
|
+ background: #f5f5f5;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table .order-hd td.first {
|
|
|
+ padding-left: 20px;
|
|
|
+}
|
|
|
+.order-table .order-hd .order-main span {
|
|
|
+ margin-right: 8px;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table .order-hd .order-sum {
|
|
|
+ padding: 0 5px;
|
|
|
+}
|
|
|
|
|
|
.order-table>tbody {
|
|
|
border: 1px solid transparent;
|
|
|
@@ -43,6 +59,28 @@
|
|
|
border-width: 2px;
|
|
|
}
|
|
|
|
|
|
+.order-table .operates {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table>tbody:hover .operates {
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table .order-bd {
|
|
|
+ border-bottom: 1px solid #e6e6e6;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table .order-bd>td {
|
|
|
+ padding: 10px 5px;
|
|
|
+ vertical-align: top;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.order-table .order-bd .product {
|
|
|
+ padding-left: 20px;
|
|
|
+}
|
|
|
+
|
|
|
.input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
|
{
|
|
|
height: 26px;
|
|
|
@@ -162,5 +200,71 @@
|
|
|
<td colspan="6"></td>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
+ <tbody ng-repeat="accept in $data">
|
|
|
+ <tr class="order-hd">
|
|
|
+ <td class="first">
|
|
|
+ <div class="order-main">
|
|
|
+ <span><input type="checkbox" class="selector" ng-model="accept.$selected"></span>
|
|
|
+ <span class="text-num text-bold" title="{{accept.date | date:'yyyy年MM月dd日hh:mm'}}" ng-bind="accept.date | date:'yyyy-MM-dd'"></span>
|
|
|
+ <span>流水号:<a class="text-num" ng-bind="accept.code"></a></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td colspan="3"><a title="客户名称"
|
|
|
+ ng-bind="accept.acceptItems[0].orders.enterprise.enName"></a></td>
|
|
|
+ <td colspan="1" class="order-sum">
|
|
|
+ <div class="text-ellipsis" ng-if="accept.sendCode != null" style="width: 120px;" title="送货单号:{{::accept.sendCode}}" >
|
|
|
+ <i style="color: #CC9933;" class="fa fa-truck"></i>
|
|
|
+ <span ng-bind="accept.sendCode"></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td colspan="1" class="text-center">
|
|
|
+ <div class="operates">
|
|
|
+ <!-- <a href="#" class="text-muted" title="打印">
|
|
|
+ <i class="fa fa-print fa-lg fa-fw"></i>
|
|
|
+ </a> -->
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr class="order-bd" ng-repeat="item in accept.acceptItems">
|
|
|
+ <td class="product">
|
|
|
+ <div class="text-num text-bold">
|
|
|
+ <a ng-bind="item.orders.product.code"></a>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <a ng-bind="item.orders.product.title"></a>
|
|
|
+ </div>
|
|
|
+ <div class="text-muted" title="{{item.orders.product.spec}}"
|
|
|
+ ng-bind="item.orders.product.spec">
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center">
|
|
|
+ <div class="text-num"
|
|
|
+ title="{{item.orderPrice}}">
|
|
|
+ <span ng-bind="::currency(accept.currency)"></span><span ng-bind="item.orderPrice | number : 6"></span>
|
|
|
+ </div>
|
|
|
+ <div class="text-muted"
|
|
|
+ title="{{item.orders.taxrate}}%">
|
|
|
+ <br>
|
|
|
+ 税率:<span ng-bind="::item.orders.taxrate + '%'" class="text-num"></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="text-center">
|
|
|
+ <div class="text-num text-bold"
|
|
|
+ title="{{item.qty}}" ng-bind="item.qty"></div>
|
|
|
+ <div class="text-muted" ng-bind="item.orders.product.unit"></div>
|
|
|
+ </td>
|
|
|
+ <td class="text-center br-l">
|
|
|
+ <div class="text-num"
|
|
|
+ ng-bind="item.batchCode"></div>
|
|
|
+ </td>
|
|
|
+ <td class="br-l" colspan="2">
|
|
|
+ <div>单据编号:<a ui-sref="make.order_detail({id:item.orders.id})" ng-bind="item.orders.code"></a></div>
|
|
|
+ <div>
|
|
|
+ 数量:<span ng-bind="item.orders.qty"></span>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
</table>
|
|
|
</div>
|