fix(real-time): 实时奖金复购级差收益存在时才展示 bug-246
This commit is contained in:
		
							parent
							
								
									a14335265f
								
							
						
					
					
						commit
						41193e0677
					
				| 
						 | 
				
			
			@ -20,24 +20,29 @@
 | 
			
		|||
          bonusData.settleDate || formatDate
 | 
			
		||||
        }}</text>
 | 
			
		||||
      </view>
 | 
			
		||||
      <view v-for="(label, key) in detailLabels" :key="key" class="detail-item">
 | 
			
		||||
        <template
 | 
			
		||||
          v-if="key === 'repurRangeIncome' && bonusData.repurRangeIncome"
 | 
			
		||||
      <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>
 | 
			
		||||
        </template>
 | 
			
		||||
        <template v-else>
 | 
			
		||||
          </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>
 | 
			
		||||
        </template>
 | 
			
		||||
        </view>
 | 
			
		||||
      </template>
 | 
			
		||||
 | 
			
		||||
      <!-- 分割线 -->
 | 
			
		||||
      <view class="divider"></view>
 | 
			
		||||
      <!-- 小计 -->
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue