修改发票信息联调错误,修改充值记录按表计查询,我的新增发票抬头

This commit is contained in:
2024-04-26 09:20:44 +08:00
parent b7e831662e
commit cbe7db0ac1
22 changed files with 176 additions and 62 deletions

View File

@@ -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({

View File

@@ -1,6 +1,7 @@
{
"component": true,
"usingComponents": {
"van-button": "@vant/weapp/button/index"
"van-button": "@vant/weapp/button/index",
"empty": "/components/empty/index"
}
}

View File

@@ -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>