| | |
| | | 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(); |
| | |
| | | <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}> |
| | |
| | | const notify = useNotify(); |
| | | const { sta, data } = props; |
| | | const check = ()=>{ |
| | | if(sta === ""){ |
| | | if(sta === "" || sta === undefined || sta === null){ |
| | | notify("请选择站点"); |
| | | return; |
| | | } |