| | |
| | | aria-labelledby="form-dialog-title" |
| | | fullWidth |
| | | disableRestoreFocus |
| | | maxWidth="md" |
| | | maxWidth="lg" |
| | | > |
| | | <DialogTitle id="form-dialog-title" sx={{ |
| | | position: 'sticky', |
| | |
| | | </DialogTitle> |
| | | <EditBase |
| | | resource="purchaseItem" |
| | | id={record?.id} |
| | | mutationMode={EDIT_MODE} |
| | | actions={<CustomerTopToolBar />} |
| | | > |
| | |
| | | defaultValues={{}} |
| | | > |
| | | <DialogContent sx={{ mt: 2 }}> |
| | | |
| | | <Grid container width={{ xs: '100%', xl: '100%' }} rowSpacing={3} columnSpacing={3}> |
| | | <Grid item xs={12} md={8} gap={2}> |
| | | <Grid item xs={16} md={10} gap={2}> |
| | | <Typography variant="h6" gutterBottom> |
| | | {translate('common.edit.title.main')} |
| | | </Typography> |
| | |
| | | validate={required()} |
| | | /> |
| | | <NumberInput |
| | | label="table.field.purchaseItem.asnQty" |
| | | source="asnQty" |
| | | validate={required()} |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <NumberInput |
| | | label="table.field.purchaseItem.printQty" |
| | | source="printQty" |
| | | validate={required()} |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | | label="table.field.purchaseItem.splrName" |
| | | source="splrName" |
| | |
| | | /> |
| | | </Stack> |
| | | </Grid> |
| | | <Grid item xs={12} md={4} > |
| | | <Grid item xs={8} md={2} > |
| | | <Typography variant="h6" gutterBottom> |
| | | {translate('common.edit.title.common')} |
| | | </Typography> |