From 7885e0cb06992d03da37105c0a9f56ced99b338d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 19 七月 2025 10:27:05 +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