#
luxiaotao1123
2024-10-16 d8771a5d5afe1b5da6e6c3fece93db7892fc7bbf
#
1个文件已修改
24 ■■■■ 已修改文件
zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
@@ -96,6 +96,7 @@
            getLocGroup(data.row, data.bay, (response) => {
                setInfo(response);
                setCurLocNo(response[0]?.locNo);
                setSelectedLoc(response[0]);
            });
        }
    }, [data]);
@@ -142,7 +143,14 @@
                )}
            </Box>
            <Box width="50%" height="100%" overflow="auto" pl={1}>
                <Paper elevation={3} style={{ padding: '16px' }}>
                <Paper elevation={3} style={{
                    height: "100%",
                    padding: '16px',
                    display: 'flex',
                    flexDirection: 'column',
                    justifyContent: 'space-between',
                }}>
                    <Box>
                    <Typography
                        variant="subtitle1"
                        flexWrap="nowrap"
@@ -158,7 +166,7 @@
                                    variant="body2"
                                    flexWrap="nowrap"
                                >
                                    {translate('table.field.loc.locSts')}
                                        {translate('table.field.loc.locSts')}:
                                </Typography>
                                <Typography
                                    variant="body2"
@@ -168,31 +176,37 @@
                                </Typography>
                            </Stack>
                        </Grid>
                        <Grid item xs={12}>
                            <Typography variant="subtitle1">
                                {translate('table.field.loc.zoneId')}
                            </Typography>
                            <Typography variant="body1">{info?.zoneId$}</Typography>
                        </Grid>
                        <Grid item xs={12}>
                            <Typography variant="subtitle1">
                                {translate('table.field.loc.code')}
                            </Typography>
                            <Typography variant="body1">{info?.code$}</Typography>
                        </Grid>
                        </Grid>
                    </Box>
                    <Grid container spacing={2} style={{ marginTop: '0px' }}>
                        <Grid item xs={12}>
                            <Typography variant="subtitle1">
                                {translate('common.field.opt')}
                            </Typography>
                            <Stack spacing={2} mt={2}>
                                <Button variant="contained" color="error" fullWidth>
                                    {translate('map.loc.lock')}
                                    lock
                                </Button>
                                <Button variant="contained" disabled fullWidth>
                                    {translate('map.loc.unlock')}
                                    unlock
                                </Button>
                                <Button variant="contained" fullWidth>
                                    {translate('map.loc.reset')}
                                    reset
                                </Button>
                            </Stack>
                        </Grid>