forked from angelo/web-retail-h5
feat(real-time): 实时奖金字段调整
This commit is contained in:
parent
b28023daaa
commit
a2b4c14337
|
@ -20,28 +20,13 @@
|
|||
bonusData.settleDate || formatDate
|
||||
}}</text>
|
||||
</view>
|
||||
<template v-for="(label, key) in detailLabels">
|
||||
<view v-if="key === 'repurRangeIncome'">
|
||||
<view
|
||||
v-if="bonusData.repurRangeIncome"
|
||||
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>
|
||||
</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 v-for="(label, key) in detailLabels" 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>
|
||||
|
||||
<!-- 分割线 -->
|
||||
<view class="divider"></view>
|
||||
|
@ -68,7 +53,7 @@ export default {
|
|||
totalIssued: 0,
|
||||
date: '',
|
||||
retailRangeIncome: 0,
|
||||
retailSameLevelIncome: 0.0,
|
||||
repurRangeIncome: 0.0,
|
||||
retailAreaIncome: 0.0,
|
||||
// welfareLevelDifferenceIncome: 0.0,
|
||||
// welfareDividendIncome: 0.0,
|
||||
|
@ -76,13 +61,11 @@ export default {
|
|||
subtotal: 0,
|
||||
},
|
||||
detailLabels: {
|
||||
retailRangeIncome: '直推收益(¥)',
|
||||
retailSameLevelIncome: '平级收益(¥)',
|
||||
retailAreaIncome: '区域收益(¥)',
|
||||
repurRangeIncome: '复购级差收益(¥)',
|
||||
retailRangeIncome: '直推级差收益',
|
||||
repurRangeIncome: '复购级差收益',
|
||||
retailAreaIncome: '复购配送收益',
|
||||
// welfareLevelDifferenceIncome: '福利级差收益(¥)',
|
||||
// welfareDividendIncome: '福利分红收益(¥)',
|
||||
backPoints: '重消收益(¥)',
|
||||
},
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue