Browse Source

운항 스케줄 유효성검사 추가

ctrlDraw
kimjh(김장현) 2 years ago
parent
commit
2ec149a740
  1. 8
      src/components/basis/flight/schedule/FlightScheduleGrid.js

8
src/components/basis/flight/schedule/FlightScheduleGrid.js

@ -132,9 +132,11 @@ function FlightScheduleGrid() {
when: row => {
if (row.statusCd !== 'S') {
// 현재시간
const currTime = timeRef.current.lastChild.data
.replace(/\:/g, '')
.substring(0, 4);
const currTime =
timeRef?.current?.lastChild?.data
.replace(/\:/g, '')
.substring(0, 4) || '';
// 현재날짜
const currDay = Number(moment().format('YYYYMMDD'));

Loading…
Cancel
Save