From 85663335b4916c171c821cac58b842d973e40ae0 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Mon, 24 Nov 2025 15:53:42 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E8=AE=A1=E5=88=92=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A0=BC=E5=BC=8F(YYYY-MM-DD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2. 乘客信息增加 PNR --- public/locales/en/group.json | 4 ++-- src/views/reservation/Detail.jsx | 20 ++++++-------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/public/locales/en/group.json b/public/locales/en/group.json index d8fe3a4..2a19ed7 100644 --- a/public/locales/en/group.json +++ b/public/locales/en/group.json @@ -6,10 +6,10 @@ "Status": "Status", "City": "City", "Guide": "Guide", - "ResSendingDate": "Res. sending date", + "ResSendingDate": "Res. sending date(YYYY-MM-DD)", "3DGuideTip": "Reservations without the tour guide information will be highlighted in red if the arrival date is within 3 days.", "Attachments": "Attachments", - "ConfirmationDate": "Confirmation Date", + "ConfirmationDate": "Confirmation Date(YYYY-MM-DD)", "ConfirmationDetails": "Confirmation Details", "PNR": "PASSAGER NAME RECORD", diff --git a/src/views/reservation/Detail.jsx b/src/views/reservation/Detail.jsx index df1f780..c403292 100644 --- a/src/views/reservation/Detail.jsx +++ b/src/views/reservation/Detail.jsx @@ -73,54 +73,44 @@ function Detail() { const flightColumns = [ { - title: 'Date', + title: 'Date(YYYY-MM-DD)', dataIndex: 'FlightDate', - key: 'FlightDate', }, { title: 'Flight Number', dataIndex: 'FlightNo', - key: 'FlightNo', }, { title: 'Departure Airport', dataIndex: 'FromAirport', - key: 'FromAirport', }, { title: 'Terminal', dataIndex: 'FromTerminal', - key: 'FromTerminal', }, { title: 'Arrival Airport', dataIndex: 'ToAirport', - key: 'ToAirport', }, { title: 'Terminal', dataIndex: 'ToTerminal', - key: 'ToTerminal', }, { - title: 'Departure Time', + title: 'Departure Time(YYYY-MM-DD)', dataIndex: 'FlightDate', - key: 'FlightDate', }, { title: 'Arrival Time', dataIndex: 'FlightEnd', - key: 'FlightEnd', }, { title: 'Luggage Allowance', dataIndex: 'Baggage', - key: 'Baggage', }, { title: 'Tickets Number and Passports', dataIndex: 'destinations', - key: 'destinations', align: 'left', render: (_, flight) => { return () @@ -132,12 +122,14 @@ function Detail() { { title: 'Tickets Number', dataIndex: 'ticketNo', - key: 'ticketNo', + }, + { + title: 'PNR', + dataIndex: 'pnr', }, { title: 'Passengers', dataIndex: 'memo', - key: 'memo', }, ]