#
luxiaotao1123
2024-10-21 ce79f7c56c3832d1a4ebdb1d7d1c2bbd87d8b004
zy-acs-flow/src/map/insight/shelf/ShelfMain.jsx
@@ -103,7 +103,7 @@
                };
                renderThree(info, curLocNo);
                setLoading(false);
            }, 300)
            }, 200)
        }
        return endThree;
    }, [info]);
@@ -202,13 +202,23 @@
                                    >
                                        {translate('page.map.settings.map.more.title')}
                                    </Button>
                                    <ConfirmButton
                                    <Button
                                        color="primary" // inherit
                                        variant="contained"
                                        onClick={() => {
                                            redirect('edit', 'loc', selectedLoc?.id);
                                        }}
                                    >
                                        {translate('page.map.insight.shelf.updateStatus')}
                                    </Button>
                                    {/* <ConfirmButton
                                        label="page.map.insight.shelf.updateStatus"
                                        color="primary" // inherit
                                        variant="contained"
                                        onConfirm={() => {
                                            redirect('edit', 'loc', selectedLoc?.id);
                                        }}
                                    />
                                    /> */}
                                    <Button variant="contained" color="error" disabled={selectedLoc?.locStsEl !== 'STOCK'} fullWidth>
                                        {translate('page.map.insight.shelf.outbound')}
                                    </Button>