From 1d9880e6ada168326e7516f23cf12db19e9a875d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 11 十一月 2025 10:03:30 +0800
Subject: [PATCH] 生产管控-生产工序定制化
---
src/api/inventoryManagement/stockManage.js | 39 ++++++++++++++++++++++++++++++++++-----
1 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index 9909ec7..3bee93f 100644
--- a/src/api/inventoryManagement/stockManage.js
+++ b/src/api/inventoryManagement/stockManage.js
@@ -3,11 +3,30 @@
// 鏌ヨ搴撳瓨淇℃伅鍒楄〃
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 getStockManagePageByCustom = (params) => {
+ return request({
+ url: "/stockin/listPageCopyByCustom",
+ method: "get",
+ params,
+ });
+};
+
// 淇敼搴撳瓨淇℃伅
export const updateStockManage = (data) => {
@@ -21,8 +40,8 @@
// 鍒犻櫎搴撳瓨淇℃伅
export function delStockManage(ids) {
return request({
- url: '/stockmanagement/del',
- method: 'delete',
+ url: '/stockin/del',
+ method: 'post',
data: ids
})
}
@@ -37,11 +56,21 @@
})
}
-//鍑哄簱鎺ュ彛
+// 鍑哄簱绠$悊-棰嗙敤鎺ュ彛
export const stockOut = (data) => {
return request({
url: '/stockmanagement/stockout',
method: 'post',
data: data
})
-}
\ No newline at end of file
+}
+
+//鏍规嵁id鑾峰彇搴撳瓨淇℃伅
+export function getStockManageById(id) {
+ return request({
+ url: '/stockmanagement/' + id,
+ method: 'get'
+ })
+}
+
+//
\ No newline at end of file
--
Gitblit v1.9.3