From 8822f0ab42c6e52725a3ef61e7d6edadbd178cc1 Mon Sep 17 00:00:00 2001 From: yml Date: Tue, 24 Nov 2026 22:02:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(fulfillment):=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=B0=E8=A1=A8=E5=A4=B4/=E5=86=85=E5=AE=B9=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E8=AE=A2=E5=8D=95=E5=8F=B0=E8=B4=A6=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E9=9C=80=E7=BB=91=E5=AE=9A=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 表头和单元格统一居中 - 同步按钮改名“同步到订单台账” - 行同步仅在绑定状态 bound 后可用,批量同步要求全选任务均已绑定 --- .../src/pages/PlatformFulfillmentPage.tsx | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/web/frontend/src/pages/PlatformFulfillmentPage.tsx b/web/frontend/src/pages/PlatformFulfillmentPage.tsx index 7577432..e3650ae 100644 --- a/web/frontend/src/pages/PlatformFulfillmentPage.tsx +++ b/web/frontend/src/pages/PlatformFulfillmentPage.tsx @@ -347,7 +347,7 @@ function eventDescription(event: { eventType: string; detail: Record item.action === 'created' || item.action === 'updated')?.orderNo || ''; - const summary = `外部协作同步完成:新增 ${result.created},更新 ${result.updated}${ + const summary = `订单台账同步完成:新增 ${result.created},更新 ${result.updated}${ taskIds.length === 1 && syncedOrderNo ? `,订单 ${syncedOrderNo}` : '' }`; if (result.failed || result.skipped) { @@ -1417,7 +1417,7 @@ export default function PlatformFulfillmentPage() { ), }, { - title: '外部协作', + title: '订单台账', key: 'collab', width: 150, render: (_, task) => @@ -1468,12 +1468,13 @@ export default function PlatformFulfillmentPage() { loading={rowCollabSyncingId === task.id} disabled={ !can('platform_fulfillment:use') || + task.bindingStatus !== 'bound' || collabSyncing || (rowCollabSyncingId !== null && rowCollabSyncingId !== task.id) } onClick={() => void performCollabSync([task.id], task.id)} > - 同步外部单协作 + 同步到订单台账 {task.executionStatus === 'pending_mapping' ? (