From 530e4b07151bac5be55702b2e62f6044c93d4a83 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 18 十月 2024 16:42:54 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 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..f336fae 100644
--- a/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
+++ b/zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
@@ -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