From ab8ff90598b99b1b88b925c03e82e20ff0426fcf Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 01 六月 2026 17:09:52 +0800
Subject: [PATCH] 新疆马铃薯 1.库存管理绑定设备,添加查看数采功能

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

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index 539eedc..0671391 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -103,3 +103,20 @@
     });
 };
 
+// 鑾峰彇鐗╄仈璁惧瀹炴椂鏁伴噰鏁版嵁
+export const getIotRealtimeData = (id) => {
+    return request({
+        url: `/stockInventory/iotRealtime/${id}`,
+        method: "get",
+    });
+};
+
+// 缁戝畾鐗╄仈璁惧鍒板簱瀛�
+export const bindIotDevice = (id, warehouse) => {
+    return request({
+        url: `/stockInventory/bindIotDevice/${id}`,
+        method: "put",
+        data: { warehouse },
+    });
+};
+

--
Gitblit v1.9.3