Commit 057cccd7 authored by 吴春's avatar 吴春
parents 7614830a ad5cc26c
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
label="机构名称" label="机构名称"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
...@@ -61,6 +61,22 @@ ...@@ -61,6 +61,22 @@
{{scope.row.DetailList[i].ProfitRate.toFixed(2)}}% {{scope.row.DetailList[i].ProfitRate.toFixed(2)}}%
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
prop=""
label="联运收入"
min-width="120" align="center">
<template slot-scope="scope">
{{scope.row.DetailList[i].TransportIncome.toFixed(2)}}
</template>
</el-table-column>
<el-table-column
prop=""
label="最终利润"
min-width="120" align="center">
<template slot-scope="scope">
{{scope.row.DetailList[i].FinalProfit.toFixed(2)}}
</template>
</el-table-column>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
......
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
<el-table <el-table
:data="LineAnalysisData" :data="LineAnalysisData"
style="width: 100%" style="width: 100%"
class="LineAnalysisDataBJ" class="LineAnalysisDataBJ">
:row-key="index">
<el-table-column <el-table-column
fixed fixed
align="center" align="center"
...@@ -13,7 +12,7 @@ ...@@ -13,7 +12,7 @@
label="线路" label="线路"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :key="i" :prop="i" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :key="i" :prop="i" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">日本散拼团(已出团)</h3> <h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">日本常规团(已出团)</h3>
<el-table <el-table
:data="JapanSPData" :data="JapanSPData"
style="width: 100%" style="width: 100%"
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :key="i" :prop="i" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">毛利率分析(已出团)</h3> <h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">常规团毛利率分析(已出团)</h3>
<el-table <el-table
:data="MaoLiAnalysisData" :data="MaoLiAnalysisData"
style="width: 100%" style="width: 100%"
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
label="名称" label="名称"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table> </el-table>
<h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">房费分析(散拼已出团)</h3> <h3 class="text-center" style="margin-top: 15px;margin-bottom: 5px;">常规团房费分析(已出团)</h3>
<el-table <el-table
:data="RoomAnalysisData" :data="RoomAnalysisData"
style="width: 100%" style="width: 100%"
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :key="i" :prop="i" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="`${i}`"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.MonthData[i].toFixed(2)}} {{scope.row.MonthData[i].toFixed(2)}}
......
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
</div> </div>
<div v-loading="loading" style="height: 78%;overflow: auto;"> <div v-loading="loading" style="height: 78%;overflow: auto;">
<Lines v-if="activeName=='1'" :StatisticalData="StatisticalData"></Lines> <Lines v-if="activeName=='1'" :StatisticalData="StatisticalData"></Lines>
<!-- <Corporations v-if="activeName=='2'" :StatisticalData="StatisticalData"></Corporations> <Corporations v-if="activeName=='2'" :StatisticalData="StatisticalData"></Corporations>
<Packets v-if="activeName=='3'" :StatisticalData="StatisticalData"></Packets> --> <Packets v-if="activeName=='3'" :StatisticalData="StatisticalData"></Packets>
</div> </div>
</div> </div>
</template> </template>
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
onClick(picker) { onClick(picker) {
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setMonth(start.getMonth() - 5); start.setMonth(start.getMonth() - 6);
picker.$emit('pick', [start, end]); picker.$emit('pick', [start, end]);
} }
}] }]
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setMonth(start.getMonth() - 5); start.setMonth(start.getMonth() - 6);
this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)] this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)]
this.msg.startDate = this.dateTime[0] this.msg.startDate = this.dateTime[0]
this.msg.endDate = this.dateTime[1] this.msg.endDate = this.dateTime[1]
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
}else{ }else{
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setMonth(start.getMonth() - 5); start.setMonth(start.getMonth() - 6);
this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)] this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)]
this.msg.startDate = start this.msg.startDate = start
this.msg.endDate = end this.msg.endDate = end
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div v-if="LossIncomeList&&LossIncomeList.length>0" style="font-size: 14px;color: red;margin-bottom: 3px;text-align: right;"> <div v-if="LossIncomeList&&LossIncomeList.length>0" style="font-size: 14px;color: red;margin-bottom: 3px;text-align: right;">
<!-- 注: 韩国线与日本自由行是统计团队亏损,其他线路为机票损失 --> <!-- 注: 韩国线与日本自由行是统计团队亏损,其他线路为机票损失 -->
注: 以下为团队航班目的地统计 注: 以下为团队航空公司-线路-航班目的地统计
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr> <tr>
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
goToDetail(item){ goToDetail(item){
if(item.Value!='损失占比'){ if(item.Value!='损失占比'){
if(item.IsTravel==1){ if(item.IsTravel==1){
if(item.LossType==-1){ if(item.AirType && item.AirType==2){
this.$router.push({ this.$router.push({
name: 'TeamRevenueReport', name: 'TeamRevenueReport',
query: { query: {
...@@ -130,6 +130,7 @@ export default { ...@@ -130,6 +130,7 @@ export default {
LineId:item.LineId, LineId:item.LineId,
IsSelectTravelLoss:2, IsSelectTravelLoss:2,
AirLossId:item.AirLossId, AirLossId:item.AirLossId,
AirLossType:item.LossType,
blank: "y", blank: "y",
} }
}); });
......
...@@ -2488,6 +2488,7 @@ export default { ...@@ -2488,6 +2488,7 @@ export default {
if(this.$route.query.IsSelectTravelLoss){ if(this.$route.query.IsSelectTravelLoss){
this.msg.IsSelectTravelLoss=this.$route.query.IsSelectTravelLoss; this.msg.IsSelectTravelLoss=this.$route.query.IsSelectTravelLoss;
this.msg.LossId = this.$route.query.AirLossId; this.msg.LossId = this.$route.query.AirLossId;
this.msg.LossType = this.$route.query.AirLossType;
if(this.msg.IsSelectTravelLoss==2){ if(this.msg.IsSelectTravelLoss==2){
this.msg.DataType="-1"; this.msg.DataType="-1";
} }
......
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