Authored by xuhongyun

build

... ... @@ -518,10 +518,7 @@ webpackJsonp([74],{
value: "返回"
}]
});
new common.dropDown({
el: '.shop',
ajax: 'couponShops'
});
shopDropDown();
};
//选择店铺
... ... @@ -538,20 +535,15 @@ webpackJsonp([74],{
shopName:shopName};
var $shopGroup = $(common.util.__template2($("#shopWrap").html(), Template));
$shopGroup.appendTo($('.shop-wrap'));
new common.dropDown({
el: '.shop',
ajax: 'couponShops'
});
shopDropDown();
});
}
}
else {
initShop();
}
new common.dropDown({
el: '.shop',
ajax: 'couponShops'
});
shopDropDown();
});
//添加一个店铺
... ... @@ -560,10 +552,7 @@ webpackJsonp([74],{
shopName:""};
var $shopGroup = $(common.util.__template2($("#shopWrap").html(), Template));
$shopGroup.appendTo($('.shop-wrap'));
new common.dropDown({
el: '.shop',
ajax: 'couponShops'
});
shopDropDown();
});
//删除一个店铺
$(document).on('click', '.del-shop-btn', function () {
... ... @@ -572,7 +561,20 @@ webpackJsonp([74],{
Bll.selectShops.splice(shopIndex, 1);
//Bll.checkSortNum();
});
//店铺券使用couponShops下拉,其他的使用queryShop下拉
function shopDropDown(){
if(couponBean.couponType==6){
new common.dropDown({
el: '.shop',
ajax: 'couponShops'
});
}else{
new common.dropDown({
el: '.shop',
ajax: 'queryShop'
});
}
}
//********************* 店铺end****************************************
/***/ },
... ...