From 2a125d08bd4437dbf0e93f2d25ea196715ce82a4 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 09 六月 2025 14:21:38 +0800
Subject: [PATCH] 下发执行功能优化 添加站点默认值
---
rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx b/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
index 353332f..5c4bce0 100644
--- a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
+++ b/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;
@@ -270,13 +271,13 @@
width: 100,
editable: false,
},
- {
- field: 'workQty',
- headerName: translate('table.field.locItem.workQty'),
- width: 100,
- type: 'number',
- editable: false,
- },
+ // {
+ // field: 'workQty',
+ // headerName: translate('table.field.locItem.workQty'),
+ // width: 100,
+ // type: 'number',
+ // editable: false,
+ // },
{
field: 'locCode',
headerName: translate('table.field.locItem.locCode'),
--
Gitblit v1.9.1