Commit 8c90add4 authored by liudong1993's avatar liudong1993

1 甲鹤简易报表调整

parent 745b9e7a
...@@ -186,6 +186,15 @@ export function getStudentConsumptionHoursDetialPageList(data) { ...@@ -186,6 +186,15 @@ export function getStudentConsumptionHoursDetialPageList(data) {
}); });
} }
// 财务报表 学生课耗明细列表
export function GetStudentConsumptionHoursDetialStat(data) {
return request({
url: '/finance/GetStudentConsumptionHoursDetialStat',
method: 'post',
data
});
}
// 财务报表 销售业绩排名统计 // 财务报表 销售业绩排名统计
export function getSaleAchievementsRankStatistics(data) { export function getSaleAchievementsRankStatistics(data) {
return request({ return request({
......
...@@ -582,8 +582,11 @@ export default { ...@@ -582,8 +582,11 @@ export default {
this.financeinfo_post_GetList(); this.financeinfo_post_GetList();
let nowdate = new Date(); let nowdate = new Date();
let upperMonth = new Date(nowdate.setMonth(nowdate.getMonth() - 1)); //小于本月 let upperMonth = new Date(nowdate.setMonth(nowdate.getMonth() - 1)); //小于本月
this.addMsg.Month = this.addMsg.Month = upperMonth.getFullYear() + "-" + (upperMonth.getMonth() + 1);
upperMonth.getFullYear() + "-" + (upperMonth.getMonth() + 1);
if (this.$route.query && this.$route.query.Month) {
this.msg.Month = this.$route.query.Month
}
}, },
methods: { methods: {
financeinfo_post_GetList() { financeinfo_post_GetList() {
......
...@@ -891,18 +891,39 @@ ...@@ -891,18 +891,39 @@
endDate = that.year + "-" + column.end endDate = that.year + "-" + column.end
} }
if (rowIndex < 7 ) { if (rowIndex < 7 ) {
// 联运收入 if(rowData.ZhaiYao == "营业收入"){
// if(rowData.ZhaiYao=="联运收入"){ ///financial/studentsClassfee?datetype=2&valueyear=2023&StartMonth=2023-8&EndMonth=2023-8
// that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入") this.OpenNewUrl('/financial/studentsClassfee', {
// } datetype:2,
// // 跳转到应收团款查询 valueyear:that.year,
// else if(rowData.ZhaiYao=="营业总收入"){ StartMonth:that.year + "-" +month,
// that.goUrl("RecPayQueryTeam",startDate,endDate,BranchId,"应收团款查询") EndMonth:that.year + "-" +month,
// } SchoolId:this.msg.BranchId
// else if(rowData.ZhaiYao=="营业总成本"){ });
// that.goUrl("RecPayQueryTeamV2",startDate,endDate,BranchId,"应付团款查询") }
// } else if(rowData.ZhaiYao == "其他收入"){
if(column.title!='合计' && column.title!="摘要"){ that.GoUrlFan('JumpReport', startDate,endDate, rowData.Year, rowData.BranchId, 1159)
}
else if(rowData.ZhaiYao == "课时费"){
let newMonth = new Date(startDate);
let upperMonth2 = new Date(newMonth.setMonth(newMonth.getMonth() -1)); //小于本月
let month2 = upperMonth2.getFullYear() + "-" + (upperMonth2.getMonth()+1);
this.OpenNewUrl('/course/classHourReward', {
Month:month2
});
}
else if(rowData.ZhaiYao == "返佣"){
this.OpenNewUrl('/financial/returnPassbook/ReturnperiodsList', {
Month:that.year + "-" +month
});
}
else if(rowData.ZhaiYao == "销售提成"){
this.OpenNewUrl('/financial/market/achievementPeriodsList', {});
}
else if(rowData.ZhaiYao == "人头奖励"){
this.OpenNewUrl('/financial/market/empBonus', {});
}
else if(column.title!='合计' && column.title!="摘要"){
this.OpenNewUrl('/financial/reportform/RecPayQueryTeam', { this.OpenNewUrl('/financial/reportform/RecPayQueryTeam', {
StartTime: startDate, StartTime: startDate,
EndTime: endDate, EndTime: endDate,
......
...@@ -191,6 +191,9 @@ ...@@ -191,6 +191,9 @@
}) })
var myDate = new Date(); var myDate = new Date();
myDate.setMonth(myDate.getMonth() - 1); myDate.setMonth(myDate.getMonth() - 1);
if (this.$route.query && this.$route.query.Month) {
this.msg.Month = this.$route.query.Month
}
}, },
mounted() { mounted() {
this.getList(); //获取提成周期列表 this.getList(); //获取提成周期列表
......
...@@ -233,7 +233,8 @@ ...@@ -233,7 +233,8 @@
class="page-search row items-center" class="page-search row items-center"
style="justify-content: space-between" style="justify-content: space-between"
> >
<span style="font-size: 20px; font-weight: 400">学生课耗明细列表</span> <span style="font-size: 20px; font-weight: 400"><span>累计课时:{{statData.TClassHours}}</span>&nbsp;&nbsp;&nbsp;&nbsp;
<span>课耗金额:{{statData.TXHMoney}}</span></span>
<q-btn <q-btn
color="primary" color="primary"
size="11px" size="11px"
...@@ -242,6 +243,10 @@ ...@@ -242,6 +243,10 @@
style="margin-left: 10px" style="margin-left: 10px"
/> />
</div> </div>
<!-- <div style="font-size:20px">
<span>累计课时:{{statData.TClassHours}}</span>&nbsp;&nbsp;&nbsp;&nbsp;
<span>课耗金额:{{statData.TXHMoney}}</span>
</div> -->
<template> <template>
<el-table <el-table
ref="filterTable" ref="filterTable"
...@@ -431,6 +436,7 @@ import { ...@@ -431,6 +436,7 @@ import {
getClassDropDownList, getClassDropDownList,
} from "../../api/school/index"; } from "../../api/school/index";
import { getStudentConsumptionHoursDetialPageList } from "../../api/finance/index"; import { getStudentConsumptionHoursDetialPageList } from "../../api/finance/index";
import { GetStudentConsumptionHoursDetialStat } from "../../api/finance/index";
import { EduDownLoad } from "../../api/common/common"; import { EduDownLoad } from "../../api/common/common";
export default { export default {
meta: { meta: {
...@@ -460,6 +466,7 @@ export default { ...@@ -460,6 +466,7 @@ export default {
pageCount: 0, pageCount: 0,
listData: {}, listData: {},
tableData: [], tableData: [],
statData: [],
total: 0, total: 0,
CompanyList: [], CompanyList: [],
...@@ -487,7 +494,9 @@ export default { ...@@ -487,7 +494,9 @@ export default {
if (this.$route.query && this.$route.query.valueyear) { if (this.$route.query && this.$route.query.valueyear) {
this.valueyear = this.$route.query.valueyear; this.valueyear = this.$route.query.valueyear;
} }
if (this.$route.query && this.$route.query.SchoolId) {
this.msg.SchoolId = this.$route.query.SchoolId;
}
if (this.$route.query && this.$route.query.StartMonth) { if (this.$route.query && this.$route.query.StartMonth) {
this.msg.StartMonth = this.$route.query.StartMonth; this.msg.StartMonth = this.$route.query.StartMonth;
} }
...@@ -533,6 +542,12 @@ export default { ...@@ -533,6 +542,12 @@ export default {
this.total = res.Data.Count; this.total = res.Data.Count;
} }
}); });
GetStudentConsumptionHoursDetialStat(this.msg).then((res)=>{
if(res.Code == 1){
this.statData = res.Data;
}
}
);
}, },
//获取教师下拉 //获取教师下拉
GetTeacherList() { GetTeacherList() {
......
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