航班返航及撤销返航消息处理
This commit is contained in:
@@ -65,7 +65,7 @@ export class RelatedTabComponent implements OnInit {
|
||||
this.predelay['STRT'] = new Date(dateFormatter(this.predelay['STRT'])).getTime();
|
||||
this.predelay['DURA'] = parseInt(this.predelay['DURA'].substr(0, 2)) * 3600000 + parseInt(this.predelay['DURA'].substr(2, 3)) * 60000 + this.predelay['STRT']
|
||||
}
|
||||
if (cancleIndex > -1) {
|
||||
if (cancleIndex > -1) {
|
||||
this.precancle = this.lines.preFlight['ABN'][cancleIndex].BODY;
|
||||
this.precancle = new Date(dateFormatter(this.precancle)).getTime();
|
||||
}
|
||||
@@ -77,7 +77,10 @@ export class RelatedTabComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
if (fretIndex > -1) {
|
||||
this.prefret = this.lines.preFlight['ABN'][fretIndex].BODY;
|
||||
let fret = this.lines.preFlight['ABN'][fretIndex].BODY;
|
||||
if (fret.VALUE && fret.REID) {
|
||||
this.prefret = fret;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.lines.reaFlight && this.lines.reaFlight['ABN'] && this.lines.reaFlight['ABN'].length > 0) {
|
||||
@@ -104,7 +107,10 @@ export class RelatedTabComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
if (fretIndex > -1) {
|
||||
this.reafret = this.lines.reaFlight['ABN'][fretIndex].BODY;
|
||||
let fret = this.lines.reaFlight['ABN'][fretIndex].BODY;
|
||||
if (fret.VALUE && fret.REID) {
|
||||
this.reafret = fret;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user