jinhui.wang

航班顺位查看配载航班增加航线,修正维度新增保留状态的bug,文本修正

......@@ -1158,6 +1158,7 @@ export default {
},
//返回
close() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$store.state.tagsView.visitedViews.splice(
this.$store.state.tagsView.visitedViews.findIndex(
(item) => item.path === this.$route.path
......
......@@ -60,13 +60,15 @@
<el-table-column type="index" label="序号" align="center">
<template slot-scope="scope">{{ scope.$index + 1 }}</template>
</el-table-column>
<el-table-column label="原航班" align="center" prop="sourceFlightNo" />
<el-table-column label="实际配载航班" align="center" prop="actualFlight" width="280" />
<el-table-column label="航班日期" align="center" prop="flightDate" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
<el-table-column label="原航班" align="center" prop="sourceFlightNo" width="150" />
<el-table-column label="实际配载航班" align="center" prop="actualFlight" width="250" />
<el-table-column label="航线" align="center" prop="route" />
<el-table-column label="航班日期" align="center" prop="flightDate" width="150" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit"
@click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate)">查看配置维度</el-button>
@click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate,scope.row.route)">查看配置维度
</el-button>
</template>
</el-table-column>
</el-table>
......@@ -266,15 +268,19 @@ export default {
},
methods: {
//跳转到查看,修改页面
handleClick(fltNo, handle, fltDate) {
handleClick(fltNo, handle, fltDate, route) {
this.openFlightDate = false;
this.$router.push({
name: "FlightAllocConfigInfo",
params: {
let obj = {
handle: handle,
fltNo: fltNo,
fltDate: fltDate
},
fltDate: fltDate != null ? fltDate : ' ',
route: route,
routeStatus: 'FlightRandConfig',
status: '1'
}
this.$router.push({
name: "FlightAllocConfigInfo",
params: obj,
});
},
/** 查询原航班顺位规则*/
......
......@@ -11,8 +11,8 @@
</el-col>
<el-col :span="6">
<el-form-item label="品名">
<el-input class="formItem" v-model="selectionData.goodsName" placeholder="请输入货站名称"
maxlength="50" clearable />
<el-input class="formItem" v-model="selectionData.goodsName" placeholder="请输入品名" maxlength="50"
clearable />
</el-form-item>
</el-col>
</el-row>
......
......@@ -64,6 +64,7 @@ export default {
},
//返回
close() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$store.state.tagsView.visitedViews.splice(
this.$store.state.tagsView.visitedViews.findIndex(
(item) => item.path === this.$route.path
......