From 4d04f07390681995d7786ecb1730f4caea2e2f18 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期六, 24 五月 2025 09:13:53 +0800 Subject: [PATCH] #移库 --- rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx b/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx index 8177610..353332f 100644 --- a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx +++ b/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,13 +217,17 @@ 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) } const http = async (orgLoc, tarLoc) => { -- Gitblit v1.9.1