From 5c372e346df385e4ca4600e0bd3c3f2e143ead7e Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 28 七月 2025 15:55:34 +0800 Subject: [PATCH] 调拔单功能优化 --- rsf-admin/src/page/orders/transfer/TransferList.jsx | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/rsf-admin/src/page/orders/transfer/TransferList.jsx b/rsf-admin/src/page/orders/transfer/TransferList.jsx index 3e6b4fa..8bce57d 100644 --- a/rsf-admin/src/page/orders/transfer/TransferList.jsx +++ b/rsf-admin/src/page/orders/transfer/TransferList.jsx @@ -32,12 +32,11 @@ AutocompleteInput, DeleteButton, } from 'react-admin'; -import { Box, Typography, Card, Stack } from '@mui/material'; import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting.js'; - import MyCreateButton from "../../components/MyCreateButton.jsx"; import MyExportButton from '../../components/MyExportButton.jsx'; import PageEditDrawer from "../../components/PageEditDrawer"; +import { Box, Typography, Card, Stack } from '@mui/material'; import PageDrawer from "../../components/PageDrawer.jsx"; import EmptyData from "../../components/EmptyData.jsx"; import MyField from "../../components/MyField.jsx"; @@ -138,13 +137,12 @@ rowClick={(id, resource, record) => false} expand={() => <TransferPanel />} expandSingle={true} - omit={['id', 'createTime', 'createBy$', 'memo']} + omit={['id', 'createTime', 'createBy$', 'memo', 'orgWareId', 'tarWareId', 'orgAreaId', 'tarAreaId']} > <NumberField source="id" /> <TextField source="code" label="table.field.transfer.code" /> - <NumberField source="type" label="table.field.transfer.type" /> + <NumberField source="type$" label="table.field.transfer.type" /> <TextField source="source$" label="table.field.transfer.source" sortable={false} /> - <TextField source="exceStatus$" label="table.field.transfer.exceStatus" sortable={false} /> <NumberField source="orgWareId" label="table.field.transfer.orgWareId" /> <TextField source="orgWareName" label="table.field.transfer.orgWareName" /> <NumberField source="tarWareId" label="table.field.transfer.tarWareId" /> @@ -153,11 +151,11 @@ <TextField source="orgAreaName" label="table.field.transfer.orgAreaName" /> <NumberField source="tarAreaId" label="table.field.transfer.tarAreaId" /> <TextField source="tarAreaName" label="table.field.transfer.tarAreaName" /> + <TextField source="exceStatus$" label="table.field.transfer.exceStatus" sortable={false} /> <TextField source="updateBy$" label="common.field.updateBy" /> <DateField source="updateTime" label="common.field.updateTime" showTime /> <TextField source="createBy$" label="common.field.createBy" /> <DateField source="createTime" label="common.field.createTime" showTime /> - <BooleanField source="statusBool" label="common.field.status" sortable={false} /> <TextField source="memo" label="common.field.memo" sortable={false} /> <WrapperField cellClassName="opt" label="common.field.opt"> <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} /> @@ -170,7 +168,7 @@ drawerVal={createDialog} setDrawerVal={setCreateDialog} > - <ManualCreate /> + <ManualCreate setOpen={setCreateDialog} /> </PageEditDrawer> </Box> ) -- Gitblit v1.9.1