From f2485e01843a569549bef74aa65ac44df3cfaa3b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 03 二月 2026 17:58:21 +0800
Subject: [PATCH] 库存管理-合格库存 增加条形码和二维码

---
 src/api/inventoryManagement/stockInventory.js |   49 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index a50194a..4cf0983 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -8,6 +8,17 @@
     });
 };
 
+
+// 鏍规嵁ID鏌ヨ搴撳瓨璁板綍璇︽儏
+export const getStockInventoryById = (params) => {
+    return request({
+        url: "/stockInventory/getById",
+        method: "get",
+        params,
+    });
+};
+
+
 // 鍒涘缓搴撳瓨璁板綍
 export const createStockInventory = (params) => {
     return request({
@@ -26,12 +37,46 @@
     });
 };
 
-export const exportStockInventory = (params) => {
+export const getStockInventoryReportList = (params) => {
     return request({
-        url: "/stockInventory/exportStockInventory",
+        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,
+    });
+};
 
+// 鑾峰彇浜у搧澶х被鐨剆elect鍒楄〃
+// /basic/product/listProduct
+export const getProductList = (params) => {
+    return request({
+        url: "/basic/product/listProduct",
+        method: "get",
+        params,
+    });
+};
\ No newline at end of file

--
Gitblit v1.9.3