From aaa700a2efc44c2f633f2c83885bc67ddcbcd770 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 23 九月 2026 09:10:36 +0800
Subject: [PATCH] feat: 台账品名/材质/规格手工录入与产品编号选填、审批模板启用锁定编辑

---
 src/api/inventoryManagement/stockInRecord.js |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/api/inventoryManagement/stockInRecord.js b/src/api/inventoryManagement/stockInRecord.js
index 1746bfe..255c1c9 100644
--- a/src/api/inventoryManagement/stockInRecord.js
+++ b/src/api/inventoryManagement/stockInRecord.js
@@ -24,4 +24,30 @@
         method: "delete",
         data: ids,
     });
+};
+
+export const batchDeletePendingStockInRecords = (ids) => {
+    return request({
+        url: "/stockInRecord/pending",
+        method: "delete",
+        data: ids,
+    });
+};
+
+// 鎵归噺瀹℃壒鍏ュ簱璁板綍锛坅pprovalStatus: approved/rejected锛�
+export const batchApproveStockInRecords = (data) => {
+    return request({
+        url: "/stockInRecord/approve",
+        method: "post",
+        data,
+    });
+};
+
+// 鎵归噺鍙嶅鍏ュ簱璁板綍锛堜粎椹冲洖鐘舵�佸彲鍙嶅锛�
+export const batchUnapproveStockInRecords = (data) => {
+    return request({
+        url: "/stockInRecord/reAudit",
+        method: "post",
+        data,
+    });
 };
\ No newline at end of file

--
Gitblit v1.9.3