Browse Source

재 수정

master
sanguu516 4 months ago
parent
commit
ce0d8922db
  1. 20
      src/components/flight/FlightApprovalsTable.js

20
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)}
// <br />
// {row.applyNo.slice(5)}
// </>
<>
24060
<br /> 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)}
<br />
{dayjs(row.applyDt).format('YYYY-MM-DD').slice(5)}
</>
);
}
},
{

Loading…
Cancel
Save