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

页面修改

parent d15289aa
......@@ -7,116 +7,145 @@
font-size: 14px;
border-left: 3px solid #e95252;
margin-bottom: 20px;
}
.Team_Details {
}
.Team_Details {
margin-top: 20px;
font-size: 12px;
}
.Team_DList {
}
.Team_DList {
border: 1px solid #e6e6e6;
background-color: #fff;
padding: 20px;
height: 200px;
}
.TeamBalancePayment .singeRowTable tr th {
}
.TeamBalancePayment .singeRowTable tr th {
height: 30px;
}
.TeamBalancePayment .singeRowTable tr td {
}
.TeamBalancePayment .singeRowTable tr td {
border: 1px solid #e5e5e5;
height: 60px;
}
/* .Team_Content .el-col-5 {
}
/* .Team_Content .el-col-5 {
margin-right: 18px;
} */
.Team_Coins {
.Team_Coins {
color: #ff9c00;
}
.Team_income {
}
.Team_income {
color: #4d7afd;
text-decoration: underline;
cursor: pointer;
}
.TB-Title {
}
.TB-Title {
float: left;
position: relative;
top: 10px;
}
.Team_ComCoin {
}
.Team_ComCoin {
width: 60%;
margin: auto;
text-align: left;
}
.Team_btmDiv {
}
.Team_btmDiv {
margin-top: 5px;
}
.Team_collection {
}
.Team_collection {
margin-top: 40px;
}
.Team_outCome {
}
.Team_outCome {
color: #ff9c00;
}
.Team_Pay {
}
.Team_Pay {
color: #ff5150;
}
.TeamAddBtn {
}
.TeamAddBtn {
float: right;
margin-bottom: 10px;
}
.Team_DList div {
}
.Team_DList div {
margin-bottom: 8px;
color: #666666;
}
.Team_firstTitle {
}
.Team_firstTitle {
font-size: 18px;
font-family: "PingFang-SC-Bold";
color: #333333 !important;
}
.Team_comCoinType {
}
.Team_comCoinType {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 50%;
position: relative;
top: -1px;
}
.Team_shou {
}
.Team_shou {
background-color: #d7e6ff;
color: #4d7afd;
}
.Team_Incontent {
}
.Team_Incontent {
margin: 15px 0 0 35px;
}
.Team_firstTitle span {
}
.Team_firstTitle span {
margin-right: 10px;
text-align: center;
line-height: 24px;
font-size: 12px;
}
.Team_Incontent span {
}
.Team_Incontent span {
margin-left: 20px;
font-size: 14px;
font-family: 'PingFangSC-Fine';
}
.Team_zhichu {
}
.Team_zhichu {
background-color: #fde2df;
color: #ff504f;
}
.Team_lirun {
}
.Team_lirun {
background-color: #d1f3ea;
color: #1bc594;
}
.Team_BtnList {
}
.Team_BtnList {
margin-top: 30px;
text-align: center;
}
.TB_Rate,
.TB_PayMoney {
}
.TB_Rate,
.TB_PayMoney {
margin-left: 20px;
}
.TeamBalancePayment .TB_PrintDiv{height:40px;}
.span_all{
margin-left:15px;
}
}
.TeamBalancePayment .TB_PrintDiv {
height: 40px;
}
.span_all {
margin-left: 15px;
}
</style>
<template>
......@@ -194,7 +223,13 @@
</span>其他
</div>
<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>
<div class="Team_firstTitle">
......@@ -227,7 +262,8 @@
<div class="Team_collection" v-loading="loading">
<div class="clearfix TB_PrintDiv">
<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 class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">团费收入:
......@@ -235,8 +271,6 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.Moneyall)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.PayMoneyall)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -252,7 +286,8 @@
</tr>
<template v-for="item in DataList.FiniceReciveList">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -286,7 +321,6 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.dijieys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.dijiess)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -302,7 +336,8 @@
</tr>
<template v-for="item in DataList.FiniceReciveList">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -352,7 +387,8 @@
</tr>
<template v-for="item in DataList.FiniceReciveList">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -402,7 +438,8 @@
</tr>
<template v-for="item in DataList.FiniceReciveList">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -436,7 +473,6 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.yongjinys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.yongjinss)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -452,7 +488,8 @@
</tr>
<template v-for="item in DataList.FiniceReciveList">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -501,8 +538,10 @@
<th width="200">当前审核人</th>
</tr>
<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">
<td><span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span></td>
<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">
<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>
<div v-for="childItem in item.TradeWayList">
......@@ -543,7 +582,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.yqhyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.yqhsf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -596,7 +634,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.cheziyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.chezisf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -649,7 +686,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.ticketyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.ticketsf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -665,7 +701,8 @@
</tr>
<template v-for="item in DataList.FinicePayList">
<!-- <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>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
......@@ -680,7 +717,7 @@
</td>
<td style="font-size:14px;">
<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-else>实付:{{item.PayMoney}}</span>
</td>
......@@ -699,61 +736,12 @@
</tr>
</template>
</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="TB_comtitle TB-Title">签证:
<span v-if="moneyAll.qzyf>0 || moneyAll.qzsf>0">
<span class="span_all">应付:¥{{moneyFormat(moneyAll.qzyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.qzsf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -768,7 +756,7 @@
<th width="200">当前审核人</th>
</tr>
<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>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
......@@ -806,8 +794,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.tichengyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.tichengsf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -875,7 +861,8 @@
<th width="200">当前审核人</th>
</tr>
<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>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
......@@ -913,8 +900,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.peichangyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.peichangsf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -967,8 +952,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.baoxianyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.baoxiansf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -1012,7 +995,8 @@
<span class="TB_Rate">{{AuditItem.AuditDate}}</span>
</div>
</td>
</tr> </template>
</tr>
</template>
</table>
<div class="clearfix TB_PrintDiv">
......@@ -1021,8 +1005,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.otheryf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.othersf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -1037,7 +1019,8 @@
<th width="200">当前审核人</th>
</tr>
<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>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
......@@ -1081,7 +1064,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.leaderyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.leadersf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -1134,8 +1116,6 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.Guideyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.Guidesf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -1197,8 +1177,6 @@
<template v-for="item in DataList.CouponOrderData">
<tr :key="item.OrderId">
<td>
<!-- <el-checkbox v-model="item.checked"></el-checkbox> -->
<!-- @click="goUrl('FinancialDocumentsDetail',item.OrderId)" -->
<span>{{item.OrderId}}</span>
</td>
<td>{{item.ContactName}}</td>
......@@ -1216,7 +1194,8 @@
<th>获取方式</th>
<th>获取日期</th>
</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"
:key="index2">
<td>{{item2.CouponsName}}</td>
<td>
<span v-if="item2.CouponsType==1">抵用券</span>
......@@ -1235,9 +1214,9 @@
</tr>
</table>
</div>
<span style="cursor: pointer;color: #e95252;" slot="reference">{{moneyFormat(item.DiscountMoney)}}</span>
<span style="cursor: pointer;color: #e95252;"
slot="reference">{{moneyFormat(item.DiscountMoney)}}</span>
</el-popover>
</td>
</tr>
</template>
......@@ -1283,7 +1262,8 @@
</div>
<div class="Team_BtnList">
<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" />
<input type="button" value="导出" @click="ExportExcle" class="normalBtn" />
<input type="button" value="打印" @click.prevent="doPrint" class="normalBtn" />
......@@ -1305,7 +1285,7 @@
export default {
data() {
return {
gridData:[],
gridData: [],
TCID: 0,
//数据列表
DataList: [],
......@@ -1319,61 +1299,61 @@
FrIds: '',
},
zhuanLoading: false,
moneyAll:{
Moneyall:0,
PayMoneyall:0,
moneyAll: {
Moneyall: 0,
PayMoneyall: 0,
// 收入 地接款
dijieys:0,
dijiess:0,
dijieys: 0,
dijiess: 0,
// 收入 自费
zifeiys:0,
zifeiss:0,
zifeiys: 0,
zifeiss: 0,
// 收入 小费
xiaofeiys:0,
xiaofeiss:0,
xiaofeiys: 0,
xiaofeiss: 0,
// 收入 佣金
yongjinys:0,
yongjinss:0,
yongjinys: 0,
yongjinss: 0,
// 收入 其他收入
otherys:0,
otherss:0,
otherys: 0,
otherss: 0,
// 成本 邀请函
yqhyf:0,
yqhsf:0,
yqhyf: 0,
yqhsf: 0,
// 成本 车资
cheziyf:0,
chezisf:0,
cheziyf: 0,
chezisf: 0,
// 成本 机票款
ticketyf:0,
ticketsf:0,
ticketyf: 0,
ticketsf: 0,
// 成本 签证
qzyf:0,
qzsf:0,
qzyf: 0,
qzsf: 0,
// 成本 提成
tichengyf:0,
tichengsf:0,
tichengyf: 0,
tichengsf: 0,
// 成本 地接
dijieyf:0,
dijiesf:0,
dijieyf: 0,
dijiesf: 0,
// 成本 赔偿
peichangyf:0,
peichangsf:0,
peichangyf: 0,
peichangsf: 0,
// 保险费
baoxianyf:0,
baoxiansf:0,
baoxianyf: 0,
baoxiansf: 0,
// 其他收入
otheryf:0,
othersf:0,
otheryf: 0,
othersf: 0,
// 非成本 领队
leaderyf:0,
leadersf:0,
leaderyf: 0,
leadersf: 0,
// 导游
Guideyf:0,
Guidesf:0,
Guideyf: 0,
Guidesf: 0,
},
AllCont: {
Income: 0,
......@@ -1395,11 +1375,11 @@
Status: '-1',
sTradeDate: '',
eTradeDate: '',
EmployeeId:0,
EmployeeId: 0,
ClientType: 0,
}
this.apipost('Financial_post_GetHangingAccountTotalPrice', msg, res=>{
if (res.data.resultCode===1){
this.apipost('Financial_post_GetHangingAccountTotalPrice', msg, res => {
if (res.data.resultCode === 1) {
this.AllCont = res.data.data;
} else {
this.$message.error(res.data.message)
......@@ -1481,47 +1461,46 @@
});
},
getList() {
let that=this;
this.moneyAll.Moneyall=0;
this.moneyAll.PayMoneyall=0;
this.moneyAll.dijieys=0;
this.moneyAll.dijiess=0;
this.moneyAll.zifeiys=0;
this.moneyAll.zifeiss=0;
this.moneyAll.xiaofeiys=0;
this.moneyAll.xiaofeiss=0;
this.moneyAll.yongjinys=0;
this.moneyAll.yongjinss=0;
this.moneyAll.otherys=0;
this.moneyAll.otherss=0;
this.moneyAll.yqhyf=0;
this.moneyAll.yqhsf=0;
this.moneyAll.cheziyf=0;
this.moneyAll.chezisf=0;
this.moneyAll.ticketyf=0;
this.moneyAll.ticketsf=0;
this.moneyAll.qzyf=0;
this.moneyAll.qzsf=0;
this.moneyAll.tichengyf=0;
this.moneyAll.tichengsf=0;
this.moneyAll.dijieyf=0;
this.moneyAll.dijiesf=0;
this.moneyAll.peichangyf=0;
this.moneyAll.peichangsf=0;
this.moneyAll.baoxianyf=0;
this.moneyAll.baoxiansf=0;
this.moneyAll.otheryf=0;
this.moneyAll.othersf=0;
this.moneyAll.leaderyf=0;
this.moneyAll.leadersf=0;
this.moneyAll.Guideyf=0;
this.moneyAll.Guidesf=0;
let that = this;
this.moneyAll.Moneyall = 0;
this.moneyAll.PayMoneyall = 0;
this.moneyAll.dijieys = 0;
this.moneyAll.dijiess = 0;
this.moneyAll.zifeiys = 0;
this.moneyAll.zifeiss = 0;
this.moneyAll.xiaofeiys = 0;
this.moneyAll.xiaofeiss = 0;
this.moneyAll.yongjinys = 0;
this.moneyAll.yongjinss = 0;
this.moneyAll.otherys = 0;
this.moneyAll.otherss = 0;
this.moneyAll.yqhyf = 0;
this.moneyAll.yqhsf = 0;
this.moneyAll.cheziyf = 0;
this.moneyAll.chezisf = 0;
this.moneyAll.ticketyf = 0;
this.moneyAll.ticketsf = 0;
this.moneyAll.qzyf = 0;
this.moneyAll.qzsf = 0;
this.moneyAll.tichengyf = 0;
this.moneyAll.tichengsf = 0;
this.moneyAll.dijieyf = 0;
this.moneyAll.dijiesf = 0;
this.moneyAll.peichangyf = 0;
this.moneyAll.peichangsf = 0;
this.moneyAll.baoxianyf = 0;
this.moneyAll.baoxiansf = 0;
this.moneyAll.otheryf = 0;
this.moneyAll.othersf = 0;
this.moneyAll.leaderyf = 0;
this.moneyAll.leadersf = 0;
this.moneyAll.Guideyf = 0;
this.moneyAll.Guidesf = 0;
this.loading = true;
let msg = {
TCID: this.TCID
};
this.apipost("travel_get_GetTeamBalanceSheet", msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
let data = res.data.data;
......@@ -1529,101 +1508,117 @@
x.checked = false;
})
this.DataList = data;
this.DataList.FiniceReciveList.forEach(item=>{
if(that.isExists(item.CostTypeList,'团费') || that.isExists(item.CostTypeList,'团款')){
this.DataList.FiniceReciveList.forEach(item => {
if (that.isExists(item.CostTypeList, '团费') || that.isExists(item.CostTypeList, '团款')) {
// 收入 团费
this.moneyAll.Moneyall+=item.Money;
this.moneyAll.PayMoneyall+=item.PayMoney;
this.moneyAll.Moneyall += item.Money;
this.moneyAll.PayMoneyall += item.PayMoney;
}
// 收入 地接款
if(that.isExists(item.CostTypeList,'地接费(结算)')){
this.moneyAll.dijieys+=item.Money;
this.moneyAll.dijiess+=item.PayMoney;
if (that.isExists(item.CostTypeList, '地接费(结算)')) {
this.moneyAll.dijieys += item.Money;
this.moneyAll.dijiess += item.PayMoney;
}
// 收入 自费
if(that.isExists(item.CostTypeList,'自费')){
this.moneyAll.zifeiys+=item.Money;
this.moneyAll.zifeiss+=item.PayMoney;
if (that.isExists(item.CostTypeList, '自费')) {
this.moneyAll.zifeiys += item.Money;
this.moneyAll.zifeiss += item.PayMoney;
}
// 收入 小费
if(that.isExists(item.CostTypeList,'小费')){
this.moneyAll.xiaofeiys+=item.Money;
this.moneyAll.xiaofeiss+=item.PayMoney;
if (that.isExists(item.CostTypeList, '小费')) {
this.moneyAll.xiaofeiys += item.Money;
this.moneyAll.xiaofeiss += item.PayMoney;
}
// 收入 佣金
if(item.OrderSource===7){
this.moneyAll.yongjinys+=item.Money;
this.moneyAll.yongjinss+=item.PayMoney;
if (item.OrderSource === 7) {
this.moneyAll.yongjinys += item.Money;
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){
this.moneyAll.otherys+=item.Money;
this.moneyAll.otherss+=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) {
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.yqhsf+=item.PayMoney;
this.moneyAll.yqhyf += item.Money;
this.moneyAll.yqhsf += item.PayMoney;
}
// 车资
if(that.isExists(item.CostTypeList,'车资')){
if (that.isExists(item.CostTypeList, '车资')) {
this.moneyAll.cheziyf+=item.Money;
this.moneyAll.chezisf+=item.PayMoney;
this.moneyAll.cheziyf += item.Money;
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
.CostTypeList, '机票税金') || that.isExists(item.CostTypeList, '国内联运段机票')) {
this.moneyAll.ticketyf+=item.Money;
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.qzsf+=item.PayMoney;
this.moneyAll.qzyf += item.Money;
this.moneyAll.qzsf += item.PayMoney;
}
// 提成
if(that.isExists(item.CostTypeList,'提成')){
if (that.isExists(item.CostTypeList, '提成')) {
this.moneyAll.tichengyf+=item.Money;
this.moneyAll.tichengsf+=item.PayMoney;
this.moneyAll.tichengyf += item.Money;
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,'赔偿')){
this.moneyAll.peichangyf+=item.Money;
this.moneyAll.peichangsf+=item.PayMoney;
if (item.OrderSource === 11 || that.isExists(item.CostTypeList, '赔偿')) {
this.moneyAll.peichangyf += item.Money;
this.moneyAll.peichangsf += item.PayMoney;
}
// 保险费
if(that.isExists(item.CostTypeList,'保险费') || that.isExists(item.CostTypeList,'旅游责任险')){
this.moneyAll.baoxianyf+=item.Money;
this.moneyAll.baoxiansf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '保险费') || that.isExists(item.CostTypeList, '旅游责任险')) {
this.moneyAll.baoxianyf += item.Money;
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,'旅游责任险')){
this.moneyAll.otheryf+=item.Money;
this.moneyAll.othersf+=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, '旅游责任险')) {
this.moneyAll.otheryf += item.Money;
this.moneyAll.othersf += item.PayMoney;
}
// 非成本 领队佣金
if(that.isExists(item.CostTypeList,'领队佣金')){
this.moneyAll.leaderyf+=item.Money;
this.moneyAll.leadersf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '领队佣金')) {
this.moneyAll.leaderyf += item.Money;
this.moneyAll.leadersf += item.PayMoney;
}
// 非成本 导游佣金
if(that.isExists(item.CostTypeList,'导游佣金')){
this.moneyAll.Guideyf+=item.Money;
this.moneyAll.Guidesf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '导游佣金')) {
this.moneyAll.Guideyf += item.Money;
this.moneyAll.Guidesf += item.PayMoney;
}
})
......@@ -1673,7 +1668,7 @@
ExportExcle() {
let msg = {
TCID: this.TCID,
uid:this.getLocalStorage().EmployeeId
uid: this.getLocalStorage().EmployeeId
};
this.GetLocalFile(
"travel_get_GetTeamBalanceSheetExport",
......@@ -1700,21 +1695,22 @@
this.$router.push({
name: path,
query: {
id: id,blank: "y"
id: id,
blank: "y"
}
});
},
getHangingAccountByTCIDList: function () {
this.apipost(
'Financial_post_GetHangingAccountByTCIDList',
{TCID: this.TCID},
'Financial_post_GetHangingAccountByTCIDList', {
TCID: this.TCID
},
res => {
if (res.data.resultCode == 1) {
this.HangingList = res.data.data
}
},
err => {
}
err => {}
)
}
},
......@@ -1727,4 +1723,5 @@
this.getHangingAccountByTCIDList();
}
};
</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