fix:客户页面删除接口调用错误,误用采购订单删除接口,并补充删除后刷新列表

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
caoqianming 2026-07-14 09:10:04 +08:00
parent 4b50bd786e
commit f0fe273eb5
1 changed files with 2 additions and 1 deletions

View File

@ -121,8 +121,9 @@
this.$confirm(`确定删除吗?`, "提示", { this.$confirm(`确定删除吗?`, "提示", {
type: "warning", type: "warning",
}).then(() => { }).then(() => {
this.$API.pum.order.delete.req(row.id).then((res) => { this.$API.sam.customer.delete.req(row.id).then((res) => {
this.$message.success("删除成功"); this.$message.success("删除成功");
this.$refs.table.refresh();
return res; return res;
}).catch((err) => { }).catch((err) => {
return err; return err;