|
@@ -64,8 +64,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="pending-order-body" slot="body">
|
|
<view class="pending-order-body" slot="body">
|
|
<view class="pending-order-body-nav">
|
|
<view class="pending-order-body-nav">
|
|
- <view class="nav-item nav-manual" @click="orderNav=0" :class="{active:orderNav==0}">手动缴费</view>
|
|
|
|
- <view class="nav-item nav-auto" @click="orderNav=1" :class="{active:orderNav==1}">无感支付</view>
|
|
|
|
|
|
+ <view class="nav-item nav-manual" @click="orderNavclick()" :class="{active:orderNav==0}">手动缴费</view>
|
|
|
|
+ <view class="nav-item nav-auto" @click="orderNavclick()" :class="{active:orderNav==1}">无感支付</view>
|
|
</view>
|
|
</view>
|
|
<view class="pending-order-body-wrap" v-show="orderNav==0">
|
|
<view class="pending-order-body-wrap" v-show="orderNav==0">
|
|
<view class="pending-order-body-left">
|
|
<view class="pending-order-body-left">
|
|
@@ -92,17 +92,17 @@
|
|
</view>
|
|
</view>
|
|
<view class="pending-order-body-right">
|
|
<view class="pending-order-body-right">
|
|
<view class="order">停车泊位:{{item.spaceName}}</view>
|
|
<view class="order">停车泊位:{{item.spaceName}}</view>
|
|
- <view class="go-pay-wrap">
|
|
|
|
- <view class="go-pay" @click="goPay(item.id)">去支付</view>
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="go-pay-wrap">
|
|
|
|
+ <view class="go-pay" @click="goPay(item.id)">出场缴费</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="pending-order-body-wrap" v-show="orderNav==1">
|
|
<view class="pending-order-body-wrap" v-show="orderNav==1">
|
|
- <view v-if="" class="nosign">
|
|
|
|
|
|
+ <view v-if="contractStatus==0" class="nosign">
|
|
<view class="nosign1">您的车牌未签约贵州银行无感支付</view>
|
|
<view class="nosign1">您的车牌未签约贵州银行无感支付</view>
|
|
<view class="nosign2">请下载贵州银行手机银行app进行签约</view>
|
|
<view class="nosign2">请下载贵州银行手机银行app进行签约</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="" class="sign">
|
|
|
|
|
|
+ <view v-if="contractStatus==1" class="sign">
|
|
<view class="sign1">您已签约贵州银行无感支付</view>
|
|
<view class="sign1">您已签约贵州银行无感支付</view>
|
|
<view class="sign2">停车出场时将默认使用无感支付进行支付</view>
|
|
<view class="sign2">停车出场时将默认使用无感支付进行支付</view>
|
|
</view>
|
|
</view>
|
|
@@ -162,12 +162,14 @@
|
|
cityOpen:false,
|
|
cityOpen:false,
|
|
pendingOrder:[],
|
|
pendingOrder:[],
|
|
code:null,//微信code
|
|
code:null,//微信code
|
|
- orderNav:0,//手动,无感
|
|
|
|
|
|
+ orderNav:'',//手动,无感
|
|
bindCarShow:false,//绑定车询问弹窗
|
|
bindCarShow:false,//绑定车询问弹窗
|
|
showOrderDetails:false,//是否线上订单细节
|
|
showOrderDetails:false,//是否线上订单细节
|
|
popupOrderDetails:[],
|
|
popupOrderDetails:[],
|
|
- noticeList:[]
|
|
|
|
-
|
|
|
|
|
|
+ noticeList:[],
|
|
|
|
+ contractStatus:'',
|
|
|
|
+ vehicleId:'',
|
|
|
|
+ recordList:[]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
@@ -191,6 +193,17 @@
|
|
// }
|
|
// }
|
|
// })
|
|
// })
|
|
// },
|
|
// },
|
|
|
|
+ orderNavclick(){
|
|
|
|
+ this.feePay()
|
|
|
|
+ },
|
|
|
|
+ feePay(){
|
|
|
|
+ this.$u.api.feePay({vehicleId: this.recordList[1]})
|
|
|
|
+ .then( res=>{
|
|
|
|
+ if(res.code == 200){
|
|
|
|
+ this.handleGetIndexData()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
openPage(path) {
|
|
openPage(path) {
|
|
console.log('path',path);
|
|
console.log('path',path);
|
|
this.$u.route({
|
|
this.$u.route({
|
|
@@ -220,6 +233,17 @@
|
|
if(res.data.vehicleList.length<1){
|
|
if(res.data.vehicleList.length<1){
|
|
this.bindCarShow = true;
|
|
this.bindCarShow = true;
|
|
}
|
|
}
|
|
|
|
+ const enableFeepay=[]
|
|
|
|
+ res.data.orderList.forEach(item => {
|
|
|
|
+ enableFeepay.push(item.enableFeepay);
|
|
|
|
+ enableFeepay.push(item.vehicleId);
|
|
|
|
+ enableFeepay.push(item.contractStatus);
|
|
|
|
+ })
|
|
|
|
+ this.recordList=enableFeepay;
|
|
|
|
+ // this.vehicleId=enableFeepay.vehicleId;
|
|
|
|
+ this.orderNav = enableFeepay[0];
|
|
|
|
+ this.contractStatus=enableFeepay[2];
|
|
|
|
+ console.log('recordList',this.recordList)
|
|
this.orderList = res.data.orderList;
|
|
this.orderList = res.data.orderList;
|
|
const list = []
|
|
const list = []
|
|
res.data.news.forEach(item => {
|
|
res.data.news.forEach(item => {
|