|
@@ -620,13 +620,13 @@ export default {
|
|
|
query.forEach(key => {
|
|
|
obj[key] = row[key]
|
|
|
})
|
|
|
- if (['Inbound_flight_number', 'Inbound_baggage_number'].includes(relation_data)) {
|
|
|
+ if (['Inbound_flight_number'].includes(relation_data)) {
|
|
|
obj.outAirport = obj.inbound_flights_departure_airport
|
|
|
obj.landAirport = obj.current_airport
|
|
|
delete obj.current_airport
|
|
|
delete obj.inbound_flights_departure_airport
|
|
|
}
|
|
|
- if (['departure_flights_number', 'departure_flights_transferred_bags_number'].includes(relation_data)) {
|
|
|
+ if (['departure_flights_number', 'departure_flights_transferred_bags_number', 'Inbound_baggage_number'].includes(relation_data)) {
|
|
|
obj.outAirport = obj.current_airport
|
|
|
obj.landAirport = obj.departure_flights_destination_airport
|
|
|
delete obj.current_airport
|