| | |
| | | import MyCreateButton from "@/page/components/MyCreateButton"; |
| | | import MyExportButton from '@/page/components/MyExportButton'; |
| | | import PageEditDrawer from "@/page/components/PageEditDrawer"; |
| | | import { Box, Typography, Card, Stack } from '@mui/material'; |
| | | import { Box, Typography, Card, Stack, Switch } from '@mui/material'; |
| | | import ConfirmButton from '../../components/ConfirmButton'; |
| | | import LocReviseCreate from "./LocReviseCreate"; |
| | | import TaskIcon from '@mui/icons-material/Task'; |
| | |
| | | <TextField source="memo" label="common.field.memo" sortable={false} /> |
| | | <WrapperField cellClassName="opt" label="common.field.opt"> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> |
| | | <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> |
| | | <DelButton /> |
| | | <CompleteButton /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |
| | |
| | | /> |
| | | </PageEditDrawer> |
| | | </Box> |
| | | ) |
| | | } |
| | | |
| | | const DelButton = () => { |
| | | const record = useRecordContext(); |
| | | return ( |
| | | record?.exceStatus == 0 ? <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> : <></> |
| | | ) |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | export default LocReviseList; |