From 5f42f3f378ab4b22ac17e4ab2ee849f1c5ae5144 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 02 七月 2026 11:42:43 +0800
Subject: [PATCH] 新功能图标更换

---
 src/api/inventoryManagement/stockInventory.js |  125 +++++++++++++++++++++++++++--------------
 1 files changed, 83 insertions(+), 42 deletions(-)

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index dfa5f46..5dda278 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -1,61 +1,102 @@
 import request from "@/utils/request";
 // 鍒嗛〉鏌ヨ搴撳瓨璁板綍鍒楄〃
-export const getStockInventoryListPage = (params) => {
-    return request({
-        url: "/stockInventory/pagestockInventory",
-        method: "get",
-        params,
-    });
+export const getStockInventoryListPage = params => {
+  return request({
+    url: "/stockInventory/pagestockInventory",
+    method: "get",
+    params,
+  });
+};
+
+// 鍒嗛〉鏌ヨ鑱斿悎搴撳瓨璁板綍鍒楄〃锛堝寘鍚晢鍝佷俊鎭級
+export const getStockInventoryListPageCombined = params => {
+  return request({
+    url: "/stockInventory/pageListCombinedStockInventory",
+    method: "get",
+    params,
+  });
+};
+
+export const getStockInventoryBatchNoQty = params => {
+  return request({
+    url: "/stockInventory/getBatchNoQty",
+    method: "get",
+    params,
+  });
 };
 
 // 鍒涘缓搴撳瓨璁板綍
-export const createStockInventory = (params) => {
-    return request({
-        url: "/stockInventory/addstockInventory",
-        method: "post",
-        data: params,
-    });
+export const createStockInventory = params => {
+  return request({
+    url: "/stockInventory/addstockInventory",
+    method: "post",
+    data: params,
+  });
+};
+
+export const addStockInRecordOnly = params => {
+  return request({
+    url: "/stockInventory/addStockInRecordOnly",
+    method: "post",
+    data: params,
+  });
+};
+
+export const addStockOutRecordOnly = params => {
+  return request({
+    url: "/stockInventory/addStockOutRecordOnly",
+    method: "post",
+    data: params,
+  });
 };
 
 // 鍑忓皯搴撳瓨璁板綍
-export const subtractStockInventory = (params) => {
-    return request({
-        url: "/stockInventory/subtractStockInventory",
-        method: "post",
-        data: params,
-    });
+export const subtractStockInventory = params => {
+  return request({
+    url: "/stockInventory/subtractStockInventory",
+    method: "post",
+    data: params,
+  });
 };
 
-export const getStockInventoryReportList = (params) => {
-    return request({
-        url: "/stockInventory/stockInventoryPage",
-        method: "get",
-        params,
-    });
+export const getStockInventoryReportList = params => {
+  return request({
+    url: "/stockInventory/stockInventoryPage",
+    method: "get",
+    params,
+  });
 };
 
-export const getStockInventoryInAndOutReportList = (params) => {
-    return request({
-        url: "/stockInventory/stockInAndOutRecord",
-        method: "get",
-        params,
-    });
+export const getStockInventoryInAndOutReportList = params => {
+  return request({
+    url: "/stockInventory/stockInAndOutRecord",
+    method: "get",
+    params,
+  });
 };
 
 // 鍐荤粨搴撳瓨璁板綍
-export const frozenStockInventory = (params) => {
-    return request({
-        url: "/stockInventory/frozenStock",
-        method: "post",
-        data: params,
-    });
+export const frozenStockInventory = params => {
+  return request({
+    url: "/stockInventory/frozenStock",
+    method: "post",
+    data: params,
+  });
 };
 
 // 瑙e喕搴撳瓨璁板綍
-export const thawStockInventory = (params) => {
-    return request({
-        url: "/stockInventory/thawStock",
-        method: "post",
-        data: params,
-    });
+export const thawStockInventory = params => {
+  return request({
+    url: "/stockInventory/thawStock",
+    method: "post",
+    data: params,
+  });
+};
+
+export const getStockInventoryByModelId = productModelId => {
+  return request({
+    url: "/stockInventory/getByModelId",
+    method: "get",
+    params: { productModelId },
+  });
 };

--
Gitblit v1.9.3