forked from angelo/web-retail-h5
feat(real-time): 实时奖金字段调整
This commit is contained in:
parent
5e064976db
commit
ce7753259e
|
|
@ -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'">
|
|
||||||
<view
|
|
||||||
v-if="bonusData.repurRangeIncome"
|
|
||||||
class="detail-item"
|
|
||||||
:key="key"
|
|
||||||
>
|
|
||||||
<text class="detail-label">{{ label }}</text>
|
<text class="detail-label">{{ label }}</text>
|
||||||
<text class="detail-value">
|
<text class="detail-value">
|
||||||
<text class="currency-symbol-small">¥</text>
|
<text class="currency-symbol-small">¥</text>
|
||||||
{{ bonusData[key] || '0.00' }}
|
{{ bonusData[key] || '0.00' }}
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</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: '重消收益(¥)',
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue