From 4cc644945bda98e1ec30828944796ce2fb96e698 Mon Sep 17 00:00:00 2001
From: yangyang
Date: 星期五, 21 三月 2025 07:58:59 +0800
Subject: [PATCH] #修改 1. 逻辑分区绑定 2. 物料代码优化

---
 rsf-admin/src/page/basicInfo/matnr/BatchModal.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/matnr/BatchModal.jsx b/rsf-admin/src/page/basicInfo/matnr/BatchModal.jsx
index c185cbf..24f97f7 100644
--- a/rsf-admin/src/page/basicInfo/matnr/BatchModal.jsx
+++ b/rsf-admin/src/page/basicInfo/matnr/BatchModal.jsx
@@ -65,13 +65,14 @@
         'status': null
     });
 
-    const { selectedIds } = useListContext();
+    const { selectedIds, onUnselectItems } = useListContext();
 
     const handleClose = (event, reason) => {
         if (reason !== "backdropClick") {
             setOpen(false);
             reset()
             refresh();
+            onUnselectItems()
         }
     };
 

--
Gitblit v1.9.1