From cbf941d01f7b625003b448aeaa25657d414027b4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 七月 2025 10:09:25 +0800
Subject: [PATCH] 添加多个产品层级时,后面删除按钮点击不到(需要对层级数量做限制)(跟缪总确认,3个层级)
---
src/api/inventoryManagement/stockIn.js | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index 53ee074..5e104f7 100644
--- a/src/api/inventoryManagement/stockIn.js
+++ b/src/api/inventoryManagement/stockIn.js
@@ -9,10 +9,19 @@
});
};
-// 淇敼搴撳瓨淇℃伅
+// 淇敼鍏ュ簱瀛樹俊鎭�
export const updateStockIn = (data) => {
return request({
url: "/stockin/update",
+ method: "post",
+ data,
+ });
+};
+
+// 淇敼搴撳瓨淇℃伅
+export const updateManagement = (data) => {
+ return request({
+ url: "/stockin/updateManagement",
method: "post",
data,
});
@@ -31,7 +40,7 @@
export function delStockIn(ids) {
return request({
url: '/stockin/del',
- method: 'delete',
+ method: 'post',
data: ids
})
}
--
Gitblit v1.9.3