From ce0d8922db39bb493f78678ae40c3fc22ce0ee9f Mon Sep 17 00:00:00 2001 From: sanguu516 Date: Wed, 5 Jun 2024 18:10:48 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/flight/FlightApprovalsTable.js | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/flight/FlightApprovalsTable.js b/src/components/flight/FlightApprovalsTable.js index 79861434..b591d205 100644 --- a/src/components/flight/FlightApprovalsTable.js +++ b/src/components/flight/FlightApprovalsTable.js @@ -241,14 +241,30 @@ export default function FlightApprovalsTable(props) { selector: row => row.applyNo, center: true, cell: row => { - return '240503-0001'; + return ( + // <> + // {row.applyNo.slice(0, 5)} + //
+ // {row.applyNo.slice(5)} + // + <> + 24060 +
5-0542 + + ); } }, { selector: row => row.applyDt, center: true, cell: row => { - return dayjs(row.applyDt).format('YYYY-MM-DD'); + return ( + <> + {dayjs(row.applyDt).format('YYYY-MM-DD').slice(0, 5)} +
+ {dayjs(row.applyDt).format('YYYY-MM-DD').slice(5)} + + ); } }, {