优化保存批次失败loading不关闭的情况
This commit is contained in:
parent
572d3f4cdd
commit
cc716a27e2
@ -1089,13 +1089,13 @@ export default {
|
|||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let response = await addAllEmisTmsSiteBatch(this.form);
|
try {
|
||||||
if(!response || response.code != 200){
|
let response = await addAllEmisTmsSiteBatch(this.form);
|
||||||
|
} catch (error) {
|
||||||
this.isDoing=false;
|
this.isDoing=false;
|
||||||
this.$modal.msgError(response && response.msg || '新增组批次失败')
|
this.$modal.msgError(response && response.msg || '新增组批次失败')
|
||||||
return;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// 批次重算
|
// 批次重算
|
||||||
try{
|
try{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user