| | |
| | | DeleteButton, |
| | | useNotify, |
| | | } from 'react-admin'; |
| | | import { useWatch, useFormContext } from "react-hook-form"; |
| | | import { Stack, Grid, Box, Typography } from '@mui/material'; |
| | | import * as Common from '@/utils/common'; |
| | | import { EDIT_MODE, REFERENCE_INPUT_PAGESIZE } from '@/config/setting'; |
| | | import EditBaseAside from "../components/EditBaseAside"; |
| | | import CustomerTopToolBar from "../components/EditTopToolBar"; |
| | | import MemoInput from "../components/MemoInput"; |
| | | import StatusSelectInput from "../components/StatusSelectInput"; |
| | | import request from '@/utils/request'; |
| | | import DictionarySelect from "../components/DictionarySelect"; |
| | | import CustomerTopToolBar from "../components/EditTopToolBar"; |
| | | import { Stack, Grid, Box, Typography } from '@mui/material'; |
| | | import { useWatch, useFormContext } from "react-hook-form"; |
| | | import EditBaseAside from "../components/EditBaseAside"; |
| | | import MemoInput from "../components/MemoInput"; |
| | | import LocQueryList from "./LocQueryList"; |
| | | import * as Common from '@/utils/common'; |
| | | import request from '@/utils/request'; |
| | | |
| | | const FormToolbar = () => { |
| | | const { getValues } = useFormContext(); |
| | |
| | | <> |
| | | <Edit |
| | | redirect="list" |
| | | resource="locItem" |
| | | mutationMode={EDIT_MODE} |
| | | actions={<CustomerTopToolBar />} |
| | | aside={<EditBaseAside />} |
| | |
| | | </Grid> |
| | | </Grid> |
| | | </Grid> |
| | | {/* <Grid item xs={12} md={2}> |
| | | <Typography variant="h6" gutterBottom> |
| | | {translate('common.edit.title.common')} |
| | | </Typography> |
| | | <StatusSelectInput readOnly /> |
| | | <Box mt="2em" /> |
| | | <MemoInput /> |
| | | </Grid> */} |
| | | </Grid> |
| | | </SimpleForm> |
| | | </Edit > |