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,6 +207,9 @@ export default { | ||
| 207 | this.historyList = this.parkList.filter(item => { | 207 | this.historyList = this.parkList.filter(item => { |
| 208 | return item.parkState == '20' | 208 | return item.parkState == '20' |
| 209 | }) | 209 | }) |
| 210 | + if(this.parkingData.length==0&&this.historyList.length>0){ | ||
| 211 | + this.currentTabActive = 1 | ||
| 212 | + } | ||
| 210 | this.historyList.forEach(i => { | 213 | this.historyList.forEach(i => { |
| 211 | this.allMoney += Number(i.unPayFee) | 214 | this.allMoney += Number(i.unPayFee) |
| 212 | }) | 215 | }) |