Showing
1 changed file
with
7 additions
and
2 deletions
| ... | @@ -136,8 +136,8 @@ | ... | @@ -136,8 +136,8 @@ |
| 136 | </div> | 136 | </div> |
| 137 | </template> | 137 | </template> |
| 138 | <el-select ref="routeSelect" class="wid80" v-model="form.route" :disabled="formdisabled.route" | 138 | <el-select ref="routeSelect" class="wid80" v-model="form.route" :disabled="formdisabled.route" |
| 139 | - placeholder="请选择航线" no-data-text="未查询到航线" @change="routeChange" :multiple='routeMultiple' | 139 | + placeholder="请选择航线" no-data-text="未查询到航线" @change="routeChange" :laoding="routeLoading" |
| 140 | - :key="routeMultiple"> | 140 | + :multiple='routeMultiple' :key="routeMultiple"> |
| 141 | <el-option v-for="item in routeList" :key="item.id" :label="item.route" :value="item.route"> | 141 | <el-option v-for="item in routeList" :key="item.id" :label="item.route" :value="item.route"> |
| 142 | </el-option> | 142 | </el-option> |
| 143 | </el-select> | 143 | </el-select> |
| ... | @@ -446,6 +446,7 @@ export default { | ... | @@ -446,6 +446,7 @@ export default { |
| 446 | ishighPriceWeightPercent: true, | 446 | ishighPriceWeightPercent: true, |
| 447 | //遮罩层 | 447 | //遮罩层 |
| 448 | loading: false, | 448 | loading: false, |
| 449 | + routeLoading: false, | ||
| 449 | //遮罩层 | 450 | //遮罩层 |
| 450 | loadingFlightDate: false, | 451 | loadingFlightDate: false, |
| 451 | //删除失败弹框 | 452 | //删除失败弹框 |
| ... | @@ -562,14 +563,17 @@ export default { | ... | @@ -562,14 +563,17 @@ export default { |
| 562 | this.msgError(response.msg); | 563 | this.msgError(response.msg); |
| 563 | } | 564 | } |
| 564 | }); | 565 | }); |
| 566 | + this.routeLoading = true | ||
| 565 | //获取航线 | 567 | //获取航线 |
| 566 | queryRouteByFltNo({ fltNo: this.form.fltNo }).then(res => { | 568 | queryRouteByFltNo({ fltNo: this.form.fltNo }).then(res => { |
| 569 | + this.routeLoading = false | ||
| 567 | if (res.code === 200) { | 570 | if (res.code === 200) { |
| 568 | this.routeList = res.data.list | 571 | this.routeList = res.data.list |
| 569 | } else { | 572 | } else { |
| 570 | this.msgWarning(res.msg) | 573 | this.msgWarning(res.msg) |
| 571 | } | 574 | } |
| 572 | }).catch(err => { | 575 | }).catch(err => { |
| 576 | + this.routeLoading = false | ||
| 573 | console.log(err) | 577 | console.log(err) |
| 574 | }) | 578 | }) |
| 575 | } | 579 | } |
| ... | @@ -902,6 +906,7 @@ export default { | ... | @@ -902,6 +906,7 @@ export default { |
| 902 | this.routeList = [] | 906 | this.routeList = [] |
| 903 | this.ishighPriceWeightPercent = true | 907 | this.ishighPriceWeightPercent = true |
| 904 | this.routeMultiple = false | 908 | this.routeMultiple = false |
| 909 | + this.routeLoading = false | ||
| 905 | this.open = false; | 910 | this.open = false; |
| 906 | this.findAllFltData(); | 911 | this.findAllFltData(); |
| 907 | this.findFltConditionData(); | 912 | this.findFltConditionData(); | ... | ... |
-
Please register or login to post a comment