jinhui.wang

bug修复样式更新

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 {
574 this.form.route = '' 573 this.form.route = ''
575 this.routeMultiple = false 574 this.routeMultiple = false
575 + } else if (item.chineseName == 'Purple Tail') {
576 + this.form.route = []
577 + this.routeMultiple = true
578 + }
576 } 579 }
580 + })
577 this.$refs.routeSelect.$forceUpdate() 581 this.$refs.routeSelect.$forceUpdate()
578 }, 582 },
579 //查询条件数据源 583 //查询条件数据源
......