From 01a4f6341f6fe4806f45cf7a4c7b3bc450a6a0e0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 07 五月 2026 16:08:53 +0800
Subject: [PATCH] feat(AIChatSidebar): 添加文件上传预览和消息中文件显示功能

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

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index 10a211d..0ba0943 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -35,6 +35,24 @@
     });
 };
 
+// 鏂板鍏ュ簱璁板綍锛堜粎鍒涘缓璁板綍锛屼笉璋冩暣搴撳瓨锛�
+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 getStockInventoryReportList = (params) => {
     return request({
         url: "/stockInventory/stockInventoryPage",
@@ -69,3 +87,11 @@
     });
 };
 
+export const getStockInventoryByModelId = (productModelId) => {
+    return request({
+        url: "/stockInventory/getByModelId",
+        method: "get",
+        params: { productModelId },
+    });
+};
+

--
Gitblit v1.9.3