From f6fe949db75c0879ca506eadce6976eb94492d09 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 24 五月 2025 15:39:42 +0800
Subject: [PATCH] 1.出库作业未判断小于零的作业(完成) 2.入出为历史添加库位号,托盘码显示(完成) 3.确认出为完成后,是否清空托盘码(完成) 4.库位主档托盘码未显示(完成)
---
rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx b/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
index 8177610..4a16266 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,
@@ -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,21 @@
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("璇烽�夋嫨绔欑偣");
+ 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