修改电量查询分页内容,兼容开票时用户未填写发票信息的问题
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<view class="timeText" wx:else> {{year}} </view>
|
||||
<van-icon name="arrow-down" />
|
||||
</view>
|
||||
<van-button type="info" size="small" bind:click="export"> 导出 </van-button>
|
||||
<!-- <van-button type="info" size="small" bind:click="export"> 导出 </van-button> -->
|
||||
</view>
|
||||
</view>
|
||||
<view wx:elif="{{queryType === 1}}">
|
||||
@@ -72,7 +72,12 @@
|
||||
<view style="margin: 30rpx;">
|
||||
<view wx:if="{{list.length}}">
|
||||
<table header="{{header}}" list="{{list}}" />
|
||||
<pagination currentIndex="{{page}}" totalPage="{{totalPage}}" bind:pagingChange="onChangePage" />
|
||||
<pagination
|
||||
currentIndex="{{page}}"
|
||||
totalPage="{{totalPage}}"
|
||||
bind:pagingChange="onChangePage"
|
||||
wx:if="{{timeType === 0}}"
|
||||
/>
|
||||
</view>
|
||||
<empty bind:refresh="init" wx:else />
|
||||
</view>
|
||||
@@ -112,7 +117,7 @@
|
||||
canvas-id="mychart-bar"
|
||||
ec="{{ ec }}"
|
||||
forceUseOldCanvas="{{false}}"
|
||||
wx:if="{{list.length}}"
|
||||
wx:if="{{list.length && queryType === 0}}"
|
||||
>
|
||||
</echarts>
|
||||
<custom-picker
|
||||
|
Reference in New Issue
Block a user