Browse Source

代采订单列表框架调整,适配备注文字字数过多。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10723 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
ouxianqin 8 years ago
parent
commit
f49b775730
1 changed files with 31 additions and 31 deletions
  1. 31 31
      src/main/webapp/resources/tpl/index/purc/deputyOrder.html

+ 31 - 31
src/main/webapp/resources/tpl/index/purc/deputyOrder.html

@@ -118,7 +118,7 @@
 	height: 100px;
 }
 
-.tender-table tbody>tr:nth-child(odd):hover {
+.tender-table tbody>tr:nth-child(odd) td:hover {
 	border: 2px solid #D32526;
 }
 
@@ -319,39 +319,39 @@
 			</tbody>
 			<tbody ng-repeat="order in $data">
                 <tr>
-                	<td class="text-left" style="padding-bottom: 35px;">
-                		<div>流水号:<a ng-bind="order.code" ui-sref="purc.deputydetail({id:order.id})"></a></div>
-                		<div>下单日期:<span ng-bind="order.entrydate| date: 'yyyy-MM-dd'"></span></div>
-                		<div>终端供应商:<span ng-bind="order.tervendor"></span></div>
-                		<div>订单金额:<span ng-bind="order.totalamount"></span></div>
-                		<div style="width:960px; position: absolute;" ng-if="order.remark != null && order.statuscode == 222">订单反馈:<span class="text-inverse" ng-bind="order.remark"></span></div>
-                	</td>
-                	<td class="text-left">
-                		<div>合同编号:<span ng-bind="order.salepocode" style="color: #327ebe"></span></div>
-                		<div>最新付款日期:<span ng-bind="order.paydate| date: 'yyyy-MM-dd'"></span></div>
-                		<div>累计付款金额:<span ng-bind="order.totalamount"></span></div>
-                	</td>
-                	<td class="text-left">
-                		<div>最新付款日期:<span ng-bind="order.deliverydate| date: 'yyyy-MM-dd'"></span></div>
-                		<div>累计付款金额:<span ng-bind="order.usdpayment"></span></div>
-                	</td>
-                	<!-- <td>
-                		<img alt="" src="static/img/deputyOrder/pay_ok.png">
-                	</td> -->
-                    <td class="text-center">
-                        <span ng-if="order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #5D6C79">已打印</span>
-                        <span ng-if="!order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #CA3955">未打印</span>
-                        <div class="operates">
-                            <a ng-click="print(order)" title="打印{{order.print? '(已打印)':'(未打印)'}}" ng-class="{'unPrinted' : !order.print, 'text-muted': order.print}">
-                                <i class="fa fa-print fa-lg"></i>
-                            </a>
+                    <td colspan="4" class="text-left">
+                        <div class="col-md-4">
+                            <div>流水号:<a ng-bind="order.code" ui-sref="purc.deputydetail({id:order.id})"></a></div>
+                            <div>下单日期:<span ng-bind="order.entrydate| date: 'yyyy-MM-dd'"></span></div>
+                            <div>终端供应商:<span ng-bind="order.tervendor"></span></div>
+                            <div>订单金额:<span ng-bind="order.totalamount"></span></div>
+                            <!--<div style="width:960px; position: absolute;" ng-if="order.remark != null && order.statuscode == 222">订单反馈:<span class="text-inverse" ng-bind="order.remark"></span></div>-->
                         </div>
-                        <div>
-	                        <a ng-click="copyorder(order.id)" title="复制生成一张新的订单,除了采购单号和合同编号不同,其他信息基本相同">复制</a>
+                        <div class="col-md-3">
+                            <div>合同编号:<span ng-bind="order.salepocode" style="color: #327ebe"></span></div>
+                            <div>最新付款日期:<span ng-bind="order.paydate| date: 'yyyy-MM-dd'"></span></div>
+                            <div>累计付款金额:<span ng-bind="order.totalamount"></span></div>
                         </div>
-                        <div ng-if="order.entrystatus == '保存' && order.statuscode == 311">
-	                        <a ng-click="clear(order.id)" title="只有新增的在录入的单据可以删除">删除</a>
+                        <div class="col-md-3">
+                            <div>最新付款日期:<span ng-bind="order.deliverydate| date: 'yyyy-MM-dd'"></span></div>
+                            <div>累计付款金额:<span ng-bind="order.usdpayment"></span></div>
                         </div>
+                        <div class="col-md-2 text-center">
+                            <span ng-if="order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #5D6C79">已打印</span>
+                            <span ng-if="!order.print" class="label ng-scope operates-status" style="margin-right: 5px;background-color: #CA3955">未打印</span>
+                            <div class="operates">
+                                <a ng-click="print(order)" title="打印{{order.print? '(已打印)':'(未打印)'}}" ng-class="{'unPrinted' : !order.print, 'text-muted': order.print}">
+                                    <i class="fa fa-print fa-lg"></i>
+                                </a>
+                            </div>
+                            <div>
+                                <a ng-click="copyorder(order.id)" title="复制生成一张新的订单,除了采购单号和合同编号不同,其他信息基本相同">复制</a>
+                            </div>
+                            <div ng-if="order.entrystatus == '保存' && order.statuscode == 311">
+                                <a ng-click="clear(order.id)" title="只有新增的在录入的单据可以删除">删除</a>
+                            </div>
+                        </div>
+                        <div class="col-md-12" ng-if="order.remark != null && order.statuscode == 222">订单反馈:<span class="text-inverse" ng-bind="order.remark"></span></div>
                     </td>
                 </tr>