| | |
| | | defaultValues={{}} |
| | | // validate={(values) => { }} |
| | | > |
| | | <Grid container width={{ xs: '100%', xl: '80%' }} rowSpacing={3} columnSpacing={3}> |
| | | <Grid item xs={24} md={12} sx={{ |
| | | "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled":{ |
| | | bgcolor : 'white', |
| | | WebkitTextFillColor: "rgba(0, 0, 0)" |
| | | <Grid container width={{ xs: '100%', xl: '100%' }} rowSpacing={3} columnSpacing={3} |
| | | sx={{ |
| | | "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled": { |
| | | bgcolor: 'white', |
| | | WebkitTextFillColor: "rgba(0, 0, 0)" |
| | | }, |
| | | |
| | | "& .MuiInputBase-input.MuiFilledInput-input.Mui-disabled":{ |
| | | bgcolor : 'white', |
| | | WebkitTextFillColor: "rgba(0, 0, 0)" |
| | | } |
| | | }}> |
| | | "& .MuiInputBase-input.MuiFilledInput-input.Mui-disabled": { |
| | | bgcolor: 'white', |
| | | WebkitTextFillColor: "rgba(0, 0, 0)" |
| | | }, |
| | | "& .MuiFilledInput-root.MuiInputBase-sizeSmall": { |
| | | bgcolor: 'white', |
| | | } |
| | | }} |
| | | > |
| | | <Grid item xs={24} md={12} > |
| | | <Typography variant="h6" gutterBottom> |
| | | {translate('common.edit.title.main')} |
| | | </Typography> |
| | |
| | | parse={v => v} |
| | | readOnly |
| | | /> |
| | | <TextInput |
| | | {/* <TextInput |
| | | label="table.field.asnOrderLog.poCode" |
| | | source="poCode" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | <NumberInput |
| | | /> */} |
| | | {/* <NumberInput |
| | | label="table.field.asnOrderLog.poId" |
| | | readOnly |
| | | source="poId" |
| | | /> |
| | | <TextInput |
| | | /> */} |
| | | {/* <TextInput |
| | | label="table.field.asnOrderLog.type" |
| | | source="type$" |
| | | readOnly |
| | | parse={v => v} |
| | | validate={required()} |
| | | /> |
| | | /> */} |
| | | <TextInput |
| | | label="table.field.asnOrderLog.wkType" |
| | | source="wkType$" |
| | |
| | | parse={v => v} |
| | | validate={required()} |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <NumberInput |
| | | label="table.field.asnOrderLog.anfme" |
| | | source="anfme" |
| | |
| | | readOnly |
| | | validate={required()} |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <TextInput |
| | | label="采购组织" //table.field.asnOrder.purchaseOrgName |
| | | source="purchaseOrgName" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | <TextInput |
| | | label="采购员" //table.field.asnOrder.purchaseOrgName |
| | | source="purchaseUserName" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | <TextInput |
| | | label="采购日期" //table.field.asnOrder.purchaseOrgName |
| | | source="purchaseDate" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | <TextInput |
| | | label="供应商编码" //table.field.asnOrder.purchaseOrgName |
| | | source="supplierId" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | <TextInput |
| | | label="供应商" //table.field.asnOrder.purchaseOrgName |
| | | source="supplierName" |
| | | readOnly |
| | | parse={v => v} |
| | | /> |
| | | {/* <TextInput |
| | | label="table.field.asnOrderLog.logisNo" |
| | | source="logisNo" |
| | | readOnly |
| | |
| | | { id: 2, name: ' 部分上报' }, |
| | | ]} |
| | | validate={required()} |
| | | /> |
| | | /> */} |
| | | </Stack> |
| | | </Grid> |
| | | </Grid> |
| | | </SimpleForm> |
| | | </Edit > |
| | | <Grid item xs={24} md={16} sx={{ marginTop: '1em' }}> |
| | | {/* <Grid item xs={24} md={16} sx={{ marginTop: '1em' }}> |
| | | <Typography variant="h6" gutterBottom > |
| | | {translate('common.edit.title.common')} |
| | | </Typography> |
| | | </Grid> |
| | | </Grid> */} |
| | | <AsnOrderItemLogList /> |
| | | </> |
| | | ) |