飞机-航空公司、机型数据转换处理

This commit is contained in:
714943302@qq.com
2018-11-27 09:50:07 +08:00
parent 9659a338de
commit 63f995b7d7
2 changed files with 30 additions and 6 deletions
@@ -38,18 +38,13 @@
<select class="form-control" [(ngModel)]="filterItems.airlineCode" (ngModelChange)="selectChange()" id="airlineCompany">
<option value=""></option>
<option *ngFor="let item of airlines" [value]="item.airlineName">{{item.airlineName}}</option>
<!-- <option value="GH">海南航空公司</option>
<option value="CH">国外航空公司</option> -->
</select>
</div>
<div class="input-container mr-4">
<label for="aircraftTypeCode">机型:&nbsp;&nbsp;</label>
<select class="form-control" [(ngModel)]="filterItems.aircraftTypeCode" (ngModelChange)="selectChange()" id="jx">
<option value=""></option>
<option *ngFor="let item of aircrafts" [value]="item.aircraftTypeCode">{{item.aircraftTypeCode}}</option>
<!-- <option value="A">A306</option>
<option value="B">B252</option>
<option value="C">C256</option> -->
<option *ngFor="let item of aircraftTypes" [value]="item.aircraftTypeName">{{item.aircraftTypeName}}</option>
</select>
</div>
</div>