skyouc
12 小时以前 ea2904d7ca03b42f5783cd659fe71c0fbedd2277
rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx
@@ -127,7 +127,7 @@
                    aria-labelledby="form-dialog-title"
                    fullWidth
                    disableRestoreFocus
                    maxWidth="md"   // 'xs' | 'sm' | 'md' | 'lg' | 'xl'
                    maxWidth="xl"   // 'xs' | 'sm' | 'md' | 'lg' | 'xl'
                >
                    <Form >
                        <DialogTitle id="form-dialog-title" sx={{
@@ -150,6 +150,7 @@
                            </Tabs>
                            <CustomTabPanel value={value} index={0}>
                                <Grid container rowSpacing={2} columnSpacing={2}>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <TextInput
                                            label="table.field.matnr.name"
@@ -183,6 +184,8 @@
                                            source="groupId"
                                        />
                                    </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <TextInput
                                            label="table.field.matnr.platCode"
@@ -210,6 +213,8 @@
                                            source="weight"
                                        />
                                    </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <TextInput
                                            label="table.field.matnr.color"
@@ -237,6 +242,8 @@
                                            source="nromNum"
                                        />
                                    </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <TextInput
                                            label="table.field.matnr.unit"
@@ -269,6 +276,8 @@
                                            ]}
                                        />
                                    </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <SelectInput
                                            label="table.field.matnr.isLabelMange"
@@ -291,9 +300,9 @@
                                            </Grid>
                                        )
                                    })}
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <StatusSelectInput />
                                        </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                        <Stack direction="column" spacing={1} width={'100%'}>
@@ -304,6 +313,7 @@
                            </CustomTabPanel>
                            <CustomTabPanel value={value} index={1}>
                                <Grid container rowSpacing={2} columnSpacing={2}>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <NumberInput
                                            label="table.field.matnr.safeQty"
@@ -322,6 +332,8 @@
                                            source="maxQty"
                                        />
                                    </Grid>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                    <Grid item xs={6} display="flex" gap={1}>
                                        <NumberInput
                                            label="table.field.matnr.stagn"
@@ -340,7 +352,9 @@
                                            source="validWarn"
                                        />
                                    </Grid>
                                    <Grid item xs={6} display="flex" gap={1}>
                                    </Grid>
                                    <Grid item xs={12} display="flex" gap={1}>
                                        <Grid item xs={4} display="flex" gap={1}>
                                        <SelectInput
                                            label="table.field.matnr.flagCheck"
                                            source="flagCheck"
@@ -349,6 +363,7 @@
                                                { id: 1, name: ' 是' },
                                            ]}
                                        />
                                        </Grid>
                                    </Grid>
                                </Grid>
                            </CustomTabPanel>
@@ -370,7 +385,7 @@
                            </CustomTabPanel>
                        </DialogContent>
                        <DialogActions sx={{ position: 'sticky', bottom: 0, backgroundColor: 'background.paper', zIndex: 1000 }}>
                            <Toolbar sx={{ width: '100%', justifyContent: 'space-between' }}  >
                            <Toolbar sx={{ width: '100%', justifyContent: 'flex-end' }}  >
                                <SaveButton />
                            </Toolbar>
                        </DialogActions>