fix:拼单明细界面增加宽度,保证操作能显示全部的按钮

This commit is contained in:
2026-10-25 14:46:28 +08:00
parent d787d3c364
commit 027cfc95b1
@@ -3124,7 +3124,7 @@ export default function WorkOrdersPanel() {
sharingOrder?.capabilities?.canConfigureSharing && canConfigureSharing ? undefined : null sharingOrder?.capabilities?.canConfigureSharing && canConfigureSharing ? undefined : null
} }
destroyOnHidden destroyOnHidden
width={1200} width={1360}
> >
{sharingOrder ? ( {sharingOrder ? (
<Space direction="vertical" size={16} className="full-width"> <Space direction="vertical" size={16} className="full-width">
@@ -3249,7 +3249,7 @@ export default function WorkOrdersPanel() {
loading={sharingQuery.isFetching} loading={sharingQuery.isFetching}
pagination={false} pagination={false}
tableLayout="fixed" tableLayout="fixed"
scroll={{ x: 1794 }} scroll={{ x: 1914 }}
rowClassName={(share) => rowClassName={(share) =>
share.problemMarked share.problemMarked
? 'admin-share-row-problem' ? 'admin-share-row-problem'
@@ -3417,7 +3417,7 @@ export default function WorkOrdersPanel() {
}, },
{ {
title: '操作', title: '操作',
width: 300, width: 420,
fixed: 'right', fixed: 'right',
render: (_, share) => { render: (_, share) => {
if (share.status === 'cancelled') return <Tag>已撤单</Tag> if (share.status === 'cancelled') return <Tag>已撤单</Tag>