|
@@ -315,6 +315,17 @@ export default {
|
|
|
unlicensed,
|
|
|
buildingId: parkInfo.buildingId
|
|
|
});
|
|
|
+ // console.log('orderDetail', res);
|
|
|
+ if (res?.paymentType === 'NO_FEE_PAY') {
|
|
|
+ this.btnLoading = false;
|
|
|
+ this.isPay = false
|
|
|
+ this.clearOrderTimeEvent()
|
|
|
+ this.$router.replace({
|
|
|
+ path: this.getPagePath(),
|
|
|
+ });
|
|
|
+ // 支付成功
|
|
|
+ return
|
|
|
+ }
|
|
|
// 如果是北京的ETCP 微信支付宝通用版
|
|
|
if (this.isBKC()) {
|
|
|
my.navigateTo({
|
|
@@ -338,17 +349,6 @@ export default {
|
|
|
// this.$router.back()
|
|
|
return
|
|
|
}
|
|
|
- // console.log('orderDetail', res);
|
|
|
- if (res?.paymentType === 'NO_FEE_PAY') {
|
|
|
- this.btnLoading = false;
|
|
|
- this.isPay = false
|
|
|
- this.clearOrderTimeEvent()
|
|
|
- this.$router.replace({
|
|
|
- path: this.getPagePath(),
|
|
|
- });
|
|
|
- // 支付成功
|
|
|
- return
|
|
|
- }
|
|
|
if(res?.sessionId) {
|
|
|
this.kerryPayment(res.sessionId);
|
|
|
return
|