|
@@ -1258,7 +1258,7 @@
|
|
|
}).catch(() => loading.close());
|
|
|
}
|
|
|
|
|
|
- });
|
|
|
+ }).catch(() => {});
|
|
|
}
|
|
|
// 打开新增
|
|
|
onAdd() {
|
|
@@ -1557,7 +1557,7 @@
|
|
|
(this as any).$refs.table.setValue(skuRuleList); // 设置表格数据
|
|
|
});
|
|
|
}
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}).catch(() => { });
|
|
|
}
|
|
|
// 关联金蝶财务系统物料选择
|
|
@@ -1619,7 +1619,7 @@
|
|
|
this.$message.error(res.msg);
|
|
|
this.tableloading = false;
|
|
|
}
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}
|
|
|
// 确定关联金蝶财务系统物料
|
|
|
doConfirm() {
|
|
@@ -1838,7 +1838,7 @@
|
|
|
if (res.code === 200) {
|
|
|
this.selectList = res.data.records
|
|
|
} else this.$message.error(res.msg);
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}
|
|
|
// 获取列表数据
|
|
|
getDataList() {
|
|
@@ -1926,7 +1926,7 @@
|
|
|
(this as any).$refs.sideTree.request();
|
|
|
this.getDataList();
|
|
|
} else this.$message.error(res.msg);
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}).catch(() => this.$message.info('已取消删除'));
|
|
|
}
|
|
|
// 工具栏删除
|
|
@@ -1951,7 +1951,7 @@
|
|
|
this.getDataList();
|
|
|
this.$message.success('删除成功');
|
|
|
} else this.$message.error(res.msg);
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}).catch(() => this.$message.info('已取消删除'));
|
|
|
}
|
|
|
// 操作删除
|
|
@@ -1968,7 +1968,7 @@
|
|
|
this.getDataList();
|
|
|
this.$message.success('删除成功');
|
|
|
} else this.$message.error(res.msg);
|
|
|
- })
|
|
|
+ }).catch(() => {});
|
|
|
}).catch(() => this.$message.info('已取消删除'));
|
|
|
}
|
|
|
// 刷新
|