Commit ba41d9dd authored by youjie's avatar youjie

导出

parent e9cc0ba7
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
label="毛利率" label="毛利率"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.DetailList[i].MaoLiRate}}% {{scope.row.DetailList[i].MaoLiRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
label="实际利率" label="实际利率"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.DetailList[i].ProfitRate}}% {{scope.row.DetailList[i].ProfitRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
...@@ -123,4 +123,24 @@ export default { ...@@ -123,4 +123,24 @@ export default {
/deep/.el-table.LineAnalysisDataBJ2 tr:first-child th:nth-child(2n){ /deep/.el-table.LineAnalysisDataBJ2 tr:first-child th:nth-child(2n){
background: #fff; background: #fff;
} }
/deep/.el-table.LineAnalysisDataBJ tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ2 tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ2 tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
</style> </style>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
label="占比" label="占比"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.DetailList[i].IncomeRate}}% {{scope.row.DetailList[i].IncomeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
label="毛利率" label="毛利率"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.DetailList[i].MaoLiRate}}% {{scope.row.DetailList[i].MaoLiRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
label="实际利率" label="实际利率"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.DetailList[i].ProfitRate}}% {{scope.row.DetailList[i].ProfitRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
label="机票/收入" label="机票/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.JiPiaoRate}}% {{scope.row.JiPiaoRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
label="房费/收入" label="房费/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.RommFeeRate}}% {{scope.row.RommFeeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
label="车费/收入" label="车费/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.CarFeeRate}}% {{scope.row.CarFeeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
label="餐费/收入" label="餐费/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.MealFeeRate}}% {{scope.row.MealFeeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
label="门票/收入" label="门票/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.TicketFeeRate}}% {{scope.row.TicketFeeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
label="签证/收入" label="签证/收入"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.VisaFeeRate}}% {{scope.row.VisaFeeRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -242,4 +242,14 @@ export default { ...@@ -242,4 +242,14 @@ export default {
/deep/.el-table.LineAnalysisDataBJ2 tr:first-child th:nth-child(2n){ /deep/.el-table.LineAnalysisDataBJ2 tr:first-child th:nth-child(2n){
/* background: #fff; */ /* background: #fff; */
} }
/deep/.el-table.LineAnalysisDataBJ tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
</style> </style>
...@@ -176,4 +176,34 @@ export default { ...@@ -176,4 +176,34 @@ export default {
/deep/.el-table.LineAnalysisDataBJ tr td:first-child{ /deep/.el-table.LineAnalysisDataBJ tr td:first-child{
background: #F5F7FA !important; background: #F5F7FA !important;
} }
/deep/.el-table.LineAnalysisDataBJ tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ2 tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ3 tr th{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ2 tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
/deep/.el-table.LineAnalysisDataBJ3 tr td{
height: 20px;
line-height: 20px;
padding: 5px 0;
}
</style> </style>
...@@ -185,7 +185,11 @@ export default { ...@@ -185,7 +185,11 @@ export default {
this.getStatement() this.getStatement()
}, },
exportExcel(){//导出报表 exportExcel(){//导出报表
this.GetLocalFile("financestatistics_post_GetDataAnalysisStatToExcel", this.msg, '数据统计'+ this.$commonUtils.getCurrentDate() + ".xls"); let msg = {
EmployeeId: this.getLocalStorage().EmployeeId,
...this.msg
}
this.GetLocalFile("financestatistics_post_GetDataAnalysisStatToExcel", msg, '数据统计'+ this.$commonUtils.getCurrentDate() + ".xls");
}, },
getQueryData() { getQueryData() {
//获取公司列表 //获取公司列表
......
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