|  |  |  | 
|---|
|  |  |  | defaultValues={{}} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <Grid container width={{ xs: '100%', xl: '100%' }}> | 
|---|
|  |  |  | <Grid item xs={12} md={8}> | 
|---|
|  |  |  | <Grid item xs={24} md={12}> | 
|---|
|  |  |  | <Typography variant="h6" gutterBottom> | 
|---|
|  |  |  | {translate('common.edit.title.main')} | 
|---|
|  |  |  | </Typography> | 
|---|
|  |  |  | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  | autoFocus | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <NumberInput | 
|---|
|  |  |  | label="table.field.waitPakin.ansId" | 
|---|
|  |  |  | readOnly | 
|---|
|  |  |  | source="ansId" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <TextInput | 
|---|
|  |  |  | label="table.field.waitPakin.asnCode" | 
|---|
|  |  |  | readOnly | 
|---|
|  |  |  | source="asnCode" | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <SelectInput | 
|---|
|  |  |  | label="table.field.waitPakin.flagDefect" | 
|---|
|  |  |  | readOnly | 
|---|
|  |  |  | source="flagDefect" | 
|---|
|  |  |  | parse={v => v} | 
|---|
|  |  |  | choices={[ | 
|---|
|  |  |  | { id: 0, name: '否' }, | 
|---|
|  |  |  | { id: 1, name: ' 是' }, | 
|---|
|  |  |  | ]} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | </Stack> | 
|---|
|  |  |  | <Stack direction='row' gap={2}> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <TextInput | 
|---|
|  |  |  | label="table.field.waitPakin.barcode" | 
|---|
|  |  |  | readOnly | 
|---|