From 5afa72aa560366cc3cf5bb7fb74bc061acda600b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 24 四月 2026 17:21:40 +0800
Subject: [PATCH] 出库管理按照原材料和成品来区分

---
 src/api/inventoryManagement/stockInventory.js |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index c677ebf..027b9fa 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -13,6 +13,15 @@
     return request({
         url: "/stockInventory/addstockInventory",
         method: "post",
+        data: params,
+    });
+};
+
+// 鍒嗛〉鏌ヨ鑱斿悎搴撳瓨璁板綍鍒楄〃锛堝寘鍚晢鍝佷俊鎭級
+export const getStockInventoryListPageCombined = (params) => {
+    return request({
+        url: "/stockInventory/pageListCombinedStockInventory",
+        method: "get",
         params,
     });
 };
@@ -22,6 +31,41 @@
     return request({
         url: "/stockInventory/subtractStockInventory",
         method: "post",
+        data: params,
+    });
+};
+
+export const getStockInventoryReportList = (params) => {
+    return request({
+        url: "/stockInventory/stockInventoryPage",
+        method: "get",
         params,
     });
 };
+
+export const getStockInventoryInAndOutReportList = (params) => {
+    return request({
+        url: "/stockInventory/stockInAndOutRecord",
+        method: "get",
+        params,
+    });
+};
+
+// 鍐荤粨搴撳瓨璁板綍
+export const frozenStockInventory = (params) => {
+    return request({
+        url: "/stockInventory/frozenStock",
+        method: "post",
+        data: params,
+    });
+};
+
+// 瑙e喕搴撳瓨璁板綍
+export const thawStockInventory = (params) => {
+    return request({
+        url: "/stockInventory/thawStock",
+        method: "post",
+        data: params,
+    });
+};
+

--
Gitblit v1.9.3