3
0
Fork 0

feat(real-time): 实时奖金字段调整

This commit is contained in:
woody 2025-09-01 17:41:09 +08:00
parent 5e064976db
commit ce7753259e
1 changed files with 11 additions and 28 deletions

View File

@ -20,28 +20,13 @@
bonusData.settleDate || formatDate bonusData.settleDate || formatDate
}}</text> }}</text>
</view> </view>
<template v-for="(label, key) in detailLabels"> <view v-for="(label, key) in detailLabels" class="detail-item" :key="key">
<view v-if="key === 'repurRangeIncome'"> <text class="detail-label">{{ label }}</text>
<view <text class="detail-value">
v-if="bonusData.repurRangeIncome" <text class="currency-symbol-small">¥</text>
class="detail-item" {{ bonusData[key] || '0.00' }}
:key="key" </text>
> </view>
<text class="detail-label">{{ label }}</text>
<text class="detail-value">
<text class="currency-symbol-small">¥</text>
{{ bonusData[key] || '0.00' }}
</text>
</view>
</view>
<view v-else class="detail-item" :key="key">
<text class="detail-label">{{ label }}</text>
<text class="detail-value">
<text class="currency-symbol-small">¥</text>
{{ bonusData[key] || '0.00' }}
</text>
</view>
</template>
<!-- 分割线 --> <!-- 分割线 -->
<view class="divider"></view> <view class="divider"></view>
@ -68,7 +53,7 @@ export default {
totalIssued: 0, totalIssued: 0,
date: '', date: '',
retailRangeIncome: 0, retailRangeIncome: 0,
retailSameLevelIncome: 0.0, repurRangeIncome: 0.0,
retailAreaIncome: 0.0, retailAreaIncome: 0.0,
// welfareLevelDifferenceIncome: 0.0, // welfareLevelDifferenceIncome: 0.0,
// welfareDividendIncome: 0.0, // welfareDividendIncome: 0.0,
@ -76,13 +61,11 @@ export default {
subtotal: 0, subtotal: 0,
}, },
detailLabels: { detailLabels: {
retailRangeIncome: '直推收益(¥)', retailRangeIncome: '直推级差收益',
retailSameLevelIncome: '平级收益(¥)', repurRangeIncome: '复购级差收益',
retailAreaIncome: '区域收益(¥)', retailAreaIncome: '复购配送收益',
repurRangeIncome: '复购级差收益(¥)',
// welfareLevelDifferenceIncome: '(¥)', // welfareLevelDifferenceIncome: '(¥)',
// welfareDividendIncome: '(¥)', // welfareDividendIncome: '(¥)',
backPoints: '重消收益(¥)',
}, },
} }
}, },