From 4992e4e60b73a87c3781aabd9367e11e3eaa370e Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期四, 05 二月 2026 16:00:16 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/integrationRecord/IntegrationRecordCreate.jsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/zy-acs-flow/src/page/integrationRecord/IntegrationRecordCreate.jsx b/zy-acs-flow/src/page/integrationRecord/IntegrationRecordCreate.jsx
index 0688a52..986cd09 100644
--- a/zy-acs-flow/src/page/integrationRecord/IntegrationRecordCreate.jsx
+++ b/zy-acs-flow/src/page/integrationRecord/IntegrationRecordCreate.jsx
@@ -30,12 +30,14 @@
 import DialogCloseButton from "../components/DialogCloseButton";
 import StatusSelectInput from "../components/StatusSelectInput";
 import MemoInput from "../components/MemoInput";
+import { buildDirectionChoices } from './direction';
 
 const IntegrationRecordCreate = (props) => {
     const { open, setOpen } = props;
 
     const translate = useTranslate();
     const notify = useNotify();
+    const directionChoices = useMemo(() => buildDirectionChoices(translate), [translate]);
 
     const handleClose = (event, reason) => {
         if (reason !== "backdropClick") {
@@ -124,10 +126,7 @@
                                     <SelectInput
                                         label="table.field.integrationRecord.direction"
                                         source="direction"
-                                        choices={[
-                                            { id: 1, name: '琚皟鐢�' },
-                                            { id: 2, name: '璋冪敤澶栭儴' },
-                                        ]}
+                                        choices={directionChoices}
                                     />
                                 </Grid>
                                 <Grid item xs={6} display="flex" gap={1}>

--
Gitblit v1.9.1