Authored by weiqingting

bug xiugai

... ... @@ -181,7 +181,7 @@ if(!param){//RESPONSEDATA.isAuditing!=200
}});
new common.dropDown({el:"#supplierId",ajax:"getjitSup",params:function(){
return {brandId:$("#brandId").val()}
return {brandId:$("#brandId").val(),shopId:$("#shopId").val()}
}});
}
... ...
... ... @@ -193,6 +193,11 @@ $('#basicTable').on('click', '.modify-btn', function() {
var discountType = data.vip_discount_type; //折扣类型
console.log("返回Yoho币数量:" + returnCoin);
if(data.return_coin>0){
$vipPrice.attr('disabled', true);
}
vipPrice();
if(returnCoin > 0){ //yoho币已设置
if(retailPrice == salePrice && discountType == 3){
... ...
... ... @@ -139,7 +139,8 @@ exports.res = [
method:'POST',
url:'/AgreementRest/getJitSupplierByBrandId',
params:[
{name:"brandId",type:"Number"}
{name:"brandId",type:"Number"},
{name:"shopId",type:"Number"}
]
},{
route:'/ajax/guang/article/getSortList',
... ...