From 1f5173508a63509985b27d94660f6ad251d18e6e Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 26 三月 2025 12:32:23 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop

---
 rsf-admin/src/page/basicInfo/loc/LocListAside.jsx |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/loc/LocListAside.jsx b/rsf-admin/src/page/basicInfo/loc/LocListAside.jsx
index 72a68da..7ccba16 100644
--- a/rsf-admin/src/page/basicInfo/loc/LocListAside.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/LocListAside.jsx
@@ -62,8 +62,15 @@
 
     }
     const handleNodeSelect = (event, nodeId) => {
-        console.log(nodeId);
-        // setFilters({ groupId: nodeId });
+        const row = apiRef.current.getItem(nodeId);
+        console.log(row);
+
+        if (row.type === 'warehouseId') {
+            // setFilters({ warehouseId: row.id ,areaId:''});
+        } else if (row.type === 'areaId') {
+            // setFilters({ areaId: row.id ,warehouseId:''});
+        }
+
     };
     const handleSearch = (e) => {
         setCondition(e.target.value)

--
Gitblit v1.9.1