Compare commits
2 Commits
08beff4e68
...
6188a58194
| Author | SHA1 | Date |
|---|---|---|
|
|
6188a58194 | |
|
|
43f703de33 |
|
|
@ -20,24 +20,29 @@
|
||||||
bonusData.settleDate || formatDate
|
bonusData.settleDate || formatDate
|
||||||
}}</text>
|
}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="(label, key) in detailLabels" :key="key" class="detail-item">
|
<template v-for="(label, key) in detailLabels">
|
||||||
<template
|
<view v-if="key === 'repurRangeIncome'">
|
||||||
v-if="key === 'repurRangeIncome' && bonusData.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>
|
||||||
</template>
|
</view>
|
||||||
<template v-else>
|
</view>
|
||||||
|
<view v-else 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>
|
||||||
</template>
|
|
||||||
</view>
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
<!-- 分割线 -->
|
<!-- 分割线 -->
|
||||||
<view class="divider"></view>
|
<view class="divider"></view>
|
||||||
<!-- 小计 -->
|
<!-- 小计 -->
|
||||||
|
|
|
||||||
|
|
@ -389,10 +389,10 @@ export default {
|
||||||
hierarchy: 0,
|
hierarchy: 0,
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
res.data.unshift({
|
// res.data.unshift({
|
||||||
classifyName: '全部',
|
// classifyName: '全部',
|
||||||
pkId: '',
|
// pkId: '',
|
||||||
})
|
// })
|
||||||
this.oneList = res.data
|
this.oneList = res.data
|
||||||
this.oneId = this.oneList[0] ? this.oneList[0].pkId : ''
|
this.oneId = this.oneList[0] ? this.oneList[0].pkId : ''
|
||||||
this.getClassIfyTwo(this.oneList[0].pkId)
|
this.getClassIfyTwo(this.oneList[0].pkId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue