|
@@ -164,12 +164,12 @@ var g=new common.grid({ |
|
@@ -164,12 +164,12 @@ var g=new common.grid({ |
164
|
}
|
164
|
}
|
165
|
},
|
165
|
},
|
166
|
{
|
166
|
{
|
167
|
- display:"<label class='red'>厂家颜色、尺码、销售价、条码必填</label>",render:function(item){
|
167
|
+ display:"<label class='red'>厂家颜色、尺码、款型编码、销售价、条码必填</label>",render:function(item){
|
168
|
if(!item.isAdd&&!g.__gsm.hasOwnProperty(item.__index)){
|
168
|
if(!item.isAdd&&!g.__gsm.hasOwnProperty(item.__index)){
|
169
|
g.__gsm[item.__index]=item.goodsSizeList.length;
|
169
|
g.__gsm[item.__index]=item.goodsSizeList.length;
|
170
|
}
|
170
|
}
|
171
|
var html=[];
|
171
|
var html=[];
|
172
|
- html.push("<div class='form-group'><div class='col-sm-11 red'><input type=text value='"+item.factoryCode+"' data-index="+item.__index+" class='modelCode form-control' placeholder='款型编码' /></div></div>");
|
172
|
+ html.push("<div class='form-group'><div class='col-sm-11 red'><input type=text value='"+item.factoryCode+"' data-index="+item.__index+" class='modelCode form-control' placeholder='款型编码' required/></div></div>");
|
173
|
html.push("<dov class='rows'><div class='form-group'><div class='col-sm-2'>尺码</div><div class='col-sm-2'>销售价</div><div class='col-sm-2'>条码</div><div class='col-sm-2'>是否补货</div><div class='col-sm-2'>UPM条码</div></div></div>");
|
173
|
html.push("<dov class='rows'><div class='form-group'><div class='col-sm-2'>尺码</div><div class='col-sm-2'>销售价</div><div class='col-sm-2'>条码</div><div class='col-sm-2'>是否补货</div><div class='col-sm-2'>UPM条码</div></div></div>");
|
174
|
html.push('<div class="rows" id="rows__'+item.__index+'">');
|
174
|
html.push('<div class="rows" id="rows__'+item.__index+'">');
|
175
|
item.goodsSizeList=item.goodsSizeList||[$.extend({},ENUM.goodsSizeList)];
|
175
|
item.goodsSizeList=item.goodsSizeList||[$.extend({},ENUM.goodsSizeList)];
|