From 0d0505232d49c9d09f15f03cb66a4f9be6257fce Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 26 一月 2026 14:23:19 +0800
Subject: [PATCH] feat: BOM导入模板下载功能

---
 src/api/inventoryManagement/stockManage.js |   47 ++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 44 insertions(+), 3 deletions(-)

diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index 09a1150..7cf9691 100644
--- a/src/api/inventoryManagement/stockManage.js
+++ b/src/api/inventoryManagement/stockManage.js
@@ -3,7 +3,32 @@
 // 鏌ヨ搴撳瓨淇℃伅鍒楄〃
 export const getStockManagePage = (params) => {
     return request({
-        url: "/stockin/listPage",
+        url: "/stockin/listPageCopy",
+        method: "get",
+        params,
+    });
+};
+
+// 鏌ヨ鐢熶骇鍏ュ簱搴撳瓨淇℃伅鍒楄〃
+export const getStockManagePageByProduction = (params) => {
+    return request({
+        url: "/stockin/listPageCopyByProduction",
+        method: "get",
+        params,
+    });
+};
+// 鏌ヨ鎴愬搧搴撳瓨淇℃伅鍒楄〃
+export const getStockManageProduction = (params) => {
+    return request({
+        url: "/stockin/listPageProductionStock",
+        method: "get",
+        params,
+    });
+};
+// 鏌ヨ鑷畾涔夊叆搴撳簱瀛樹俊鎭垪琛�
+export const getStockManagePageByCustom = (params) => {
+    return request({
+        url: "/stockin/listPageCopyByCustom",
         method: "get",
         params,
     });
@@ -38,7 +63,7 @@
     })
 }
 
-//鍑哄簱鎺ュ彛
+// 鍑哄簱绠$悊-棰嗙敤鎺ュ彛
 export const stockOut = (data) => {
     return request({
         url: '/stockmanagement/stockout',
@@ -55,4 +80,20 @@
     })
 }
 
-//
\ No newline at end of file
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-鍐荤粨涓嶅悎鏍间骇鍝�
+export function frozenQuality(ids) {
+    return request({
+        url: '/stockin/frozenQuality',
+        method: 'post',
+        data: ids
+    })
+}
+
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�
+export function thawQuality(ids) {
+    return request({
+        url: '/stockin/thawQuality',
+        method: 'post',
+        data: ids
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3