Showing
2 changed files
with
9 additions
and
10 deletions
| ... | @@ -54,8 +54,8 @@ | ... | @@ -54,8 +54,8 @@ |
| 54 | </template> | 54 | </template> |
| 55 | </Tables> | 55 | </Tables> |
| 56 | <!-- 查看目的航班对话框 --> | 56 | <!-- 查看目的航班对话框 --> |
| 57 | - <el-dialog title="实际配载航班" :visible.sync="openFlightDate" width="70%" :close-on-click-modal="false" | 57 | + <el-dialog title="实际配载航班" :visible.sync="openFlightDate" width="70%" :close-on-click-modal="false" :show-close="false" |
| 58 | - :show-close="false" :append-to-body="true" @close="cancelFlightDate"> | 58 | + :append-to-body="true" @close="cancelFlightDate"> |
| 59 | <el-table v-loading="loadingFlightDate" :data="sourceFlightAndFlightDate"> | 59 | <el-table v-loading="loadingFlightDate" :data="sourceFlightAndFlightDate"> |
| 60 | <el-table-column type="index" label="序号" align="center"> | 60 | <el-table-column type="index" label="序号" align="center"> |
| 61 | <template slot-scope="scope">{{ scope.$index + 1 }}</template> | 61 | <template slot-scope="scope">{{ scope.$index + 1 }}</template> |
| ... | @@ -112,8 +112,7 @@ | ... | @@ -112,8 +112,7 @@ |
| 112 | </el-col> | 112 | </el-col> |
| 113 | <el-col :span="24" style="margin-bottom: 5%"> | 113 | <el-col :span="24" style="margin-bottom: 5%"> |
| 114 | <span style="color: #ff4949; margin-left: 10%">提示:配载航班之间请用分号分隔【符号不区分中英文】,例:CA1053;C7433</span><br /> | 114 | <span style="color: #ff4949; margin-left: 10%">提示:配载航班之间请用分号分隔【符号不区分中英文】,例:CA1053;C7433</span><br /> |
| 115 | - <span | 115 | + <span style="color: #ff4949; margin-left: 10%">提示:如果需要设置配载航班延迟或提前可以直接在目的航班后加减【+-】天数。如:CA1053+1;CZ433-1</span> |
| 116 | - style="color: #ff4949; margin-left: 10%">提示:如果需要设置配载航班延迟或提前可以直接在目的航班后加减【+-】天数。如:CA1053+1;CZ433-1</span> | ||
| 117 | </el-col> | 116 | </el-col> |
| 118 | <el-col :span="24"> | 117 | <el-col :span="24"> |
| 119 | <el-form-item label="配载航班" prop="flightRank"> | 118 | <el-form-item label="配载航班" prop="flightRank"> |
| ... | @@ -409,15 +408,15 @@ export default { | ... | @@ -409,15 +408,15 @@ export default { |
| 409 | this.$message.warning("日期为空"); | 408 | this.$message.warning("日期为空"); |
| 410 | return; | 409 | return; |
| 411 | } | 410 | } |
| 412 | - this.openFlightDate = true; | ||
| 413 | this.loadingFlightDate = true; | 411 | this.loadingFlightDate = true; |
| 414 | this.sourceFlightAndFlightDate = []; | 412 | this.sourceFlightAndFlightDate = []; |
| 415 | findSourceFlightAndFlightDateApi(this.queryParams).then((response) => { | 413 | findSourceFlightAndFlightDateApi(this.queryParams).then((response) => { |
| 416 | if (response.code === 200) { | 414 | if (response.code === 200) { |
| 417 | this.sourceFlightAndFlightDate = response.data; | 415 | this.sourceFlightAndFlightDate = response.data; |
| 418 | this.loadingFlightDate = false; | 416 | this.loadingFlightDate = false; |
| 417 | + this.openFlightDate = true; | ||
| 419 | } else { | 418 | } else { |
| 420 | - this.msgError(response.msg); | 419 | + this.msgWarning('未查询到相关数据!'); |
| 421 | } | 420 | } |
| 422 | }); | 421 | }); |
| 423 | }, | 422 | }, |
| ... | @@ -474,6 +473,4 @@ export default { | ... | @@ -474,6 +473,4 @@ export default { |
| 474 | }, | 473 | }, |
| 475 | }; | 474 | }; |
| 476 | </script> | 475 | </script> |
| 477 | -<style> | 476 | +<style></style> |
| 478 | - | ||
| 479 | -</style> | ... | ... |
| ... | @@ -286,8 +286,10 @@ export default { | ... | @@ -286,8 +286,10 @@ export default { |
| 286 | }) | 286 | }) |
| 287 | }, | 287 | }, |
| 288 | routeChange() { | 288 | routeChange() { |
| 289 | - // this.$forceUpdate() | 289 | + this.$forceUpdate() |
| 290 | + this.$nextTick(() => { | ||
| 290 | this.$refs['superAllocationForm'].clearValidate('flightRoute') | 291 | this.$refs['superAllocationForm'].clearValidate('flightRoute') |
| 292 | + }) | ||
| 291 | }, | 293 | }, |
| 292 | close() { | 294 | close() { |
| 293 | this.formData = { | 295 | this.formData = { | ... | ... |
-
Please register or login to post a comment