From ce12e55adc7150aa7020e7d90686c0ef83714f40 Mon Sep 17 00:00:00 2001 From: tikkhun Date: Mon, 5 Jan 2026 22:39:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8):?= =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=E7=89=A9=E6=B5=81=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=97=E6=AE=B5=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 shipmentList 字段改为 fulfillments 以匹配后端数据 调整物流信息显示样式,移除状态显示并优化布局 --- src/pages/Order/List/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Order/List/index.tsx b/src/pages/Order/List/index.tsx index 79e11ae..a0b0818 100644 --- a/src/pages/Order/List/index.tsx +++ b/src/pages/Order/List/index.tsx @@ -267,17 +267,17 @@ const ListPage: React.FC = () => { }, { title: '物流', - dataIndex: 'shipmentList', + dataIndex: 'fulfillments', hideInSearch: true, render: (_, record) => { return (
- {(record as any)?.shipmentList?.map((item: any) => { + {(record as any)?.fulfillments?.map((item: any) => { if (!item) return; return ( -
- {item.tracking_provider}:{item.primary_tracking_number} ( - {formatShipmentState(item.state)}) +
+ {item.tracking_provider} + {item.tracking_number}
); })}