From ea2904d7ca03b42f5783cd659fe71c0fbedd2277 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 11 八月 2025 17:05:21 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop
---
rsf-admin/src/page/stockManage/locRevise/LocReviseEdit.jsx | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/rsf-admin/src/page/stockManage/locRevise/LocReviseEdit.jsx b/rsf-admin/src/page/stockManage/locRevise/LocReviseEdit.jsx
index 71ba80d..48ca819 100644
--- a/rsf-admin/src/page/stockManage/locRevise/LocReviseEdit.jsx
+++ b/rsf-admin/src/page/stockManage/locRevise/LocReviseEdit.jsx
@@ -55,8 +55,19 @@
<SimpleForm
shouldUnregister
warnWhenUnsavedChanges
- toolbar={<FormToolbar />}
+ toolbar={false}
mode="onTouched"
+ 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)"
+ }
+ }}
defaultValues={{}}
// sx={{
// "& .MuiFormLabel-root.MuiInputLabel-root.Mui-disabled": {
@@ -87,19 +98,22 @@
label="table.field.locRevise.type"
source="type"
choices={[
- { id: 0, name: ' 搴撳瓨璋冩暣' },
+ { id: 1, name: ' 搴撳瓨璋冩暣' },
{ id: 2, name: ' 鐩樼偣璋冩暣' },
]}
+ readOnly
/>
<NumberInput
label="table.field.locRevise.anfme"
source="anfme"
+ readOnly
/>
</Stack>
<Stack direction='row' gap={2}>
<NumberInput
label="table.field.locRevise.reviseQty"
source="reviseQty"
+ readOnly
/>
<SelectInput
label="table.field.locRevise.exceStatus"
@@ -109,11 +123,13 @@
{ id: 1, name: '鎵ц涓�' },
{ id: 2, name: '鎵ц瀹屾垚' },
]}
+ readOnly
/>
<TextInput
label="table.field.locRevise.areaName"
- source="orgAreaName"
+ source="areaName"
parse={v => v}
+ readOnly
/>
</Stack>
</Grid>
--
Gitblit v1.9.1