#
vincentlu
2 天以前 c65a357fc8b907af755e1ef6a2c201e31eb71e94
zy-acs-flow/src/page/loc/LocCreate.jsx
@@ -30,6 +30,7 @@
import DialogCloseButton from "../components/DialogCloseButton";
import StatusSelectInput from "../components/StatusSelectInput";
import MemoInput from "../components/MemoInput";
import { compDirectChoices } from "./compDirect";
const LocCreate = (props) => {
    const { open, setOpen } = props;
@@ -48,8 +49,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 (
@@ -156,10 +157,7 @@
                                    <SelectInput
                                        label="table.field.loc.compDirect"
                                        source="compDirect"
                                        choices={[
                                            { id: 1, name: '大于' },
                                            { id: 0, name: '小于' },
                                        ]}
                                        choices={compDirectChoices}
                                    />
                                </Grid>
                                <Grid item xs={6} display="flex" gap={1}>