From d086af5559dba52095d23e425be87d8f11f24814 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 17 七月 2025 16:32:47 +0800 Subject: [PATCH] #菜单、po单 --- 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