...
|
...
|
@@ -15,6 +15,7 @@ var showScope = []; |
|
|
var shopPriceLimits = [];
|
|
|
var isNew;
|
|
|
var publicCouponType;
|
|
|
var mutexLimit = null;
|
|
|
/**
|
|
|
* 监听输入值的变化
|
|
|
*/
|
...
|
...
|
@@ -188,6 +189,10 @@ var Bll = { |
|
|
if (couponBean.isNew) {
|
|
|
isNew = couponBean.isNew;
|
|
|
}
|
|
|
// 是否与无金额门槛券互斥
|
|
|
if (couponBean.mutexLimit) {
|
|
|
mutexLimit = couponBean.mutexLimit;
|
|
|
}
|
|
|
if (couponBean.couponType == '3') {
|
|
|
$("input[name='publicCouponType']").attr("disabled", true);
|
|
|
if (couponBean.publicCouponType == '1') {
|
...
|
...
|
@@ -421,6 +426,18 @@ $(document).on("click", "input[name='isNew']", function () { |
|
|
}
|
|
|
couponBean.isNew = isNew;
|
|
|
});
|
|
|
/**
|
|
|
* 免邮券
|
|
|
* 是否与无金额门槛券互斥开关
|
|
|
*/
|
|
|
$(document).on("click", "input[name='mutexLimit']", function () {
|
|
|
if ($(this).is(':checked')) {
|
|
|
mutexLimit = $(this).val();
|
|
|
} else {
|
|
|
mutexLimit = null;
|
|
|
}
|
|
|
couponBean.mutexLimit = mutexLimit;
|
|
|
});
|
|
|
|
|
|
/**
|
|
|
* 用券限制
|
...
|
...
|
|