|
@@ -24,7 +24,7 @@
|
|
|
<radio color="#2DCF8C" value="weixin" :checked="'weixin' === radioCurrent" />
|
|
|
</view>
|
|
|
</view>
|
|
|
- <template v-if="!wxEnv && projectFlag === 'zhijin'">
|
|
|
+ <template v-if="!wxEnv && orderType === 'parking' && isMonthPay">
|
|
|
<view class="pay-list-item flex-center">暂无可用支付方式</view>
|
|
|
</template>
|
|
|
<!-- #endif -->
|
|
@@ -40,7 +40,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
- <view class="pay-list-item" @click="payRadioClick('gzyh')" v-if="projectFlag !== 'zhijin'">
|
|
|
+ <view class="pay-list-item" @click="payRadioClick('gzyh')" v-if="orderType !== 'parking' || isMonthPay">
|
|
|
<view class="pay-list-item-image">
|
|
|
<image class="image" src="/static/img/gy-icon-new.png" mode="aspectFit" />
|
|
|
<view>贵州银行</view>
|
|
@@ -60,7 +60,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
- <template v-if="!alipayEnv && projectFlag !== 'zhenning' && projectFlag !== 'zhijin'">
|
|
|
+ <template v-if="!alipayEnv && projectFlag !== 'zhenning' && (orderType !== 'parking' || isMonthPay)">
|
|
|
<view class="pay-list-item" @click="payRadioClick('juhe')">
|
|
|
<view class="pay-list-item-image">
|
|
|
<image class="image" src="/static/img/juhe-icon-new.png" mode="aspectFit" />
|
|
@@ -263,7 +263,9 @@ export default {
|
|
|
},
|
|
|
// 优惠券选中项
|
|
|
currentCoupon: {}
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 订单类型
|
|
|
+ orderType: 'road'
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -280,17 +282,27 @@ export default {
|
|
|
this.wxEnv = getEnvIsWx();
|
|
|
// 判断支付宝环境
|
|
|
this.alipayEnv = getEnvIsAlipay();
|
|
|
+ this.orderType = orderType;
|
|
|
if (this.projectFlag === 'zhenning') {
|
|
|
this.radioCurrent = 'weixinzn';
|
|
|
- } else if (this.projectFlag === 'wudang') {
|
|
|
- this.radioCurrent = 'juhe';
|
|
|
- } else if (this.projectFlag === 'zhijin' && this.wxEnv) {
|
|
|
- this.radioCurrent = 'weixin';
|
|
|
- } else if (this.projectFlag !== 'zhijin' && this.wxEnv) {
|
|
|
- this.radioCurrent = 'weixin';
|
|
|
- } else if (this.projectFlag !== 'zhijin') {
|
|
|
+ }
|
|
|
+ if (this.projectFlag === 'wudang') {
|
|
|
this.radioCurrent = 'juhe';
|
|
|
}
|
|
|
+ if (this.projectFlag === 'zhijin') {
|
|
|
+ if (this.wxEnv) {
|
|
|
+ this.radioCurrent = 'weixin';
|
|
|
+ } else if (this.orderType !== 'parking' || this.isMonthPay) {
|
|
|
+ this.radioCurrent = 'juhe';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.projectFlag === 'puding') {
|
|
|
+ if (this.wxEnv) {
|
|
|
+ this.radioCurrent = 'weixin';
|
|
|
+ } else {
|
|
|
+ this.radioCurrent = 'juhe';
|
|
|
+ }
|
|
|
+ }
|
|
|
// 打开弹出层
|
|
|
this.payWayPop = true;
|
|
|
// 计算订单金额
|