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

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,6 +1,6 @@
// pages/invoiceList/components/notyet/index.js
import { getInvoiceList } from '../../../../service/invoice';
import { alertInfo } from '../../../../utils/index';
import { alertInfo, loadingFunc } from '../../../../utils/index';
import request from '../../../../utils/request';
const { OK } = request;
@@ -40,6 +40,9 @@ Component({
// }
this.setData({ list: data, selectList: new Array(data?.length).map(() => false) })
},
onRefresh() {
loadingFunc(() => this.init())
},
onChange(e) {
const { id, index } = e.currentTarget.dataset;
// let newList = this.data.chooseList;

View File

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

View File

@@ -1,5 +1,6 @@
<view wx:if="{{list.length}}">
<van-checkbox-group value="{{ chooseList }}" bind:change="onChange" max="{{ 2 }}">
<van-checkbox-group value="{{ chooseList }}" bind:change="onChange" max="{{ 2 }}" >
<view class="cardWrapper" wx:for="{{list}}" wx:key="index">
<view class="content">
<view class="left">
@@ -29,5 +30,8 @@
<view class="allMoney"> ¥ {{selectMoney}} </view>
<van-button size="small" type="info" bind:click="next" disabled="{{!selectCount}}"> 下一步 </van-button>
</view>
</view>
<view wx:else>
<empty bind:refresh="onRefresh" />
</view>