lbq
9 小时以前 3116311d2743ea81b4cfd8aa9aaeb58fd121a2a1
rsf-admin/src/page/histories/asnOrderLog/AsnOrderLogEdit.jsx
@@ -53,18 +53,23 @@
                    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>
@@ -76,24 +81,24 @@
                                    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$"
@@ -101,8 +106,6 @@
                                    parse={v => v}
                                    validate={required()}
                                />
                            </Stack>
                            <Stack direction='row' gap={2}>
                                <NumberInput
                                    label="table.field.asnOrderLog.anfme"
                                    source="anfme"
@@ -115,7 +118,39 @@
                                    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
@@ -136,17 +171,17 @@
                                        { 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 />
        </>
    )