Showing
2 changed files
with
13 additions
and
9 deletions
| 1 | <template> | 1 | <template> |
| 2 | <div> | 2 | <div> |
| 3 | - <el-dialog title="货物配舱" width="80%" :visible.sync="dialogVisible" :close-on-click-modal="false" :show-close="false" | 3 | + <el-dialog title="货物配舱" width="80%" top="5vh" :visible.sync="dialogVisible" :close-on-click-modal="false" |
| 4 | - :append-to-body="true"> | 4 | + :show-close="false" :append-to-body="true"> |
| 5 | <el-divider content-position="left">已选货物信息</el-divider> | 5 | <el-divider content-position="left">已选货物信息</el-divider> |
| 6 | <el-table :data="tableData" size="mini" height="200" max-height="200" border stripe highlight-current-row | 6 | <el-table :data="tableData" size="mini" height="200" max-height="200" border stripe highlight-current-row |
| 7 | style="width: 100%"> | 7 | style="width: 100%"> | ... | ... |
| ... | @@ -567,13 +567,17 @@ export default { | ... | @@ -567,13 +567,17 @@ export default { |
| 567 | }, | 567 | }, |
| 568 | //航班种类修改 | 568 | //航班种类修改 |
| 569 | kindChange(val) { | 569 | kindChange(val) { |
| 570 | - if (val === 94076) { | 570 | + this.selectOption.flightKindlist.forEach(item => { |
| 571 | - this.form.route = [] | 571 | + if (item.id == val) { |
| 572 | - this.routeMultiple = true | 572 | + if (item.chineseName == 'White Tail') { |
| 573 | - } else { | 573 | + this.form.route = '' |
| 574 | - this.form.route = '' | 574 | + this.routeMultiple = false |
| 575 | - this.routeMultiple = false | 575 | + } else if (item.chineseName == 'Purple Tail') { |
| 576 | - } | 576 | + this.form.route = [] |
| 577 | + this.routeMultiple = true | ||
| 578 | + } | ||
| 579 | + } | ||
| 580 | + }) | ||
| 577 | this.$refs.routeSelect.$forceUpdate() | 581 | this.$refs.routeSelect.$forceUpdate() |
| 578 | }, | 582 | }, |
| 579 | //查询条件数据源 | 583 | //查询条件数据源 | ... | ... |
-
Please register or login to post a comment