From 98ff050915a395abcbbc3a7263a4540f30cf1fb8 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 11 七月 2025 17:00:21 +0800
Subject: [PATCH] #前端
---
rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx b/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx
index 958deb6..33c6fcd 100644
--- a/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx
+++ b/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx
@@ -35,8 +35,9 @@
return (
<Toolbar sx={{ justifyContent: 'end' }}>
- <SaveButton />
- <DeleteButton mutationMode="optimistic" />
+ <></>
+ {/* <SaveButton />
+ <DeleteButton mutationMode="optimistic" /> */}
</Toolbar>
)
}
@@ -58,10 +59,19 @@
toolbar={<FormToolbar />}
mode="onTouched"
defaultValues={{}}
- // validate={(values) => { }}
>
<Grid container width={{ xs: '100%', xl: '80%' }} rowSpacing={3} columnSpacing={3}>
- <Grid item xs={24} md={12}>
+ <Grid item xs={24} md={12} 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)"
+ }
+ }}>
<Typography variant="h6" gutterBottom>
{translate('common.edit.title.main')}
</Typography>
@@ -69,25 +79,30 @@
<NumberInput
label="table.field.waitPakinLog.pakinId"
source="pakinId"
+ readOnly
autoFocus
/>
<TextInput
label="table.field.waitPakinLog.code"
source="code"
+ readOnly
parse={v => v}
/>
<TextInput
label="table.field.waitPakinLog.barcode"
source="barcode"
+ readOnly
parse={v => v}
/>
<NumberInput
label="table.field.waitPakinLog.anfme"
+ readOnly
source="anfme"
/>
<SelectInput
label="table.field.waitPakinLog.ioStatus"
source="ioStatus"
+ readOnly
choices={[
{ id: 0, name: '寰呭叆搴�' },
{ id: 1, name: ' 鍏ュ簱涓�' },
--
Gitblit v1.9.1