From 3f54021c96ed84ce42181b3709788610e2ab57ca Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 04 八月 2025 17:14:18 +0800
Subject: [PATCH] 库存调整功能优化
---
rsf-admin/src/page/components/DictSelect.jsx | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/rsf-admin/src/page/components/DictSelect.jsx b/rsf-admin/src/page/components/DictSelect.jsx
index 1ca14c5..df17b17 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 {
@@ -47,7 +47,6 @@
variant="filled"
onChange={handleChange}
size='small'
-
>
{list.map((item) => (
<MenuItem key={item.value} value={item.value}>
--
Gitblit v1.9.1