From f4a4408f97a448a1a5b4eccd350f65f85b700efa Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 13 九月 2024 15:36:31 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/sta/StaEdit.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/page/sta/StaEdit.jsx b/zy-acs-flow/src/page/sta/StaEdit.jsx
index 908eb08..e5efe67 100644
--- a/zy-acs-flow/src/page/sta/StaEdit.jsx
+++ b/zy-acs-flow/src/page/sta/StaEdit.jsx
@@ -79,6 +79,7 @@
                                 <AutocompleteInput
                                     label="table.field.sta.zoneId"
                                     optionText="name"
+                                    filterToQuery={(val) => ({ name: val })}
                                 />
                             </ReferenceInput>
                         </Stack>
@@ -104,6 +105,7 @@
                                 <AutocompleteInput
                                     label="table.field.sta.staType"
                                     optionText="name"
+                                    filterToQuery={(val) => ({ name: val })}
                                     validate={required()}
                                 />
                             </ReferenceInput>
@@ -116,6 +118,7 @@
                                 <AutocompleteInput
                                     label="table.field.sta.code"
                                     optionText="uuid"
+                                    filterToQuery={(val) => ({ data: val })}
                                 />
                             </ReferenceInput>
                         </Stack>
@@ -168,6 +171,7 @@
                                 <AutocompleteInput
                                     label="table.field.sta.staSts"
                                     optionText="name"
+                                    filterToQuery={(val) => ({ name: val })}
                                 />
                             </ReferenceInput>
                         </Stack>

--
Gitblit v1.9.1