#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
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>