Commit 5a364a6f authored by zhengke's avatar zhengke

修改样式

parent 1a261742
...@@ -5,14 +5,15 @@ ...@@ -5,14 +5,15 @@
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
margin-top:10px; margin-top:10px;
font-size:16px;
} }
.Bus_Content{ .Bus_Content{
width:800px; width:100%;
height:auto; height:auto;
margin:auto; margin:auto;
} }
.Bus_detailTable { .Bus_detailTable {
width: 100%; width: 800px;
font-size: 12px; font-size: 12px;
color: #333; color: #333;
margin: 10px auto; margin: 10px auto;
...@@ -24,11 +25,14 @@ ...@@ -24,11 +25,14 @@
.Bus_detailTable td { .Bus_detailTable td {
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
padding: 3px 10px; padding: 3px 10px;
font-size:16px;
} }
.Bus_detailTable th { .Bus_detailTable th {
background-color: #fff; background-color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
font-size:16px;
font-weight:bold;
} }
.txLeft{ .txLeft{
text-align: left; text-align: left;
...@@ -42,6 +46,9 @@ ...@@ -42,6 +46,9 @@
.totalTabal td{ .totalTabal td{
height:33px; height:33px;
} }
body{
min-width: 100%!important;
}
</style> </style>
<template> <template>
...@@ -79,7 +86,7 @@ ...@@ -79,7 +86,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="Bus_detailTable totalTabal" style="page-break-before: always;margin: 0px;"> <table class="Bus_detailTable totalTabal" style="border:0px;page-break-before:always;margin:0 auto;">
<tr> <tr>
<td class="txRight" colspan="4"> <td class="txRight" colspan="4">
<div style="width:275px;text-align:right;float:right;">{{Year}}{{Month}}月应付公社车资:</div> <div style="width:275px;text-align:right;float:right;">{{Year}}{{Month}}月应付公社车资:</div>
...@@ -105,7 +112,7 @@ ...@@ -105,7 +112,7 @@
</tr> </tr>
</table> </table>
<table class="Bus_detailTable" v-for="item in dataList" style="margin: 0px;page-break-before: always;"> <table class="Bus_detailTable" v-for="item in dataList" style="margin: 5px auto;border:0px;page-break-before:always;">
<tr> <tr>
<th>做账主体</th> <th>做账主体</th>
<th width="200">团号</th> <th width="200">团号</th>
...@@ -164,11 +171,10 @@ ...@@ -164,11 +171,10 @@
getList(){ getList(){
this.apipost('bus_get_CarfareApportionExport',this.msg, res => { this.apipost('bus_get_CarfareApportionExport',this.msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
console.log(res,'res');
this.dataList = res.data.data.RObj; this.dataList = res.data.data.RObj;
this.msg.CurrName = res.data.data.CurrName; this.msg.CurrName = res.data.data.CurrName;
this.TotalJan = res.data.data.TotalStatistics.TSumOMoney; this.TotalJan = res.data.data.TotalStatistics.TSumOMoney;
this.TotalCn = res.data.data.TotalStatistics.TSumMoney this.TotalCn = res.data.data.TotalStatistics.TSumMoney;
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
} }
......
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