Browse Source

【商务平台】 主动报价页面数据显示不全的bug处理

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@6801 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
821cb96e47
1 changed files with 9 additions and 5 deletions
  1. 9 5
      src/main/webapp/resources/tpl/index/sale/quotation_list.html

+ 9 - 5
src/main/webapp/resources/tpl/index/sale/quotation_list.html

@@ -192,16 +192,20 @@
 			</td>
 			</td>
 			<td class="text-center">
 			<td class="text-center">
 				<div ng-show="!quotationItem.$editing">
 				<div ng-show="!quotationItem.$editing">
-					<div ng-repeat="price in quotationItem.prices">
-						<span ng-bind="price.lapQty"></span>
+					<div ng-repeat="price in quotationItem.quotationItems">
+						<div ng-repeat="pricedetail in price.prices">
+							<span ng-bind="::pricedetail.lapQty"></span>
+						</div>
 					</div>
 					</div>
 				</div>
 				</div>
 			</td>
 			</td>
 			<td class="text-center br-l">
 			<td class="text-center br-l">
 				<div ng-show="!quotationItem.$editing">
 				<div ng-show="!quotationItem.$editing">
-					<div ng-repeat="price in quotationItem.prices">
-						<span ng-bind="price.price | number:6"></span> <span
-							ng-show="price.price == null" class="text-muted">-</span>
+					<div ng-repeat="price in quotationItem.quotationItems">
+						<div ng-repeat="pricedetail in price.prices">
+							<span ng-bind="pricedetail.price | number:6"></span> <span
+								ng-show="pricedetail.price == null" class="text-muted">-</span>
+						</div>
 					</div>
 					</div>
 					<div class="dropdown">
 					<div class="dropdown">
 						<a href="javascript:void(0);" class="dropdown-toggle text-default"
 						<a href="javascript:void(0);" class="dropdown-toggle text-default"