jinhui.wang

样式修改,数据状态变更

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%">
......
...@@ -552,13 +552,17 @@ export default { ...@@ -552,13 +552,17 @@ export default {
552 }, 552 },
553 //航班种类修改 553 //航班种类修改
554 kindChange(val) { 554 kindChange(val) {
555 - if (val === 94076) { 555 + this.selectOption.flightKindlist.forEach(item => {
556 - this.form.route = [] 556 + if (item.id == val) {
557 - this.routeMultiple = true 557 + if (item.chineseName == 'White Tail') {
558 - } else {
559 this.form.route = '' 558 this.form.route = ''
560 this.routeMultiple = false 559 this.routeMultiple = false
560 + } else if (item.chineseName == 'Purple Tail') {
561 + this.form.route = []
562 + this.routeMultiple = true
563 + }
561 } 564 }
565 + })
562 this.$refs.routeSelect.$forceUpdate() 566 this.$refs.routeSelect.$forceUpdate()
563 }, 567 },
564 //查询条件数据源 568 //查询条件数据源
...@@ -751,7 +755,7 @@ export default { ...@@ -751,7 +755,7 @@ export default {
751 findFltById(row).then((response) => { 755 findFltById(row).then((response) => {
752 if (response.code == 200) { 756 if (response.code == 200) {
753 this.form = response.data; 757 this.form = response.data;
754 - this.form.route.split(';') 758 + this.form.route = this.form.route.split(';')
755 //是否开启高低价 759 //是否开启高低价
756 // this.form.highLowPriceFlg = this.form.highLowPriceFlg === 1 ? true : false; 760 // this.form.highLowPriceFlg = this.form.highLowPriceFlg === 1 ? true : false;
757 //是否预审 761 //是否预审
......