1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!--pages/ispTicket/ispTicket.wxml-->
- <view class="tabBar shadow">
- <view bindtap="switchTab" data-index="{{0}}" class="tabItem {{tabIndex===0?'active':''}}">正常发票</view>
- <view bindtap="switchTab" data-index="{{1}}" class="tabItem {{tabIndex===1?'active':''}}">红冲发票</view>
- </view>
- <search bindsearch="search" top="{{88}}" placeholder="搜索企业名称"></search>
- <view class="pickerGroup">
- <picker bindchange="setStatus" value="{{statusIndex}}" range="{{statusList}}" class="picker shadow">
- <view class="inner">
- <text wx:if="{{statusIndex!==''}}" class="text">{{statusList[statusIndex]}}</text>
- <text wx:if="{{statusIndex===''}}" class="text">全部状态</text>
- <view wx:if="{{statusIndex!==''}}" catchtap="clearStatus" class="iconfont icon-fail"></view>
- </view>
- </picker>
- <picker bindchange="setType" value="{{typeIndex}}" range="{{typeList}}" class="picker shadow">
- <view class="inner">
- <text wx:if="{{typeIndex!==''}}" class="text">{{typeList[typeIndex]}}</text>
- <text wx:if="{{typeIndex===''}}" class="text">发票类型</text>
- <view wx:if="{{typeIndex!==''}}" catchtap="clearType" class="iconfont icon-fail"></view>
- </view>
- </picker>
- <picker bindchange="setTime" mode="date" class="picker shadow">
- <view class="inner">
- <text wx:if="{{time}}" class="text">{{time}}</text>
- <text wx:if="{{time===''}}" class="text">开票时间</text>
- <view wx:if="{{time!==''}}" catchtap="clearTime" class="iconfont icon-fail"></view>
- </view>
- </picker>
- </view>
- <view class="topPlaceholder"></view>
- <view class="ispTicket">
- <view bindtap="toDetail" data-index="{{index}}" wx:for="{{list}}" wx:key="invoiceId" class="ticketItem shadow">
- <view class="head">发票请求流水号:{{item.invoiceReqFlowNo}}</view>
- <view class="content">
- <view class="line">企业税号:{{item.belongEntTaxId}}</view>
- <view class="line">企业名:{{item.belongEntName}}</view>
- <view class="line">客户名:{{item.customerName}}</view>
- <view class="line">价税合计:{{item.totalAmountTaxes?'¥'+item.totalAmountTaxes:'¥0.00'}}</view>
- <view class="line">开票日期:{{item.invoiceDate}}</view>
- <view wx:if="{{item.status===2}}" class="line">开票状态:<text class="warning">待开票</text></view>
- <view wx:if="{{item.status===3}}" class="line">开票状态:<text class="black">已开票</text></view>
- <view wx:if="{{item.status===4}}" class="line">开票状态:<text class="blue">失败</text></view>
- </view>
- </view>
- </view>
- <loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
- <ipx-placeholder></ipx-placeholder>
|