lbq
20 小时以前 6f5a86b74457f2fdad3caa63f3378e81624d47d2
rsf-admin/src/page/basicInfo/basContainer/BasContainerEdit.jsx
@@ -122,6 +122,13 @@
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <TextInput
                                label="table.field.basContainer.code"
                                source="code"
                                parse={v => v}
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <TextInput
                                label="table.field.basContainer.codeType"
                                source="codeType"
                                parse={v => v}
@@ -131,7 +138,7 @@
                            <ReferenceArrayInput 
                                source="areas" 
                                reference="warehouseAreas"
                                sort={{ field: 'name', order: 'ASC' }}
                                sort={{ field: 'sort', order: 'ASC' }}
                                format={(value) => {
                                    // 从后端接收时:将 [{id, sort}] 转换为 [id, id, ...]
                                    if (!value || !Array.isArray(value)) return [];
@@ -163,14 +170,14 @@
                        <TextInput source="areasSort" style={{ display: 'none' }} />
                    </Grid>
                    <Grid item xs={12} md={4}>
                    {/* <Grid item xs={12} md={4}>
                        <Typography variant="h6" gutterBottom>
                            {translate('common.edit.title.common')}
                        </Typography>
                        <StatusSelectInput />
                        <Box mt="2em" />
                        <MemoInput />
                    </Grid>
                    </Grid> */}
                </Grid>
            </SimpleForm>
        </Edit >