Compare commits

..

No commits in common. "6188a581943cb258114dbc20c06325b522314e57" and "08beff4e68a7e82da297a53d1868705e206361e2" have entirely different histories.

2 changed files with 17 additions and 22 deletions

View File

@ -20,29 +20,24 @@
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">
<view v-for="(label, key) in detailLabels" :key="key" class="detail-item">
<template
v-if="key === 'repurRangeIncome' && bonusData.repurRangeIncome"
>
<text class="detail-label">{{ label }}</text>
<text class="detail-value">
<text class="currency-symbol-small">¥</text>
{{ bonusData[key] || '0.00' }}
</text>
</view>
</template>
</template>
<template v-else>
<text class="detail-label">{{ label }}</text>
<text class="detail-value">
<text class="currency-symbol-small">¥</text>
{{ bonusData[key] || '0.00' }}
</text>
</template>
</view>
<!-- 分割线 -->
<view class="divider"></view>
<!-- 小计 -->

View File

@ -389,10 +389,10 @@ export default {
hierarchy: 0,
})
.then(res => {
// res.data.unshift({
// classifyName: '',
// pkId: '',
// })
res.data.unshift({
classifyName: '全部',
pkId: '',
})
this.oneList = res.data
this.oneId = this.oneList[0] ? this.oneList[0].pkId : ''
this.getClassIfyTwo(this.oneList[0].pkId)