|
@@ -113,7 +113,7 @@ export default {
|
|
|
// 验证剩余优惠券是否可勾选(无需验证:后端已计算可勾选的优惠券)
|
|
|
this.newGroupedCouponData()
|
|
|
this.setAllDisabled()
|
|
|
- if (this.parkMallCode === 4 || this.parkMallCode === 6 || this.parkMallCode === 5) {
|
|
|
+ if (this.parkMallCode === 4 || this.parkMallCode === 6 || this.parkMallCode === 5 || this.parkMallCode === 8) {
|
|
|
this.isDisabledByRule(this.couponList[0], 0, 'showMsg');
|
|
|
}
|
|
|
})
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
// 如果杭州、福州的使用券打到上限则不自动计算其余券是否可选
|
|
|
- if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5) ) {
|
|
|
+ if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5 || this.parkMallCode === 8) ) {
|
|
|
return
|
|
|
}
|
|
|
// console.log(292,this.couponList);
|
|
@@ -302,7 +302,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
// 电子券上限判断(杭州、福州)
|
|
|
- if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5) ) {
|
|
|
+ if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5 || this.parkMallCode === 8) ) {
|
|
|
if ( showMsg ) return true
|
|
|
return Toast({
|
|
|
message: `电子券每天最多可使用${ this.maxOneDayCoupons }张`,
|