cl
5 天以前 01ab61191b93956954b463ab4416fda6b5f960ee
rsf-admin/src/page/histories/asnOrderLog/AsnOrderLogListBase.jsx
@@ -23,6 +23,7 @@
import { Box } from '@mui/material';
import PageDrawer from "../../components/PageDrawer";
import AsnOrderLogCreate from "./AsnOrderLogCreate";
import AsnOrderLogCloudWmsResendButton from "./AsnOrderLogCloudWmsResendButton";
import { styled } from '@mui/material/styles';
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
@@ -33,10 +34,8 @@
}));
/**
 * 入库/出库历史单列表共用骨架,仅 type 与标题由外部传入。
 * 入库历史单:typeFilter="in", listTitle="menu.asnOrderLog"
 * 出库历史单:typeFilter="out", listTitle="menu.outStockOrderLog"
 * 后端接口均为 asnOrderLog(出库由 dataProvider 映射),参数 filter.type 不同。
 */
export default function AsnOrderLogListBase({ typeFilter, listTitle }) {
    const [createDialog, setCreateDialog] = useState(false);
@@ -100,8 +99,8 @@
                    <NumberField source="poId" label="table.field.asnOrderLog.poId" />
                    <TextField source="type$" label="table.field.asnOrderLog.type" />
                    <TextField source="wkType$" label="table.field.asnOrderLog.wkType" />
                    <NumberField source="anfme" label="table.field.asnOrderLog.anfme" />
                    <NumberField source="qty" label="table.field.asnOrderLog.qty" />
                    <NumberField source="anfme" label="table.field.asnOrderLog.anfme" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} />
                    <NumberField source="qty" label="table.field.asnOrderLog.qty" options={{ minimumFractionDigits: 2, maximumFractionDigits: 2 }} />
                    <TextField source="logisNo" label="table.field.asnOrderLog.logisNo" />
                    <DateField source="arrTime" label="table.field.asnOrderLog.arrTime" showTime />
                    <TextField source="rleStatus$" label="table.field.asnOrderLog.rleStatus" sortable={false} />
@@ -113,6 +112,7 @@
                    <TextField source="memo" label="common.field.memo" sortable={false} />
                    <WrapperField cellClassName="opt" label="common.field.opt">
                        <ShowButton label="toolbar.detail" />
                        <AsnOrderLogCloudWmsResendButton />
                    </WrapperField>
                </StyledDatagrid>
            </List>