From 8757616a02b834cb5a8353e595d8e4e71acfa764 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 16 三月 2026 17:37:36 +0800
Subject: [PATCH] 优化原料检;修改不合格管理类别

---
 src/api/consumablesLogistics/consumablesIn.js |   64 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/src/api/consumablesLogistics/consumablesIn.js b/src/api/consumablesLogistics/consumablesIn.js
new file mode 100644
index 0000000..7dc1951
--- /dev/null
+++ b/src/api/consumablesLogistics/consumablesIn.js
@@ -0,0 +1,64 @@
+import request from "@/utils/request.js";
+
+// 鍒嗛〉鏌ヨ鑰楁潗搴撳瓨璁板綍鍒楄〃
+export const getConsumablesInListPage = (params) => {
+  return request({
+    url: "/consumablesInventory/pageConsumablesInventory",
+    method: "get",
+    params,
+  });
+};
+
+// 鍒涘缓鑰楁潗搴撳瓨璁板綍锛堟柊澧炲簱瀛橈級
+export const createConsumablesIn = (params) => {
+  return request({
+    url: "/consumablesInventory/addConsumablesInventory",
+    method: "post",
+    data: params,
+  });
+};
+
+// 鍑忓皯鑰楁潗搴撳瓨璁板綍锛堟墸鍑忓簱瀛橈級
+export const subtractConsumablesIn = (params) => {
+  return request({
+    url: "/consumablesInventory/subtractConsumablesInventory",
+    method: "post",
+    data: params,
+  });
+};
+
+// 鑰楁潗搴撳瓨鎶ヨ〃鍒嗛〉
+export const getConsumablesInReportList = (params) => {
+  return request({
+    url: "/consumablesInventory/ConsumablesInventoryPage",
+    method: "get",
+    params,
+  });
+};
+
+// 鑰楁潗杩涘嚭瀛樻姤琛紙缁熻鍚勪釜浜у搧鐨勫叆搴撳拰鍑哄簱璁板綍锛�
+export const getConsumablesInInAndOutReportList = (params) => {
+  return request({
+    url: "/consumablesInventory/ConsumablesInAndOutRecord",
+    method: "get",
+    params,
+  });
+};
+
+// 鍐荤粨鑰楁潗搴撳瓨璁板綍
+export const frozenConsumablesIn = (params) => {
+  return request({
+    url: "/consumablesInventory/frozenConsumables",
+    method: "post",
+    data: params,
+  });
+};
+
+// 瑙e喕鑰楁潗搴撳瓨璁板綍
+export const thawConsumablesIn = (params) => {
+  return request({
+    url: "/consumablesInventory/thawConsumables",
+    method: "post",
+    data: params,
+  });
+};

--
Gitblit v1.9.3