From 5e4d6a9017f2cce64506ae6a2bef3e9b57c19f8a Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期五, 30 一月 2026 10:08:43 +0800
Subject: [PATCH] lsh#
---
rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx | 47 +++++++++++++++++++++++++++++------------------
1 files changed, 29 insertions(+), 18 deletions(-)
diff --git a/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx b/rsf-admin/src/page/histories/waitPakinLog/WaitPakinLogEdit.jsx
index 112f7f2..1ba7171 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>
)
}
@@ -53,57 +54,67 @@
aside={<EditBaseAside />}
>
<SimpleForm
- sx={{
- '& .MuiInputBase-input.MuiFilledInput-input.Mui-disabled': {
- bgcolor: "white",
- color: "black",
- '-webkit-text-fill-color': "rgba(0, 0, 0)"
- },
- '& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled': {
- color: 'rgba(0, 0, 0, 0.77)'
- }
- }}
shouldUnregister
warnWhenUnsavedChanges
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>
<Stack direction='row' gap={2}>
- <NumberInput
+ {/* <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
+ <TextInput
+ label="table.field.waitPakin.ioStatus"
+ readOnly
+ source="ioStatus$"
+ parse={v => v}
+ />
+ {/* <SelectInput
label="table.field.waitPakinLog.ioStatus"
source="ioStatus"
+ readOnly
choices={[
{ id: 0, name: '寰呭叆搴�' },
{ id: 1, name: ' 鍏ュ簱涓�' },
]}
validate={required()}
- />
+ /> */}
</Stack>
</Grid>
</Grid>
--
Gitblit v1.9.1