Showing
1 changed file
with
11 additions
and
6 deletions
| ... | @@ -17,9 +17,11 @@ export default { | ... | @@ -17,9 +17,11 @@ export default { |
| 17 | computed: { | 17 | computed: { |
| 18 | // 获取路由参数 | 18 | // 获取路由参数 |
| 19 | getRouter() { | 19 | getRouter() { |
| 20 | - if (this.$route.query.name == "add" || this.$route.query.name == "edit") { | 20 | + if (this.$route.query.name == "add") { |
| 21 | return "保存"; | 21 | return "保存"; |
| 22 | - }else { | 22 | + } else if (this.$route.query.name == "edit") { |
| 23 | + return "修改"; | ||
| 24 | + } else { | ||
| 23 | return false; | 25 | return false; |
| 24 | } | 26 | } |
| 25 | }, | 27 | }, |
| ... | @@ -191,17 +193,20 @@ export default { | ... | @@ -191,17 +193,20 @@ export default { |
| 191 | this.cargoType = data.cargoType; // 申报类别 | 193 | this.cargoType = data.cargoType; // 申报类别 |
| 192 | this.cargoStatus = data.cargoStatus; // 货物类型 | 194 | this.cargoStatus = data.cargoStatus; // 货物类型 |
| 193 | this.puporpux = data.puporpux; // 取件扫描号 | 195 | this.puporpux = data.puporpux; // 取件扫描号 |
| 196 | + // Service Code | ||
| 194 | this.serviceCode = this.dicSort( | 197 | this.serviceCode = this.dicSort( |
| 195 | data.serviceCode.sort((a, b) => | 198 | data.serviceCode.sort((a, b) => |
| 196 | a.chineseName.localeCompare(b.chineseName) | 199 | a.chineseName.localeCompare(b.chineseName) |
| 197 | ) | 200 | ) |
| 198 | - ); // Service Code | 201 | + ); |
| 202 | + // Handling Code | ||
| 199 | this.handlingCode = this.dicSort( | 203 | this.handlingCode = this.dicSort( |
| 200 | this.sorttodo(data.handlingCode, "BLANK") | 204 | this.sorttodo(data.handlingCode, "BLANK") |
| 201 | - ); // Handling Code | 205 | + ); |
| 206 | + // Sub Category | ||
| 202 | this.subCategory = this.dicSort( | 207 | this.subCategory = this.dicSort( |
| 203 | this.sorttodo(data.subCategory, "Blank") | 208 | this.sorttodo(data.subCategory, "Blank") |
| 204 | - ); // Sub Category | 209 | + ); |
| 205 | }) | 210 | }) |
| 206 | .catch(() => {}); | 211 | .catch(() => {}); |
| 207 | }, | 212 | }, |
| ... | @@ -774,7 +779,7 @@ export default { | ... | @@ -774,7 +779,7 @@ export default { |
| 774 | 但是有一点就是White Tail只查询一条航班航线配置信息,根据从航班信息维护White Tail类型查看维度, | 779 | 但是有一点就是White Tail只查询一条航班航线配置信息,根据从航班信息维护White Tail类型查看维度, |
| 775 | 做路由跳转传参带过来的航线首先在日期级别航线配置信息中遍历查询有没有该航班航线的配置信息,如果有, | 780 | 做路由跳转传参带过来的航线首先在日期级别航线配置信息中遍历查询有没有该航班航线的配置信息,如果有, |
| 776 | 那么则不需要再走一次非日期级别的航班航线配置信息查询,如果没有那么则再走一次非日期航班航线配置信息查询。 | 781 | 那么则不需要再走一次非日期级别的航班航线配置信息查询,如果没有那么则再走一次非日期航班航线配置信息查询。 |
| 777 | - 但是航线优先级显示的航线还是取日期级别航班航线列表中的航线。 | 782 | + 但是航线优先级显示的航线还是取日期级别航班航线列表中的航线。最后航班航线配置信息依照航班航线列表排序即可; |
| 778 | 7:航班航线信息列表和航班航线配置信息列表在做完航班航线配置信息列表去重之后和航班航线列表做数据整合之后, | 783 | 7:航班航线信息列表和航班航线配置信息列表在做完航班航线配置信息列表去重之后和航班航线列表做数据整合之后, |
| 779 | 还要对所有关于显示的数据做处理,比如页面上所有关于checkbox的勾选框radio单选框; | 784 | 还要对所有关于显示的数据做处理,比如页面上所有关于checkbox的勾选框radio单选框; |
| 780 | 8: 在保存提交的时候对所有关于页面checkbox的勾选框做数据处理; | 785 | 8: 在保存提交的时候对所有关于页面checkbox的勾选框做数据处理; | ... | ... |
-
Please register or login to post a comment