hao.wang

Merge branch 'et86_wh' into 'et86-black'

修改et86选择航线值清空问题



See merge request !1
......@@ -630,7 +630,7 @@ export default {
.catch(() => {});
},
// 航线查询
getQueryRouteByFltNo(item) {
getQueryRouteByFltNo(item, curRow) {
this.tableAttr.tableLoading = true;
this.tableData[this.currentIndex].flightRoute;
queryRouteByFltNo(item)
......@@ -654,7 +654,9 @@ export default {
this.tableData[this.currentIndex].flightRoute = "";
}
}
if (!curRow) {
this.tableData[this.currentIndex].flightRoute = "";
}
})
.catch(() => {});
},
......@@ -692,7 +694,7 @@ export default {
};
// 航班号输入框失焦时判断有没有航班号,并且航班号是不是发生了变化调用航线查询
if (params.fltNo && params.fltNo !== this.currentFlightNo) {
this.getQueryRouteByFltNo(params); // 航线查询
this.getQueryRouteByFltNo(params, ""); // 航线查询
}
// 航班号为空时
if (params.fltNo.length == 0) {
......@@ -710,7 +712,7 @@ export default {
// 出现下拉框时触发
if (e) {
// 航线查询
this.getQueryRouteByFltNo(params);
this.getQueryRouteByFltNo(params, row.flightRoute);
}
},
// 添加ET86配舱航班顺位
......