washing-batch.component.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <div class="list-template">
  2. <div class="list-template__content">
  3. <div class="list-template__top" nz-row>
  4. <div nz-col nzXl='18' class="list-template__searchBox"></div>
  5. <div nz-col nzLg="6" class="list-template__btns"></div>
  6. </div>
  7. <div class="list-template__bottom">
  8. <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
  9. [nzLoading]="loading1">
  10. <thead>
  11. <tr class="thead">
  12. <th nzWidth="5%">序号</th>
  13. <th nzWidth="13%">批次号</th>
  14. <th nzWidth="13%">生成时间</th>
  15. <th nzWidth="13%">科室数量</th>
  16. <th nzWidth="13%">被服数量</th>
  17. <th nzWidth="13%">总费用</th>
  18. <th nzWidth="13%">状态</th>
  19. <th nzWidth="17%">操作</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr *ngFor="let data of listOfData;let index = index">
  24. <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
  25. <td>{{data.batchCode || ''}}</td>
  26. <td>{{data.createTime | date: 'yyyy-MM-dd HH:mm' }}</td>
  27. <td>{{data.deptNum || ''}}</td>
  28. <td>{{data.clothesNum || ''}}</td>
  29. <td>{{data.totalPrice || ''}}</td>
  30. <td>{{data.batchState?.name}}</td>
  31. <td>
  32. <div class="coop">
  33. <span *ngIf="coopBtns.view" (click)="openRecallModal(data)">查看视图</span>
  34. <span *ngIf="coopBtns.recount" (click)="showDelModal(data,'您需要重新统计本批次的数据吗?','','recount')">重新统计</span>
  35. </div>
  36. </td>
  37. </tr>
  38. </tbody>
  39. </nz-table>
  40. <div class="list-template__pagination">
  41. <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize"
  42. (nzPageIndexChange)="getList(0)" (nzPageSizeChange)="getList(0)">
  43. </nz-pagination>
  44. </div>
  45. </div>
  46. </div>
  47. <!-- 删除模态框 -->
  48. <app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
  49. (confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
  50. </div>
  51. <!-- 操作成功/失败提示框 -->
  52. <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  53. [info]="promptInfo">
  54. </app-prompt-modal>
  55. <!-- 撤回工单 -->
  56. <div class="recallOrder display_flex justify-content_flex-center align-items_center" *ngIf="recallOrderShow">
  57. <div class="modalBody">
  58. <div class="title">提示<i class="icon_transport transport-guanbi" (click)="closeRecallOrderModal()"></i></div>
  59. <div class="content">
  60. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  61. <div class="defeat">是否回收完毕,可将本批次设置为“洗涤中”?</div>
  62. </div>
  63. <div class="btns display_flex justify-content_flex-center align-items_center">
  64. <button class="btn" nz-button nzType="primary" [nzLoading]='recLoading' (click)="recAndDel()">立即查看</button>
  65. <button class="btn" style="width: 120px;" nz-button nzType="primary" [nzLoading]='btnLoading' (click)="confirmRec()">设置为洗涤中</button>
  66. <button class="btn cancel" nz-button nzType="default" (click)="closeRecallOrderModal()">取消</button>
  67. </div>
  68. </div>
  69. </div>