From bc25523bd723e92e85f3463edca27f0fe18a7a71 Mon Sep 17 00:00:00 2001
From: DESKTOP-LMJ82IJ\Eno <creaycat@gmail.com>
Date: 星期日, 13 四月 2025 16:49:19 +0800
Subject: [PATCH] #修改 收货单据界面优化修改

---
 rsf-admin/src/page/basicInfo/locType/BindModal.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/locType/BindModal.jsx b/rsf-admin/src/page/basicInfo/locType/BindModal.jsx
index d24442a..147d768 100644
--- a/rsf-admin/src/page/basicInfo/locType/BindModal.jsx
+++ b/rsf-admin/src/page/basicInfo/locType/BindModal.jsx
@@ -143,15 +143,15 @@
                             <Grid item xs={4}>
                                 <ReferenceInput
                                     source="areaMatId"
-                                    reference="locArea"
+                                    reference="locAreaMat"
                                 >
                                     <AutocompleteInput
                                         label="table.field.loc.locAreaId"
-                                        optionText="name"
+                                        optionText="code"
                                         onChange={(value) => handleChange(value, 'areaMatId')}
                                         value={formData.areaMatId}
                                         validate={required()}
-                                        filterToQuery={(val) => ({ name: val })}
+                                        filterToQuery={(val) => ({ code: val })}
                                     />
                                 </ReferenceInput>
 

--
Gitblit v1.9.1