<ngx-loading [show]="loading" [config]="{fullScreenBackdrop: true}"></ngx-loading>
<div class="container">
  <div class="row">
    <div class="content-block">
      <h2 class="title">檢視廠商資料</h2>
      <table class="verticalTable">
        <tbody>
          <tr>
            <th>
              廠商代碼
            </th>
            <td>
              {{selectedItem.companyCode}}
            </td>
          </tr>
          <tr>
            <th>
              廠商名稱
            </th>
            <td>
              {{selectedItem.companyName}}
            </td>
          </tr>
          <tr>
            <th>
              廠商Email
            </th>
            <td>
              {{selectedItem.email}}
            </td>
          </tr>
        </tbody>
      </table>
      <div class="btn-footer">
        <button type="submit" class="btn btn-block btn-danger" (click)="backPreviousPage()">
          回上一頁
        </button>
      </div>
    </div>
  </div>
</div>
