|  |  | 
 |  |  |     NumberField, | 
 |  |  |     required, | 
 |  |  |     useRecordContext, | 
 |  |  |     useGetRecordId, | 
 |  |  |     useGetOne, | 
 |  |  |     DeleteButton, | 
 |  |  | } 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 "@/page/components/EditBaseAside"; | 
 |  |  | import CustomerTopToolBar from "@/page/components/EditTopToolBar"; | 
 |  |  | import MemoInput from "@/page/components/MemoInput"; | 
 |  |  | import StatusSelectInput from "@/page/components/StatusSelectInput"; | 
 |  |  | import CustomerTopToolBar from "@/page/components/EditTopToolBar"; | 
 |  |  | import { Stack, Grid, Box, Typography } from '@mui/material'; | 
 |  |  | import EditBaseAside from "@/page/components/EditBaseAside"; | 
 |  |  | import { useWatch, useFormContext } from "react-hook-form"; | 
 |  |  | import MemoInput from "@/page/components/MemoInput"; | 
 |  |  | import ReviseLogList from "./ReviseLogList"; | 
 |  |  | import * as Common from '@/utils/common'; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | const LocReviseEdit = () => { | 
 |  |  |     const translate = useTranslate(); | 
 |  |  |     const [disabled, setDisabled] = useState(false); | 
 |  |  |  | 
 |  |  |     const orderId = useGetRecordId(); | 
 |  |  |     const {data, isPending} =  useGetOne("locRevise", {id: orderId}); | 
 |  |  |     console.log(data); | 
 |  |  |  | 
 |  |  |     const FormToolbar = () => { | 
 |  |  |         return ( | 
 |  |  | 
 |  |  |                     </Grid> | 
 |  |  |                 </SimpleForm> | 
 |  |  |             </Edit > | 
 |  |  |             <ReviseLogList /> | 
 |  |  |             <ReviseLogList record = {data}/> | 
 |  |  |         </> | 
 |  |  |     ) | 
 |  |  | } |