|
|
@@ -1084,6 +1084,9 @@ export default {
|
|
|
this.refresh(this.form.id, true);
|
|
|
}
|
|
|
})
|
|
|
+ .catch(() => {
|
|
|
+ this.refresh(this.form.id);
|
|
|
+ })
|
|
|
.finally(() => {
|
|
|
loading.close();
|
|
|
});
|
|
|
@@ -1157,6 +1160,9 @@ export default {
|
|
|
this.refresh(res.data.data.id);
|
|
|
this.$message.success("入库完成");
|
|
|
})
|
|
|
+ .catch(() => {
|
|
|
+ this.refresh(this.form.id);
|
|
|
+ })
|
|
|
.finally(() => {
|
|
|
loading.close();
|
|
|
});
|
|
|
@@ -1293,7 +1299,7 @@ export default {
|
|
|
let multiList = this.selectionMultilist;
|
|
|
let arr = this.form.shipItemsList;
|
|
|
// 获取有id 的数据
|
|
|
- const itemsWithId = multiList.filter(item => item.id);;
|
|
|
+ const itemsWithId = multiList.filter(item => item.id);
|
|
|
let arrIds = itemsWithId.map(item => item.id); // 获取id 数据
|
|
|
// 把选中的删除掉
|
|
|
multiList.forEach(item => {
|