#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
zy-acs-flow/src/page/sta/StaCreate.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 (
@@ -100,6 +100,7 @@
                                        <AutocompleteInput
                                            label="table.field.sta.zoneId"
                                            optionText="name"
                                            filterToQuery={(val) => ({ name: val })}
                                        />
                                    </ReferenceInput>
                                </Grid>
@@ -125,6 +126,7 @@
                                        <AutocompleteInput
                                            label="table.field.sta.staType"
                                            optionText="name"
                                            filterToQuery={(val) => ({ name: val })}
                                            validate={required()}
                                        />
                                    </ReferenceInput>
@@ -136,7 +138,8 @@
                                    >
                                        <AutocompleteInput
                                            label="table.field.sta.code"
                                            optionText="uuid"
                                            optionText="data"
                                            filterToQuery={(val) => ({ data: val })}
                                        />
                                    </ReferenceInput>
                                </Grid>
@@ -189,6 +192,7 @@
                                        <AutocompleteInput
                                            label="table.field.sta.staSts"
                                            optionText="name"
                                            filterToQuery={(val) => ({ name: val })}
                                        />
                                    </ReferenceInput>
                                </Grid>