修改发票信息联调错误,修改充值记录按表计查询,我的新增发票抬头
This commit is contained in:
@@ -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;
|
||||
|
@@ -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"
|
||||
}
|
||||
}
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user