Commit aa245f5f authored by 罗超's avatar 罗超

1

parent a0fd4e6e
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
</div> </div>
</q-linear-progress> </q-linear-progress>
<div class="rate-box"> <div class="rate-box">
<div class="sanjiao" :style="{'border-bottom-color':commissionData.TotalSaleMoney>item.EndValue&&item.EndValue!==-1?'#FF7262':'#CACACA'}"></div> <div class="sanjiao" :style="{'border-bottom-color':commissionData.TotalSaleMoney>item.StartValue?'#FF7262':'#CACACA'}"></div>
<div class="rate full-width" :class="{'active-rate':commissionData.TotalSaleMoney>item.EndValue&&item.EndValue!==-1}"> <div class="rate full-width" :class="{'active-rate':commissionData.TotalSaleMoney>item.StartValue}">
<i class="iconfont icon-checkgou " v-if="commissionData.TotalSaleMoney>item.EndValue&&item.EndValue!==-1" style="font-size:8px"></i> {{item.Rate}}% <i class="iconfont icon-checkgou " v-if="commissionData.TotalSaleMoney>item.StartValue" style="font-size:8px"></i> {{item.Rate}}%
</div> </div>
</div> </div>
...@@ -120,8 +120,8 @@ ...@@ -120,8 +120,8 @@
separator="horizontal"> separator="horizontal">
<template v-slot:body-cell-Rate="props"> <template v-slot:body-cell-Rate="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
<div>{{props.row.Rate}}%</div> <div>{{(props.row.GiveOutMoney/props.row.PushMoney*100).toFixed(2)}}%</div>
<q-linear-progress :value="parseFloat(props.row.Rate/100)" rounded size="sm" /> <q-linear-progress :value="(props.row.GiveOutMoney/props.row.PushMoney).toFixed(4)" rounded size="sm" />
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment