feat(bouns): 奖金明细字段调整

This commit is contained in:
woody 2025-09-28 13:41:46 +08:00
parent 84d7c728c6
commit 28547d18d6
1 changed files with 5 additions and 11 deletions

View File

@ -63,7 +63,7 @@
<view class="card-footer">
<text class="subtotal-label">小计(¥)</text>
<text class="subtotal-value">{{
dailyBonus.retailRealSubtotal
dailyBonus.retailRealSubtotal || '0.00'
}}</text>
</view>
</view>
@ -112,15 +112,9 @@ export default {
loading: false,
hasMore: true,
BONUS_FIELD_MAP: {
retailRangeIncome: '直推收益',
retailSameLevelIncome: '平级收益',
retailAreaIncome: '区域收益',
retailBenefitRangeIncome: '福利级差收益',
repurRangeIncome: '复购级差收益',
retailMonthRepurchaseIncome: '月复购级差收益',
coachIncome: '培育津贴',
retailBenefitIncomeTotal: '福利分红收益',
backPoints: '重消收益',
directIncome: '直推收益',
storeIncome: '阶段收益',
globalPoints: '见点收益',
},
}
},
@ -184,7 +178,7 @@ export default {
},
getBonusTotal() {
queryBonusTotal().then(res => {
this.realIncomeTotal = res.rows[0]?.realIncomeTotal || '0.00'
this.realIncomeTotal = res.rows[0]?.realIncomeTotalOri || '0.00'
})
},
async fetchBonusData() {