From c46d1d8c3b9875f051a6ec3c4a1d3fa7bd32e5db Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 15 五月 2025 17:15:21 +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