From 82e0df6d4333f2fade4b3da7dee3074211520139 Mon Sep 17 00:00:00 2001 From: zhuotianyuan Date: Wed, 21 Jan 2026 16:12:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E8=B4=A7=E5=B9=B3=E5=8F=B0=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在发货弹窗中新增发货平台选择字段,默认值为uniuni,并添加必填校验规则 --- src/pages/Order/List/index.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/pages/Order/List/index.tsx b/src/pages/Order/List/index.tsx index 106fa22..60fbceb 100644 --- a/src/pages/Order/List/index.tsx +++ b/src/pages/Order/List/index.tsx @@ -83,6 +83,7 @@ import Item from 'antd/es/list/Item'; import RelatedOrders from '../../Subscription/Orders/RelatedOrders'; import React, { useMemo, useRef, useState } from 'react'; import { printPDF } from '@/utils/util'; +import dayjs from 'dayjs'; const ListPage: React.FC = () => { const actionRef = useRef(); @@ -1196,7 +1197,10 @@ const Shipping: React.FC<{ const [rates, setRates] = useState([]); const [ratesLoading, setRatesLoading] = useState(false); const { message } = App.useApp(); - +const [shipmentPlatforms, setShipmentPlatforms] = useState([ + { label: 'uniuni', value: 'uniuni' }, + { label: 'tms.freightwaves', value: 'freightwaves' }, + ]); return ( + + + + + +