Showing
1 changed file
with
12 additions
and
2 deletions
| ... | @@ -821,15 +821,25 @@ export default { | ... | @@ -821,15 +821,25 @@ export default { |
| 821 | }) | 821 | }) |
| 822 | } | 822 | } |
| 823 | }) | 823 | }) |
| 824 | - } | 824 | + } else { |
| 825 | - else { | ||
| 826 | this.routeList.forEach((route) => { | 825 | this.routeList.forEach((route) => { |
| 826 | + let routeStatus = 1 | ||
| 827 | + infoRouteList.forEach((item, index) => { | ||
| 828 | + if (item == route.route) { | ||
| 829 | + routeStatus = 2 | ||
| 830 | + this.infoForm.list.push( | ||
| 831 | + this.dataHandle(res.data.list[index]) | ||
| 832 | + ) | ||
| 833 | + } | ||
| 834 | + }) | ||
| 835 | + if (routeStatus == 1) { | ||
| 827 | this.infoForm.list.push({ | 836 | this.infoForm.list.push({ |
| 828 | purposeOfFlightNo: this.infoForm.fltNo, | 837 | purposeOfFlightNo: this.infoForm.fltNo, |
| 829 | ruleDate: this.infoForm.fltDate, | 838 | ruleDate: this.infoForm.fltDate, |
| 830 | flightRoute: route.route, | 839 | flightRoute: route.route, |
| 831 | routePriority: route.routePriority, | 840 | routePriority: route.routePriority, |
| 832 | }) | 841 | }) |
| 842 | + } | ||
| 833 | }) | 843 | }) |
| 834 | } | 844 | } |
| 835 | }).catch(err => { | 845 | }).catch(err => { | ... | ... |
-
Please register or login to post a comment