From 2cc36e065b0c662bf170a858aa49a0c70be1d10e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E7=8F=91?= Date: Wed, 13 Aug 2025 18:07:58 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E6=98=BE=E7=A4=BA=E7=BD=91=E7=AB=99=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Logistics/List/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) 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: '订单号', -- 2.40.1