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
Elements-SY
2023-09-13 17:23:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
088e8d33fbc0f0ad8459208e4639d4fd8699ca3d
088e8d33
1 parent
8b7701bf
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
088e8d3
...
...
@@ -847,6 +847,7 @@ export default {
console.log(err)
})
} else {
// 航班配舱设置普通规则
this.routeList.forEach((route, sub) => {
if (!infoRouteList.includes(route.route)) {
this.infoForm.list.push({
...
...
@@ -855,6 +856,28 @@ export default {
flightRoute: route.route,
routePriority: route.routePriority,
})
}else{
let routeStatus = 1
res.data.list.forEach(item => {
if (item.flightRoute == route.route) {
item.id = undefined
item.status = undefined
routeStatus = 2
this.infoForm.list.push(
this.dataHandle(item)
)
}
})
if (routeStatus == 1) {
// 否则插入占位基础数据
this.infoForm.list.push({
purposeOfFlightNo: this.infoForm.fltNo,
ruleDate: this.infoForm.fltDate,
flightRoute: route.route,
routePriority: route.routePriority,
})
this.newRoute(sub)
}
}
})
}
...
...
Please
register
or
login
to post a comment