Merge branch 'dev_厂家颜色支持修改' into gray
Showing
1 changed file
with
4 additions
and
2 deletions
@@ -198,9 +198,11 @@ var g=new common.grid({ | @@ -198,9 +198,11 @@ var g=new common.grid({ | ||
198 | }else{ | 198 | }else{ |
199 | if(item.isNew){ | 199 | if(item.isNew){ |
200 | html.push("<p>厂家颜色:</p><p><input type='text' id='factoryGoodsName' class='w-goods-text form-control' data-index="+item.__index+" value='"+item.goodsName+"' placeholder='厂家颜色' required style='padding: 10px; width: 150px' /></p>"); | 200 | html.push("<p>厂家颜色:</p><p><input type='text' id='factoryGoodsName' class='w-goods-text form-control' data-index="+item.__index+" value='"+item.goodsName+"' placeholder='厂家颜色' required style='padding: 10px; width: 150px' /></p>"); |
201 | - }else{ | ||
202 | - // 厂家颜色上架后也能修改 | 201 | + }else if (RESPONSEDATA.isJit =='Y'){ |
202 | + // JIT商品厂家颜色上架后也能修改 | ||
203 | html.push("<p>厂家颜色:</p><p><input type='text' id='factoryGoodsName' class='w-goods-text form-control' data-index="+item.__index+" value='"+txt+"' placeholder='厂家颜色' required style='padding: 10px; width: 150px' /></p>"); | 203 | html.push("<p>厂家颜色:</p><p><input type='text' id='factoryGoodsName' class='w-goods-text form-control' data-index="+item.__index+" value='"+txt+"' placeholder='厂家颜色' required style='padding: 10px; width: 150px' /></p>"); |
204 | + } else { | ||
205 | + html.push("<p>厂家颜色:</p><p><input type='text' id='factoryGoodsName' disabled='disabled' class='w-goods-text form-control' data-index="+item.__index+" value='"+txt+"' placeholder='厂家颜色' required style='padding: 10px; width: 150px' /></p>"); | ||
204 | } | 206 | } |
205 | 207 | ||
206 | html.push("<p>色系: "+item.goodsName+"</p>"); | 208 | html.push("<p>色系: "+item.goodsName+"</p>"); |
-
Please register or login to post a comment