|
@@ -409,7 +409,13 @@ export default {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- memberClick() {
|
|
|
|
|
|
+ async memberClick() {
|
|
|
|
+ await waitByTime(200)
|
|
|
|
+ if(!this.actualPayFee) {
|
|
|
|
+ Toast('当前无需追加优惠')
|
|
|
|
+ this.checkedList = this.checkedList.filter(elm => elm !== 'member')
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
const { maxConsumeTime, remainConsumeTime, availableDiscountFee, hourPrice } = this.orderDetail.parkingRule;
|
|
const { maxConsumeTime, remainConsumeTime, availableDiscountFee, hourPrice } = this.orderDetail.parkingRule;
|
|
if (this.checkedList.indexOf('member') > -1) {
|
|
if (this.checkedList.indexOf('member') > -1) {
|
|
/* 浦东 */
|
|
/* 浦东 */
|
|
@@ -459,6 +465,11 @@ export default {
|
|
},
|
|
},
|
|
async reducesClick() {
|
|
async reducesClick() {
|
|
await waitByTime(200)
|
|
await waitByTime(200)
|
|
|
|
+ if(!this.actualPayFee) {
|
|
|
|
+ Toast('当前无需追加优惠')
|
|
|
|
+ this.checkedList = this.checkedList.filter(elm => elm !== 'member')
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
// 浦东
|
|
// 浦东
|
|
if(this.parkMallCode === 1 && (this.isReduces || !this.maxReduceDiscount) ) {
|
|
if(this.parkMallCode === 1 && (this.isReduces || !this.maxReduceDiscount) ) {
|
|
return;
|
|
return;
|