Commit 86854d0dfb43447775ef793180582079ba601cf5
1 parent
d8a108c6
本次订单与欠费补缴订单页面合成一个
Showing
1 changed file
with
3 additions
and
0 deletions
src/components/parkRecord.vue
| ... | ... | @@ -207,6 +207,9 @@ export default { |
| 207 | 207 | this.historyList = this.parkList.filter(item => { |
| 208 | 208 | return item.parkState == '20' |
| 209 | 209 | }) |
| 210 | + if(this.parkingData.length==0&&this.historyList.length>0){ | |
| 211 | + this.currentTabActive = 1 | |
| 212 | + } | |
| 210 | 213 | this.historyList.forEach(i => { |
| 211 | 214 | this.allMoney += Number(i.unPayFee) |
| 212 | 215 | }) | ... | ... |