43 lines
3.0 KiB
Plaintext
43 lines
3.0 KiB
Plaintext
<view class="page-container">
|
|
<view class="search-box">
|
|
<view class="search-container">
|
|
<input class="search-input" value="{{keywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="搜索" />
|
|
<view wx:if="{{keywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
|
|
</view>
|
|
<view class="add-btn" bind:tap="openInvoiceInfo">开票信息</view>
|
|
</view>
|
|
<view class="content-container">
|
|
<container-loading loadingState="{{loadingState}}" style="height: 85vh;" bindrefresh="doRefreshList">
|
|
<scroll-view scroll-y="{{true}}" style="height: 85vh;padding-bottom: 40px;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'>
|
|
<view class="order-box">
|
|
<block wx:for="{{recordList}}" wx:key="index">
|
|
<view class="order-item">
|
|
<view class="record-title-box">
|
|
<view class="record-title-status {{tools.invoiceStatusColor(item.invoiceStatus)}}">{{tools.invoiceStatus(item.invoiceStatus)}}</view>
|
|
<view bind:tap="openDetail" data-value="{{item}}" class="record-title-name">{{item.invoiceName}}</view>
|
|
<view class="record-options">
|
|
<view wx:if="{{item.invoiceStatus=='-1' || item.invoiceStatus=='0'}}" class="options-btn green" bind:tap="doUpdate" data-value="{{item}}">修改</view>
|
|
<view wx:if="{{item.invoiceStatus=='1'}}" class="options-btn red" bind:tap="cancelRecord" data-value="{{item}}">取消</view>
|
|
</view>
|
|
</view>
|
|
<view bind:tap="openDetail" data-value="{{item}}" class="record-number mt-10">纳税人识别号: {{item.invoiceNumber}}</view>
|
|
<view bind:tap="openDetail" data-value="{{item}}" class="record-bottom-box mt-10">
|
|
<view class="record-time icon-time">{{item.gmtCreate}}</view>
|
|
<rich-text style="font-size: 40rpx;color: red;" nodes="{{tools.moneyTxt(10,item.invoiceRechargeMoney)}}"></rich-text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
|
<view wx:if="{{!hasMore}}" class="no-more">
|
|
<view class="no-more-dot"></view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</container-loading>
|
|
</view>
|
|
<view class="bottom-fixed-footer">
|
|
<view class="bottom-btn-green" bind:tap="openMake">去开票</view>
|
|
</view>
|
|
</view>
|
|
<mp-toptips msg="{{msgHint}}" type="{{msgType}}" show="{{msgShow}}" :delay="2000"></mp-toptips>
|
|
<wxs src="../../../../utils/comm.wxs" module="tools"></wxs> |