From 5817004ce9f72d75016be7a95bf7f5057af081ec Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 26 九月 2025 13:34:32 +0800
Subject: [PATCH] 跑库功能优化

---
 rsf-admin/src/page/orders/qlyInspect/QlyInspectEdit.jsx |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/rsf-admin/src/page/orders/qlyInspect/QlyInspectEdit.jsx b/rsf-admin/src/page/orders/qlyInspect/QlyInspectEdit.jsx
index 18528e3..830683e 100644
--- a/rsf-admin/src/page/orders/qlyInspect/QlyInspectEdit.jsx
+++ b/rsf-admin/src/page/orders/qlyInspect/QlyInspectEdit.jsx
@@ -35,8 +35,7 @@
 
     return (
         <Toolbar sx={{ justifyContent: 'end' }}>
-            <SaveButton />
-            <DeleteButton mutationMode="optimistic" />
+            <></>
         </Toolbar>
     )
 }
@@ -60,7 +59,20 @@
                     mode="onTouched"
                     defaultValues={{}}
                 >
-                    <Grid container width={{ xs: '100%', xl: '100%' }}>
+                    <Grid container width={{ xs: '100%', xl: '100%' }} 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)"
+                        },
+                        "& .MuiFilledInput-root.MuiInputBase-sizeSmall": {
+                            bgcolor: 'white',
+                        }
+                    }}>
                         <Grid item xs={24} md={12}>
                             <Typography variant="h6" gutterBottom>
                                 {translate('common.edit.title.main')}
@@ -89,17 +101,6 @@
                                 />
                             </Stack>
                             <Stack direction='row' gap={2}>
-                                <NumberInput
-                                    label="table.field.qlyInspect.safeQty"
-                                    source="safeQty"
-                                    readOnly
-                                />
-                                <NumberInput
-                                    label="table.field.qlyInspect.dlyQty"
-                                    source="dlyQty"
-                                    readOnly
-
-                                />
                                 <NumberInput
                                     label="table.field.qlyInspect.rcptQty"
                                     source="rcptQty"

--
Gitblit v1.9.1