<div class="list-template">
  <div class="list-template__content">
    <div class="cont">
      <div>
        <span>本月出库总重量</span>
        <span>{{otherData.outWeight}}kg</span>
      </div>
      <div>
        <span>本月入库总重量</span>
        <span>{{otherData.intoWeight}}kg</span>
      </div>
    </div>
    <div class="list-template__bottom">
      <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
        [nzLoading]="loading1">
        <thead>
          <tr class="thead">
            <th nzWidth="20%">医废类型</th>
            <th nzWidth="20%">重量（KG）</th>
            <th nzWidth="20%">袋数</th>
            <th nzWidth="20%">上次出库时间</th>
            <th nzWidth="20%">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr *ngFor="let data of listOfData;let i = index">
            <td>{{ data.clinicalWasteType ? data.clinicalWasteType.typeName: '' }}</td>
            <td>{{ data.weight }}</td>
            <td>{{ data.bags }}</td>
            <td [ngClass]="{red: data.overTime}">{{ data.lastOutTime | date:"yyyy-MM-dd HH:mm:ss" }}</td>
            <td>
              <div class="coop">
                <span *ngIf="coopBtns.look" (click)="viewHistory(data)">查看</span>
              </div>
            </td>
          </tr>
        </tbody>
      </nz-table>
      <div class="list-template__pagination">
        <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize"
          (nzPageIndexChange)="getList(0)" (nzPageSizeChange)="getList(0)">
        </nz-pagination>
      </div>
    </div>
  </div>
</div>
<!-- 弹窗 -->
<app-medical-waste-history-prompt-modal
  *ngIf="historyPromptModalShow"
  [show]="historyPromptModalShow"
  [id]="id"
  (closeModelHs)="closeModelHistory($event)"
></app-medical-waste-history-prompt-modal>
