|  |  | 
 |  |  | import MemoInput from "../../../components/MemoInput"; | 
 |  |  |  | 
 |  |  | const DictDataCreate = (props) => { | 
 |  |  |     const { open, setOpen } = props; | 
 |  |  |     const { open, setOpen, row } = props; | 
 |  |  |  | 
 |  |  |     const translate = useTranslate(); | 
 |  |  |     const notify = useNotify(); | 
 |  |  | 
 |  |  |                                         parse={v => v} | 
 |  |  |                                         autoFocus | 
 |  |  |                                         validate={required()} | 
 |  |  |                                         defaultValue={row.dictTypeId} | 
 |  |  |                                     /> | 
 |  |  |                                 </Grid> | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  | 
 |  |  |                                         source="dictTypeCode" | 
 |  |  |                                         parse={v => v} | 
 |  |  |                                         validate={required()} | 
 |  |  |                                         defaultValue={row.dictTypeCode} | 
 |  |  |                                     /> | 
 |  |  |                                 </Grid> | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  |                                     <TextInput | 
 |  |  |                                         label="table.field.dictData.label" | 
 |  |  |                                         validate={required()} | 
 |  |  |                                         source="label" | 
 |  |  |                                         parse={v => v} | 
 |  |  |                                         validate={required()} | 
 |  |  |                                     /> | 
 |  |  |                                 </Grid> | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  | 
 |  |  |                                         source="sort" | 
 |  |  |                                     /> | 
 |  |  |                                 </Grid> | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  |                                 {/* <Grid item xs={6} display="flex" gap={1}> | 
 |  |  |                                     <TextInput | 
 |  |  |                                         label="table.field.dictData.color" | 
 |  |  |                                         source="color" | 
 |  |  |                                         parse={v => v} | 
 |  |  |                                     /> | 
 |  |  |                                 </Grid> | 
 |  |  |                                 </Grid> */} | 
 |  |  |  | 
 |  |  |                                 <Grid item xs={6} display="flex" gap={1}> | 
 |  |  |                                     <StatusSelectInput /> |