|
@@ -113,7 +113,7 @@ export default {
|
|
// 验证剩余优惠券是否可勾选(无需验证:后端已计算可勾选的优惠券)
|
|
// 验证剩余优惠券是否可勾选(无需验证:后端已计算可勾选的优惠券)
|
|
this.newGroupedCouponData()
|
|
this.newGroupedCouponData()
|
|
this.setAllDisabled()
|
|
this.setAllDisabled()
|
|
- if (this.parkMallCode === 4 || this.parkMallCode === 6) {
|
|
|
|
|
|
+ if (this.parkMallCode === 4 || this.parkMallCode === 6 || this.parkMallCode === 5) {
|
|
this.isDisabledByRule(this.couponList[0], 0, 'showMsg');
|
|
this.isDisabledByRule(this.couponList[0], 0, 'showMsg');
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -225,8 +225,8 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- // 杭州、福州电子券选择上限判断
|
|
|
|
- if ( (parkMallCode === 2 || parkMallCode === 8 || parkMallCode === 7 || parkMallCode === 9) && this.checkedCouponList.length >= this.remainCoupons ) {
|
|
|
|
|
|
+ // 杭州、福州、深圳前海 电子券选择上限判断
|
|
|
|
+ if ( (parkMallCode === 2 || parkMallCode === 8 || parkMallCode === 7 || parkMallCode === 9 || parkMallCode === 5) && this.checkedCouponList.length >= this.remainCoupons ) {
|
|
this.couponList = this.couponList.map(( elm,iemi ) => {
|
|
this.couponList = this.couponList.map(( elm,iemi ) => {
|
|
if ( !elm.disabled && this.checkedCouponList.indexOf(`coupon${ iemi }`) < 0 ) {
|
|
if ( !elm.disabled && this.checkedCouponList.indexOf(`coupon${ iemi }`) < 0 ) {
|
|
elm.disabled = true
|
|
elm.disabled = true
|
|
@@ -302,7 +302,7 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
// 电子券上限判断(杭州、福州)
|
|
// 电子券上限判断(杭州、福州)
|
|
- if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9) ) {
|
|
|
|
|
|
+ if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5) ) {
|
|
if ( showMsg ) return true
|
|
if ( showMsg ) return true
|
|
return Toast({
|
|
return Toast({
|
|
message: `电子券每天最多可使用${ this.maxOneDayCoupons }张`,
|
|
message: `电子券每天最多可使用${ this.maxOneDayCoupons }张`,
|