Commit 9efda50f authored by youjie's avatar youjie

no message

parent ba41d9dd
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
<span v-else>{{scope.row.MonthData[i]}}%</span> <span v-else>{{scope.row.MonthData[i].toFixed(2)}}%</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
<span v-else>{{scope.row.MonthData[i]}}%</span> <span v-else>{{scope.row.MonthData[i].toFixed(2)}}%</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
<span v-else>{{scope.row.MonthData[i]}}%</span> <span v-else>{{scope.row.MonthData[i].toFixed(2)}}%</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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