Commit 72b91f55 authored by 黄奎's avatar 黄奎

页面修改

parent d15289aa
<style> <style>
.TB_comtitle { .TB_comtitle {
color: #333333; color: #333333;
padding-left: 10px; padding-left: 10px;
height: 14px; height: 14px;
line-height: 14px; line-height: 14px;
font-size: 14px; font-size: 14px;
border-left: 3px solid #e95252; border-left: 3px solid #e95252;
margin-bottom: 20px; margin-bottom: 20px;
} }
.Team_Details {
margin-top: 20px; .Team_Details {
font-size: 12px; margin-top: 20px;
} font-size: 12px;
.Team_DList { }
border: 1px solid #e6e6e6;
background-color: #fff; .Team_DList {
padding: 20px; border: 1px solid #e6e6e6;
height: 200px; background-color: #fff;
} padding: 20px;
.TeamBalancePayment .singeRowTable tr th { height: 200px;
height: 30px; }
}
.TeamBalancePayment .singeRowTable tr td { .TeamBalancePayment .singeRowTable tr th {
border: 1px solid #e5e5e5; height: 30px;
height: 60px; }
}
/* .Team_Content .el-col-5 { .TeamBalancePayment .singeRowTable tr td {
border: 1px solid #e5e5e5;
height: 60px;
}
/* .Team_Content .el-col-5 {
margin-right: 18px; margin-right: 18px;
} */ } */
.Team_Coins { .Team_Coins {
color: #ff9c00; color: #ff9c00;
} }
.Team_income {
color: #4d7afd; .Team_income {
text-decoration: underline; color: #4d7afd;
cursor: pointer; text-decoration: underline;
} cursor: pointer;
.TB-Title { }
float: left;
position: relative; .TB-Title {
top: 10px; float: left;
} position: relative;
.Team_ComCoin { top: 10px;
width: 60%; }
margin: auto;
text-align: left; .Team_ComCoin {
} width: 60%;
.Team_btmDiv { margin: auto;
margin-top: 5px; text-align: left;
} }
.Team_collection {
margin-top: 40px; .Team_btmDiv {
} margin-top: 5px;
.Team_outCome { }
color: #ff9c00;
} .Team_collection {
.Team_Pay { margin-top: 40px;
color: #ff5150; }
}
.TeamAddBtn { .Team_outCome {
float: right; color: #ff9c00;
margin-bottom: 10px; }
}
.Team_DList div { .Team_Pay {
margin-bottom: 8px; color: #ff5150;
color: #666666; }
}
.Team_firstTitle { .TeamAddBtn {
font-size: 18px; float: right;
font-family: "PingFang-SC-Bold"; margin-bottom: 10px;
color: #333333 !important; }
}
.Team_comCoinType { .Team_DList div {
display: inline-block; margin-bottom: 8px;
width: 24px; color: #666666;
height: 24px; }
border-radius: 50%;
position: relative; .Team_firstTitle {
top: -1px; font-size: 18px;
} font-family: "PingFang-SC-Bold";
.Team_shou { color: #333333 !important;
background-color: #d7e6ff; }
color: #4d7afd;
} .Team_comCoinType {
.Team_Incontent { display: inline-block;
margin: 15px 0 0 35px; width: 24px;
} height: 24px;
.Team_firstTitle span { border-radius: 50%;
margin-right: 10px; position: relative;
text-align: center; top: -1px;
line-height: 24px; }
font-size: 12px;
} .Team_shou {
.Team_Incontent span { background-color: #d7e6ff;
margin-left: 20px; color: #4d7afd;
font-size: 14px; }
font-family: 'PingFangSC-Fine';
} .Team_Incontent {
.Team_zhichu { margin: 15px 0 0 35px;
background-color: #fde2df; }
color: #ff504f;
} .Team_firstTitle span {
.Team_lirun { margin-right: 10px;
background-color: #d1f3ea; text-align: center;
color: #1bc594; line-height: 24px;
} font-size: 12px;
.Team_BtnList { }
margin-top: 30px;
text-align: center; .Team_Incontent span {
} margin-left: 20px;
.TB_Rate, font-size: 14px;
.TB_PayMoney { font-family: 'PingFangSC-Fine';
margin-left: 20px; }
}
.TeamBalancePayment .TB_PrintDiv{height:40px;} .Team_zhichu {
.span_all{ background-color: #fde2df;
margin-left:15px; color: #ff504f;
} }
.Team_lirun {
background-color: #d1f3ea;
color: #1bc594;
}
.Team_BtnList {
margin-top: 30px;
text-align: center;
}
.TB_Rate,
.TB_PayMoney {
margin-left: 20px;
}
.TeamBalancePayment .TB_PrintDiv {
height: 40px;
}
.span_all {
margin-left: 15px;
}
</style> </style>
<template> <template>
...@@ -148,7 +177,7 @@ ...@@ -148,7 +177,7 @@
<div>实收<span class="Team_Coins">{{DataList.TeamBalance.ActualReceive}}</span></div> <div>实收<span class="Team_Coins">{{DataList.TeamBalance.ActualReceive}}</span></div>
<div>待收<span class="Team_Coins">{{DataList.TeamBalance.WaitRecive}}</span></div> <div>待收<span class="Team_Coins">{{DataList.TeamBalance.WaitRecive}}</span></div>
<div> <div>
注:应收=订单应收总额,实收=订单实收总额 注:应收=订单应收总额,实收=订单实收总额
</div> </div>
</div> </div>
</div> </div>
...@@ -181,7 +210,7 @@ ...@@ -181,7 +210,7 @@
<div>实际利润<span>{{DataList.TeamBalance.ExpectedProfit}}</span></div> <div>实际利润<span>{{DataList.TeamBalance.ExpectedProfit}}</span></div>
<div>当前利润<span class="Team_Coins">{{DataList.TeamBalance.ActualProfit}}</span></div> <div>当前利润<span class="Team_Coins">{{DataList.TeamBalance.ActualProfit}}</span></div>
<div> <div>
注:实收-(应付/实付)+佣金收入+自费收入-联运成本 注:实收-(应付/实付)+佣金收入+自费收入-联运成本
</div> </div>
</div> </div>
</div> </div>
...@@ -194,7 +223,13 @@ ...@@ -194,7 +223,13 @@
</span>其他 </span>其他
</div> </div>
<div class="Team_Incontent"> <div class="Team_Incontent">
<div>&nbsp;&nbsp;&nbsp;<span>{{DataList.ExpectedCut}}</span></div> <div>&nbsp;&nbsp;&nbsp;
<span>
<template v-for="subItem in DataList.ExpectedCutList">
{{subItem.BranchName}}{{subItem.expectedCut}} <br/>
</template>
</span>
</div>
<div>联运成本<span>¥{{DataList.LYCB}}</span></div> <div>联运成本<span>¥{{DataList.LYCB}}</span></div>
</div> </div>
<div class="Team_firstTitle"> <div class="Team_firstTitle">
...@@ -203,7 +238,7 @@ ...@@ -203,7 +238,7 @@
</span>优惠 </span>优惠
</div> </div>
<div class="Team_Incontent"> <div class="Team_Incontent">
<div>&nbsp;&nbsp;&nbsp;<span>{{DataList.TeamBalance.DiscountMoney}}</span></div> <div>&nbsp;&nbsp;&nbsp;<span>¥{{DataList.TeamBalance.DiscountMoney}}</span></div>
</div> </div>
</div> </div>
</el-col> </el-col>
...@@ -227,16 +262,15 @@ ...@@ -227,16 +262,15 @@
<div class="Team_collection" v-loading="loading"> <div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">收入</div> <div class="TB_comtitle TB-Title">收入</div>
<input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn" @click="AddIncomeDetail" /> <input type="button" value="新增" class="hollowFixedBtn TeamAddBtn" v-show="ishowBtn"
@click="AddIncomeDetail" />
</div> </div>
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">团费收入: <div class="TB_comtitle TB-Title">团费收入:
<span v-if="moneyAll.Moneyall>0 || moneyAll.PayMoneyall>0"> <span v-if="moneyAll.Moneyall>0 || moneyAll.PayMoneyall>0">
<span class="span_all">应收:¥{{moneyFormat(moneyAll.Moneyall)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.Moneyall)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.PayMoneyall)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.PayMoneyall)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -252,7 +286,8 @@ ...@@ -252,7 +286,8 @@
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="isExists(item.CostTypeList,'团费') || isExists(item.CostTypeList,'团款')"> <tr v-if="isExists(item.CostTypeList,'团费') || isExists(item.CostTypeList,'团款')">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> <td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -286,7 +321,6 @@ ...@@ -286,7 +321,6 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.dijieys)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.dijieys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.dijiess)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.dijiess)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -302,7 +336,8 @@ ...@@ -302,7 +336,8 @@
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="isExists(item.CostTypeList,'地接费(结算)')"> <tr v-if="isExists(item.CostTypeList,'地接费(结算)')">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> <td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -336,7 +371,7 @@ ...@@ -336,7 +371,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.zifeiys)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.zifeiys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.zifeiss)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.zifeiss)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -352,7 +387,8 @@ ...@@ -352,7 +387,8 @@
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="isExists(item.CostTypeList,'自费')"> <tr v-if="isExists(item.CostTypeList,'自费')">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> <td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -386,7 +422,7 @@ ...@@ -386,7 +422,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.xiaofeiys)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.xiaofeiys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.xiaofeiss)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.xiaofeiss)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -402,7 +438,8 @@ ...@@ -402,7 +438,8 @@
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="isExists(item.CostTypeList,'小费')"> <tr v-if="isExists(item.CostTypeList,'小费')">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> <td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -436,7 +473,6 @@ ...@@ -436,7 +473,6 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.yongjinys)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.yongjinys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.yongjinss)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.yongjinss)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -452,7 +488,8 @@ ...@@ -452,7 +488,8 @@
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="item.OrderSource===7"> <tr v-if="item.OrderSource===7">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> <td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -486,7 +523,7 @@ ...@@ -486,7 +523,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.otherys)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.otherys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.otherss)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.otherss)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -501,8 +538,10 @@ ...@@ -501,8 +538,10 @@
<th width="200">当前审核人</th> <th width="200">当前审核人</th>
</tr> </tr>
<template v-for="item in DataList.FiniceReciveList"> <template v-for="item in DataList.FiniceReciveList">
<tr v-if="NotExists(item.CostTypeList,'团费')&& NotExists(item.CostTypeList,'小费')&&NotExists(item.CostTypeList,'自费') && NotExists(item.CostTypeList,'团款') && NotExists(item.CostTypeList,'地接费(结算)') && NotExists(item.CostTypeList,'小费收入') && NotExists(item.CostTypeList,'自费') && NotExists(item.CostTypeList,'佣金收入')&& item.OrderSource!==7"> <tr
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td> v-if="NotExists(item.CostTypeList,'团费')&& NotExists(item.CostTypeList,'小费')&&NotExists(item.CostTypeList,'自费') && NotExists(item.CostTypeList,'团款') && NotExists(item.CostTypeList,'地接费(结算)') && NotExists(item.CostTypeList,'小费收入') && NotExists(item.CostTypeList,'自费') && NotExists(item.CostTypeList,'佣金收入')&& item.OrderSource!==7">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td> <td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}</span></td>
<td> <td>
<div v-for="childItem in item.TradeWayList"> <div v-for="childItem in item.TradeWayList">
...@@ -543,7 +582,6 @@ ...@@ -543,7 +582,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.yqhyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.yqhyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.yqhsf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.yqhsf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -596,7 +634,6 @@ ...@@ -596,7 +634,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.cheziyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.cheziyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.chezisf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.chezisf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -649,7 +686,6 @@ ...@@ -649,7 +686,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.ticketyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.ticketyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.ticketsf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.ticketsf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -665,7 +701,8 @@ ...@@ -665,7 +701,8 @@
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<!-- <tr v-if='item.OrderSource===4 || isExists(item.CostTypeList,'国际段机票')'> --> <!-- <tr v-if='item.OrderSource===4 || isExists(item.CostTypeList,'国际段机票')'> -->
<tr v-if="(isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || isExists(item.CostTypeList,'机票退税') || isExists(item.CostTypeList,'机票罚金') || isExists(item.CostTypeList,'机票税金')) || isExists(item.CostTypeList,'国内联运段机票')"> <tr
v-if="(isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || isExists(item.CostTypeList,'机票退税') || isExists(item.CostTypeList,'机票罚金') || isExists(item.CostTypeList,'机票税金')) || isExists(item.CostTypeList,'国内联运段机票')">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span> <span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
...@@ -680,7 +717,7 @@ ...@@ -680,7 +717,7 @@
</td> </td>
<td style="font-size:14px;"> <td style="font-size:14px;">
<span v-if="item.AirTotalMoney">应付:{{item.AirTotalMoney}}(分摊:{{item.Money}})</span> <span v-if="item.AirTotalMoney">应付:{{item.AirTotalMoney}}(分摊:{{item.Money}})</span>
<span v-else>应付:{{item.Money}}</span><br/> <span v-else>应付:{{item.Money}}</span><br />
<span v-if="item.AirTotalMoney">实付:{{item.AirTotalPayMoney}}(分摊:{{item.PayMoney}})</span> <span v-if="item.AirTotalMoney">实付:{{item.AirTotalPayMoney}}(分摊:{{item.PayMoney}})</span>
<span v-else>实付:{{item.PayMoney}}</span> <span v-else>实付:{{item.PayMoney}}</span>
</td> </td>
...@@ -699,61 +736,12 @@ ...@@ -699,61 +736,12 @@
</tr> </tr>
</template> </template>
</table> </table>
<!-- <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">国内联运机票:</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="180">单号</th>
<th width="200">费用类型</th>
<th width="500">交易明细</th>
<th width="300">金额</th>
<th width="200">交易日期</th>
<th width="250">制单人员</th>
<th width='180'>审核状态</th>
<th width="200">当前审核人</th>
</tr>
<template v-for="item in DataList.FinicePayList">
<tr v-if="isExists(item.CostTypeList,'国内联运段机票')">
<td>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}<br /></span></td>
<td>
<div class="Team_ComCoin" v-for="childItem in item.TradeWayList">
支付方式:{{childItem.Alias}}&nbsp;币种:{{childItem.CurrencyName}}
<span class="Team_Coins">{{childItem.OriginalMoney}}*{{childItem.Rate}}</span>
<span class="TB_Rate">汇率 {{childItem.Rate}}</span>
</div>
</td>
<td style="font-size:14px;">
应付:{{item.Money}}<br />
实付:{{item.PayMoney}}
</td>
<td>{{item.TradeDate}}</td>
<td>
<div>{{item.EmName}}</div>
<div class="Team_btmDiv">{{item.CreateDate}}</div>
</td>
<td>{{item.StatusStr}}</td>
<td>
<div v-for="AuditItem in item.AuditList">
{{AuditItem.EmName}}
<span class="TB_Rate">{{AuditItem.AuditDate}}</span>
</div>
</td>
</tr>
</template>
</table> -->
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">签证: <div class="TB_comtitle TB-Title">签证:
<span v-if="moneyAll.qzyf>0 || moneyAll.qzsf>0"> <span v-if="moneyAll.qzyf>0 || moneyAll.qzsf>0">
<span class="span_all">应付:¥{{moneyFormat(moneyAll.qzyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.qzyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.qzsf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.qzsf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -768,7 +756,7 @@ ...@@ -768,7 +756,7 @@
<th width="200">当前审核人</th> <th width="200">当前审核人</th>
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<tr v-if="isExists(item.CostTypeList,'签证费') || isExists(item.CostTypeList,'签证佣金')" > <tr v-if="isExists(item.CostTypeList,'签证费') || isExists(item.CostTypeList,'签证佣金')">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span> <span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
...@@ -806,8 +794,6 @@ ...@@ -806,8 +794,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.tichengyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.tichengyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.tichengsf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.tichengsf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -860,7 +846,7 @@ ...@@ -860,7 +846,7 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.dijieyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.dijieyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.dijiesf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.dijiesf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -875,7 +861,8 @@ ...@@ -875,7 +861,8 @@
<th width="200">当前审核人</th> <th width="200">当前审核人</th>
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<tr v-if="(isExists(item.CostTypeList,'地接费(领取)') || (isExists(item.CostTypeList,'地接费(结算)'))) && item.Type==2"> <tr
v-if="(isExists(item.CostTypeList,'地接费(领取)') || (isExists(item.CostTypeList,'地接费(结算)'))) && item.Type==2">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span> <span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
...@@ -913,8 +900,6 @@ ...@@ -913,8 +900,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.peichangyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.peichangyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.peichangsf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.peichangsf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -967,8 +952,6 @@ ...@@ -967,8 +952,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.baoxianyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.baoxianyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.baoxiansf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.baoxiansf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -1012,17 +995,16 @@ ...@@ -1012,17 +995,16 @@
<span class="TB_Rate">{{AuditItem.AuditDate}}</span> <span class="TB_Rate">{{AuditItem.AuditDate}}</span>
</div> </div>
</td> </td>
</tr> </template> </tr>
</template>
</table> </table>
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">其他: <div class="TB_comtitle TB-Title">其他:
<span v-if="moneyAll.othersf>0 || moneyAll.otheryf>0"> <span v-if="moneyAll.othersf>0 || moneyAll.otheryf>0">
<span class="span_all">应付:¥{{moneyFormat(moneyAll.otheryf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.otheryf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.othersf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.othersf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -1037,7 +1019,8 @@ ...@@ -1037,7 +1019,8 @@
<th width="200">当前审核人</th> <th width="200">当前审核人</th>
</tr> </tr>
<template v-for="item in DataList.FinicePayList"> <template v-for="item in DataList.FinicePayList">
<tr v-if="NotExists(item.CostTypeList,'签证费')&&NotExists(item.CostTypeList,'签证佣金') && NotExists(item.CostTypeList,'地接费(领取)') && NotExists(item.CostTypeList,'地接费(结算)') && NotExists(item.CostTypeList,'提成') && NotExists(item.CostTypeList,'国内联运')&& NotExists(item.CostTypeList,'车资') && NotExists(item.CostTypeList,'邀请函费用') && NotExists(item.CostTypeList,'名单表费') && NotExists(item.CostTypeList,'领队佣金') && NotExists(item.CostTypeList,'导游佣金') &&item.OrderSource!==4 && NotExists(item.CostTypeList,'国际段机票') && NotExists(item.CostTypeList,'机票退税') && NotExists(item.CostTypeList,'机票罚金') && NotExists(item.CostTypeList,'机票税金') && item.OrderSource!==11 && NotExists(item.CostTypeList,'赔偿') && NotExists(item.CostTypeList,'保险费') && NotExists(item.CostTypeList,'旅游责任险')"> <tr
v-if="NotExists(item.CostTypeList,'签证费')&&NotExists(item.CostTypeList,'签证佣金') && NotExists(item.CostTypeList,'地接费(领取)') && NotExists(item.CostTypeList,'地接费(结算)') && NotExists(item.CostTypeList,'提成') && NotExists(item.CostTypeList,'国内联运')&& NotExists(item.CostTypeList,'车资') && NotExists(item.CostTypeList,'邀请函费用') && NotExists(item.CostTypeList,'名单表费') && NotExists(item.CostTypeList,'领队佣金') && NotExists(item.CostTypeList,'导游佣金') &&item.OrderSource!==4 && NotExists(item.CostTypeList,'国际段机票') && NotExists(item.CostTypeList,'机票退税') && NotExists(item.CostTypeList,'机票罚金') && NotExists(item.CostTypeList,'机票税金') && item.OrderSource!==11 && NotExists(item.CostTypeList,'赔偿') && NotExists(item.CostTypeList,'保险费') && NotExists(item.CostTypeList,'旅游责任险')">
<td> <td>
<el-checkbox v-model="item.checked"></el-checkbox> <el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span> <span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
...@@ -1081,7 +1064,6 @@ ...@@ -1081,7 +1064,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.leaderyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.leaderyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.leadersf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.leadersf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -1134,8 +1116,6 @@ ...@@ -1134,8 +1116,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.Guideyf)}}</span> <span class="span_all">应付:¥{{moneyFormat(moneyAll.Guideyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.Guidesf)}}</span> <span class="span_all">实付:¥{{moneyFormat(moneyAll.Guidesf)}}</span>
</span> </span>
</div> </div>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
...@@ -1197,8 +1177,6 @@ ...@@ -1197,8 +1177,6 @@
<template v-for="item in DataList.CouponOrderData"> <template v-for="item in DataList.CouponOrderData">
<tr :key="item.OrderId"> <tr :key="item.OrderId">
<td> <td>
<!-- <el-checkbox v-model="item.checked"></el-checkbox> -->
<!-- @click="goUrl('FinancialDocumentsDetail',item.OrderId)" -->
<span>{{item.OrderId}}</span> <span>{{item.OrderId}}</span>
</td> </td>
<td>{{item.ContactName}}</td> <td>{{item.ContactName}}</td>
...@@ -1206,38 +1184,39 @@ ...@@ -1206,38 +1184,39 @@
<td>{{item.CreateDate}}</td> <td>{{item.CreateDate}}</td>
<td> <td>
<el-popover style='padding: 0;' width="600" trigger="click"> <el-popover style='padding: 0;' width="600" trigger="click">
<div class="personNolayer"> <div class="personNolayer">
<table border="0" cellspacing="1" cellpadding="1"> <table border="0" cellspacing="1" cellpadding="1">
<tr> <tr>
<th>优惠券名称</th> <th>优惠券名称</th>
<th>优惠券类型</th> <th>优惠券类型</th>
<th>抵扣金额/折扣</th> <th>抵扣金额/折扣</th>
<th>使用条件</th> <th>使用条件</th>
<th>获取方式</th> <th>获取方式</th>
<th>获取日期</th> <th>获取日期</th>
</tr> </tr>
<tr v-if='item.CouponAllotList.length>0' v-for="(item2,index2) in item.CouponAllotList" :key="index2"> <tr v-if='item.CouponAllotList.length>0' v-for="(item2,index2) in item.CouponAllotList"
<td>{{item2.CouponsName}}</td> :key="index2">
<td> <td>{{item2.CouponsName}}</td>
<span v-if="item2.CouponsType==1">抵用券</span> <td>
<span v-if="item2.CouponsType==2">折扣卷</span> <span v-if="item2.CouponsType==1">抵用券</span>
</td> <span v-if="item2.CouponsType==2">折扣卷</span>
<td>{{item2.Denomination}}</td> </td>
<td>{{item2.UseCondition}}可用</td> <td>{{item2.Denomination}}</td>
<td> <td>{{item2.UseCondition}}可用</td>
<span v-if="item2.AccessType==1">抽奖</span> <td>
<span v-else></span> <span v-if="item2.AccessType==1">抽奖</span>
</td> <span v-else></span>
<td>{{item2.AcessDate}}</td> </td>
</tr> <td>{{item2.AcessDate}}</td>
<tr v-if='item.CouponAllotList.length==0'> </tr>
<td colspan="6" align="center">暂无数据</td> <tr v-if='item.CouponAllotList.length==0'>
</tr> <td colspan="6" align="center">暂无数据</td>
</table> </tr>
</div> </table>
<span style="cursor: pointer;color: #e95252;" slot="reference">{{moneyFormat(item.DiscountMoney)}}</span> </div>
</el-popover> <span style="cursor: pointer;color: #e95252;"
slot="reference">{{moneyFormat(item.DiscountMoney)}}</span>
</el-popover>
</td> </td>
</tr> </tr>
</template> </template>
...@@ -1283,7 +1262,8 @@ ...@@ -1283,7 +1262,8 @@
</div> </div>
<div class="Team_BtnList"> <div class="Team_BtnList">
<input type="button" @click="zhaunBox" value="单据转团" class="hollowFixedBtn" /> <input type="button" @click="zhaunBox" value="单据转团" class="hollowFixedBtn" />
<input type="button" v-if="!CloseIncomeBtn" @click="UpdateBrakeAccountStatus" :value="(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'" <input type="button" v-if="!CloseIncomeBtn" @click="UpdateBrakeAccountStatus"
:value="(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'"
class="hollowFixedBtn" /> class="hollowFixedBtn" />
<input type="button" value="导出" @click="ExportExcle" class="normalBtn" /> <input type="button" value="导出" @click="ExportExcle" class="normalBtn" />
<input type="button" value="打印" @click.prevent="doPrint" class="normalBtn" /> <input type="button" value="打印" @click.prevent="doPrint" class="normalBtn" />
...@@ -1305,7 +1285,7 @@ ...@@ -1305,7 +1285,7 @@
export default { export default {
data() { data() {
return { return {
gridData:[], gridData: [],
TCID: 0, TCID: 0,
//数据列表 //数据列表
DataList: [], DataList: [],
...@@ -1319,61 +1299,61 @@ ...@@ -1319,61 +1299,61 @@
FrIds: '', FrIds: '',
}, },
zhuanLoading: false, zhuanLoading: false,
moneyAll:{ moneyAll: {
Moneyall:0, Moneyall: 0,
PayMoneyall:0, PayMoneyall: 0,
// 收入 地接款 // 收入 地接款
dijieys:0, dijieys: 0,
dijiess:0, dijiess: 0,
// 收入 自费 // 收入 自费
zifeiys:0, zifeiys: 0,
zifeiss:0, zifeiss: 0,
// 收入 小费 // 收入 小费
xiaofeiys:0, xiaofeiys: 0,
xiaofeiss:0, xiaofeiss: 0,
// 收入 佣金 // 收入 佣金
yongjinys:0, yongjinys: 0,
yongjinss:0, yongjinss: 0,
// 收入 其他收入 // 收入 其他收入
otherys:0, otherys: 0,
otherss:0, otherss: 0,
// 成本 邀请函 // 成本 邀请函
yqhyf:0, yqhyf: 0,
yqhsf:0, yqhsf: 0,
// 成本 车资 // 成本 车资
cheziyf:0, cheziyf: 0,
chezisf:0, chezisf: 0,
// 成本 机票款 // 成本 机票款
ticketyf:0, ticketyf: 0,
ticketsf:0, ticketsf: 0,
// 成本 签证 // 成本 签证
qzyf:0, qzyf: 0,
qzsf:0, qzsf: 0,
// 成本 提成 // 成本 提成
tichengyf:0, tichengyf: 0,
tichengsf:0, tichengsf: 0,
// 成本 地接 // 成本 地接
dijieyf:0, dijieyf: 0,
dijiesf:0, dijiesf: 0,
// 成本 赔偿 // 成本 赔偿
peichangyf:0, peichangyf: 0,
peichangsf:0, peichangsf: 0,
// 保险费 // 保险费
baoxianyf:0, baoxianyf: 0,
baoxiansf:0, baoxiansf: 0,
// 其他收入 // 其他收入
otheryf:0, otheryf: 0,
othersf:0, othersf: 0,
// 非成本 领队 // 非成本 领队
leaderyf:0, leaderyf: 0,
leadersf:0, leadersf: 0,
// 导游 // 导游
Guideyf:0, Guideyf: 0,
Guidesf:0, Guidesf: 0,
}, },
AllCont: { AllCont: {
Income: 0, Income: 0,
...@@ -1395,11 +1375,11 @@ ...@@ -1395,11 +1375,11 @@
Status: '-1', Status: '-1',
sTradeDate: '', sTradeDate: '',
eTradeDate: '', eTradeDate: '',
EmployeeId:0, EmployeeId: 0,
ClientType: 0, ClientType: 0,
} }
this.apipost('Financial_post_GetHangingAccountTotalPrice', msg, res=>{ this.apipost('Financial_post_GetHangingAccountTotalPrice', msg, res => {
if (res.data.resultCode===1){ if (res.data.resultCode === 1) {
this.AllCont = res.data.data; this.AllCont = res.data.data;
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
...@@ -1481,47 +1461,46 @@ ...@@ -1481,47 +1461,46 @@
}); });
}, },
getList() { getList() {
let that=this; let that = this;
this.moneyAll.Moneyall=0; this.moneyAll.Moneyall = 0;
this.moneyAll.PayMoneyall=0; this.moneyAll.PayMoneyall = 0;
this.moneyAll.dijieys=0; this.moneyAll.dijieys = 0;
this.moneyAll.dijiess=0; this.moneyAll.dijiess = 0;
this.moneyAll.zifeiys=0; this.moneyAll.zifeiys = 0;
this.moneyAll.zifeiss=0; this.moneyAll.zifeiss = 0;
this.moneyAll.xiaofeiys=0; this.moneyAll.xiaofeiys = 0;
this.moneyAll.xiaofeiss=0; this.moneyAll.xiaofeiss = 0;
this.moneyAll.yongjinys=0; this.moneyAll.yongjinys = 0;
this.moneyAll.yongjinss=0; this.moneyAll.yongjinss = 0;
this.moneyAll.otherys=0; this.moneyAll.otherys = 0;
this.moneyAll.otherss=0; this.moneyAll.otherss = 0;
this.moneyAll.yqhyf=0; this.moneyAll.yqhyf = 0;
this.moneyAll.yqhsf=0; this.moneyAll.yqhsf = 0;
this.moneyAll.cheziyf=0; this.moneyAll.cheziyf = 0;
this.moneyAll.chezisf=0; this.moneyAll.chezisf = 0;
this.moneyAll.ticketyf=0; this.moneyAll.ticketyf = 0;
this.moneyAll.ticketsf=0; this.moneyAll.ticketsf = 0;
this.moneyAll.qzyf=0; this.moneyAll.qzyf = 0;
this.moneyAll.qzsf=0; this.moneyAll.qzsf = 0;
this.moneyAll.tichengyf=0; this.moneyAll.tichengyf = 0;
this.moneyAll.tichengsf=0; this.moneyAll.tichengsf = 0;
this.moneyAll.dijieyf=0; this.moneyAll.dijieyf = 0;
this.moneyAll.dijiesf=0; this.moneyAll.dijiesf = 0;
this.moneyAll.peichangyf=0; this.moneyAll.peichangyf = 0;
this.moneyAll.peichangsf=0; this.moneyAll.peichangsf = 0;
this.moneyAll.baoxianyf=0; this.moneyAll.baoxianyf = 0;
this.moneyAll.baoxiansf=0; this.moneyAll.baoxiansf = 0;
this.moneyAll.otheryf=0; this.moneyAll.otheryf = 0;
this.moneyAll.othersf=0; this.moneyAll.othersf = 0;
this.moneyAll.leaderyf=0; this.moneyAll.leaderyf = 0;
this.moneyAll.leadersf=0; this.moneyAll.leadersf = 0;
this.moneyAll.Guideyf=0; this.moneyAll.Guideyf = 0;
this.moneyAll.Guidesf=0; this.moneyAll.Guidesf = 0;
this.loading = true; this.loading = true;
let msg = { let msg = {
TCID: this.TCID TCID: this.TCID
}; };
this.apipost("travel_get_GetTeamBalanceSheet", msg, res => { this.apipost("travel_get_GetTeamBalanceSheet", msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
...@@ -1529,105 +1508,121 @@ ...@@ -1529,105 +1508,121 @@
x.checked = false; x.checked = false;
}) })
this.DataList = data; this.DataList = data;
this.DataList.FiniceReciveList.forEach(item=>{ this.DataList.FiniceReciveList.forEach(item => {
if(that.isExists(item.CostTypeList,'团费') || that.isExists(item.CostTypeList,'团款')){ if (that.isExists(item.CostTypeList, '团费') || that.isExists(item.CostTypeList, '团款')) {
// 收入 团费 // 收入 团费
this.moneyAll.Moneyall+=item.Money; this.moneyAll.Moneyall += item.Money;
this.moneyAll.PayMoneyall+=item.PayMoney; this.moneyAll.PayMoneyall += item.PayMoney;
} }
// 收入 地接款 // 收入 地接款
if(that.isExists(item.CostTypeList,'地接费(结算)')){ if (that.isExists(item.CostTypeList, '地接费(结算)')) {
this.moneyAll.dijieys+=item.Money; this.moneyAll.dijieys += item.Money;
this.moneyAll.dijiess+=item.PayMoney; this.moneyAll.dijiess += item.PayMoney;
} }
// 收入 自费 // 收入 自费
if(that.isExists(item.CostTypeList,'自费')){ if (that.isExists(item.CostTypeList, '自费')) {
this.moneyAll.zifeiys+=item.Money; this.moneyAll.zifeiys += item.Money;
this.moneyAll.zifeiss+=item.PayMoney; this.moneyAll.zifeiss += item.PayMoney;
} }
// 收入 小费 // 收入 小费
if(that.isExists(item.CostTypeList,'小费')){ if (that.isExists(item.CostTypeList, '小费')) {
this.moneyAll.xiaofeiys+=item.Money; this.moneyAll.xiaofeiys += item.Money;
this.moneyAll.xiaofeiss+=item.PayMoney; this.moneyAll.xiaofeiss += item.PayMoney;
} }
// 收入 佣金 // 收入 佣金
if(item.OrderSource===7){ if (item.OrderSource === 7) {
this.moneyAll.yongjinys+=item.Money; this.moneyAll.yongjinys += item.Money;
this.moneyAll.yongjinss+=item.PayMoney; this.moneyAll.yongjinss += item.PayMoney;
} }
// 收入 其他 // 收入 其他
if(that.NotExists(item.CostTypeList,'团费')&& that.NotExists(item.CostTypeList,'小费')&&that.NotExists(item.CostTypeList,'自费') && that.NotExists(item.CostTypeList,'团款') && that.NotExists(item.CostTypeList,'地接费(结算)') && that.NotExists(item.CostTypeList,'小费收入') && that.NotExists(item.CostTypeList,'自费') && that.NotExists(item.CostTypeList,'佣金收入')&& item.OrderSource!==7){ if (that.NotExists(item.CostTypeList, '团费') && that.NotExists(item.CostTypeList, '小费') && that
this.moneyAll.otherys+=item.Money; .NotExists(item.CostTypeList, '自费') && that.NotExists(item.CostTypeList, '团款') && that
this.moneyAll.otherss+=item.PayMoney; .NotExists(item.CostTypeList, '地接费(结算)') && that.NotExists(item.CostTypeList, '小费收入') && that
.NotExists(item.CostTypeList, '自费') && that.NotExists(item.CostTypeList, '佣金收入') && item
.OrderSource !== 7) {
this.moneyAll.otherys += item.Money;
this.moneyAll.otherss += item.PayMoney;
} }
}) })
this.DataList.FinicePayList.forEach(item=>{ this.DataList.FinicePayList.forEach(item => {
// 邀请函: // 邀请函:
if(that.isExists(item.CostTypeList,'邀请函费用') || that.isExists(item.CostTypeList,'名单表费')){ if (that.isExists(item.CostTypeList, '邀请函费用') || that.isExists(item.CostTypeList, '名单表费')) {
this.moneyAll.yqhyf+=item.Money; this.moneyAll.yqhyf += item.Money;
this.moneyAll.yqhsf+=item.PayMoney; this.moneyAll.yqhsf += item.PayMoney;
} }
// 车资 // 车资
if(that.isExists(item.CostTypeList,'车资')){ if (that.isExists(item.CostTypeList, '车资')) {
this.moneyAll.cheziyf+=item.Money; this.moneyAll.cheziyf += item.Money;
this.moneyAll.chezisf+=item.PayMoney; this.moneyAll.chezisf += item.PayMoney;
} }
// 机票款 // 机票款
if(that.isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || that.isExists(item.CostTypeList,'机票退税') || that.isExists(item.CostTypeList,'机票罚金') || that.isExists(item.CostTypeList,'机票税金') || that.isExists(item.CostTypeList,'国内联运段机票')){ if (that.isExists(item.CostTypeList, '国际段机票') || item.OrderSource === 4 || that.isExists(item
.CostTypeList, '机票退税') || that.isExists(item.CostTypeList, '机票罚金') || that.isExists(item
this.moneyAll.ticketyf+=item.Money; .CostTypeList, '机票税金') || that.isExists(item.CostTypeList, '国内联运段机票')) {
this.moneyAll.ticketsf+=item.PayMoney;
this.moneyAll.ticketyf += item.Money;
this.moneyAll.ticketsf += item.PayMoney;
} }
// 签证 // 签证
if(that.isExists(item.CostTypeList,'签证费') || that.isExists(item.CostTypeList,'签证佣金')){ if (that.isExists(item.CostTypeList, '签证费') || that.isExists(item.CostTypeList, '签证佣金')) {
this.moneyAll.qzyf+=item.Money; this.moneyAll.qzyf += item.Money;
this.moneyAll.qzsf+=item.PayMoney; this.moneyAll.qzsf += item.PayMoney;
} }
// 提成 // 提成
if(that.isExists(item.CostTypeList,'提成')){ if (that.isExists(item.CostTypeList, '提成')) {
this.moneyAll.tichengyf+=item.Money; this.moneyAll.tichengyf += item.Money;
this.moneyAll.tichengsf+=item.PayMoney; this.moneyAll.tichengsf += item.PayMoney;
} }
// 地接 // 地接
if((that.isExists(item.CostTypeList,'地接费(领取)') || (that.isExists(item.CostTypeList,'地接费(结算)'))) && item.Type==2){ if ((that.isExists(item.CostTypeList, '地接费(领取)') || (that.isExists(item.CostTypeList,
'地接费(结算)'))) && item.Type == 2) {
this.moneyAll.dijieyf+=item.Money;
this.moneyAll.dijiesf+=item.PayMoney; this.moneyAll.dijieyf += item.Money;
this.moneyAll.dijiesf += item.PayMoney;
} }
// 赔偿 // 赔偿
if(item.OrderSource===11 || that.isExists(item.CostTypeList,'赔偿')){ if (item.OrderSource === 11 || that.isExists(item.CostTypeList, '赔偿')) {
this.moneyAll.peichangyf+=item.Money; this.moneyAll.peichangyf += item.Money;
this.moneyAll.peichangsf+=item.PayMoney; this.moneyAll.peichangsf += item.PayMoney;
} }
// 保险费 // 保险费
if(that.isExists(item.CostTypeList,'保险费') || that.isExists(item.CostTypeList,'旅游责任险')){ if (that.isExists(item.CostTypeList, '保险费') || that.isExists(item.CostTypeList, '旅游责任险')) {
this.moneyAll.baoxianyf+=item.Money; this.moneyAll.baoxianyf += item.Money;
this.moneyAll.baoxiansf+=item.PayMoney; this.moneyAll.baoxiansf += item.PayMoney;
} }
// 其他 // 其他
if(that.NotExists(item.CostTypeList,'签证费')&&that.NotExists(item.CostTypeList,'签证佣金') && that.NotExists(item.CostTypeList,'地接费(领取)') && that.NotExists(item.CostTypeList,'地接费(结算)') && that.NotExists(item.CostTypeList,'提成') && that.NotExists(item.CostTypeList,'国内联运')&& that.NotExists(item.CostTypeList,'车资') && that.NotExists(item.CostTypeList,'邀请函费用') && that.NotExists(item.CostTypeList,'名单表费') && that.NotExists(item.CostTypeList,'领队佣金') && that.NotExists(item.CostTypeList,'导游佣金') &&item.OrderSource!==4 && that.NotExists(item.CostTypeList,'国际段机票') && that.NotExists(item.CostTypeList,'机票退税') && that.NotExists(item.CostTypeList,'机票罚金') && that.NotExists(item.CostTypeList,'机票税金') && item.OrderSource!==11 && that.NotExists(item.CostTypeList,'赔偿') && that.NotExists(item.CostTypeList,'保险费') && that.NotExists(item.CostTypeList,'旅游责任险')){ if (that.NotExists(item.CostTypeList, '签证费') && that.NotExists(item.CostTypeList, '签证佣金') && that
this.moneyAll.otheryf+=item.Money; .NotExists(item.CostTypeList, '地接费(领取)') && that.NotExists(item.CostTypeList, '地接费(结算)') && that
this.moneyAll.othersf+=item.PayMoney; .NotExists(item.CostTypeList, '提成') && that.NotExists(item.CostTypeList, '国内联运') && that
.NotExists(item.CostTypeList, '车资') && that.NotExists(item.CostTypeList, '邀请函费用') && that
.NotExists(item.CostTypeList, '名单表费') && that.NotExists(item.CostTypeList, '领队佣金') && that
.NotExists(item.CostTypeList, '导游佣金') && item.OrderSource !== 4 && that.NotExists(item
.CostTypeList, '国际段机票') && that.NotExists(item.CostTypeList, '机票退税') && that.NotExists(item
.CostTypeList, '机票罚金') && that.NotExists(item.CostTypeList, '机票税金') && item.OrderSource !==
11 && that.NotExists(item.CostTypeList, '赔偿') && that.NotExists(item.CostTypeList, '保险费') &&
that.NotExists(item.CostTypeList, '旅游责任险')) {
this.moneyAll.otheryf += item.Money;
this.moneyAll.othersf += item.PayMoney;
} }
// 非成本 领队佣金 // 非成本 领队佣金
if(that.isExists(item.CostTypeList,'领队佣金')){ if (that.isExists(item.CostTypeList, '领队佣金')) {
this.moneyAll.leaderyf+=item.Money; this.moneyAll.leaderyf += item.Money;
this.moneyAll.leadersf+=item.PayMoney; this.moneyAll.leadersf += item.PayMoney;
} }
// 非成本 导游佣金 // 非成本 导游佣金
if(that.isExists(item.CostTypeList,'导游佣金')){ if (that.isExists(item.CostTypeList, '导游佣金')) {
this.moneyAll.Guideyf+=item.Money; this.moneyAll.Guideyf += item.Money;
this.moneyAll.Guidesf+=item.PayMoney; this.moneyAll.Guidesf += item.PayMoney;
} }
}) })
} }
}); });
}, },
...@@ -1673,7 +1668,7 @@ ...@@ -1673,7 +1668,7 @@
ExportExcle() { ExportExcle() {
let msg = { let msg = {
TCID: this.TCID, TCID: this.TCID,
uid:this.getLocalStorage().EmployeeId uid: this.getLocalStorage().EmployeeId
}; };
this.GetLocalFile( this.GetLocalFile(
"travel_get_GetTeamBalanceSheetExport", "travel_get_GetTeamBalanceSheetExport",
...@@ -1700,21 +1695,22 @@ ...@@ -1700,21 +1695,22 @@
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
id: id,blank: "y" id: id,
blank: "y"
} }
}); });
}, },
getHangingAccountByTCIDList: function () { getHangingAccountByTCIDList: function () {
this.apipost( this.apipost(
'Financial_post_GetHangingAccountByTCIDList', 'Financial_post_GetHangingAccountByTCIDList', {
{TCID: this.TCID}, TCID: this.TCID
},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.HangingList = res.data.data this.HangingList = res.data.data
} }
}, },
err => { err => {}
}
) )
} }
}, },
...@@ -1727,4 +1723,5 @@ ...@@ -1727,4 +1723,5 @@
this.getHangingAccountByTCIDList(); this.getHangingAccountByTCIDList();
} }
}; };
</script>
\ No newline at end of file </script>
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