添加航班日期列
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import timeFormatter from './time-formatter';
|
||||
import dateWithNotimeFormatter from './date-with-notime-formatter';
|
||||
export class TransferRenderHandle {
|
||||
|
||||
public gctmFormatter(flight) {
|
||||
if (flight['GTDT']) {
|
||||
if (Array.isArray(flight['GTDT']) && flight['GTDT'].length > 0) {
|
||||
@@ -271,4 +271,11 @@ export class TransferRenderHandle {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
public fldtFormatter(flight){
|
||||
if (flight['SODT']) {
|
||||
return dateWithNotimeFormatter(flight['SODT']);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user