Elements-SY

modify

...@@ -188,12 +188,15 @@ export default { ...@@ -188,12 +188,15 @@ 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 }
198 + }).catch(() => {
199 + this.loading = false;
197 }); 200 });
198 }).catch(() => { 201 }).catch(() => {
199 this.msgSuccess('配舱已取消') 202 this.msgSuccess('配舱已取消')
......