From bb7dd1f513149ecd2887895c807861fdd06a43f6 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期三, 11 二月 2026 15:29:27 +0800
Subject: [PATCH] 展示库存明细

---
 rsf-admin/src/layout/index.jsx |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/rsf-admin/src/layout/index.jsx b/rsf-admin/src/layout/index.jsx
index 68e420c..2298066 100644
--- a/rsf-admin/src/layout/index.jsx
+++ b/rsf-admin/src/layout/index.jsx
@@ -4,6 +4,7 @@
 import { MyMenu } from './MyMenu';
 import TabsBar from './TabsBar';
 import { Box } from '@mui/material';
+import { TabDialogStateProvider } from '@/context/TabDialogStateContext';
 
 const LayoutContent = ({ children }) => {
   const [sidebarIsOpen] = useSidebarState();
@@ -15,7 +16,7 @@
       top: 48,
       left: sidebarWidth + 5,
       right: 0,
-      zIndex: 1400, // 楂樹簬 Dialog/Modal(1300)锛岄�氳繃 Portal 鎸傚埌 body 鎵嶈兘鐩栦綇寮圭獥
+      zIndex: 1200, // 浣庝簬 Dialog/Modal 涓� Select/Menu(1300)锛岄伩鍏嶆爣绛鹃〉閬洊涓嬪彂绐楀彛鍐呯殑涓嬫媺锛堝鍑哄簱绛栫暐锛氭晥鐜囦紭鍏�/鍏堣繘鍏堝嚭锛�
       transition: (theme) =>
         theme.transitions.create('left', {
           easing: theme.transitions.easing.sharp,
@@ -47,7 +48,9 @@
       }}
     >
       {createPortal(tabsBarEl, document.body)}
-      {children}
+      <TabDialogStateProvider>
+        {children}
+      </TabDialogStateProvider>
       <CheckForApplicationUpdate />
     </RALayout>
   );

--
Gitblit v1.9.1