Commit 5bb7597d authored by zhengke's avatar zhengke

修改

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