Showing
1 changed file
with
6 additions
and
3 deletions
| ... | @@ -188,13 +188,16 @@ export default { | ... | @@ -188,13 +188,16 @@ export default { |
| 188 | this.msgSuccess('货物配舱成功') | 188 | this.msgSuccess('货物配舱成功') |
| 189 | this.cleaerForm(); | 189 | this.cleaerForm(); |
| 190 | this.$emit("dialogBeforeClose", { close: false, reload: true }); | 190 | this.$emit("dialogBeforeClose", { close: false, reload: true }); |
| 191 | - } else if (res.code === 203) { | 191 | + } |
| 192 | + else if (res.code === 203) { | ||
| 192 | this.reallocationFlight(res.msg, 'notInWhite') | 193 | this.reallocationFlight(res.msg, 'notInWhite') |
| 193 | - } else { | 194 | + }else { |
| 194 | this.msgWarning(res.msg) | 195 | this.msgWarning(res.msg) |
| 195 | this.loading = false | 196 | this.loading = false |
| 196 | } | 197 | } |
| 197 | - }); | 198 | + }).catch(() => { |
| 199 | + this.loading = false; | ||
| 200 | + }); | ||
| 198 | }).catch(() => { | 201 | }).catch(() => { |
| 199 | this.msgSuccess('配舱已取消') | 202 | this.msgSuccess('配舱已取消') |
| 200 | this.loading = false | 203 | this.loading = false | ... | ... |
-
Please register or login to post a comment