skyouc
2025-05-28 b047f19a6b34a73e018d7e24fb7ec55db2edf472
rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
@@ -182,7 +182,8 @@
                                <Stack direction='row' spacing={2} minWidth={200}>
                                    <SubmitButton
                                        orgLoc={orgLoc}
                                        tarLoc={tarLoc}
                                        tarLoc={tarLoc}
                                        tabelData={tabelData}
                                    />
                                </Stack>
                            </Box>
@@ -213,17 +214,17 @@
    const notify = useNotify();
    const redirect = useRedirect();
    const refresh = useRefresh();
    const { orgLoc, tarLoc } = props;
    const { orgLoc, tarLoc, tabelData } = props;
    const move = () => {
        console.log(orgLoc, tarLoc);
        if (orgLoc === "" || orgLoc === undefined || orgLoc === null) {
            notify("请输入源库位");
            return;
        }
        if (tarLoc === "" || tarLoc === undefined || tarLoc === null) {
            notify("请输入目标库位");
            return;
        }
        // if (tarLoc === "" || tarLoc === undefined || tarLoc === null) {
        //     notify("请输入目标库位");
        //     return;
        // }
        if (tabelData.length === 0) {
            notify("源库位明细无,请检查库位状态");
            return;