1
3 天以前 8dfd55ef1c0eccf3adf105f0d4f5828bdbc3f86d
rsf-admin/src/page/basicInfo/basStation/BasStationEdit.jsx
@@ -30,6 +30,7 @@
import MemoInput from "../../components/MemoInput";
import StatusSelectInput from "../../components/StatusSelectInput";
import DictionarySelect from "../../components/DictionarySelect";
import DictionaryArraySelect from "../../components/DictionaryArraySelect";
const FormToolbar = () => {
    const { getValues } = useFormContext();
@@ -71,6 +72,24 @@
                                source="stationName"
                                parse={v => v}
                                autoFocus
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <TextInput
                                label="table.field.basStation.stationId"
                                source="stationId"
                                parse={v => v}
                                autoFocus
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <SelectInput
                                label="table.field.basStation.type"
                                source="type"
                                choices={[
                                    { id: 0, name: '光电' },
                                    { id: 1, name: '无光电' },
                                ]}
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>                            
@@ -146,9 +165,9 @@
                            />
                        </Stack>                        
                        <Stack direction='row' gap={2}>                            
                            <DictionarySelect
                            <DictionaryArraySelect
                                label={translate("table.field.basStation.containerType")}
                                name="containerType"
                                name="containerTypes"
                                size="small"
                                validate={[required()]}
                                dictTypeCode="sys_container_type"