
<ion-header>

  <ion-navbar>
    <ion-title>选择批次</ion-title>
    <ion-buttons start>
      <button ion-button (click)="cancel()">
        <span ion-text class="color-fff" >取消</span>
      </button>
    </ion-buttons>
    <ion-buttons end>
      <button ion-button (click)="dismiss()">
        <span ion-text class="color-fff" >确定</span>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>


<ion-content padding>
  <p>
    <ng-container *ngIf="blockList.length > 0">
      (最多可报
      <span *ngIf="applyCount == 0 || !applyCount">{{ blockList.length}}</span>
      <span *ngIf="applyCount != 0">{{applyCount}}</span>
      个批次)
    </ng-container>
  </p>
  <ion-list >
    <ion-item *ngFor="let item of blockList;let i = index;"  >
      <ion-label>{{item.batchName}}</ion-label>
      <ion-checkbox  [(ngModel)]="item.check" ></ion-checkbox>
    </ion-item>
  </ion-list>
</ion-content>
