| | |
| | | </view> |
| | | </view> |
| | | <view class="item-date-bottom"> |
| | | <text>收入:¥{{(countDataList.totalIncome || 0).toFixed(2)}}</text> |
| | | <text>支出:¥{{(countDataList.totalExpense || 0).toFixed(2)}}</text> |
| | | <text>收入:¥{{((countDataList.totalIncome || 0) / 100).toFixed(2)}}</text> |
| | | <text>支出:¥{{((countDataList.totalExpense || 0) / 100).toFixed(2)}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="item-list"> |
| | |
| | | <view class="sear-item"> |
| | | <view class="sear-item-label">交易类型</view> |
| | | <view class="sear-item-list"> |
| | | <view @click="checkType(0)" :class="tempType == 0?'sear-item-list-item active':'sear-item-list-item'">全部</view> |
| | | <view @click="checkType(0)" :class="tpe == 0?'sear-item-list-item active':'sear-item-list-item'">全部</view> |
| | | <view @click="checkType(1)" :class="tempType == 1?'sear-item-list-item active':'sear-item-list-item'">订单结算</view> |
| | | <view @click="checkType(2)" :class="tempType == 2?'sear-item-list-item active':'sear-item-list-item'">提现</view> |
| | | <view @click="checkType(4)" :class="tempType == 4?'sear-item-list-item active':'sear-item-list-item'">提现退回</view> |
| | |
| | | this.countDataList={} |
| | | this.show = false |
| | | this.initDateStr() |
| | | uni.$on('accountListReload', this.getFirstPageData()) |
| | | uni.$on('accountListReload', ()=>{ |
| | | this.getFirstPageData() |
| | | }) |
| | | }, |
| | | methods:{ |
| | | bindChange1 (e) { |
| | |
| | | return |
| | | } |
| | | this.loading=true |
| | | if(this.currentPage == 1){ |
| | | this.hasNext = true |
| | | this.dataList=[] |
| | | } |
| | | this.$u.api.shopPage({ |
| | | capacity: 10, |
| | | model: { |
| | |
| | | page: this.currentPage |
| | | }).then(res => { |
| | | if (res.code == 200) { |
| | | if(res.data.page == 1){ |
| | | this.hasNext = true |
| | | this.dataList=[] |
| | | } |
| | | this.dataList.push(...res.data.records) |
| | | this.total = res.data.total |
| | | this.currentPage = this.currentPage+1 |
| | |
| | | |
| | | this.getShopStatistics() |
| | | this.getShopSummary() |
| | | this.getShopPage() |
| | | this.getFirstPageData() |
| | | }, |
| | | checkActive(index){ |
| | | this.tempActive =index |