diff --git a/src/pages/Order/List/index.tsx b/src/pages/Order/List/index.tsx
index 57818b9..509d326 100644
--- a/src/pages/Order/List/index.tsx
+++ b/src/pages/Order/List/index.tsx
@@ -130,7 +130,7 @@ const ListPage: React.FC = () => {
label: '已申请退款',
},
{
-
+
key: 'refund_approved',
label: "已退款",
// label: '退款申请已通过',
@@ -174,7 +174,7 @@ const ListPage: React.FC = () => {
hideInTable: true,
valueType: 'dateRange',
},
-
+
{
title: '订阅',
dataIndex: 'isSubscription',
@@ -215,7 +215,7 @@ const ListPage: React.FC = () => {
dataIndex: 'keyword',
hideInTable: true,
},
- {
+ {
title: '订单ID',
dataIndex: 'externalOrderId',
},
@@ -253,7 +253,7 @@ const ListPage: React.FC = () => {
dataIndex: 'billing_phone',
render: (_, record) => record.shipping?.phone || record.billing?.phone,
},
- {
+ {
title: '换货次数',
dataIndex: 'exchange_frequency',
hideInSearch: true,
@@ -919,7 +919,7 @@ const Detail: React.FC<{
{record?.items?.map((item: any) => (
-
- {item.name}:{item.quantity}
+ {item.name}:{item.quantity}
))}
@@ -927,13 +927,13 @@ const Detail: React.FC<{
}}
/>
{/* 显示 related order */}
- {
- return ;
- }}
-/>
+ {
+ return ;
+ }}
+ />
{/* 订单内容 */}
([]);
const [ratesLoading, setRatesLoading] = useState(false);
const { message } = App.useApp();
-const [shipmentPlatforms, setShipmentPlatforms] = useState([
+ const [shipmentPlatforms, setShipmentPlatforms] = useState([
{ label: 'uniuni', value: 'uniuni' },
{ label: 'tms.freightwaves', value: 'freightwaves' },
- ]);
+ ]);
+ const [courierCompany, setCourierCompany] = useState([
+ { label: 'UNIUNI', value: 'UNIUNI' },
+ { label: 'PuroYYZ', value: 'PuroYYZ' },
+ { label: 'CPYYZ', value: 'CPYYZ' },
+ { label: 'UPSYYZ7000NEW', value: 'UPSYYZ7000NEW' },
+ ]);
return (
-
+
-
-
-
+
+
+
+
+
+
({
// label: item.name,
// value: item.sku,
// })) || [],
// );
- return { ...data};
+ return { ...data };
}}
onFinish={async (formData: any) => {
const { sales } = formData;
@@ -2064,14 +2080,14 @@ const SalesChange: React.FC<{
return true;
}}
>
-
{
try {
const { data } = await wpproductcontrollerSearchproducts({
@@ -2110,7 +2126,7 @@ const SalesChange: React.FC<{
precision: 0,
}}
/>
-
+
@@ -2120,7 +2136,7 @@ const SalesChange: React.FC<{
>
-
+
{