| | |
| | | <SimpleForm |
| | | shouldUnregister |
| | | warnWhenUnsavedChanges |
| | | toolbar={<FormToolbar />} |
| | | toolbar={false} |
| | | mode="onTouched" |
| | | 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)" |
| | | } |
| | | }} |
| | | defaultValues={{}} |
| | | // sx={{ |
| | | // "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled": { |
| | |
| | | label="table.field.locRevise.type" |
| | | source="type" |
| | | choices={[ |
| | | { id: 0, name: ' 库存调整' }, |
| | | { id: 1, name: ' 库存调整' }, |
| | | { id: 2, name: ' 盘点调整' }, |
| | | ]} |
| | | readOnly |
| | | /> |
| | | <NumberInput |
| | | label="table.field.locRevise.anfme" |
| | | source="anfme" |
| | | readOnly |
| | | /> |
| | | </Stack> |
| | | <Stack direction='row' gap={2}> |
| | | <NumberInput |
| | | label="table.field.locRevise.reviseQty" |
| | | source="reviseQty" |
| | | readOnly |
| | | /> |
| | | <SelectInput |
| | | label="table.field.locRevise.exceStatus" |
| | |
| | | { id: 1, name: '执行中' }, |
| | | { id: 2, name: '执行完成' }, |
| | | ]} |
| | | readOnly |
| | | /> |
| | | <TextInput |
| | | label="table.field.locRevise.areaName" |
| | | source="orgAreaName" |
| | | source="areaName" |
| | | parse={v => v} |
| | | readOnly |
| | | /> |
| | | </Stack> |
| | | </Grid> |