From ea3ca5f67756a7f3afd1493f86d1265deb8fdf42 Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期二, 25 三月 2025 15:07:52 +0800
Subject: [PATCH] 2

---
 rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
index def6d1a..c86aeef 100644
--- a/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/matnr/MatnrEdit.jsx
@@ -144,7 +144,6 @@
                                 <Grid item xs={6} display="flex" gap={1}>
                                     <ReferenceInput source="shipperId" reference="companys" filter={{ type: 'shipper' }}>
                                         <AutocompleteInput
-                                            validate={[required()]}
                                             label="table.field.matnr.shipperId"
                                             optionText="name"
                                             filterToQuery={(val) => ({ name: val })}
@@ -269,7 +268,8 @@
                                         <Grid key={item.id} item xs={6} display="flex" gap={1}>
                                             <TextInput
                                                 label={item.fieldsAlise}
-                                                source={item.fields}
+                                                source={`extendFields.[${item.fields}]`}
+                                                validate={required()}
                                             />
                                         </Grid>
                                     )

--
Gitblit v1.9.1