From 515d02b5945ab23527d8ef9ac5d467b0f619412e Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 26 一月 2026 15:56:27 +0800
Subject: [PATCH] feat: 成品库存的冻结与解冻按钮

---
 src/api/inventoryManagement/stockManage.js |   45 +++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index 4f5d957..8278be3 100644
--- a/src/api/inventoryManagement/stockManage.js
+++ b/src/api/inventoryManagement/stockManage.js
@@ -17,7 +17,14 @@
         params,
     });
 };
-
+// 鏌ヨ鎴愬搧搴撳瓨淇℃伅鍒楄〃
+export const getStockManageProduction = (params) => {
+    return request({
+        url: "/stockin/listPageProductionStock",
+        method: "get",
+        params,
+    });
+};
 // 鏌ヨ鑷畾涔夊叆搴撳簱瀛樹俊鎭垪琛�
 export const getStockManagePageByCustom = (params) => {
     return request({
@@ -73,4 +80,38 @@
     })
 }
 
-//
\ No newline at end of file
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-鍐荤粨涓嶅悎鏍间骇鍝�
+export function frozenQuality(ids) {
+    return request({
+        url: '/stockin/frozenStorageQuality',
+        method: 'post',
+        data: ids
+    })
+}
+
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�
+export function thawQuality(ids) {
+    return request({
+        url: '/stockin/thawStorageQuality',
+        method: 'post',
+        data: ids
+    })
+}
+
+// 鎴愬搧鍏ュ簱-搴撳瓨绠$悊-鍐荤粨涓嶅悎鏍间骇鍝�
+export function frozenFinishedQuality(ids) {
+    return request({
+        url: '/stockin/frozenFinishedQuality',
+        method: 'post',
+        data: ids
+    })
+}
+
+// 鎴愬搧鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�
+export function thawFinishedQuality(ids) {
+    return request({
+        url: '/stockin/thawFinishedQuality',
+        method: 'post',
+        data: ids
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3