From 0cc8d6e41a6531e7a65b976d1c7133c9cda0c492 Mon Sep 17 00:00:00 2001 From: zhuotianyuan Date: Tue, 23 Sep 2025 18:06:04 +0800 Subject: [PATCH] =?UTF-8?q?20250923-zty-=E8=AE=A2=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=AE=A2=E5=8D=95=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD=E5=89=8D=E7=AB=AF=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Order/List/index.tsx | 6 ++++++ src/servers/api/typings.d.ts | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pages/Order/List/index.tsx b/src/pages/Order/List/index.tsx index c988515..92be3be 100644 --- a/src/pages/Order/List/index.tsx +++ b/src/pages/Order/List/index.tsx @@ -206,6 +206,10 @@ const ListPage: React.FC = () => { title: '客户邮箱', dataIndex: 'customer_email', }, + { + title: '联系电话', + dataIndex: 'billing_phone', + }, { title: '州', hideInSearch: true, @@ -747,6 +751,7 @@ const Detail: React.FC<{ /> + @@ -2058,6 +2063,7 @@ const CreateOrder: React.FC<{ { ...data, customer_email: data?.billing?.email, + billing_phone: data?.billing?.phone, }, ); if (!success) throw new Error(errMsg); diff --git a/src/servers/api/typings.d.ts b/src/servers/api/typings.d.ts index 57673d1..9a4f69a 100644 --- a/src/servers/api/typings.d.ts +++ b/src/servers/api/typings.d.ts @@ -235,6 +235,7 @@ declare namespace API { total_tax?: number; customer_id?: number; customer_email?: string; + billing_phone?: string; order_key?: string; billing?: OrderAddress; shipping?: OrderAddress; @@ -318,6 +319,7 @@ declare namespace API { externalOrderId?: string; siteId?: string; customer_email?: string; + billing_phone?: string; keyword?: string; startDate?: string; endDate?: string; @@ -331,7 +333,7 @@ declare namespace API { | 'after_sale_pending' | 'pending_reshipment' | 'pending_refund'; - paymentMethod?: string; + payment_method?: string; }; type ordercontrollerRefundorderParams = { @@ -372,6 +374,7 @@ declare namespace API { total_tax?: number; customer_id?: number; customer_email?: string; + billing_phone?: string; order_key?: string; billing?: OrderAddress; shipping?: OrderAddress; @@ -841,6 +844,7 @@ declare namespace API { externalOrderId?: string; siteId?: string; customer_email?: string; + billing_phone?: string; keyword?: string; startDate?: string; endDate?: string; @@ -854,7 +858,7 @@ declare namespace API { | 'after_sale_pending' | 'pending_reshipment' | 'pending_refund'; - paymentMethod?: string; + payment_method?: string; }; type QueryOrderSalesDTO = {