From 3576bc2e689ef8ebb6b439084b00ddcec1247eb9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 30 一月 2026 14:54:57 +0800
Subject: [PATCH] fix: 原材料、过程、出厂检验分配检验员后,其他用户编辑、提交按钮需置灰。只有分配的检验账户登录后才能编辑、提交操作。

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

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index c677ebf..aed71e2 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -13,7 +13,7 @@
     return request({
         url: "/stockInventory/addstockInventory",
         method: "post",
-        params,
+        data: params,
     });
 };
 
@@ -22,6 +22,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