From 05c0643b9337d8129876bdf9398b387c81b5f5f2 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期五, 13 六月 2025 12:39:08 +0800 Subject: [PATCH] 根据DO单添加出库单明细功能优化 --- rsf-admin/src/page/components/DictSelect.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rsf-admin/src/page/components/DictSelect.jsx b/rsf-admin/src/page/components/DictSelect.jsx index 1ca14c5..77292f9 100644 --- a/rsf-admin/src/page/components/DictSelect.jsx +++ b/rsf-admin/src/page/components/DictSelect.jsx @@ -6,7 +6,7 @@ import { Select, MenuItem, FormControl, InputLabel } from '@mui/material'; const DictSelect = (props) => { - const { dictTypeCode, label, value, onChange, ...params } = props; + const { dictTypeCode, label, group, value, onChange, ...params } = props; const translate = useTranslate(); const notify = useNotify(); const [list, setList] = useState([]); @@ -16,7 +16,7 @@ }, [dictTypeCode]); const http = async () => { - const res = await request.post('/dictData/page', { dictTypeCode }); + const res = await request.post('/dictData/page', { dictTypeCode, group }); if (res?.data?.code === 200) { setList(res.data.data.records.map((item) => { return { -- Gitblit v1.9.1