20250923-zty-订单列表订单手机号搜索功能前端提交

This commit is contained in:
zhuotianyuan 2025-09-23 18:06:04 +08:00
parent 2b6e10187f
commit 0cc8d6e41a
2 changed files with 12 additions and 2 deletions

View File

@ -206,6 +206,10 @@ const ListPage: React.FC = () => {
title: '客户邮箱', title: '客户邮箱',
dataIndex: 'customer_email', dataIndex: 'customer_email',
}, },
{
title: '联系电话',
dataIndex: 'billing_phone',
},
{ {
title: '州', title: '州',
hideInSearch: true, hideInSearch: true,
@ -747,6 +751,7 @@ const Detail: React.FC<{
/> />
<ProDescriptions.Item label="金额" dataIndex="total" /> <ProDescriptions.Item label="金额" dataIndex="total" />
<ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" /> <ProDescriptions.Item label="客户邮箱" dataIndex="customer_email" />
<ProDescriptions.Item label="联系电话" dataIndex="billing_phone" />
<ProDescriptions.Item label="交易Id" dataIndex="transaction_id" /> <ProDescriptions.Item label="交易Id" dataIndex="transaction_id" />
<ProDescriptions.Item label="IP" dataIndex="customer_id_address" /> <ProDescriptions.Item label="IP" dataIndex="customer_id_address" />
<ProDescriptions.Item label="设备" dataIndex="device_type" /> <ProDescriptions.Item label="设备" dataIndex="device_type" />
@ -2058,6 +2063,7 @@ const CreateOrder: React.FC<{
{ {
...data, ...data,
customer_email: data?.billing?.email, customer_email: data?.billing?.email,
billing_phone: data?.billing?.phone,
}, },
); );
if (!success) throw new Error(errMsg); if (!success) throw new Error(errMsg);

View File

@ -235,6 +235,7 @@ declare namespace API {
total_tax?: number; total_tax?: number;
customer_id?: number; customer_id?: number;
customer_email?: string; customer_email?: string;
billing_phone?: string;
order_key?: string; order_key?: string;
billing?: OrderAddress; billing?: OrderAddress;
shipping?: OrderAddress; shipping?: OrderAddress;
@ -318,6 +319,7 @@ declare namespace API {
externalOrderId?: string; externalOrderId?: string;
siteId?: string; siteId?: string;
customer_email?: string; customer_email?: string;
billing_phone?: string;
keyword?: string; keyword?: string;
startDate?: string; startDate?: string;
endDate?: string; endDate?: string;
@ -331,7 +333,7 @@ declare namespace API {
| 'after_sale_pending' | 'after_sale_pending'
| 'pending_reshipment' | 'pending_reshipment'
| 'pending_refund'; | 'pending_refund';
paymentMethod?: string; payment_method?: string;
}; };
type ordercontrollerRefundorderParams = { type ordercontrollerRefundorderParams = {
@ -372,6 +374,7 @@ declare namespace API {
total_tax?: number; total_tax?: number;
customer_id?: number; customer_id?: number;
customer_email?: string; customer_email?: string;
billing_phone?: string;
order_key?: string; order_key?: string;
billing?: OrderAddress; billing?: OrderAddress;
shipping?: OrderAddress; shipping?: OrderAddress;
@ -841,6 +844,7 @@ declare namespace API {
externalOrderId?: string; externalOrderId?: string;
siteId?: string; siteId?: string;
customer_email?: string; customer_email?: string;
billing_phone?: string;
keyword?: string; keyword?: string;
startDate?: string; startDate?: string;
endDate?: string; endDate?: string;
@ -854,7 +858,7 @@ declare namespace API {
| 'after_sale_pending' | 'after_sale_pending'
| 'pending_reshipment' | 'pending_reshipment'
| 'pending_refund'; | 'pending_refund';
paymentMethod?: string; payment_method?: string;
}; };
type QueryOrderSalesDTO = { type QueryOrderSalesDTO = {