From 5eef21ed1f6e1c97e048dd07543f21bc868f9bba Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 10 三月 2026 14:38:16 +0800
Subject: [PATCH] fix: 入库前需加上仓库管理员审审批这一流程,审核通过后才能入库。另外在消息通知中需要展示这个审批信息
---
src/api/inventoryManagement/stockInRecord.js | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/api/inventoryManagement/stockInRecord.js b/src/api/inventoryManagement/stockInRecord.js
index 1746bfe..7a438b6 100644
--- a/src/api/inventoryManagement/stockInRecord.js
+++ b/src/api/inventoryManagement/stockInRecord.js
@@ -9,6 +9,14 @@
});
};
+// 鏍规嵁 ID 鏌ヨ鍗曟潯鍏ュ簱璁板綍璇︽儏
+export const getStockInRecordById = (id) => {
+ return request({
+ url: "/stockInRecord/getById",
+ method: "get",
+ params: { id },
+ });
+};
export const updateStockInRecord = (id, data) => {
return request({
@@ -18,6 +26,15 @@
});
};
+// 閲嶆柊鎻愯捣瀹℃壒锛堟洿鏂板叆搴撹褰曪級
+export const updateStockInRecordForReApprove = (data) => {
+ return request({
+ url: "/stocklnRecord/updateStocklnRecord",
+ method: "post",
+ data,
+ });
+};
+
export const batchDeleteStockInRecords = (ids) => {
return request({
url: "/stockInRecord",
--
Gitblit v1.9.3