<!--
 * @Author: your name
 * @Date: 2021-12-03 11:10:14
 * @LastEditTime: 2021-12-28 17:24:48
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\supply-management\components\qrcode-page\qrcode-page.component.html
-->
<nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
<div style="width: 50%;margin: 0 auto;">
  <div class="">
    <h2>公司名称 : {{i?.enterpriseInfoName}}</h2>
    <qr [value]="i.id" #qr></qr>
    <div class="mb-sm" *ngFor="let address of i?.loadingAddressArr">卸货地 : {{address}}</div>
    <div class="mb-sm" *ngFor="let address of i?.unloadingAddressArr">装货地 : {{address}}</div>
    <div class="mb-sm">截止时间 : {{i?.deadlineTime}}</div>
    <div>Tips : 二维码用于司机扫码抢单</div>
  </div>

</div>
<div class="modal-footer text-center">
  <button nz-button type="submit" nzType="primary" (click)="downLoadQrcode('二维码')">下载二维码</button>
</div>
