From 1bc33546a044cbc84dd9595c19dbcd9a4e309fc9 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期六, 10 一月 2026 14:06:10 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/sta/StaEdit.jsx | 56 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 31 insertions(+), 25 deletions(-)
diff --git a/zy-acs-flow/src/page/sta/StaEdit.jsx b/zy-acs-flow/src/page/sta/StaEdit.jsx
index d45ee98..a203a00 100644
--- a/zy-acs-flow/src/page/sta/StaEdit.jsx
+++ b/zy-acs-flow/src/page/sta/StaEdit.jsx
@@ -99,8 +99,17 @@
/>
</Stack> */}
<Stack direction='row' gap={2}>
- </Stack>
- <Stack direction='row' gap={2}>
+ <ReferenceInput
+ source="staType"
+ reference="staType"
+ perPage={REFERENCE_INPUT_PAGESIZE}
+ >
+ <AutocompleteInput
+ label="table.field.sta.staType"
+ optionText="name"
+ filterToQuery={(val) => ({ name: val })}
+ />
+ </ReferenceInput>
<ReferenceInput
source="code"
reference="code"
@@ -113,11 +122,6 @@
validate={required()}
/>
</ReferenceInput>
- <NumberInput
- label="table.field.sta.offset"
- source="offset"
- validate={required()}
- />
</Stack>
<Stack direction='row' gap={2}>
<NumberInput
@@ -126,24 +130,36 @@
validate={required()}
/>
<NumberInput
+ label="table.field.sta.offset"
+ source="offset"
+ validate={required()}
+ />
+ </Stack>
+ <Stack direction='row' gap={2}>
+ <NumberInput
+ label="table.field.sta.angle"
+ source="angle"
+ validate={required()}
+ />
+ {/* <NumberInput
label="table.field.sta.occCnt"
source="occCnt"
InputProps={{ readOnly: true }}
disabled
- />
+ /> */}
</Stack>
<Stack direction='row' gap={2}>
<NumberInput
label="table.field.sta.rsvInCnt"
source="rsvInCnt"
- InputProps={{ readOnly: true }}
- disabled
+ // InputProps={{ readOnly: true }}
+ // disabled
/>
<NumberInput
label="table.field.sta.rsvOutCnt"
source="rsvOutCnt"
- InputProps={{ readOnly: true }}
- disabled
+ // InputProps={{ readOnly: true }}
+ // disabled
/>
</Stack>
</Grid>
@@ -151,7 +167,7 @@
<Typography variant="h6" gutterBottom>
{translate('common.edit.title.common')}
</Typography>
- <ReferenceInput
+ {/* <ReferenceInput
source="staSts"
reference="staSts"
perPage={REFERENCE_INPUT_PAGESIZE}
@@ -161,18 +177,8 @@
optionText="name"
filterToQuery={(val) => ({ name: val })}
/>
- </ReferenceInput>
- <ReferenceInput
- source="staType"
- reference="staType"
- perPage={REFERENCE_INPUT_PAGESIZE}
- >
- <AutocompleteInput
- label="table.field.sta.staType"
- optionText="name"
- filterToQuery={(val) => ({ name: val })}
- />
- </ReferenceInput>
+ </ReferenceInput> */}
+
<StatusSelectInput />
<Box mt="2em" />
<MemoInput />
--
Gitblit v1.9.1