Browse Source

erp库存排序,td点击

yangc 8 years ago
parent
commit
1c1a4de4b7

+ 7 - 4
src/main/webapp/resources/view/vendor/forstore/erp/vendor_material_erp.html

@@ -429,8 +429,11 @@
 	.com_tab ul li.active a {
 		color: #1687ff;
 	}
-	.pro_management .sort-area,
-	.pro_management .sort-area:hover{
+	.pro_management .table tr th .erp-reserve {
+		cursor: pointer;
+	}
+	.pro_management .table tr th .erp-reserve .sort-area,
+	.pro_management .table tr th .erp-reserve .sort-area:hover{
 		color: inherit !important;
 	}
 </style>
@@ -473,9 +476,9 @@
 					<tr>
 						<th width="80">序号</th>
 						<th width="80">
-							<div>
+							<div class="erp-reserve"  ng-click="sortByERPReserve()">
 								ERP空闲库存
-								<a class="sort-area" href="javascript:void(0)" ng-click="sortByERPReserve()">
+								<a class="sort-area" href="javascript:void(0)">
 									<i class=" fa fa-long-arrow-up" ng-class="{'active': sortByERP == 'ASC'}"></i>
 									<i class=" fa fa-long-arrow-down" ng-class="{'active': sortByERP == 'DESC'}"></i>
 								</a>