From f2e83368a78e7a1ec17bded1677bb1d7efb5a962 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 21 五月 2025 17:09:29 +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