From 257e1c71b00393075cf3a34a7830866b7fe66cc1 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 20 三月 2026 15:29:03 +0800
Subject: [PATCH] fix: 关闭流转卡功能
---
src/views/salesManagement/returnOrder/index.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/views/salesManagement/returnOrder/index.vue b/src/views/salesManagement/returnOrder/index.vue
index 1165ed3..f38b1d2 100644
--- a/src/views/salesManagement/returnOrder/index.vue
+++ b/src/views/salesManagement/returnOrder/index.vue
@@ -95,7 +95,7 @@
cancelButtonText: "鍙栨秷",
type: "warning",
}).then(() => {
- returnManagementDel({ ids: String(row.id) }).then(() => {
+ returnManagementDel({ ids: [row.id] }).then(() => {
proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
getList();
});
@@ -145,8 +145,6 @@
{ label: "閿�鍞崟鍙�", prop: "salesContractNo", minWidth: 160 },
{ label: "涓氬姟鍛�", prop: "salesman", minWidth: 120 },
{ label: "鍏宠仈鍑哄簱鍗曞彿", prop: "shippingNo", minWidth: 170 },
- { label: "椤圭洰鍚嶇О", prop: "projectName", minWidth: 180 },
- { label: "椤圭洰闃舵", prop: "projectStage", minWidth: 120 },
{ label: "鍒跺崟浜�", prop: "maker", minWidth: 120 },
{ label: "缁撶畻浜�", prop: "settler", minWidth: 120 },
{
@@ -252,12 +250,13 @@
return;
}
ids = selectedRows.value.map(i => i.id);
+ console.log(ids);
ElMessageBox.confirm("閫変腑鐨勫唴瀹瑰皢琚垹闄わ紝鏄惁纭鍒犻櫎锛�", "鍒犻櫎鎻愮ず", {
confirmButtonText: "纭",
cancelButtonText: "鍙栨秷",
type: "warning",
}).then(() => {
- returnManagementDel({ ids: ids.join(",") }).then(() => {
+ returnManagementDel( ids ).then(() => {
proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
getList();
});
--
Gitblit v1.9.3