<!--pages/order/invoicingRecord/index.wxml-->
<!-- 申请记录 -->
<view class="code">
  <!-- <view class="applicationRecord">
    <image class="left" src="https://images.weserv.nl/?url=https://lanhu.oss-cn-beijing.aliyuncs.com/psrkqu3l5bvfljlmvozc6jkcqq8bgdmkc395b8cbf-c191-45cf-abc5-695f044701ec"></image>
  </view> -->
  <text class="chooseCode">申请记录</text>
</view>
<!-- 选择开票项invoiceRecord -->
<view class="chooseTerm" wx:for="{{invoiceRecord}}" wx:key="index">
  <!-- 选择框信息说明 -->
  <view class="infomation" bindtap='invoDetail' data-status="{{item.status}}" data-id="{{item.id}}">
    <view class="position">提交金额<text class="price">{{item.price}}<text style="color:#423d3d">元</text> </text></view>
    <view class="explain">
      <text class="name">提交时间</text>
      <text class="name name2">{{item.crtTime}}</text>
      <!-- 待开票 -->
      <view wx:if="{{item.status==0}}" class='toBeInvoiced' data-status="{{item.status}}" data-id="{{item.id}}">待开票 ></view>
      <!-- 已开票 -->
      <view wx:if="{{item.status==1}}" class='toBeInvoiced invoiced' data-status="{{item.status}}" data-id="{{item.id}}">已开票 ></view>
      <!-- 已拒绝 -->
      <view wx:if="{{item.status==2}}" class='toBeInvoiced' data-status="{{item.status}}" data-id="{{item.id}}">已拒绝></view>
    </view>
  </view>
</view>