From 9f05f812058b63e81b4567e730ee1ec2f9e551e4 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 30 五月 2025 12:46:03 +0800
Subject: [PATCH] #移库找库位优化
---
rsf-admin/src/page/basicInfo/loc/InitButton.jsx | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/loc/InitButton.jsx b/rsf-admin/src/page/basicInfo/loc/InitButton.jsx
index e3dd2e3..418ad66 100644
--- a/rsf-admin/src/page/basicInfo/loc/InitButton.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/InitButton.jsx
@@ -54,19 +54,18 @@
const record = useRecordContext();
const notify = useNotify();
const refresh = useRefresh();
-
const [createDialog, setCreateDialog] = useState(false);
- // console.log(record)
- return (<>
- <Button onClick={() => setCreateDialog(true)} label={"toolbar.locInit"}>
- <CabinIcon />
- </Button>
- <InitModal
- open={createDialog}
- setOpen={setCreateDialog}
- />
- </>
+ return (
+ <>
+ <Button onClick={() => setCreateDialog(true)} label={"toolbar.locInit"}>
+ <CabinIcon />
+ </Button>
+ <InitModal
+ open={createDialog}
+ setOpen={setCreateDialog}
+ />
+ </>
)
}
--
Gitblit v1.9.1