perf: 表格日期都加上格式

main
LiaoYijun 5 months ago
parent 85663335b4
commit adbf81242d

@ -6,10 +6,10 @@
"Status": "Status",
"City": "City",
"Guide": "Guide",
"ResSendingDate": "Res. sending date(YYYY-MM-DD)",
"ResSendingDate": "Res. sending date",
"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(YYYY-MM-DD)",
"ConfirmationDate": "Confirmation Date",
"ConfirmationDetails": "Confirmation Details",
"PNR": "PASSAGER NAME RECORD",

@ -40,7 +40,7 @@ function ReviewList() {
),
},
{
title: t("review.DatePosted"),
title: (<><div>{t('review.DatePosted')}</div><div>YYYY-MM-DD</div></>),
dataIndex: "datePosted",
width: "120px",
ellipsis: true,
@ -85,7 +85,7 @@ function ReviewList() {
},
},
{
title: t("review.ApprovalDate"),
title: (<><div>{t('review.ApprovalDate')}</div><div>YYYY-MM-DD</div></>),
dataIndex: "approvalDate",
width: "150px",
ellipsis: true,

@ -21,7 +21,7 @@ function Detail() {
dataIndex: 'PCI_Changetext',
},
{
title: t('group:ResSendingDate'),
title: (<><div>{t('group:ResSendingDate')}</div><div>YYYY-MM-DD</div></>),
dataIndex: 'PCI_SendDate',
},
{
@ -33,7 +33,7 @@ function Detail() {
render: attachmentRender
},
{
title: t('group:ConfirmationDate'),
title: (<><div>{t('group:ConfirmationDate')}</div><div>YYYY-MM-DD</div></>),
dataIndex: 'PCI_ConfirmDate',
},
{
@ -73,7 +73,7 @@ function Detail() {
const flightColumns = [
{
title: 'Date(YYYY-MM-DD)',
title: (<><div>Date</div><div>YYYY-MM-DD</div></>),
dataIndex: 'FlightDate',
},
{
@ -97,7 +97,7 @@ function Detail() {
dataIndex: 'ToTerminal',
},
{
title: 'Departure Time(YYYY-MM-DD)',
title: (<><div>Departure Time</div><div>YYYY-MM-DD</div></>),
dataIndex: 'FlightDate',
},
{
@ -107,6 +107,7 @@ function Detail() {
{
title: 'Luggage Allowance',
dataIndex: 'Baggage',
width: "100px",
},
{
title: 'Tickets Number and Passports',

@ -28,7 +28,7 @@ function Newest() {
},
},
{
title: t('group:ArrivalDate'),
title: (<><div>{t('group:ArrivalDate')}</div><div>YYYY-MM-DD</div></>),
dataIndex: 'arrivalDate',
render: (text) => (isEmpty(text) ? '' : dayjs(text).format('YYYY-MM-DD')),
},
@ -41,7 +41,7 @@ function Newest() {
dataIndex: 'status'
},
{
title: t('group:ResSendingDate'),
title: (<><div>{t('group:ResSendingDate')}</div><div>YYYY-MM-DD</div></>),
dataIndex: 'reservationDate',
render: (text) => (isEmpty(text) ? '' : dayjs(text).format('YYYY-MM-DD')),
},

Loading…
Cancel
Save