|
@@ -191,8 +191,8 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- // 杭州电子券选择上限判断
|
|
|
- if ( parkMallCode === 2 && this.checkedCouponList.length === this.remainCoupons ) {
|
|
|
+ // 杭州、福州电子券选择上限判断
|
|
|
+ if ( (parkMallCode === 2 || parkMallCode === 8) && this.checkedCouponList.length === this.remainCoupons ) {
|
|
|
this.couponList = this.couponList.map(( elm,iemi ) => {
|
|
|
if ( !elm.disabled && this.checkedCouponList.indexOf(`coupon${ iemi }`) < 0 ) {
|
|
|
elm.disabled = true
|
|
@@ -212,8 +212,8 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- // 如果杭州的使用券打到上限则不自动计算其余券是否可选
|
|
|
- if ( this.checkedCouponList.length >= this.remainCoupons && this.parkMallCode === 2 ) {
|
|
|
+ // 如果杭州、福州的使用券打到上限则不自动计算其余券是否可选
|
|
|
+ if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8) ) {
|
|
|
return
|
|
|
}
|
|
|
console.log(292,this.couponList);
|
|
@@ -265,7 +265,8 @@ export default {
|
|
|
icon: 'none',
|
|
|
});
|
|
|
}
|
|
|
- if ( this.checkedCouponList.length >= this.remainCoupons && this.parkMallCode === 2 ) {
|
|
|
+ // 杭州、福州 电子券上限提示
|
|
|
+ if ( this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 2 || this.parkMallCode === 8) ) {
|
|
|
if ( showMsg ) return true
|
|
|
return Toast({
|
|
|
className: 'top300',
|