From d99a433c0d0e433e5cd8d216562a3fba5bd3fdd6 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 22 一月 2026 08:30:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/devlop-phyz' into devlop-phyz
---
rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx b/rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx
index 0993b27..75bd7a8 100644
--- a/rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx
@@ -39,7 +39,7 @@
const translate = useTranslate();
const notify = useNotify();
-
+ const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_station_type')) || [];
const handleClose = (event, reason) => {
if (reason !== "backdropClick") {
setOpen(false);
@@ -97,6 +97,26 @@
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
+ <TextInput
+ label="table.field.basStation.stationId"
+ source="stationId"
+ parse={v => v}
+ autoFocus
+ validate={[required()]}
+ />
+ </Grid>
+ <Grid item xs={6} display="flex" gap={1}>
+ <SelectInput
+ label="table.field.basStation.type"
+ source="type"
+ choices={[
+ { id: 0, name: '鍏夌數' },
+ { id: 1, name: '鏃犲厜鐢�' },
+ ]}
+ validate={[required()]}
+ />
+ </Grid>
+ <Grid item xs={6} display="flex" gap={1}>
<SelectInput
label="table.field.basStation.inAble"
source="inAble"
--
Gitblit v1.9.1