From 722f10d570f29cd6f6d9945bb0ee32844b4a802f Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期三, 26 十一月 2025 13:11:35 +0800
Subject: [PATCH] 库位明细半箱信息显示

---
 rsf-admin/src/page/basicInfo/deviceSite/InitModal.jsx |   33 +++++++++++++++++++--------------
 1 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/deviceSite/InitModal.jsx b/rsf-admin/src/page/basicInfo/deviceSite/InitModal.jsx
index 163c261..84b7a4f 100644
--- a/rsf-admin/src/page/basicInfo/deviceSite/InitModal.jsx
+++ b/rsf-admin/src/page/basicInfo/deviceSite/InitModal.jsx
@@ -121,29 +121,34 @@
                             </Grid>
                             <Grid item xs={4}>
                                 <TextInput
-                                    label={translate("table.field.deviceSite.deviceCode")}
-                                    name="deviceCode"
+                                    label={translate("table.field.deviceSite.channel")}
+                                    name="channel"
                                     size="small"
                                     type="number"
                                 />
                             </Grid>
                             <Grid item xs={4}>
-                                <TextInput
-                                    label={translate("table.field.deviceSite.deviceSite")}
-                                    name="deviceSites"
-                                    placeholder={translate('common.action.inputPlaceholder')}
-                                    size="small"
-                                // type="number"
+                            <ReferenceInput
+                                source="deviceSites"
+                                reference="basStation"                               
+                            >
+                                <SelectInput
+                                    label="table.field.deviceSite.deviceSite"
+                                    optionText="stationName"
                                 />
+                            </ReferenceInput>                                
                             </Grid>
                             <Grid item xs={4}>
-                                <TextInput
-                                    label={translate("table.field.deviceSite.site")}
-                                    name="site"
-                                    placeholder={translate('common.action.inputPlaceholder')}
-                                    size="small"
-                                // type="number"
+                            <ReferenceInput
+                                source="site"
+                                reference="basStation"                                
+                            >
+                                <SelectInput
+                                    label="table.field.deviceSite.site"
+                                    optionText="stationName"
                                 />
+                            </ReferenceInput> 
+                                
                             </Grid>
                             <Grid item xs={4}>
                                 <TextInput

--
Gitblit v1.9.1