Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2023-09-13 15:55:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
463940422570d0f0e3a1b73613606019db35f288
46394042
1 parent
fb0dac6c
航线判断修正
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
4639404
...
...
@@ -774,10 +774,9 @@ export default {
if (this.routeSatus == 'FlightAllocConfig') {
let infoRouteList = []
res.data.list.forEach(dateItem => {
this.infoForm.list.push(
this.dataHandle(dateItem)
)
infoRouteList.push(dateItem.flightRoute)
if (!infoRouteList.includes(JSON.parse(JSON.stringify(dateItem.flightRoute)))) {
infoRouteList.push(JSON.parse(JSON.stringify(dateItem.flightRoute)))
}
})
//判断是否有日期,看是否需要查询无日期维度
if (obj.flightDate != null && obj.flightDate != '' && obj.flightDate != ' ') {
...
...
@@ -812,6 +811,14 @@ export default {
})
this.newRoute(sub)
}
} else {
infoRouteList.forEach((item, index) => {
if (item == route.route) {
this.infoForm.list.push(
this.dataHandle(res.data.list[index])
)
}
})
}
})
}
...
...
Please
register
or
login
to post a comment