From 2f71101ad75ce34a9f5f9de6e0d0902093b36ce3 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期二, 17 三月 2026 11:45:06 +0800
Subject: [PATCH] Merge branch 'dev_衡阳_鹏创电子' of http://114.132.189.42:9002/r/product-inventory-management into dev_衡阳_鹏创电子

---
 src/api/inventoryManagement/stockInRecord.js |   49 +++++++++++++++++++++++++++++++++----------------
 1 files changed, 33 insertions(+), 16 deletions(-)

diff --git a/src/api/inventoryManagement/stockInRecord.js b/src/api/inventoryManagement/stockInRecord.js
index 1746bfe..118be18 100644
--- a/src/api/inventoryManagement/stockInRecord.js
+++ b/src/api/inventoryManagement/stockInRecord.js
@@ -2,26 +2,43 @@
 
 // 鏌ヨ鍏ュ簱淇℃伅鍒楄〃
 export const getStockInRecordListPage = (params) => {
-    return request({
-        url: "/stockInRecord/listPage",
-        method: "get",
-        params,
-    });
+  return request({
+    url: "/stockInRecord/listPage",
+    method: "get",
+    params,
+  });
 };
 
+// 鏍规嵁 ID 鏌ヨ鍗曟潯鍏ュ簱璁板綍璇︽儏
+export const getStockInRecordById = (id) => {
+  return request({
+    url: "/stockInRecord/getById",
+    method: "get",
+    params: { id },
+  });
+};
 
 export const updateStockInRecord = (id, data) => {
-    return request({
-        url: "/stockInRecord/" + id,
-        method: "put",
-        data: data,
-    });
+  return request({
+    url: "/stockInRecord/" + id,
+    method: "put",
+    data: data,
+  });
+};
+
+// 閲嶆柊鎻愯捣瀹℃壒锛堟洿鏂板叆搴撹褰曪級
+export const updateStockInRecordForReApprove = (data) => {
+  return request({
+    url: "/stockInRecord/updateStockInRecord",
+    method: "post",
+    data,
+  });
 };
 
 export const batchDeleteStockInRecords = (ids) => {
-    return request({
-        url: "/stockInRecord",
-        method: "delete",
-        data: ids,
-    });
-};
\ No newline at end of file
+  return request({
+    url: "/stockInRecord",
+    method: "delete",
+    data: ids,
+  });
+};

--
Gitblit v1.9.3