...
|
...
|
@@ -92,7 +92,7 @@ var SORTDATA={ |
|
|
{id:RESPONSEDATA.sortId,sortName:RESPONSEDATA.sortName}
|
|
|
],
|
|
|
otherParam:function(){
|
|
|
return {brandId:$("#brandId").val(),supplierId:common.util.__input("supplierId"),shopId:common.util.__input("shopId")}
|
|
|
return {brandId:$("#brandId").val(),supplierId:common.util.__input("supplierId"),shopId:common.util.__input("shopId"),sellType:common.util.__input("sellType")}
|
|
|
},
|
|
|
complete:function(data,bool){
|
|
|
if(!bool){
|
...
|
...
|
@@ -198,6 +198,8 @@ var g=new common.grid({ |
|
|
}else{
|
|
|
if(item.isNew){
|
|
|
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>");
|
|
|
}else if(RESPONSEDATA.sellType == 3 || RESPONSEDATA.isJit == 'Y'){ // JIT上架后的商品也可以修改厂家颜色
|
|
|
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>");
|
|
|
}else{
|
|
|
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>");
|
|
|
}
|
...
|
...
|
@@ -368,6 +370,10 @@ $(document).on("change","#supplierId",function(){ // 不维护供应商 |
|
|
$("#sellType").val(-1).trigger("change");
|
|
|
});
|
|
|
|
|
|
$(document).on("change","#sellType",function(){
|
|
|
tabTree.isfeeze=false;
|
|
|
tabTree.init([{id:"",sortName:""},{id:"",sortName:""},{id:"",sortName:""},{id:"",sortName:""}]);
|
|
|
});
|
|
|
|
|
|
$(document).on("change",":radio[name=gender]",function(){
|
|
|
Bll.productNameArr[1]=["男","女","通用"][+$(this).val()-1];
|
...
|
...
|
|