From 48b45b5e63f9925c63c951093c4cf596d89683a2 Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期一, 11 八月 2025 10:34:22 +0800 Subject: [PATCH] # --- rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx index 0d5ff70..e838adf 100644 --- a/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx +++ b/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx @@ -285,8 +285,8 @@ <Grid key={item.id} item xs={6} display="flex" gap={1}> <TextInput label={item.fieldsAlise} - source={`extendFields.[${item.fields}]`} - validate={required()} + source={item.fields} + validate={item.unique === 1 ? required() : false} /> </Grid> ) -- Gitblit v1.9.1