From 95d6e7dd920452d71cdb07db627e1833bb801765 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Wed, 18 Jun 2025 15:35:24 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=AE=8C=E6=88=90=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrderProfile.jsx | 28 +++++++++------------------- src/config.js | 4 ++-- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/src/components/OrderProfile.jsx b/src/components/OrderProfile.jsx index 46835ec..5fe142a 100644 --- a/src/components/OrderProfile.jsx +++ b/src/components/OrderProfile.jsx @@ -83,22 +83,12 @@ const OrderProfile = ({ coliSN, ...props }) => { return customerDetail.name } + const getPlanStatus = () => { + return orderDetail.DidPlan === 0 ? '未做计划' : '已做计划' + } + return ( <> - {/* { - console.info(key) - }} - items={Array.from({ length: 3 }).map((_, i) => { - const id = String(i + 1) - return { - label: `Tab ${id}`, - key: id, - children: `Content of Tab ${id}`, - } - })} - /> */} @@ -111,7 +101,7 @@ const OrderProfile = ({ coliSN, ...props }) => { - Thailand + {orderDetail.MEI_Country} @@ -128,13 +118,13 @@ const OrderProfile = ({ coliSN, ...props }) => { - 2025-09-18 + {orderDetail.COLI_OrderStartDate} - + - 已做计划 + {getPlanStatus()} @@ -230,7 +220,7 @@ const OrderProfile = ({ coliSN, ...props }) => { */} - 泰国马来水灯节 + {orderDetail.COLI_Introduction} setOpenOrderCommnet(false)} open={openOrderCommnet}>