|
@@ -335,8 +335,13 @@ export default {
|
|
|
if (numType === 'single' && orderType === 'road' && !this.isMonthPay && this.wxEnv) {
|
|
|
this.isShowCoupon = true;
|
|
|
this.isCancelCoupon = true;
|
|
|
- if(this.projectFlag !== 'zhenning'){
|
|
|
- this.getCouponList(details.id);
|
|
|
+ // if(this.projectFlag !== 'zhenning'){
|
|
|
+ // this.getCouponList(details.id);
|
|
|
+ // }
|
|
|
+ //puding zhenning wudang zhijin
|
|
|
+ const excludedFlags = ['puding'];//有优惠券的项目,才请求优惠券接口
|
|
|
+ if (excludedFlags.includes(this.projectFlag)) {
|
|
|
+ this.getCouponList(details.id);
|
|
|
}
|
|
|
}
|
|
|
},
|