zhang
2025-05-20 1313906bb1eb983d3beece810035e7fc28d6a92f
zy-acs-flow/src/page/codeGap/CodeGapCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
@@ -93,6 +93,7 @@
                                        <AutocompleteInput
                                            label="table.field.codeGap.code0"
                                            optionText="data"
                                            filterToQuery={(val) => ({ data: val })}
                                            validate={required()}
                                        />
                                    </ReferenceInput>
@@ -105,6 +106,7 @@
                                        <AutocompleteInput
                                            label="table.field.codeGap.code1"
                                            optionText="data"
                                            filterToQuery={(val) => ({ data: val })}
                                            validate={required()}
                                        />
                                    </ReferenceInput>
@@ -113,6 +115,7 @@
                                    <NumberInput
                                        label="table.field.codeGap.distance"
                                        source="distance"
                                        validate={required()}
                                    />
                                </Grid>