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 = {