From 1aebdca4fee83fc0153efcdfe72db6fee606e6ba Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期二, 27 一月 2026 09:43:53 +0800
Subject: [PATCH] lsh#

---
 rsf-admin/src/page/histories/taskLog/TaskLogEdit.jsx |   40 ++++++++++++++++++++++++++--------------
 1 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/rsf-admin/src/page/histories/taskLog/TaskLogEdit.jsx b/rsf-admin/src/page/histories/taskLog/TaskLogEdit.jsx
index 3552cc7..aacaff6 100644
--- a/rsf-admin/src/page/histories/taskLog/TaskLogEdit.jsx
+++ b/rsf-admin/src/page/histories/taskLog/TaskLogEdit.jsx
@@ -20,7 +20,8 @@
     const { getValues } = useFormContext();
     return (
         <Toolbar sx={{ justifyContent: 'end' }}>
-            <SaveButton />
+            <></>
+            {/* <SaveButton /> */}
             {/* <DeleteButton mutationMode="optimistic" /> */}
         </Toolbar>
     )
@@ -42,6 +43,17 @@
                     toolbar={<FormToolbar />}
                     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}>
@@ -67,6 +79,19 @@
                                     readOnly
                                 />
                                 <TextInput
+                                    label="table.field.task.barcode"
+                                    source="barcode"
+                                    readOnly
+                                    parse={v => v}
+                                /> 
+                                <NumberInput
+                                    label="table.field.task.sort"
+                                    readOnly
+                                    source="sort"
+                                />                               
+                            </Stack>
+                            <Stack direction='row' gap={2}>
+                                <TextInput
                                     label="table.field.task.orgLoc"
                                     source="orgLoc"
                                     readOnly
@@ -84,24 +109,11 @@
                                     readOnly
                                     parse={v => v}
                                 />
-                            </Stack>
-                            <Stack direction='row' gap={2}>
                                 <TextInput
                                     label="table.field.task.targSite"
                                     source="targSite"
                                     readOnly
                                     parse={v => v}
-                                />
-                                <TextInput
-                                    label="table.field.task.barcode"
-                                    source="barcode"
-                                    readOnly
-                                    parse={v => v}
-                                />
-                                <NumberInput
-                                    label="table.field.task.sort"
-                                    readOnly
-                                    source="sort"
                                 />
                             </Stack>
                         </Grid>

--
Gitblit v1.9.1