Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -439,7 +439,7 @@ | ... | @@ -439,7 +439,7 @@ |
| 439 | type="primary" | 439 | type="primary" |
| 440 | size="small" | 440 | size="small" |
| 441 | :disabled="pageName" | 441 | :disabled="pageName" |
| 442 | - @click="addRouteRule(index)" | 442 | + @click="addRouteRule(item, index)" |
| 443 | >新增规则</el-button | 443 | >新增规则</el-button |
| 444 | > | 444 | > |
| 445 | </el-empty> | 445 | </el-empty> |
| ... | @@ -607,8 +607,8 @@ export default { | ... | @@ -607,8 +607,8 @@ export default { |
| 607 | this.$emit("subCategory", arr); | 607 | this.$emit("subCategory", arr); |
| 608 | }, | 608 | }, |
| 609 | // 新增规则 | 609 | // 新增规则 |
| 610 | - addRouteRule(index) { | 610 | + addRouteRule(item, index) { |
| 611 | - this.$emit("addRlue", index); | 611 | + this.$emit("addRlue", item, index); |
| 612 | }, | 612 | }, |
| 613 | // 保存 | 613 | // 保存 |
| 614 | saveSubmit(item, index) { | 614 | saveSubmit(item, index) { | ... | ... |
| ... | @@ -978,8 +978,8 @@ export default { | ... | @@ -978,8 +978,8 @@ export default { |
| 978 | if (res.data.list.length) { | 978 | if (res.data.list.length) { |
| 979 | this.routeList = res.data.list; | 979 | this.routeList = res.data.list; |
| 980 | } | 980 | } |
| 981 | + this.form.route = ""; | ||
| 981 | if (res.data.list.length == 0) { | 982 | if (res.data.list.length == 0) { |
| 982 | - this.form.route = ""; | ||
| 983 | this.routeList = []; | 983 | this.routeList = []; |
| 984 | this.msgError("该航班没有设置航线"); | 984 | this.msgError("该航班没有设置航线"); |
| 985 | } | 985 | } | ... | ... |
-
Please register or login to post a comment