Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-18 14:00:20 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
6a8c08b8d1bd0dfc7e66a9e0a7ca4d9c5814063c
6a8c08b8
2 parents
779e0666
46a01717
Merge branch 'et86-black' into uat
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/views/et86Config/et86RuleConfig/edit/index.vue
src/views/et86Config/et86RuleConfig/edit/index.vue
View file @
6a8c08b
...
...
@@ -483,6 +483,7 @@ export default {
maxCNYCustomVal: "", //
minSUDCustomVal: "", // 美元最小申报值
maxSUDCustomVal: "", //
currentFlightNo: "", // 当前航班号
};
},
computed: {
...
...
@@ -655,7 +656,8 @@ export default {
.catch(() => {});
},
// 航班号input 聚焦事件
inputFlightNoFocus({ $index }) {
inputFlightNoFocus({ $index, row }) {
this.currentFlightNo = row.flightNo.trim();
this.currentIndex = $index;
},
// 失焦查询
...
...
@@ -685,10 +687,12 @@ export default {
let params = {
fltNo: this.tableData[this.currentIndex].flightNo,
};
// 航班号输入框失焦时判断有没有航班号,
有航班号
调用航线查询
if (params.fltNo) {
// 航班号输入框失焦时判断有没有航班号,
并且航班号是不是发生了变化
调用航线查询
if (params.fltNo
&& params.fltNo !== this.currentFlightNo
) {
this.getQueryRouteByFltNo(params); // 航线查询
} else {
}
// 航班号为空时
if(params.fltNo.length == 0) {
this.tableData[this.currentIndex].flightRoute = "";
this.tableData[this.currentIndex].routeList = [];
this.msgError("请输入航班号");
...
...
Please
register
or
login
to post a comment