From 6985a2bf495e83f311a951890f30542e4146e833 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期三, 14 一月 2026 15:26:51 +0800
Subject: [PATCH] 替换表格列显示产产品名称、产品编号、产品规格、库存数量、出库数量 添加成品库存查询API接口

---
 src/api/inventoryManagement/stockManage.js |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index e309241..e2a4ebf 100644
--- a/src/api/inventoryManagement/stockManage.js
+++ b/src/api/inventoryManagement/stockManage.js
@@ -3,7 +3,32 @@
 // 鏌ヨ搴撳瓨淇℃伅鍒楄〃
 export const getStockManagePage = (params) => {
     return request({
-        url: "/stockmanagement/page",
+        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,
     });
@@ -22,8 +47,8 @@
 // 鍒犻櫎搴撳瓨淇℃伅
 export function delStockManage(ids) {
     return request({
-        url: '/stockmanagement/del',
-        method: 'delete',
+        url: '/stockin/del',
+        method: 'post',
         data: ids
     })
 }
@@ -38,7 +63,7 @@
     })
 }
 
-//鍑哄簱鎺ュ彛
+// 鍑哄簱绠$悊-棰嗙敤鎺ュ彛
 export const stockOut = (data) => {
     return request({
         url: '/stockmanagement/stockout',

--
Gitblit v1.9.3