#
vincentlu
2026-01-10 1bc33546a044cbc84dd9595c19dbcd9a4e309fc9
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 />