From 7cb0cf9a36e263d29be61a44b8caae2a896f3461 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 31 三月 2026 11:31:40 +0800
Subject: [PATCH] 新增入库选择器修改

---
 src/api/inventoryManagement/stockIn.js |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index 53ee074..358d4e2 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
     })
 }
@@ -55,5 +64,20 @@
 }
 
 
-//
+//鏌ヨ搴撳瓨鍥捐〃鏁版嵁
+export function getStockInChartData() {
+    return request({
+        url: '/stockin/listReport',
+        method: 'get'
+    })
+}
 
+
+// 鏂板鍟嗗搧鍏ュ簱淇℃伅
+export function addProduct(data) {
+    return request({
+        url: '/stockin/addProduct',
+        method: 'post',
+        data: data
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3