Commit 556ef1ae authored by 黄奎's avatar 黄奎

页面修改

parent a9463102
<style>
.BusExportTitle{
width:1000px;
margin:0 auto;
.BusExportTitle {
width: 1000px;
margin: 0 auto;
text-align: center;
font-weight: bold;
margin-top:10px;
font-size:16px;
margin-top: 10px;
font-size: 16px;
}
.Bus_Content{
width:100%;
height:auto;
margin:auto;
.Bus_Content {
width: 100%;
height: auto;
margin: auto;
position: absolute;
}
.Bus_detailTable {
width: 1000px;
font-size: 12px;
......@@ -25,31 +27,36 @@
.Bus_detailTable td {
border: 1px solid #d1d1d1;
padding:0 10px;
height:32px;
font-size:16px;
padding: 0 10px;
height: 32px;
font-size: 16px;
}
.Bus_detailTable th {
background-color: #fff;
border: 1px solid #d1d1d1;
font-size:16px;
font-weight:bold;
height:32px;
font-size: 16px;
font-weight: bold;
height: 32px;
}
.txLeft{
.txLeft {
text-align: left;
}
.txRight{
.txRight {
text-align: right;
}
.fontBold{
font-weight:bold;
.fontBold {
font-weight: bold;
}
.totalTabal td{
height:33px;
.totalTabal td {
height: 33px;
}
.excelBtn{
.excelBtn {
color: #fff;
padding: 0 15px;
height: 30px;
......@@ -59,13 +66,14 @@
border-radius: 15px;
margin-left: 10px;
}
</style>
<template>
<div class="Bus_Content">
<div class="BusExportTitle">
{{Year}}{{Month}}月公社车账
<input type="button" style="float:right;" @click="downLoadExcel" class="excelBtn" value="下载excel"/>
<input type="button" style="float:right;" @click="downLoadExcel" class="excelBtn" value="下载excel" />
</div>
<table class="Bus_detailTable">
<thead>
......@@ -122,9 +130,9 @@
</td>
</tr>
</table>
<table class="Bus_detailTable" v-for="item in dataList" style="margin: 5px auto;border:0px;page-break-before:always;">
<tr>
<table class="Bus_detailTable" v-for="(item,index) in dataList"
style="margin: 5px auto;border:0px;page-break-before:always;">
<tr >
<th>做账主体</th>
<th width="250">团号</th>
<th>单号</th>
......@@ -152,19 +160,19 @@
export default {
data() {
return {
msg:{
Month:'',
MakeStartDate:'',
MakeEndDate:'',
CurrType:'',
CurrName:'',
ClientId:''
msg: {
Month: '',
MakeStartDate: '',
MakeEndDate: '',
CurrType: '',
CurrName: '',
ClientId: ''
},
Year:'',
Month:'',
dataList:[],
TotalJan:'',
TotalCn:'',
Year: '',
Month: '',
dataList: [],
TotalJan: '',
TotalCn: '',
downList: "",
}
},
......@@ -173,36 +181,33 @@
this.msg.MakeStartDate = this.$route.query.MakeStartDate;
this.msg.MakeEndDate = this.$route.query.MakeEndDate;
this.msg.CurrType = this.$route.query.CurrType;
this.msg.ClientId=this.$route.query.ClientId;
this.msg.ClientId = this.$route.query.ClientId;
this.Year = this.msg.Month.split('-')[0];
this.Month = this.msg.Month.split('-')[1];
this.getList();
},
methods: {
getList(){
this.apipost('bus_get_CarfareApportionExport',this.msg, res => {
if(res.data.resultCode == 1) {
getList() {
this.apipost('bus_get_CarfareApportionExport', this.msg, res => {
if (res.data.resultCode == 1) {
this.dataList = res.data.data.RObj;
this.msg.CurrName = res.data.data.CurrName;
this.TotalJan = res.data.data.TotalStatistics.TSumOMoney;
this.TotalCn = res.data.data.TotalStatistics.TSumMoney;
}else{
} else {
this.Error(res.data.message);
}
}, err => {})
},
//点击下载
downLoadExcel(){
downLoadExcel() {
let msg = JSON.parse(JSON.stringify(this.msg));
this.GetLocalFile(
"bus_get_CarfareApportionExcelExport",
msg,
this.Year+'年'+this.Month+'月'+'公社车账.xls'
this.Year + '年' + this.Month + '月' + '公社车账.xls'
);
}
},
}
</script>
\ No newline at end of file
......@@ -15,7 +15,6 @@
<el-submenu v-for="(item,index) in items" :index="String(index+1)" :key='index'>
<template slot="title" class="left-nav">
<i :class="[fontPub,item.MenuStyleIcon]" class="big-icon"></i>
<!-- <span>{{item.MenuName}}</span> -->
</template>
<el-menu-item-group class="my_maxheight">
<span slot="title">{{item.MenuName}}</span>
......@@ -25,26 +24,10 @@
</el-menu-item-group>
</el-submenu>
</el-menu>
<!-- <ul>
<li v-for="(item,index) in items" class="menuItem_level1">
<p @click="showToggle(item.MenuId)" class="parentBox">
<i :class="[fontPub,item.MenuStyleIcon]"></i>
{{item.MenuName}}
<i class="iconfont icon-arrow-right small"></i>
</p>
<ul class="liDiv" >
<li v-for="subItem in item.childerns" class="childBox" @click="goUrl(subItem.MenuUrl)"><i :class="[fontPub,subItem.MenuStyleIcon]" :style="{background:subItem.MenuStyleColor}"></i><br/>{{subItem.MenuName}}</li>
</ul>
</li>
</ul> -->
</div>
</div>
</div>
<div class="flexParent" v-if="openMode==1">
<!-- <div class="resource-ttop" style="font-family:PingFangSC-Semibold" v-if="rootName!=''">
{{rootName}}<i class="iconfont icon-weibiaoti102"></i>{{parentName}}<i class="iconfont icon-weibiaoti102"></i><span class="active">{{currentName}}</span>
</div> -->
<div class="nav-tabs-box" @contextmenu.prevent="showRightMenu" :style="{width:`${navWidth}px`}">
<el-tabs v-if='tabs && tabs.length>0' v-model="currentTabName" style="margin-left: 120px;" :closable="tabs.length>1" type="card" @edit="handleTabsEdit">
<el-tab-pane :key="i" v-for="(item,i) in tabs" :label="item.title" :name="item.name+'_'+i">
......@@ -163,34 +146,10 @@ export default {
this.reloadpage()
});
this.navWidth=document.querySelector(".flexParent").offsetWidth;
// this.MsgBus.$on('forEachLoc', ()=> {
// let obj = {}
// let LocNavTab = JSON.parse(window.localStorage.navTabs);
// let navTab = JSON.parse(window.localStorage.navTabs);
// let navTabSortR = [];
// for (let i = navTab.length-1; i>=0; i--) {
// navTabSortR.push(navTab[i]);
// }
// navTabSortR = navTabSortR.reduce(function(item, next) { //根据MD5Sign数组对象去重
// obj[next.name] ? '' : obj[next.name] = true && item.push(next);
// return item;
// }, []);
// let navTabSortA = [];
// for (let i = navTabSortR.length-1; i>=0; i--) {
// navTabSortA.push(navTabSortR[i]);
// }
// if (LocNavTab.length !== navTabSortA.length) {
// this.tabs = navTabSortA;
// this.currentTabName = this.tabs[this.tabs.length-1].name + '_' + (this.tabs.length-1);
// this.currentTag = this.tabs[this.tabs.length-1];
// }
// });
if(this.openMode==1){
if(localStorage['navTabs']){
this.tabs=JSON.parse(localStorage['navTabs'])
// this.tabs.forEach(x=>{
// x.comp=this.mapObj(x.path,x.name).comp
// })
}
}
this.getMenu()
......@@ -962,7 +921,7 @@ export default {
window.localStorage.navTabs=JSON.stringify(this.tabs)
},
created(){
// document.title = this.$route.meta.title ? this.$route.meta.title + '-四川和平国际旅行社' : '四川和平国际旅行社'
}
};
</script>
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -13,8 +13,6 @@
<a class="travelControlTripBtn" v-if="priceList!=null&& priceList[0]!=null && priceList[0].wordPath!=''" style="display:inline-block;text-decoration:none;
width:135px;text-align:center;line-height:30px;font-size:13px;position:relative;top:2px;"
:href="domainManager().ViittoFileUrl+priceList[0].wordPath">下载WORD行程</a>
<!-- ToWord(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游') -->
<!--&&isopOperation HK 注释 可以让销售修改基本信息-->
<input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" />
<div id="pdfNode">
<div id='pdfDom' style="padding:0 20px;">
......
......@@ -642,8 +642,6 @@
import threeday from './commonPage/threeday'
import fourday from './commonPage/fourday'
import fiveday from './commonPage/fiveday'
// import saveAs from 'file-saver'
// import '../utils/jqueryWordexport.js'
import {
setTimeout
} from 'timers';
......
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