skyouc
2025-08-05 a6991a33e18f69264f93a63459a4b64ea799295a
rsf-admin/src/page/task/TaskEdit.jsx
@@ -20,7 +20,8 @@
    const { getValues } = useFormContext();
    return (
        <Toolbar sx={{ justifyContent: 'end' }}>
            <SaveButton />
            <></>
            {/* <SaveButton /> */}
            {/* <DeleteButton mutationMode="optimistic" /> */}
        </Toolbar>
    )
@@ -39,9 +40,20 @@
                <SimpleForm
                    shouldUnregister
                    warnWhenUnsavedChanges
                    toolbar={<FormToolbar />}
                    toolbar={false}
                    mode="onTouched"
                    defaultValues={{}}
                    sx={{
                        "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled": {
                            bgcolor: 'white',
                            WebkitTextFillColor: "rgba(0, 0, 0)"
                        },
                        "& .MuiInputBase-input.MuiFilledInput-input.Mui-disabled": {
                            bgcolor: 'white',
                            WebkitTextFillColor: "rgba(0, 0, 0)"
                        }
                    }}
                >
                    <Grid container width={{ xs: '100%', xl: '80%' }} rowSpacing={3} columnSpacing={3}>
                        <Grid item xs={24} md={16}>
@@ -101,6 +113,7 @@
                                <NumberInput
                                    label="table.field.task.sort"
                                    source="sort"
                                    readOnly
                                />
                            </Stack>
                        </Grid>