修改发票信息联调错误,修改充值记录按表计查询,我的新增发票抬头
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { getAlreadyInvoiceList } from "../../../../service/invoice"
|
||||
import { alertInfo } from "../../../../utils/index";
|
||||
import { alertInfo, loadingFunc } from "../../../../utils/index";
|
||||
import request from '../../../../utils/request'
|
||||
const { OK } = request;
|
||||
// pages/invoiceList/components/already/index.js
|
||||
@@ -43,8 +43,11 @@ Component({
|
||||
page: page + 1,
|
||||
})
|
||||
},
|
||||
onRefresh() {
|
||||
loadingFunc(() => this.getList())
|
||||
},
|
||||
scrollToLower() {
|
||||
this.getList();
|
||||
loadingFunc(() => this.getList())
|
||||
},
|
||||
jumpToDetail() {
|
||||
wx.navigateTo({
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-button": "@vant/weapp/button/index"
|
||||
"van-button": "@vant/weapp/button/index",
|
||||
"empty": "/components/empty/index"
|
||||
}
|
||||
}
|
@@ -1,7 +1,7 @@
|
||||
<!--pages/invoiceList/components/already/index.wxml-->
|
||||
|
||||
|
||||
<scroll-view scroll-y lower-threshold="100px" bindscrolltolower="scrollToLower" style="height: 80vh;" scroll-top="{{topHeight}}px" class="scrView">
|
||||
<scroll-view wx:if="{{list.length}}" scroll-y lower-threshold="100px" bindscrolltolower="scrollToLower" style="height: 80vh;" scroll-top="{{topHeight}}px" class="scrView">
|
||||
<view class="card" wx:for="{{list}}">
|
||||
<view class="left">
|
||||
<view class="title">
|
||||
@@ -28,4 +28,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 50rpx;"></view>
|
||||
</scroll-view>
|
||||
</scroll-view>
|
||||
<view wx:else>
|
||||
<empty text="暂无数据" bind:refresh="onRefresh" />
|
||||
</view>
|
Reference in New Issue
Block a user