ispTicket.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!--pages/ispTicket/ispTicket.wxml-->
  2. <view class="tabBar shadow">
  3. <view bindtap="switchTab" data-index="{{0}}" class="tabItem {{tabIndex===0?'active':''}}">正常发票</view>
  4. <view bindtap="switchTab" data-index="{{1}}" class="tabItem {{tabIndex===1?'active':''}}">红冲发票</view>
  5. </view>
  6. <search bindsearch="search" top="{{88}}" placeholder="搜索企业名称"></search>
  7. <view class="pickerGroup">
  8. <picker bindchange="setStatus" value="{{statusIndex}}" range="{{statusList}}" class="picker shadow">
  9. <view class="inner">
  10. <text wx:if="{{statusIndex!==''}}" class="text">{{statusList[statusIndex]}}</text>
  11. <text wx:if="{{statusIndex===''}}" class="text">全部状态</text>
  12. <view wx:if="{{statusIndex!==''}}" catchtap="clearStatus" class="iconfont icon-fail"></view>
  13. </view>
  14. </picker>
  15. <picker bindchange="setType" value="{{typeIndex}}" range="{{typeList}}" class="picker shadow">
  16. <view class="inner">
  17. <text wx:if="{{typeIndex!==''}}" class="text">{{typeList[typeIndex]}}</text>
  18. <text wx:if="{{typeIndex===''}}" class="text">发票类型</text>
  19. <view wx:if="{{typeIndex!==''}}" catchtap="clearType" class="iconfont icon-fail"></view>
  20. </view>
  21. </picker>
  22. <picker bindchange="setTime" mode="date" class="picker shadow">
  23. <view class="inner">
  24. <text wx:if="{{time}}" class="text">{{time}}</text>
  25. <text wx:if="{{time===''}}" class="text">开票时间</text>
  26. <view wx:if="{{time!==''}}" catchtap="clearTime" class="iconfont icon-fail"></view>
  27. </view>
  28. </picker>
  29. </view>
  30. <view class="topPlaceholder"></view>
  31. <view class="ispTicket">
  32. <view bindtap="toDetail" data-index="{{index}}" wx:for="{{list}}" wx:key="invoiceId" class="ticketItem shadow">
  33. <view class="head">发票请求流水号:{{item.invoiceReqFlowNo}}</view>
  34. <view class="content">
  35. <view class="line">企业税号:{{item.belongEntTaxId}}</view>
  36. <view class="line">企业名:{{item.belongEntName}}</view>
  37. <view class="line">客户名:{{item.customerName}}</view>
  38. <view class="line">价税合计:{{item.totalAmountTaxes?'¥'+item.totalAmountTaxes:'¥0.00'}}</view>
  39. <view class="line">开票日期:{{item.invoiceDate}}</view>
  40. <view wx:if="{{item.status===2}}" class="line">开票状态:<text class="warning">待开票</text></view>
  41. <view wx:if="{{item.status===3}}" class="line">开票状态:<text class="black">已开票</text></view>
  42. <view wx:if="{{item.status===4}}" class="line">开票状态:<text class="blue">失败</text></view>
  43. </view>
  44. </view>
  45. </view>
  46. <loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
  47. <ipx-placeholder></ipx-placeholder>