From b2835c4388aa4abdbd41a7ab7592eb1a1804947a Mon Sep 17 00:00:00 2001 From: verou <857149855@qq.com> Date: 星期一, 24 三月 2025 16:12:21 +0800 Subject: [PATCH] feat:逻辑分区 --- rsf-admin/src/page/basicInfo/loc/LocList.jsx | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rsf-admin/src/page/basicInfo/loc/LocList.jsx b/rsf-admin/src/page/basicInfo/loc/LocList.jsx index 8acee82..449dc0f 100644 --- a/rsf-admin/src/page/basicInfo/loc/LocList.jsx +++ b/rsf-admin/src/page/basicInfo/loc/LocList.jsx @@ -38,7 +38,7 @@ import { Box, Typography, Card, Stack } from '@mui/material'; import { styled } from '@mui/material/styles'; import LocCreate from "./LocCreate"; -import MatnrModal from "./MatnrModal"; +import BindModal from "./BindModal"; import EmptyData from "../../components/EmptyData"; import DynamicField from "../../components/DynamicField"; import MyCreateButton from "../../components/MyCreateButton"; @@ -69,6 +69,9 @@ width: 200 }, '& .RaDatagrid-headerCell': { + textAlign: 'left' + }, + '& .RaDatagrid-rowCell': { textAlign: 'left' } })); @@ -148,7 +151,7 @@ bulkActionButtons={ <> <BatchButton /> - <MatnrButton /> + <BindButton /> <SubzoneButton /> <BulkDeleteButton /> </> @@ -285,7 +288,7 @@ ) } -const MatnrButton = () => { +const BindButton = () => { const record = useRecordContext(); const notify = useNotify(); const refresh = useRefresh(); @@ -299,7 +302,7 @@ <LinkIcon /> </Button> - <MatnrModal + <BindModal open={createDialog} setOpen={setCreateDialog} /> -- Gitblit v1.9.1