<!--pages/invoiceDetailContent/index.wxml-->
<navigator title="发票明细" canBack="{{true}}" />
<view class="wrapper">
  <van-field
    value="{{detail.tenement.name}}"
    label="开票名称 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.approveTime}}"
    label="申请时间 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.finishTime}}"
    label="开票时间 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.number}}"
    label="发票编号 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.money}}"
    label="开票金额 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.invoice.content}}"
    label="开票内容 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    value="{{detail.invoice.type === 0 ? '普通发票' : '增值税专用发票'}}"
    label="发票类型 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <van-field
    label="电费情况 :"
    readonly
    autosize="{{true}}"
    type="textarea"
    border="{{false}}"
    title-width="160rpx"
  />
  <table header="{{header}}" list="{{detail.list}}" />
  <view style="padding-top: 40rpx;padding-bottom: 40rpx;display: flex; justify-content: center;">
    <van-button type="info" bind:click="jumpToInvoiceDetail">发票</van-button>
  </view>
</view>
<view style="height: 50rpx;"></view>