From ce79f7c56c3832d1a4ebdb1d7d1c2bbd87d8b004 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 21 十月 2024 13:56:03 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx b/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
index 6f6dcaa..636150e 100644
--- a/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
+++ b/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
@@ -103,7 +103,7 @@
                 };
                 renderThree(info, curLocNo);
                 setLoading(false);
-            }, 300)
+            }, 200)
         }
         return endThree;
     }, [info]);
@@ -202,13 +202,23 @@
                                     >
                                         {translate('page.map.settings.map.more.title')}
                                     </Button>
-                                    <ConfirmButton
+                                    <Button
+                                        color="primary" // inherit
+                                        variant="contained"
+                                        onClick={() => {
+                                            redirect('edit', 'loc', selectedLoc?.id);
+                                        }}
+                                    >
+                                        {translate('page.map.insight.shelf.updateStatus')}
+                                    </Button>
+                                    {/* <ConfirmButton
                                         label="page.map.insight.shelf.updateStatus"
                                         color="primary" // inherit
                                         variant="contained"
                                         onConfirm={() => {
+                                            redirect('edit', 'loc', selectedLoc?.id);
                                         }}
-                                    />
+                                    /> */}
                                     <Button variant="contained" color="error" disabled={selectedLoc?.locStsEl !== 'STOCK'} fullWidth>
                                         {translate('page.map.insight.shelf.outbound')}
                                     </Button>

--
Gitblit v1.9.1