From 0cf1c13ac668cdb689b073c3961592d8ab41316c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 21 五月 2025 19:35:17 +0800
Subject: [PATCH] 拣料出库任务优化
---
rsf-admin/src/page/outWork/outBound/OutBoundList.jsx | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/rsf-admin/src/page/outWork/outBound/OutBoundList.jsx b/rsf-admin/src/page/outWork/outBound/OutBoundList.jsx
index a39519e..45573d3 100644
--- a/rsf-admin/src/page/outWork/outBound/OutBoundList.jsx
+++ b/rsf-admin/src/page/outWork/outBound/OutBoundList.jsx
@@ -65,9 +65,7 @@
const [createDialog, setCreateDialog] = useState(false);
const [tabelData, setTableData] = useState([]);
const [selectedRows, setSelectedRows] = useState([]);
- const [sta,setSta] = useState([
-
- ])
+ const [sta,setSta] = useState("");
const notify = useNotify();
const tableRef = useRef();
tableRef.current = useGridApiRef();
@@ -118,7 +116,7 @@
<Grid container spacing={2}>
<Grid item xs={12}>
<Box sx={{ display: 'flex', flexDirection: 'column', alignItems: 'flex-start', gap: 1 }}>
- <Typography width={100} vvariant="h6" gutterBottom>
+ <Typography variant="h6" >
{translate('table.field.outBound.outSta')}
</Typography>
<Stack direction='row' spacing={2} minWidth={200}>
@@ -167,7 +165,7 @@
const notify = useNotify();
const { sta, data } = props;
const check = ()=>{
- if(sta === ""){
+ if(sta === "" || sta === undefined || sta === null){
notify("璇烽�夋嫨绔欑偣");
return;
}
--
Gitblit v1.9.1