Commit 5bb7597d authored by zhengke's avatar zhengke

修改

parent 7f8cc729
...@@ -128,17 +128,19 @@ ...@@ -128,17 +128,19 @@
text-align: left; text-align: left;
margin: auto; margin: auto;
} }
.p_titleList{
position: relative;; .p_titleList {
position: relative;
} }
</style> </style>
<template> <template>
<div class="page-body paymentDetail"> <div class="page-body paymentDetail">
<div class="page-search items-center"> <div class="page-search items-center">
<div class="p_titleList"> <div class="p_titleList">
<div class="p_title">班级收支明细</div> <div class="p_title">班级收支明细</div>
<q-btn label="导出" color="accent q-px-md" size="sm" style="font-weight:400 !important;position:absolute;right:0;top:0" <q-btn label="导出" color="accent q-px-md" size="sm"
@click="exportOrder" /> style="font-weight:400 !important;position:absolute;right:0;top:0" @click="exportOrder" />
</div> </div>
<div class="row"> <div class="row">
<div class="col paymentList" v-if="dataList&&dataList.ClassInfo"> <div class="col paymentList" v-if="dataList&&dataList.ClassInfo">
...@@ -272,8 +274,10 @@ ...@@ -272,8 +274,10 @@
<div class="pay_TopTitle"> <div class="pay_TopTitle">
<span class="Pay_Line"></span>收入 <span class="Pay_Line"></span>收入
</div> </div>
<div class="pay_TopTitle" style="margin:15px 0 15px 20px;font-size:12px;"> <div class="pay_TopTitle"
<span class="Pay_Line" style="background-color:#02C499;"></span>学费收入 style="margin:15px 0 15px 20px;font-size:12px;display:flex;justify-content: space-between;align-items:center;">
<div><span class="Pay_Line" style="background-color:#02C499;"></span>学费收入</div>
<q-btn label="收款单" color="accent q-px-md" size="sm" style="font-weight:400 !important;" @click="goShoukuan(1)" />
</div> </div>
<table class="payTable"> <table class="payTable">
<tr> <tr>
...@@ -377,8 +381,9 @@ ...@@ -377,8 +381,9 @@
<div class="pay_TopTitle" style="margin-top:30px;"> <div class="pay_TopTitle" style="margin-top:30px;">
<span class="Pay_Line" style="background:#F72E52;"></span>支出 <span class="Pay_Line" style="background:#F72E52;"></span>支出
</div> </div>
<div class="pay_TopTitle" style="margin:15px 0 15px 20px;font-size:12px;"> <div class="pay_TopTitle" style="margin:15px 0 15px 20px;font-size:12px;display:flex;justify-content: space-between;align-items:center;">
<span class="Pay_Line" style="background-color:#F28C1D;"></span>其他支出 <div><span class="Pay_Line" style="background-color:#F28C1D;"></span>其他支出</div>
<q-btn label="付款单" color="accent q-px-md" size="sm" style="font-weight:400 !important;" @click="goShoukuan(2)" />
</div> </div>
<table class="payTable"> <table class="payTable">
<tr> <tr>
...@@ -471,7 +476,7 @@ ...@@ -471,7 +476,7 @@
return parseInt(num1) - parseInt(num2); return parseInt(num1) - parseInt(num2);
}, },
//跳转到订单详情 //跳转到订单详情
goOrderDetail(path,item) { goOrderDetail(path, item) {
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/' + path, path: '/financial/financalDocument/' + path,
query: { query: {
...@@ -482,13 +487,37 @@ ...@@ -482,13 +487,37 @@
}) })
}, },
//导出单据 //导出单据
exportOrder(){ exportOrder() {
var msg = JSON.parse(JSON.stringify(this.msg)); var msg = JSON.parse(JSON.stringify(this.msg));
this.GetLocalFile( this.GetLocalFile(
"/api/Finance/GetClassBalanceSheetToExcel", "/api/Finance/GetClassBalanceSheetToExcel",
msg, msg,
"收支明细.xls" "收支明细.xls"
); );
},
//跳转到收款单
goShoukuan(type) {
let TCIDARR = []
TCIDARR.push(this.msg.ClassId)
let orderObj = {
OrderID: 0,
OrderSource: 17,
Obj: {},
SourceID: 0,
TCIDList: TCIDARR
}
this.$router.push({
path: '/financial/financalDocument/ChoiceAddFinancialDocuments',
query: {
"Type": type,
"companyID": this.msg.School_Id,
"path": "",
'blank': 'y',
'orderObj': JSON.stringify(orderObj),
'tradeWay': '',
}
});
} }
} }
} }
......
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