Authored by weiqingting

款型编码修改

@@ -188,7 +188,7 @@ var g=new common.grid({ @@ -188,7 +188,7 @@ var g=new common.grid({
188 g.__gsm[item.__index]=item.goodsSizeList.length; 188 g.__gsm[item.__index]=item.goodsSizeList.length;
189 } 189 }
190 var html=[]; 190 var html=[];
191 - html.push("<div class='form-group'><div class='col-sm-11 red'><input type=text value='"+item.factoryCode+"' data-index="+item.__index+" class='factoryCode form-control' placeholder='款型编码' required/></div></div>"); 191 + html.push("<div class='form-group'><div class='col-sm-11 red'><input type=text value='"+item.modelCode+"' data-index="+item.__index+" class='modelCode form-control' placeholder='款型编码' required/></div></div>");
192 html.push('<div class="rows" id="rows__'+item.__index+'">'); 192 html.push('<div class="rows" id="rows__'+item.__index+'">');
193 item.goodsSizeList=item.goodsSizeList||[$.extend({},ENUM.goodsSizeList)]; 193 item.goodsSizeList=item.goodsSizeList||[$.extend({},ENUM.goodsSizeList)];
194 var ISXIANGO=(common.util.__input("isAdvance")=="Y"&&+RESPONSEDATA.isAuditing==200)?true:false; 194 var ISXIANGO=(common.util.__input("isAdvance")=="Y"&&+RESPONSEDATA.isAuditing==200)?true:false;
@@ -223,7 +223,7 @@ var g=new common.grid({ @@ -223,7 +223,7 @@ var g=new common.grid({
223 var warp=$("#basicTable").find("tbody").children("tr").eq(i); 223 var warp=$("#basicTable").find("tbody").children("tr").eq(i);
224 warp.find(".w-goods-text").prop("readonly",true).prop("disabled",true); 224 warp.find(".w-goods-text").prop("readonly",true).prop("disabled",true);
225 warp.find("input[name=file]").prop("readonly",true).prop("disabled",true); 225 warp.find("input[name=file]").prop("readonly",true).prop("disabled",true);
226 - warp.find(".factoryCode").prop("readonly",true).prop("disabled",true); 226 + warp.find(".modelCode").prop("readonly",true).prop("disabled",true);
227 warp.find(".sortdelete").remove(); 227 warp.find(".sortdelete").remove();
228 } 228 }
229 } 229 }
@@ -257,7 +257,7 @@ $(document).on("click",".sortadd",function(){ @@ -257,7 +257,7 @@ $(document).on("click",".sortadd",function(){
257 var goodsSizeList=$.extend({},ENUM.goodsSizeList); 257 var goodsSizeList=$.extend({},ENUM.goodsSizeList);
258 goodsSizeList.salePrice=$("#salesPriceStr").val(); 258 goodsSizeList.salePrice=$("#salesPriceStr").val();
259 g.__rows.push({ 259 g.__rows.push({
260 - "factoryCode": "", 260 + "modelCode": "",
261 "goodsColorImage": "", 261 "goodsColorImage": "",
262 goodsName: $(this).text(), 262 goodsName: $(this).text(),
263 colorId: (+$(this).data("id")), 263 colorId: (+$(this).data("id")),
@@ -317,9 +317,9 @@ $(document).on("click",".sortdelete",function(){ @@ -317,9 +317,9 @@ $(document).on("click",".sortdelete",function(){
317 }); 317 });
318 // g.__e.init(); 318 // g.__e.init();
319 }); 319 });
320 -$(document).on("change",".factoryCode",function(){ 320 +$(document).on("change",".modelCode",function(){
321 var item=g.__rows[$(this).data("index")]; 321 var item=g.__rows[$(this).data("index")];
322 - item.factoryCode=$(this).val(); 322 + item.modelCode=$(this).val();
323 }); 323 });
324 $(document).on("click",".btn-sort-add",function(){ 324 $(document).on("click",".btn-sort-add",function(){
325 var item=g.__rows[$(this).data("index")]; 325 var item=g.__rows[$(this).data("index")];
@@ -133,7 +133,7 @@ @@ -133,7 +133,7 @@
133 <span>[[_item.sizeName]]</span> 133 <span>[[_item.sizeName]]</span>
134 </th> 134 </th>
135 <th>[[_item.salePrice]]</th> 135 <th>[[_item.salePrice]]</th>
136 - <th>[[item.factoryCode]]</th> 136 + <th>[[item.modelCode]]</th>
137 <th>[[_item.barCode]]</th> 137 <th>[[_item.barCode]]</th>
138 <th>[[item.factoryGoodsName]]</th> 138 <th>[[item.factoryGoodsName]]</th>
139 [[if _item.isSuppled=="Y"]] 139 [[if _item.isSuppled=="Y"]]