From 75d99a1160ca9bc5e13590b769b7b8f793b698ff Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 26 一月 2026 13:21:12 +0800
Subject: [PATCH] 库存管理和采购管理增加删除

---
 src/api/warehouseManagement/index.js |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/src/api/warehouseManagement/index.js b/src/api/warehouseManagement/index.js
index c3bcaf8..9de1965 100644
--- a/src/api/warehouseManagement/index.js
+++ b/src/api/warehouseManagement/index.js
@@ -9,12 +9,26 @@
         params: query
     })
 }
+export function batchDeletePendingInventoryByIds(ids) {
+    return request({
+        url: '/pendingInventory/delPending',
+        method: 'delete',
+        data: ids
+    })
+}
 // 鏌ヨ姝e紡鍏ュ簱绠$悊鍒楄〃
 export function officialInventoryList(query) {
     return request({
         url: '/officialInventory/list',
         method: 'get',
         params: query
+    })
+}
+export function batchDeleteOfficialInventoryByIds(ids) {
+    return request({
+        url: '/officialInventory/delete',
+        method: 'delete',
+        data: ids
     })
 }
 // All鐓よ川鏂规鏌ヨ
@@ -36,7 +50,31 @@
 // 瀹℃牳鍏ュ簱
 export function addOrEditCoalValue(query) {
     return request({
-        url: '/basic/coalValue/addOrEditCoalValue',
+        url: '/pendingInventory/addOrEditCoalValue',
+        method: 'post',
+        data: query
+    })
+}
+// 鏍规嵁id鏌ヨ鐓よ川鏂规鏌ヨ
+export function coalPlanById(query) {
+    return request({
+        url: '/coalPlan/coalPlanById',
+        method: 'get',
+        params: query
+    })
+}
+// 鎻愪氦鍚堝苟
+export function merge(query) {
+    return request({
+        url: '/officialInventory/merge',
+        method: 'post',
+        data: query
+    })
+}
+// 姝e紡搴撳瓨缂栬緫
+export function editOfficial(query) {
+    return request({
+        url: '/officialInventory/editOfficial',
         method: 'post',
         data: query
     })

--
Gitblit v1.9.3