From 1a11bfbc0fbd9b777807a623b2aacac7b4e7b5b3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 19 三月 2025 20:35:14 +0800
Subject: [PATCH] #优化 物料,库位类型添加空管
---
rsf-admin/src/page/components/DictionarySelect.jsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/rsf-admin/src/page/components/DictionarySelect.jsx b/rsf-admin/src/page/components/DictionarySelect.jsx
index 43dc811..2523c5d 100644
--- a/rsf-admin/src/page/components/DictionarySelect.jsx
+++ b/rsf-admin/src/page/components/DictionarySelect.jsx
@@ -9,7 +9,6 @@
const DictionarySelect = (props) => {
const { dictTypeCode, name, ...parmas } = props;
- const { selectedIds } = useListContext();
const translate = useTranslate();
const notify = useNotify();
const [list, setList] = useState([])
@@ -25,7 +24,7 @@
setList(res.data.data.records.map((item) => {
return {
id: item.value,
- name: item.value
+ name: item.label
}
}))
} else {
--
Gitblit v1.9.1