Showing
2 changed files
with
13 additions
and
11 deletions
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | </el-form-item> | 32 | </el-form-item> |
| 33 | </el-form> | 33 | </el-form> |
| 34 | <Tables ref="newTables" ductName="flightRand" :data="sourceFlightRulesList" :headerData="tableHeaders['flightRand']" | 34 | <Tables ref="newTables" ductName="flightRand" :data="sourceFlightRulesList" :headerData="tableHeaders['flightRand']" |
| 35 | - :order="true" :totalCount="total" :loading="loading" :limitSize="queryParams.limit" | 35 | + :order="true" :showOverflowTooltip="false" :totalCount="total" :loading="loading" :limitSize="queryParams.limit" |
| 36 | :limitStart="queryParams.start" :page="queryParams.pageNum" :pageSizes="[20]" :height="tableHeight" | 36 | :limitStart="queryParams.start" :page="queryParams.pageNum" :pageSizes="[20]" :height="tableHeight" |
| 37 | @currentChange="currentChange"> | 37 | @currentChange="currentChange"> |
| 38 | <template slot="optionColumn"> | 38 | <template slot="optionColumn"> |
| ... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
| 66 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200"> | 66 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200"> |
| 67 | <template slot-scope="scope"> | 67 | <template slot-scope="scope"> |
| 68 | <el-button size="mini" type="text" icon="el-icon-edit" | 68 | <el-button size="mini" type="text" icon="el-icon-edit" |
| 69 | - @click="handleClick(scope.row.actualFlight, 'detail')">查看配置维度</el-button> | 69 | + @click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate)">查看配置维度</el-button> |
| 70 | </template> | 70 | </template> |
| 71 | </el-table-column> | 71 | </el-table-column> |
| 72 | </el-table> | 72 | </el-table> |
| ... | @@ -115,7 +115,8 @@ | ... | @@ -115,7 +115,8 @@ |
| 115 | </el-col> | 115 | </el-col> |
| 116 | <el-col :span="24"> | 116 | <el-col :span="24"> |
| 117 | <el-form-item label="配载航班" prop="flightRank"> | 117 | <el-form-item label="配载航班" prop="flightRank"> |
| 118 | - <el-input type="textarea" v-model="form.flightRank" :rows="4" maxlength="255"></el-input> | 118 | + <el-input type="textarea" v-model="flightRank" rows="4" maxlength="255"> |
| 119 | + </el-input> | ||
| 119 | </el-form-item> | 120 | </el-form-item> |
| 120 | </el-col> | 121 | </el-col> |
| 121 | <el-col :span="24"> | 122 | <el-col :span="24"> |
| ... | @@ -265,13 +266,14 @@ export default { | ... | @@ -265,13 +266,14 @@ export default { |
| 265 | }, | 266 | }, |
| 266 | methods: { | 267 | methods: { |
| 267 | //跳转到查看,修改页面 | 268 | //跳转到查看,修改页面 |
| 268 | - handleClick(flightiId, handle) { | 269 | + handleClick(fltNo, handle, fltDate) { |
| 269 | this.openFlightDate = false; | 270 | this.openFlightDate = false; |
| 270 | this.$router.push({ | 271 | this.$router.push({ |
| 271 | name: "FlightAllocConfigInfo", | 272 | name: "FlightAllocConfigInfo", |
| 272 | params: { | 273 | params: { |
| 273 | handle: handle, | 274 | handle: handle, |
| 274 | - id: flightiId, | 275 | + fltNo: fltNo, |
| 276 | + fltDate: fltDate | ||
| 275 | }, | 277 | }, |
| 276 | }); | 278 | }); |
| 277 | }, | 279 | }, |
| ... | @@ -439,7 +441,7 @@ export default { | ... | @@ -439,7 +441,7 @@ export default { |
| 439 | this.queryParams.start = val.start; | 441 | this.queryParams.start = val.start; |
| 440 | this.queryParams.pageNum = val.page; | 442 | this.queryParams.pageNum = val.page; |
| 441 | this.findSourceFlightRules(); | 443 | this.findSourceFlightRules(); |
| 442 | - } | 444 | + }, |
| 443 | }, | 445 | }, |
| 444 | computed: { | 446 | computed: { |
| 445 | sourceFlightNo: { | 447 | sourceFlightNo: { |
| ... | @@ -452,15 +454,15 @@ export default { | ... | @@ -452,15 +454,15 @@ export default { |
| 452 | }, | 454 | }, |
| 453 | flightRank: { | 455 | flightRank: { |
| 454 | get: function () { | 456 | get: function () { |
| 455 | - return this.form.flightRank | 457 | + return this.form.flightRank; |
| 456 | }, | 458 | }, |
| 457 | set: function (val) { | 459 | set: function (val) { |
| 458 | const reg = /^([a-zA-Z0-9]{0,20}(\;[a-zA-Z0-9]{0,20})*)$/ | 460 | const reg = /^([a-zA-Z0-9]{0,20}(\;[a-zA-Z0-9]{0,20})*)$/ |
| 459 | if (reg.test(val)) { | 461 | if (reg.test(val)) { |
| 460 | - this.form.flightRank = val | 462 | + this.$set(this.form, 'flightRank', val) |
| 461 | } | 463 | } |
| 462 | - }, | 464 | + } |
| 463 | - } | 465 | + }, |
| 464 | }, | 466 | }, |
| 465 | }; | 467 | }; |
| 466 | </script> | 468 | </script> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div style="padding:10px"> | 2 | <div style="padding:10px"> |
| 3 | - <el-button class="ml20 mb20" size="small" icon="el-icon-back" @click="close">返 回</el-button> | 3 | + <!-- <el-button class="ml20 mb20" size="small" icon="el-icon-back" @click="close">返 回</el-button> --> |
| 4 | <el-card header="流水信息"> | 4 | <el-card header="流水信息"> |
| 5 | <Tables ref="weatherTable" ductName="weatherTable" :order="true" :border="false" :data="data" | 5 | <Tables ref="weatherTable" ductName="weatherTable" :order="true" :border="false" :data="data" |
| 6 | :headerData="tableHeader" :showOverflowTooltip="false" :height="tableHeight" :page="selectData.page" | 6 | :headerData="tableHeader" :showOverflowTooltip="false" :height="tableHeight" :page="selectData.page" | ... | ... |
-
Please register or login to post a comment