|
@@ -264,12 +264,17 @@ export default {
|
|
|
this.wxEnv = getEnvIsWx();
|
|
|
// 判断支付宝环境
|
|
|
this.alipayEnv = getEnvIsAlipay();
|
|
|
+ if (this.wxEnv) {
|
|
|
+ this.radioCurrent = 'weixin';
|
|
|
+ } else {
|
|
|
+ this.radioCurrent = 'juhe';
|
|
|
+ }
|
|
|
// 打开弹出层
|
|
|
this.payWayPop = true;
|
|
|
// 计算订单金额
|
|
|
this.orderMoney = details.payAmount.toFixed(2);
|
|
|
// 如果是单个停车订单,且是路边停车,且不是月卡支付,则显示优惠券
|
|
|
- if (numType === 'single' && orderType === 'parking' && !this.isMonthPay) {
|
|
|
+ if (numType === 'single' && orderType === 'parking' && !this.isMonthPay && this.wxEnv) {
|
|
|
this.isShowCoupon = true;
|
|
|
this.isCancelCoupon = true;
|
|
|
this.getCouponList(details.id);
|