#
Junjie
2024-10-17 d835d1b51f832889929cdf69010034a30ef44d02
zy-asrs-flow/src/pages/map/drawer/shuttle/view.jsx
@@ -59,11 +59,14 @@
            setLoading(false);
        }
        fetchShuttleInfo(data.no);
    }, [data]);
    useEffect(() => {
        console.log(info);
    }, [info])
        const timer = setInterval(() => {
            fetchShuttleInfo(data.no);
        }, 1000);
        return () => {
            clearInterval(timer);
        }
    }, [data]);
    return (
        <>
@@ -98,11 +101,11 @@
                                    },
                                    {
                                        label: intl.formatMessage({ id: 'map.loc.no', defaultMessage: '库位号' }),
                                        children: <Badge status="processing" text="Running" />,
                                        children: info?.currentLocNo,
                                    },
                                    {
                                        label: intl.formatMessage({ id: 'map.pallet.barcode', defaultMessage: '托盘条码' }),
                                        children: '80000010',
                                        children: info?.zpallet,
                                    },
                                    {
                                        label: intl.formatMessage({ id: 'map.origin.loc', defaultMessage: '起始库位' }),