3
0
Fork 0

feat(bonus): 奖金明细60天内数据

This commit is contained in:
woody 2025-07-14 15:46:47 +08:00
parent 441d84a00d
commit b58166d6e5
1 changed files with 4 additions and 5 deletions

View File

@ -1,13 +1,12 @@
<template> <template>
<view class="bonus-detail-page"> <view class="bonus-detail-page">
<view class="header-section"> <view class="header-section">
<!-- 今日实发合计 --> <!-- <view class="summary-bar">
<view class="summary-bar">
<text class="summary-text" <text class="summary-text"
>今日实发合计: >今日实发合计:
<text class="summary-amount">{{ realIncomeTotal }}</text></text <text class="summary-amount">{{ realIncomeTotal }}</text></text
> >
</view> </view> -->
<!-- 日期筛选 --> <!-- 日期筛选 -->
<view class="date-filter"> <view class="date-filter">
@ -119,14 +118,14 @@ export default {
onLoad() { onLoad() {
this.setDefaultDateRange() this.setDefaultDateRange()
this.handleSearch() this.handleSearch()
this.getBonusTotal() // this.getBonusTotal()
}, },
methods: { methods: {
setDefaultDateRange() { setDefaultDateRange() {
const end = new Date() const end = new Date()
const start = new Date() const start = new Date()
end.setDate(end.getDate() - 1) end.setDate(end.getDate() - 1)
start.setDate(end.getDate() - 15) // 15 start.setDate(end.getDate() - 60) // 15
this.startDate = this.formatDate(start) this.startDate = this.formatDate(start)
this.endDate = this.formatDate(end) this.endDate = this.formatDate(end)