Эх сурвалжийг харах

新增主动报价页面数据赋值显示的问题

hejq 7 жил өмнө
parent
commit
71b6e7c6d5

+ 3 - 3
src/main/webapp/resources/tpl/index/sale/quotation_new.html

@@ -376,7 +376,7 @@
 			<label for="product" class="col-sm-2 control-label">产品规格:</label>
 			<div class="col-sm-10">
 				<div class="">
-					<input ng-model="item.product.spec" type="text" class="form-control input-dbfind" id="product"
+					<input ng-model="item.product.spec" type="text" class="form-control input-dbfind" id="spec"
 						   placeholder="" readonly="readonly" style="cursor: pointer;">
 				</div>
 			</div>
@@ -384,12 +384,12 @@
 		<div class="form-group form-group-sm">
 			<label for="brand" class="col-sm-2 control-label">品牌:</label>
 			<div class="col-sm-4">
-				<input ng-model="item.brand" type="text" class="form-control" id="brand"
+				<input ng-model="item.product.brand" type="text" class="form-control" id="brand"
 					   placeholder="" ng-readonly="!item.$editing" ng-disabled="isDisabled()">
 			</div>
 			<label class="col-sm-2 control-label">单位:</label>
 			<div class="col-sm-4">
-				<input ng-model="item.product.unit" type="text" class="form-control input-dbfind" id="product"
+				<input ng-model="item.product.unit" type="text" class="form-control input-dbfind" id="unit"
 					   placeholder="" readonly="readonly" style="cursor: pointer;"
 					   ng-required="true">
 			</div>