From b9449c3a8a72ae9da35da493d6fb09036b4d799e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E7=8F=91?= Date: Sat, 16 Aug 2025 11:36:51 +0800 Subject: [PATCH] Fix: Fix shipment fee error --- src/pages/Order/List/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/Order/List/index.tsx b/src/pages/Order/List/index.tsx index 8384001..c8c69f3 100644 --- a/src/pages/Order/List/index.tsx +++ b/src/pages/Order/List/index.tsx @@ -1759,8 +1759,7 @@ const Shipping: React.FC<{ loading={ratesLoading} onClick={async () => { try { - console.log('test', formRef.current?.getFieldsValue()); - const { customer_note, notes, items, details, ...data } = formRef.current?.getFieldsValue(); + const { customer_note, notes, items, details, externalOrderId, ...data } = formRef.current?.getFieldsValue(); const originEmail = details.origin.email_addresses; const destinationEmail = details.destination.email_addresses; details.origin.email_addresses = @@ -1777,7 +1776,6 @@ const Shipping: React.FC<{ ...data }, ); - console.log('res', res.data); if (!res?.success) throw new Error(res?.errMsg); const fee = res.data; setShipmentFee(fee);