zjj
5 天以前 4d04f07390681995d7786ecb1730f4caea2e2f18
#移库
1个文件已修改
10 ■■■■ 已修改文件
rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
@@ -95,7 +95,7 @@
    const selectLocItem = async() =>{
        const {
            data: { code, data, msg },
        } = await request.post("/locItem/page",{
        } = await request.post("/locItem/useO/page",{
            locCode: orgLoc,
            current: 1,
            pageSize: 100,
@@ -217,11 +217,15 @@
    const move = () => {
        console.log(orgLoc, tarLoc);
        if (orgLoc === "" || orgLoc === undefined || orgLoc === null) {
            notify("请选择站点");
            notify("请输入源库位");
            return;
        }
        if (tarLoc === "" || tarLoc === undefined || tarLoc === null) {
            notify("请选择站点");
            notify("请输入目标库位");
            return;
        }
        if (tabelData.length === 0) {
            notify("源库位明细无,请检查库位状态");
            return;
        }        
        http(orgLoc, tarLoc?.id)