diff --git a/src/pages/Logistics/List/index.tsx b/src/pages/Logistics/List/index.tsx index 380d452..8a6adb0 100644 --- a/src/pages/Logistics/List/index.tsx +++ b/src/pages/Logistics/List/index.tsx @@ -15,6 +15,7 @@ import { } from '@ant-design/pro-components'; import { App, Button, Divider, Popconfirm } from 'antd'; import { useRef, useState } from 'react'; +import { sitecontrollerAll } from '@/servers/api/site'; const ListPage: React.FC = () => { const actionRef = useRef(); @@ -44,7 +45,15 @@ const ListPage: React.FC = () => { { title: '网站', dataIndex: 'siteId', + valueType: 'select', hideInSearch: true, + request: async () => { + const { data = [] } = await sitecontrollerAll(); + return data.map((item) => ({ + label: item.siteName, + value: item.id, + })); + }, }, { title: '订单号',