...
|
...
|
@@ -96,7 +96,7 @@ webpackJsonp([32],[ |
|
|
{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){
|
...
|
...
|
@@ -202,10 +202,9 @@ webpackJsonp([32],[ |
|
|
}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.isJit =='Y'){
|
|
|
// JIT商品厂家颜色上架后也能修改
|
|
|
}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 {
|
|
|
}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>");
|
|
|
}
|
|
|
|
...
|
...
|
@@ -375,6 +374,10 @@ webpackJsonp([32],[ |
|
|
$("#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];
|
...
|
...
|
|