Commit 84bfb52a authored by huangyuanyuan's avatar huangyuanyuan
parents 3b05b3ab 5765c07e
...@@ -116,9 +116,9 @@ ...@@ -116,9 +116,9 @@
<td>{{item.B2CMemberPrice}}</td> <td>{{item.B2CMemberPrice}}</td>
<td>{{item.TotalSeat}}</td> <td>{{item.TotalSeat}}</td>
<td> <td>
<span class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span></span> <span class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span></span>
</td> </td>
<td><span class="Order_RS" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderPaymentNum}}</span></td> <td><span class="Order_RS" @click="goUrl('RegistrationList',item.TCID,'设置领队')">{{item.OrderPaymentNum}}</span></td>
<td><span :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'" @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:"设置领队"}}</span></td> <td><span :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'" @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:"设置领队"}}</span></td>
<td><span :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'" @click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span></td> <td><span :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'" @click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span></td>
<td><span class="RS_Nameover">{{item.OPRemark}}</span></td> <td><span class="RS_Nameover">{{item.OPRemark}}</span></td>
...@@ -265,9 +265,10 @@ export default { ...@@ -265,9 +265,10 @@ export default {
"报名统计.xls" "报名统计.xls"
); );
}, },
goUrl(path, id) { goUrl(path, id,NameStr) {
if (id > 0) { if (id > 0) {
this.$router.push({name: path, query: {id: id}}); this.$router.push({name: path, query: {id: id,blank: "y",
tab: NameStr}});
} else { } else {
this.$router.push({name: path}); this.$router.push({name: path});
} }
......
<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-left: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>
...@@ -193,8 +222,15 @@ ...@@ -193,8 +222,15 @@
<i class="iconfont icon-qian"></i> <i class="iconfont icon-qian"></i>
</span>其他 </span>其他
</div> </div>
<div class="Team_Incontent"> <div class="Team_Incontent" style="height:80px;overflow:auto;">
<div>&nbsp;&nbsp;&nbsp;<span>{{DataList.ExpectedCut}}</span></div> <div>
<div>&nbsp;&nbsp;&nbsp;</div>
<div style="margin-bottom:6px;">
<template v-for="subItem in DataList.ExpectedCutList">
<div style="margin-bottom:10px;">{{subItem.BranchName}}{{subItem.expectedCut}} </div>
</template>
</div>
</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 +239,7 @@ ...@@ -203,7 +239,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 +263,15 @@ ...@@ -227,16 +263,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 +287,8 @@ ...@@ -252,7 +287,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 +322,6 @@ ...@@ -286,7 +322,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 +337,8 @@ ...@@ -302,7 +337,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 +372,7 @@ ...@@ -336,7 +372,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 +388,8 @@ ...@@ -352,7 +388,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 +423,7 @@ ...@@ -386,7 +423,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 +439,8 @@ ...@@ -402,7 +439,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 +474,6 @@ ...@@ -436,7 +474,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 +489,8 @@ ...@@ -452,7 +489,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 +524,7 @@ ...@@ -486,7 +524,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 +539,10 @@ ...@@ -501,8 +539,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 +583,6 @@ ...@@ -543,7 +583,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 +635,6 @@ ...@@ -596,7 +635,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 +687,6 @@ ...@@ -649,7 +687,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 +702,8 @@ ...@@ -665,7 +702,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 +718,7 @@ ...@@ -680,7 +718,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 +737,12 @@ ...@@ -699,61 +737,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 +757,7 @@ ...@@ -768,7 +757,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 +795,6 @@ ...@@ -806,8 +795,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 +847,7 @@ ...@@ -860,7 +847,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 +862,8 @@ ...@@ -875,7 +862,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 +901,6 @@ ...@@ -913,8 +901,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 +953,6 @@ ...@@ -967,8 +953,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 +996,16 @@ ...@@ -1012,17 +996,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 +1020,8 @@ ...@@ -1037,7 +1020,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 +1065,6 @@ ...@@ -1081,7 +1065,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 +1117,6 @@ ...@@ -1134,8 +1117,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 +1178,6 @@ ...@@ -1197,8 +1178,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 +1185,39 @@ ...@@ -1206,38 +1185,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 +1263,8 @@ ...@@ -1283,7 +1263,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 +1286,7 @@ ...@@ -1305,7 +1286,7 @@
export default { export default {
data() { data() {
return { return {
gridData:[], gridData: [],
TCID: 0, TCID: 0,
//数据列表 //数据列表
DataList: [], DataList: [],
...@@ -1319,61 +1300,61 @@ ...@@ -1319,61 +1300,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 +1376,11 @@ ...@@ -1395,11 +1376,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 +1462,46 @@ ...@@ -1481,47 +1462,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 +1509,121 @@ ...@@ -1529,105 +1509,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 +1669,7 @@ ...@@ -1673,7 +1669,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 +1696,22 @@ ...@@ -1700,21 +1696,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 +1724,5 @@ ...@@ -1727,4 +1724,5 @@
this.getHangingAccountByTCIDList(); this.getHangingAccountByTCIDList();
} }
}; };
</script>
\ No newline at end of file </script>
...@@ -1176,7 +1176,8 @@ ...@@ -1176,7 +1176,8 @@
item.SalePlatList.push(parseInt(y)) item.SalePlatList.push(parseInt(y))
}) })
} }
}) //console.log("HotelOrderListReports",item.HotelOrderListReports);
});
} }
}, },
err => {} err => {}
...@@ -1782,7 +1783,7 @@ ...@@ -1782,7 +1783,7 @@
if (this.queryCommonData.IsParentCompany != 1) { if (this.queryCommonData.IsParentCompany != 1) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id) this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id)
} }
this.getControlList() this.getControlList();
} }
} }
......
...@@ -55,8 +55,8 @@ ...@@ -55,8 +55,8 @@
v-loading="QueryMsg.loading" v-loading="QueryMsg.loading"
> >
<tr> <tr>
<th width="50">ID</th> <th width="50">房间数</th>
<th width="50">分房</th> <th width="50">房号</th>
<th width="130">酒店及房型</th> <th width="130">酒店及房型</th>
<th width="130">旅客姓名</th> <th width="130">旅客姓名</th>
<th width="110">英文姓</th> <th width="110">英文姓</th>
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
</tr> </tr>
<tbody v-for="(item,index) in QueryMsg.dataList" :key="index"> <tbody v-for="(item,index) in QueryMsg.dataList" :key="index">
<tr v-for="(subItem,subIndex) in item"> <tr v-for="(subItem,subIndex) in item">
<td>{{subItem.Number}}</td> <td v-if="subIndex==0" :rowspan="subItem.RowsCount">{{index+1}}</td>
<td>{{subItem.HouseNo!="10000"?subItem.HouseNo:""}}</td> <td v-if="subIndex==0" :rowspan="subItem.RowsCount"></td>
<td>{{getHouseTypeStr(subItem)}}</td> <td>{{getHouseTypeStr(subItem)}}</td>
<td>{{subItem.GuestName}}</td> <td>{{subItem.GuestName}}</td>
<td>{{subItem.ESurName}}</td> <td>{{subItem.ESurName}}</td>
...@@ -106,11 +106,11 @@ ...@@ -106,11 +106,11 @@
</td> </td>
<td>{{subItem.VisaType}}</td> <td>{{subItem.VisaType}}</td>
</tr> </tr>
<tr height="30"> <!-- <tr height="30">
<td colspan="21" align="left"> <td colspan="21" align="left">
<span class="colorE95252" style="text-align:left">备注:{{item[0].Remarks}}</span> <span class="colorE95252" style="text-align:left">备注:{{item[0].Remarks}}</span>
</td> </td>
</tr> </tr> -->
</tbody> </tbody>
</table> </table>
</div> </div>
......
<style>
.busManagerTalbe {
background: #ccc;
font-size:12px;
}
.busManagerTalbe tr {
background: #fff;
text-align: center;
height: 40px;
}
.commonBackColor {
background-color: #E6E6E6;
color:#333;
}
.comTextAlign{
text-align: left;
padding-left: 20px;
}
</style>
<template>
<div>
<table border="0" cellspacing="1" cellpadding="0" class="busManagerTalbe" style="width: 100%;">
<tr>
<td colspan="6">印象ジャパンバス手配依頼書</td>
</tr>
<tr>
<td class="commonBackColor">団 體 名:</td>
<td colspan="5" class="comTextAlign">HP20190428A1</td>
</tr>
<tr>
<td class="commonBackColor">ガイド名前:</td>
<td class="comTextAlign">张三丰</td>
<td class="commonBackColor">攜帯番號:</td>
<td colspan="3" class="comTextAlign">123456789</td>
</tr>
<tr>
<td class="commonBackColor">人   數:</td>
<td colspan="5" class="comTextAlign">25+1</td>
</tr>
<tr>
<td class="commonBackColor">バス 種類:</td>
<td colspan="5" class="comTextAlign">1</td>
</tr>
<tr>
<td class="commonBackColor">スケジュール:</td>
<td colspan="5" class="comTextAlign"></td>
</tr>
<tr>
<td class="commonBackColor">日付</td>
<td class="commonBackColor">用車状況</td>
<td class="commonBackColor">便名</td>
<td class="commonBackColor">スケジュール內容</td>
<td class="commonBackColor">ホテル</td>
<td class="commonBackColor">ホテルTEL</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>備考欄:</td>
<td colspan="5" class="comTextAlign">04/28日接机+0天+05/04日东京成田国际机场送机,订房号:HP20190428A1</td>
</tr>
<tr>
<td colspan="6" class="comTextAlign">*迎えや送りは必要・不要となることは、必ず標記してください。</td>
</tr>
<tr>
<td colspan="6" class="comTextAlign">*直接バス會社へ送付するので、必ず日本語でご記入ください。</td>
</tr>
</table>
</div>
</template>
<style> <style>
.GOd_Table { .GOd_Table {
width: 100%; width: 100%;
font-size: 12px; font-size: 12px;
color: #333; color: #333;
margin:20px 0 auto; margin: 20px 0 auto;
border-collapse: collapse; border-collapse: collapse;
background-color: #fff; background-color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.GOd_Table td {
border: 1px solid #d1d1d1; .GOd_Table td {
text-align: center; border: 1px solid #d1d1d1;
height: 40px; text-align: center;
padding:5px; height: 40px;
} padding: 5px;
.GOd_Table th { }
background-color: #e6e6e6;
border: 1px solid #d1d1d1; .GOd_Table th {
height: 40px; background-color: #e6e6e6;
} border: 1px solid #d1d1d1;
.GD_comDiv { height: 40px;
width: 100%; }
height: 25px;
line-height: 25px; .GD_comDiv {
text-align: center; width: 100%;
border-bottom: 1px solid #d1d1d1; height: 25px;
} line-height: 25px;
.GOd_Table td .GD_comDiv:last-child { text-align: center;
border: none; border-bottom: 1px solid #d1d1d1;
} }
.GD_comPad{padding:0!important;}
.GOd_Table td .GD_comDiv:last-child {
border: none;
}
.GD_comPad {
padding: 0 !important;
}
.groundLastTable{
margin:20px 0;
font-size:12px;
}
.gdBtn{
position: relative;
top:-45px;
}
</style> </style>
<template> <template>
<div v-if="isShow"> <div v-if="isShow">
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0"> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th colspan="9">导游领队运行计划表</th> <th colspan="9">导游领队运行计划表</th>
</tr> </tr>
<tr> <tr>
<th width="150">出发地</th> <th width="150">出发地</th>
<th>航班时间</th> <th>航班时间</th>
<th>集合时间</th> <th>集合时间</th>
<th width="500">出团名称</th> <th width="500">出团名称</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-for="item in BaseInfo"> <tr v-for="item in BaseInfo">
<td>{{item.StartCityNames}}</td> <td>{{item.StartCityNames}}</td>
<td> <td>
<span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span> <span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span>
</td> </td>
<td>{{item.GatherTime}}</td> <td>{{item.GatherTime}}</td>
<td style="text-align:left;">{{item.Titles}}</td> <td style="text-align:left;">{{item.Titles}}</td>
<td>{{item.DayNum}}</td> <td>{{item.DayNum}}</td>
<td>{{item.InOut}}</td> <td>{{item.InOut}}</td>
<td>{{item.TotalSeat}}+1</td> <td>{{item.TotalSeat}}+1</td>
<td>{{item.LeaderName}}</td> <td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td> <td>{{item.GuideName}}</td>
</tr> </tr>
<tr> <tr>
<td>特殊要求</td> <td>特殊要求</td>
<td colspan="8"></td> <td colspan="8"></td>
</tr> </tr>
<tr> <tr>
<td rowspan="5"> <td rowspan="5">
部门负责人 部门负责人
</td> </td>
<td>机票负责人</td> <td>机票负责人</td>
<td>{{PrincipalList[0].CreateByName}}</td> <td>{{PrincipalList[0].CreateByName}}</td>
<td>联系电话</td> <td>联系电话</td>
<td colspan="5">{{PrincipalList[0].CreateByMobile}}</td> <td colspan="5">{{PrincipalList[0].CreateByMobile}}</td>
</tr> </tr>
<tr> <tr>
<td>订房负责人</td> <td>订房负责人</td>
<td>{{PrincipalList[0].HConfirmName}}</td> <td>{{PrincipalList[0].HConfirmName}}</td>
<td>联系电话</td> <td>联系电话</td>
<td colspan="5">{{PrincipalList[0].HConfirmMobile}}</td> <td colspan="5">{{PrincipalList[0].HConfirmMobile}}</td>
</tr> </tr>
<tr> <tr>
<td>车辆负责人</td> <td>车辆负责人</td>
<td>{{PrincipalList[0].BConfirmName}}</td> <td>{{PrincipalList[0].BConfirmName}}</td>
<td>联系电话</td> <td>联系电话</td>
<td colspan="5">{{PrincipalList[0].BConfirmMobile}}</td> <td colspan="5">{{PrincipalList[0].BConfirmMobile}}</td>
</tr> </tr>
<tr> <tr>
<td>订餐负责人</td> <td>订餐负责人</td>
<td>{{PrincipalList[0].DConfirmName}}</td> <td>{{PrincipalList[0].DConfirmName}}</td>
<td>联系电话</td> <td>联系电话</td>
<td colspan="5">{{PrincipalList[0].DConfirmMobile}}</td> <td colspan="5">{{PrincipalList[0].DConfirmMobile}}</td>
</tr> </tr>
<tr> <tr>
<td>门票负责人</td> <td>门票负责人</td>
<td>{{PrincipalList[0].TConfirmName}}</td> <td>{{PrincipalList[0].TConfirmName}}</td>
<td>联系电话</td> <td>联系电话</td>
<td colspan="5">{{PrincipalList[0].TConfirmMobile}}</td> <td colspan="5">{{PrincipalList[0].TConfirmMobile}}</td>
</tr> </tr>
</table> </table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0"> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th colspan="9">车辆使用</th> <th colspan="9">车辆使用</th>
</tr> </tr>
<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>
<th>金额</th> <th>备注</th>
<!-- <th>付款方式</th> --> </tr>
<th>备注</th> <tr v-for="item in DMCStaticsCommon.BusList">
</tr> <td>{{item.BusCode}}</td>
<tr v-for="item in DMCStaticsCommon.BusList"> <td>{{item.BusCompany}}</td>
<td>{{item.BusCode}}</td> <td>{{item.PlanDateStr}}</td>
<td>{{item.BusCompany}}</td> <td>{{item.BusNum}}</td>
<td>{{item.PlanDateStr}}</td> <td>{{item.DriverName}}</td>
<td>{{item.BusNum}}</td> <td>{{item.DriverTel}}</td>
<td>{{item.DriverName}}</td> <td width="300">{{item.Remarks}}</td>
<td>{{item.DriverTel}}</td> </tr>
<td>{{item.CostPrice*(Number(item.TransferNum)+1)}}</td> </table>
<!-- <td>现付</td> --> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<td>{{item.Remarks}}</td> <tr>
</tr> <th colspan="17">酒店使用</th>
</table> </tr>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0"> <tr>
<tr> <th width="80">订房号</th>
<th colspan="17">酒店使用</th> <th width="180">酒店名称</th>
</tr> <th width="100">入住时间</th>
<tr> <th width="80">占床/不占床</th>
<th width="80">订房号</th> <th width="80">实际用房数</th>
<th width="180">酒店名称</th> <th width="80">联系电话</th>
<th width="100">入住时间</th> <th width="200">地址</th>
<th width="80">占床/不占床</th> <th width="200">备注</th>
<th width="80">实际用房数</th> </tr>
<th width="90">房间类型</th> <tbody v-for="item in DMCStaticsCommon.HotelOrderListReport">
<th width="60">房间数</th> <tr v-for="subItem in item.HotelOrderList">
<th width="80">房间预订数</th> <td>{{subItem.ReserveNo}}</td>
<th width="80">尚差房间数</th> <td style="text-align:left;">{{subItem.HotelName}}</td>
<th width="80">单价</th> <td>{{subItem.CheckInDateStr}}</td>
<th width="80">免减人数</th> <td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td>
<th width="80">金额</th> <td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td>
<th width="80">返佣</th> <td>{{subItem.Tel}}</td>
<th width="80">付款方式</th> <td style="text-align:left;">{{subItem.Address}}</td>
<th width="80">联系电话</th> <td style="text-align:left;">{{subItem.Remarks}}</td>
<th width="200">地址</th> </tr>
<th width="100">备注</th> </tbody>
</tr> </table>
<tbody v-for="item in DMCStaticsCommon.HotelOrderListReport"> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr v-for="subItem in item.HotelOrderList"> <tr>
<td>{{subItem.ReserveNo}}</td> <th colspan="15">餐食使用</th>
<td style="text-align:left;">{{subItem.HotelName}}</td> </tr>
<td>{{subItem.CheckInDateStr}}</td> <tr>
<td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td> <th width="80">订餐号</th>
<td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td> <th width="80">用餐时间</th>
<td class="GD_comPad"> <th width="80">餐厅名称</th>
<div class="GD_comDiv" v-for="childItem in subItem.HouseStatistics.HouseTypeList"> <th width="50">类别</th>
{{childItem.HouseTypeName}} <th width="80">餐饮类型</th>
</div> <th width="80">总人数</th>
</td> <th width="80">联系电话</th>
<td class="GD_comPad"> <th width="200">地址</th>
<div class="GD_comDiv" v-for="childItem in subItem.HouseStatistics.HouseTypeList"> <th width="300">备注</th>
{{childItem.HouseTypeCount}} </tr>
</div> <tbody v-for="item in DMCStaticsCommon.DiningList">
</td> <tr v-for="subItem in item.DiningSummaryList">
<td class="GD_comPad"> <td>{{subItem.ReserveNo}}</td>
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList"> <td>{{subItem.UseTimeStr}}</td>
{{childItem.HouseTypeCount}} <td>{{subItem.DiningName}}</td>
</div> <td>{{subItem.UseDinnerTypeStr}}</td>
</td> <td>{{subItem.MealName}}</td>
<td class="GD_comPad"> <td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<div class="GD_comDiv" v-for="(childItem,index) in subItem.OrderDetailsList"> <td>{{subItem.Tel}}</td>
{{childItem.HouseTypeCount-subItem.HouseStatistics.HouseTypeList[index].HouseTypeCount}} <td style="text-align:left;">{{subItem.Address}}</td>
</div> <td style="text-align:left;">{{subItem.Remarks}}</td>
</td> </tr>
<td class="GD_comPad"> </tbody>
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList"> </table>
{{childItem.UnitPrice}} <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
</div> <tr>
</td> <th colspan="12">门票使用</th>
<td class="GD_comPad"> </tr>
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList"> <tr>
{{childItem.HotelDiscount}} <th>游览时间</th>
</div> <th width="400">景点名称</th>
</td> <th>总人数</th>
<td class="GD_comPad"> <th>联系电话</th>
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList"> <th width="300">地址</th>
{{childItem.UnitPrice*(childItem.HouseGuestNum-childItem.HotelDiscount)}} <th width="200">备注</th>
</div> </tr>
</td> <tbody v-for="item in DMCStaticsCommon.ScenicList">
<td class="GD_comPad"> <tr v-for="subItem in item.ScenicStatisticsList">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList"> <td>{{subItem.UseTimeStr}}</td>
{{childItem.RebateRatio}}% <td>{{subItem.ScenicName}}</td>
</div> <td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
</td> <td>{{subItem.Tel}}</td>
<td> <td style="text-align:left;">{{subItem.Address}}</td>
{{subItem.PayStyleStr}} <td style="text-align:left;">{{subItem.Remarks}}</td>
</td> </tr>
<td>{{subItem.Tel}}</td> </tbody>
<td style="text-align:left;">{{subItem.Address}}</td> </table>
<td>{{subItem.Remarks}}</td> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
</tr> <tr>
</tbody> <th colspan="6">旅客名单</th>
</table> </tr>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0"> <tr>
<tr> <th>护照号</th>
<th colspan="15">餐食使用</th> <th>性别</th>
</tr> <th>客人姓名</th>
<tr> <th>出生年月日</th>
<th width="80">订餐号</th> <th>职业</th>
<th>用餐时间</th> </tr>
<th>餐厅名称</th> <tr v-for="item in guestList">
<th width="50">类别</th> <td>{{item.PassportNo}}</td>
<th>餐饮类型</th> <td>{{item.SexStr}}</td>
<th width="80">总人数</th> <td>{{item.userName}}</td>
<th>用餐人数</th> <td>{{item.Birthday}}</td>
<th>免费人数</th> <td>{{item.Duty}}</td>
<th width="80">单价</th> </tr>
<th width="80">返佣</th> </table>
<th>总金额</th> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<th>付款方式</th> <tr>
<th>联系电话</th> <th colspan="4">购物店</th>
<th width="200">地址</th> </tr>
<th width="100">备注</th> <tr>
</tr> <th>店名</th>
<tbody v-for="item in DMCStaticsCommon.DiningList"> <th>进店时间</th>
<tr v-for="subItem in item.DiningSummaryList"> <th>地址</th>
<td>{{subItem.ReserveNo}}</td> </tr>
<td>{{subItem.UseTimeStr}}</td> <tr v-for="item in shopList">
<td>{{subItem.DiningName}}</td> <td>{{item.ShopName}}</td>
<td>{{subItem.UseDinnerTypeStr}}</td> <td>{{item.StoreTimeStr}}</td>
<td>{{subItem.MealName}}</td> <td>{{item.Address}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td> </tr>
<td class="GD_comPad"> </table>
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList"> <table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
{{peopleStrToWord(childItem.PeopleType)}}:{{childItem.PeopleNum}} <tr>
</div> <th colspan="2">行程内容</th>
</td> </tr>
<td class="GD_comPad"> <tr v-for="item in JourneyTitle">
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList"> <td width="100">{{item.DayNum}}</td>
{{childItem.Discount}} <td style="text-align:left;">{{item.Title}}</td>
</div> </tr>
</td>
<td class="GD_comPad"> </table>
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList"> <table class="groundLastTable">
{{childItem.PeoplePrice}} <tr>
</div> <td style="vertical-align:top;">
</td> 注意事项:
<td class="GD_comPad"> </td>
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList"> <td>
{{childItem.DiscountPrice}}% <el-input v-model="PostConfig.PlanDescription" type="textarea" class="w700" :autosize="{minRows: 3, maxRows: 3 }"
</div> resize="none" placeholder="注意事项" maxlength="300"></el-input>
</td> <input type="button" class="normalBtn gdBtn" @click="UpdateLeaderPay" value="保存" />
<td class="GD_comPad"> <input type="button" class="normalBtn gdBtn" @click="DownLoadLeaderPay" value="下载" />
<div class="GD_comDiv" v-for="subItem in item.DiningSummaryList"> </td>
{{diningTotalPrice(subItem.DiningPriceList)}} </tr>
</div> </table>
</td> </div>
<td>{{subItem.PayStyleStr}}</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td>{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="12">门票使用</th>
</tr>
<tr>
<th>景点名称</th>
<th>游览时间</th>
<th>总人数</th>
<th>门票类别</th>
<th>免费人数</th>
<th width="80">单价</th>
<th width="80">返佣</th>
<th>总金额</th>
<th>付款方式</th>
<th>联系电话</th>
<th width="250">地址</th>
<th width="100">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.ScenicList">
<tr v-for="subItem in item.ScenicStatisticsList">
<td>{{subItem.ScenicName}}</td>
<td>{{subItem.UseTimeStr}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.TicketPriceList">
{{peopleStrToWord(childItem.PeopleType)}}:{{childItem.PeopleNum}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.TicketPriceList">
{{childItem.Discount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.TicketPriceList">
{{childItem.PeoplePrice}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.TicketPriceList">
{{childItem.DiscountPrice}}%
</div>
</td>
<td>{{scenicTotalPrice(subItem.TicketPriceList)}}</td>
<td>{{subItem.PayStyleStr}}</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td>{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="6">旅客名单</th>
</tr>
<tr>
<th>护照号</th>
<th>性别</th>
<th>客人姓名</th>
<th>出生年月日</th>
<th>职业</th>
</tr>
<tr v-for="item in guestList">
<td>{{item.PassportNo}}</td>
<td>{{item.SexStr}}</td>
<td>{{item.userName}}</td>
<td>{{item.Birthday}}</td>
<td>{{item.Duty}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="4">购物店</th>
</tr>
<tr>
<th>店名</th>
<th>进店时间</th>
<th>地址</th>
</tr>
<tr v-for="item in shopList">
<td>{{item.ShopName}}</td>
<td>{{item.StoreTimeStr}}</td>
<td>{{item.Address}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="2">行程内容</th>
</tr>
<tr v-for="item in JourneyTitle">
<td width="100">{{item.DayNum}}</td>
<td style="text-align:left;">{{item.Title}}</td>
</tr>
</table>
</div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
TCIDs: "", TCIDs: "",
//基本信息 //基本信息
BaseInfo:[], BaseInfo: [],
//负责人 //负责人
PrincipalList:[], PrincipalList: [],
//行程内容 //行程内容
JourneyTitle:[], JourneyTitle: [],
//旅客 //旅客
guestList:[], guestList: [],
//房餐车景点 //房餐车景点
DMCStaticsCommon:{}, DMCStaticsCommon: {},
//购物店 //购物店
shopList:[], shopList: [],
isShow:false, isShow: false,
}; PostConfig: {
}, ID: 0,
methods: { TCIDs: "",
//根据团号获取负责人的信息 PlanDescription: ""
getConfirmName() {
let msg = {
TCIDs: this.TCIDs,
NewCombinationNum:'',
};
//更新酒店图片
this.apipost(
"dmcstatistics_post_GetExtendLeaderAllStatics",
msg,
res => {
if (res.data.resultCode == 1) {
console.log(res);
this.BaseInfo = res.data.data.BaseInfo;
this.PrincipalList = res.data.data.PrincipalList;
this.JourneyTitle = res.data.data.JourneyTitle;
this.guestList = res.data.data.guestList;
this.DMCStaticsCommon = res.data.data.DMCStaticsCommon;
this.shopList = res.data.data.shopList;
this.isShow = true;
}else{
this.Error(res.data.message);
}
}, },
null };
);
},
//获取人员类型
peopleStrToWord(str){
if(str=='1')
return '成人'
if(str=='2')
return '儿童'
if(str=='3')
return '婴儿'
}, },
//总金额 methods: {
diningTotalPrice(obj){ //根据团号获取负责人的信息
let totalPrice=0 getConfirmName() {
obj.forEach(x=>{ let msg = {
totalPrice+=x.PeoplePrice*(x.PeopleNum-x.Discount)*(1-x.DiscountPrice/100) TCIDs: this.TCIDs,
NewCombinationNum: '',
};
//更新酒店图片
this.apipost(
"dmcstatistics_post_GetExtendLeaderAllStatics",
msg,
res => {
if (res.data.resultCode == 1) {
this.BaseInfo = res.data.data.BaseInfo;
this.PrincipalList = res.data.data.PrincipalList;
this.JourneyTitle = res.data.data.JourneyTitle;
this.guestList = res.data.data.guestList;
this.DMCStaticsCommon = res.data.data.DMCStaticsCommon;
this.shopList = res.data.data.shopList;
this.PostConfig = res.data.data.DMCStaticsCommon.LeaderApply;
this.isShow = true;
} else {
this.Error(res.data.message);
}
},
null
);
},
//获取人员类型
peopleStrToWord(str) {
if (str == '1')
return '成人'
if (str == '2')
return '儿童'
if (str == '3')
return '婴儿'
},
//总金额
diningTotalPrice(obj) {
let totalPrice = 0
obj.forEach(x => {
totalPrice += x.PeoplePrice * (x.PeopleNum - x.Discount) * (1 - x.DiscountPrice / 100)
}) })
return totalPrice return totalPrice
}, },
//景点 //景点
scenicTotalPrice(obj){ scenicTotalPrice(obj) {
let totalPrice=0 let totalPrice = 0
obj.forEach(x=>{ obj.forEach(x => {
totalPrice+=x.PeoplePrice*(x.UsePeopleNum-x.Discount)*(1-x.DiscountPrice/100) totalPrice += x.PeoplePrice * (x.UsePeopleNum - x.Discount) * (1 - x.DiscountPrice / 100)
}) })
return totalPrice return totalPrice
},
UpdateLeaderPay() {
this.PostConfig.TCIDs = this.TCIDs;
this.apipost('dmcstatistics_post_AuditLeaderapply', this.PostConfig, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
}, err => {})
},
DownLoadLeaderPay() {
let msg = {
TCIDs: this.TCIDs,
NewCombinationNum: '',
uid: this.getLocalStorage().EmployeeId
};
let fileName = "导游计划表" + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("dmcstatistics_get_DwonLoadLeaderapply", msg, fileName,
res => {
});
}
}, },
mounted() {
}, this.TCIDs = this.$route.query.id;
mounted() { this.PostConfig.TCIDs = this.TCIDs;
this.TCIDs = this.$route.query.id; this.getConfirmName();
this.getConfirmName(); }
} };
}; </script>
</script> \ No newline at end of file
...@@ -1320,6 +1320,14 @@ export default { ...@@ -1320,6 +1320,14 @@ export default {
title: '添加修改车控页面' title: '添加修改车控页面'
}, },
}, },
{
path: '/busHandBook', //首配依赖书
name: 'busHandBook',
component: resolve => require(['@/components/busManagement/busHandBook'], resolve),
meta: {
title: '手配依赖书'
},
},
{ //车控供应商 { //车控供应商
path: '/busSuplier', path: '/busSuplier',
name: 'busSuplier', name: 'busSuplier',
......
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