Commit ef614c72 authored by zhengke's avatar zhengke

修改

parent 35a5b50d
......@@ -40,32 +40,17 @@
</tr>
<template v-slot:body-cell-FirstYear="props" v-if="tabCheck==2">
<q-td style="text-align:center;">
{{props.row.FirstYear}}%
<span :class="{'TotalredClass':props.row.FirstYear<0}">{{props.row.FirstYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-SecondYear="props" v-if="tabCheck==2">
<q-td style="text-align:center;">
{{props.row.SecondYear}}%
<span :class="{'TotalredClass':props.row.SecondYear<0}">{{props.row.SecondYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-YearRate="props">
<q-td style="text-align:center;">
{{props.row.YearRate}}%
</q-td>
</template>
<template v-slot:body-cell-FirstYear="props">
<q-td>
<span :class="{'TotalredClass':props.row.FirstYear<0}">{{props.row.FirstYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-SecondYear="props">
<q-td>
<span :class="{'TotalredClass':props.row.SecondYear<0}">{{props.row.SecondYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-YearRate="props">
<q-td>
<span :class="{'TotalredClass':props.row.YearRate<0}">{{props.row.YearRate}}%</span>
</q-td>
</template>
......
......@@ -38,18 +38,18 @@
</tr>
<template v-slot:body-cell-FirstYear="props" v-if="tabCheck==2">
<q-td style="text-align:center;">
{{props.row.FirstYear}}%
<span :class="{'TotalredClass':props.row.FirstYear<0}">{{props.row.FirstYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-SecondYear="props" v-if="tabCheck==2">
<q-td style="text-align:center;">
{{props.row.SecondYear}}%
<span :class="{'TotalredClass':props.row.SecondYear<0}">{{props.row.SecondYear}}%</span>
</q-td>
</template>
<template v-slot:body-cell-YearRate="props">
<q-td style="text-align:center;">
{{props.row.YearRate}}%
<span :class="{'TotalredClass':props.row.YearRate<0}">{{props.row.YearRate}}%</span>
</q-td>
</template>
<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