skyouc
2025-03-25 c46191d359fb8dcf9ea875d16200eff4fa8cad79
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}
            />