skyouc
2025-06-07 38738b94b499ba1ccd37ab8824b5569db6662d5f
rsf-admin/src/page/waveRule/WaveRuleEdit.jsx
@@ -42,6 +42,7 @@
const WaveRuleEdit = () => {
    const translate = useTranslate();
    const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_wave_rule_code')) || [];
    return (
        <Edit
@@ -68,14 +69,19 @@
                                label="table.field.waveRule.code"
                                source="code"
                                parse={v => v}
                                readOnly
                                autoFocus
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                            <AutocompleteInput
                                choices={dicts}
                                optionText="label"
                                label="table.field.waveRule.type"
                                source="type"
                            />
                                optionValue="value"
                                parse={v => v}
                                validate={[required()]} />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <TextInput