Commit 84bfb52a authored by huangyuanyuan's avatar huangyuanyuan
parents 3b05b3ab 5765c07e
......@@ -116,9 +116,9 @@
<td>{{item.B2CMemberPrice}}</td>
<td>{{item.TotalSeat}}</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><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.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>
......@@ -265,9 +265,10 @@ export default {
"报名统计.xls"
);
},
goUrl(path, id) {
goUrl(path, id,NameStr) {
if (id > 0) {
this.$router.push({name: path, query: {id: id}});
this.$router.push({name: path, query: {id: id,blank: "y",
tab: NameStr}});
} else {
this.$router.push({name: path});
}
......
<style>
.TB_comtitle {
color: #333333;
padding-left: 10px;
height: 14px;
line-height: 14px;
font-size: 14px;
border-left: 3px solid #e95252;
margin-bottom: 20px;
}
.Team_Details {
margin-top: 20px;
font-size: 12px;
}
.Team_DList {
border: 1px solid #e6e6e6;
background-color: #fff;
padding: 20px;
height: 200px;
}
.TeamBalancePayment .singeRowTable tr th {
height: 30px;
}
.TeamBalancePayment .singeRowTable tr td {
border: 1px solid #e5e5e5;
height: 60px;
}
/* .Team_Content .el-col-5 {
color: #333333;
padding-left: 10px;
height: 14px;
line-height: 14px;
font-size: 14px;
border-left: 3px solid #e95252;
margin-bottom: 20px;
}
.Team_Details {
margin-top: 20px;
font-size: 12px;
}
.Team_DList {
border: 1px solid #e6e6e6;
background-color: #fff;
padding: 20px;
height: 200px;
}
.TeamBalancePayment .singeRowTable tr th {
height: 30px;
}
.TeamBalancePayment .singeRowTable tr td {
border: 1px solid #e5e5e5;
height: 60px;
}
/* .Team_Content .el-col-5 {
margin-right: 18px;
} */
.Team_Coins {
color: #ff9c00;
}
.Team_income {
color: #4d7afd;
text-decoration: underline;
cursor: pointer;
}
.TB-Title {
float: left;
position: relative;
top: 10px;
}
.Team_ComCoin {
width: 60%;
margin: auto;
text-align: left;
}
.Team_btmDiv {
margin-top: 5px;
}
.Team_collection {
margin-top: 40px;
}
.Team_outCome {
color: #ff9c00;
}
.Team_Pay {
color: #ff5150;
}
.TeamAddBtn {
float: right;
margin-bottom: 10px;
}
.Team_DList div {
margin-bottom: 8px;
color: #666666;
}
.Team_firstTitle {
font-size: 18px;
font-family: "PingFang-SC-Bold";
color: #333333 !important;
}
.Team_comCoinType {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 50%;
position: relative;
top: -1px;
}
.Team_shou {
background-color: #d7e6ff;
color: #4d7afd;
}
.Team_Incontent {
margin: 15px 0 0 35px;
}
.Team_firstTitle span {
margin-right: 10px;
text-align: center;
line-height: 24px;
font-size: 12px;
}
.Team_Incontent span {
margin-left: 20px;
font-size: 14px;
font-family: 'PingFangSC-Fine';
}
.Team_zhichu {
background-color: #fde2df;
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;
}
.Team_Coins {
color: #ff9c00;
}
.Team_income {
color: #4d7afd;
text-decoration: underline;
cursor: pointer;
}
.TB-Title {
float: left;
position: relative;
top: 10px;
}
.Team_ComCoin {
width: 60%;
margin: auto;
text-align: left;
}
.Team_btmDiv {
margin-top: 5px;
}
.Team_collection {
margin-top: 40px;
}
.Team_outCome {
color: #ff9c00;
}
.Team_Pay {
color: #ff5150;
}
.TeamAddBtn {
float: right;
margin-bottom: 10px;
}
.Team_DList div {
margin-bottom: 8px;
color: #666666;
}
.Team_firstTitle {
font-size: 18px;
font-family: "PingFang-SC-Bold";
color: #333333 !important;
}
.Team_comCoinType {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 50%;
position: relative;
top: -1px;
}
.Team_shou {
background-color: #d7e6ff;
color: #4d7afd;
}
.Team_Incontent {
margin-left:35px;
}
.Team_firstTitle span {
margin-right: 10px;
text-align: center;
line-height: 24px;
font-size: 12px;
}
.Team_Incontent span {
margin-left: 20px;
font-size: 14px;
font-family: 'PingFangSC-Fine';
}
.Team_zhichu {
background-color: #fde2df;
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>
<template>
......@@ -148,7 +177,7 @@
<div>实收<span class="Team_Coins">{{DataList.TeamBalance.ActualReceive}}</span></div>
<div>待收<span class="Team_Coins">{{DataList.TeamBalance.WaitRecive}}</span></div>
<div>
注:应收=订单应收总额,实收=订单实收总额
注:应收=订单应收总额,实收=订单实收总额
</div>
</div>
</div>
......@@ -181,7 +210,7 @@
<div>实际利润<span>{{DataList.TeamBalance.ExpectedProfit}}</span></div>
<div>当前利润<span class="Team_Coins">{{DataList.TeamBalance.ActualProfit}}</span></div>
<div>
注:实收-(应付/实付)+佣金收入+自费收入-联运成本
注:实收-(应付/实付)+佣金收入+自费收入-联运成本
</div>
</div>
</div>
......@@ -193,8 +222,15 @@
<i class="iconfont icon-qian"></i>
</span>其他
</div>
<div class="Team_Incontent">
<div>&nbsp;&nbsp;&nbsp;<span>{{DataList.ExpectedCut}}</span></div>
<div class="Team_Incontent" style="height:80px;overflow:auto;">
<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>
<div class="Team_firstTitle">
......@@ -203,7 +239,7 @@
</span>优惠
</div>
<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>
</el-col>
......@@ -227,16 +263,15 @@
<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">团费收入:
<span v-if="moneyAll.Moneyall>0 || moneyAll.PayMoneyall>0">
<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>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -252,7 +287,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 +322,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 +337,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">
......@@ -336,7 +372,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.zifeiys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.zifeiss)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -352,7 +388,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">
......@@ -386,7 +423,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.xiaofeiys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.xiaofeiss)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -402,7 +439,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 +474,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 +489,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">
......@@ -486,7 +524,7 @@
<span class="span_all">应收:¥{{moneyFormat(moneyAll.otherys)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.otherss)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -501,8 +539,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 +583,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 +635,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 +687,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 +702,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 +718,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 +737,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 +757,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 +795,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">
......@@ -860,7 +847,7 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.dijieyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.dijiesf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -875,7 +862,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 +901,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 +953,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,17 +996,16 @@
<span class="TB_Rate">{{AuditItem.AuditDate}}</span>
</div>
</td>
</tr> </template>
</tr>
</template>
</table>
<div class="clearfix TB_PrintDiv">
<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.othersf)}}</span>
</span>
</div>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -1037,7 +1020,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 +1065,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 +1117,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 +1178,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>
......@@ -1206,38 +1185,39 @@
<td>{{item.CreateDate}}</td>
<td>
<el-popover style='padding: 0;' width="600" trigger="click">
<div class="personNolayer">
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<th>优惠券名称</th>
<th>优惠券类型</th>
<th>抵扣金额/折扣</th>
<th>使用条件</th>
<th>获取方式</th>
<th>获取日期</th>
</tr>
<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>
<span v-if="item2.CouponsType==2">折扣卷</span>
</td>
<td>{{item2.Denomination}}</td>
<td>{{item2.UseCondition}}可用</td>
<td>
<span v-if="item2.AccessType==1">抽奖</span>
<span v-else></span>
</td>
<td>{{item2.AcessDate}}</td>
</tr>
<tr v-if='item.CouponAllotList.length==0'>
<td colspan="6" align="center">暂无数据</td>
</tr>
</table>
</div>
<span style="cursor: pointer;color: #e95252;" slot="reference">{{moneyFormat(item.DiscountMoney)}}</span>
</el-popover>
<div class="personNolayer">
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<th>优惠券名称</th>
<th>优惠券类型</th>
<th>抵扣金额/折扣</th>
<th>使用条件</th>
<th>获取方式</th>
<th>获取日期</th>
</tr>
<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>
<span v-if="item2.CouponsType==2">折扣卷</span>
</td>
<td>{{item2.Denomination}}</td>
<td>{{item2.UseCondition}}可用</td>
<td>
<span v-if="item2.AccessType==1">抽奖</span>
<span v-else></span>
</td>
<td>{{item2.AcessDate}}</td>
</tr>
<tr v-if='item.CouponAllotList.length==0'>
<td colspan="6" align="center">暂无数据</td>
</tr>
</table>
</div>
<span style="cursor: pointer;color: #e95252;"
slot="reference">{{moneyFormat(item.DiscountMoney)}}</span>
</el-popover>
</td>
</tr>
</template>
......@@ -1283,7 +1263,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 +1286,7 @@
export default {
data() {
return {
gridData:[],
gridData: [],
TCID: 0,
//数据列表
DataList: [],
......@@ -1319,61 +1300,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,
// 收入 佣金
yongjinys:0,
yongjinss:0,
xiaofeiys: 0,
xiaofeiss: 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,
// 成本 赔偿
peichangyf:0,
peichangsf:0,
dijieyf: 0,
dijiesf: 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 +1376,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 +1462,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,105 +1509,121 @@
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,'名单表费')){
this.moneyAll.yqhyf+=item.Money;
this.moneyAll.yqhsf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '邀请函费用') || that.isExists(item.CostTypeList, '名单表费')) {
this.moneyAll.yqhyf += item.Money;
this.moneyAll.yqhsf += item.PayMoney;
}
// 车资
if(that.isExists(item.CostTypeList,'车资')){
this.moneyAll.cheziyf+=item.Money;
this.moneyAll.chezisf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '车资')) {
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,'国内联运段机票')){
this.moneyAll.ticketyf+=item.Money;
this.moneyAll.ticketsf+=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, '国内联运段机票')) {
this.moneyAll.ticketyf += item.Money;
this.moneyAll.ticketsf += item.PayMoney;
}
// 签证
if(that.isExists(item.CostTypeList,'签证费') || that.isExists(item.CostTypeList,'签证佣金')){
this.moneyAll.qzyf+=item.Money;
this.moneyAll.qzsf+=item.PayMoney;
if (that.isExists(item.CostTypeList, '签证费') || that.isExists(item.CostTypeList, '签证佣金')) {
this.moneyAll.qzyf += item.Money;
this.moneyAll.qzsf += item.PayMoney;
}
// 提成
if(that.isExists(item.CostTypeList,'提成')){
this.moneyAll.tichengyf+=item.Money;
this.moneyAll.tichengsf+=item.PayMoney;
}
if (that.isExists(item.CostTypeList, '提成')) {
this.moneyAll.tichengyf += item.Money;
this.moneyAll.tichengsf += item.PayMoney;
}
// 地接
if((that.isExists(item.CostTypeList,'地接费(领取)') || (that.isExists(item.CostTypeList,'地接费(结算)'))) && item.Type==2){
this.moneyAll.dijieyf+=item.Money;
this.moneyAll.dijiesf+=item.PayMoney;
if ((that.isExists(item.CostTypeList, '地接费(领取)') || (that.isExists(item.CostTypeList,
'地接费(结算)'))) && item.Type == 2) {
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 +1669,7 @@
ExportExcle() {
let msg = {
TCID: this.TCID,
uid:this.getLocalStorage().EmployeeId
uid: this.getLocalStorage().EmployeeId
};
this.GetLocalFile(
"travel_get_GetTeamBalanceSheetExport",
......@@ -1700,21 +1696,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 +1724,5 @@
this.getHangingAccountByTCIDList();
}
};
</script>
\ No newline at end of file
</script>
......@@ -1176,7 +1176,8 @@
item.SalePlatList.push(parseInt(y))
})
}
})
//console.log("HotelOrderListReports",item.HotelOrderListReports);
});
}
},
err => {}
......@@ -1782,7 +1783,7 @@
if (this.queryCommonData.IsParentCompany != 1) {
this.queryMsg.OutBranchIds.push(this.CurrentUserInfo.RB_Branch_id)
}
this.getControlList()
this.getControlList();
}
}
......
......@@ -55,8 +55,8 @@
v-loading="QueryMsg.loading"
>
<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="110">英文姓</th>
......@@ -82,8 +82,8 @@
</tr>
<tbody v-for="(item,index) in QueryMsg.dataList" :key="index">
<tr v-for="(subItem,subIndex) in item">
<td>{{subItem.Number}}</td>
<td>{{subItem.HouseNo!="10000"?subItem.HouseNo:""}}</td>
<td v-if="subIndex==0" :rowspan="subItem.RowsCount">{{index+1}}</td>
<td v-if="subIndex==0" :rowspan="subItem.RowsCount"></td>
<td>{{getHouseTypeStr(subItem)}}</td>
<td>{{subItem.GuestName}}</td>
<td>{{subItem.ESurName}}</td>
......@@ -106,11 +106,11 @@
</td>
<td>{{subItem.VisaType}}</td>
</tr>
<tr height="30">
<!-- <tr height="30">
<td colspan="21" align="left">
<span class="colorE95252" style="text-align:left">备注:{{item[0].Remarks}}</span>
</td>
</tr>
</tr> -->
</tbody>
</table>
</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>
.GOd_Table {
width: 100%;
font-size: 12px;
color: #333;
margin:20px 0 auto;
border-collapse: collapse;
background-color: #fff;
border: 1px solid #d1d1d1;
}
.GOd_Table td {
border: 1px solid #d1d1d1;
text-align: center;
height: 40px;
padding:5px;
}
.GOd_Table th {
background-color: #e6e6e6;
border: 1px solid #d1d1d1;
height: 40px;
}
.GD_comDiv {
width: 100%;
height: 25px;
line-height: 25px;
text-align: center;
border-bottom: 1px solid #d1d1d1;
}
.GOd_Table td .GD_comDiv:last-child {
border: none;
}
.GD_comPad{padding:0!important;}
.GOd_Table {
width: 100%;
font-size: 12px;
color: #333;
margin: 20px 0 auto;
border-collapse: collapse;
background-color: #fff;
border: 1px solid #d1d1d1;
}
.GOd_Table td {
border: 1px solid #d1d1d1;
text-align: center;
height: 40px;
padding: 5px;
}
.GOd_Table th {
background-color: #e6e6e6;
border: 1px solid #d1d1d1;
height: 40px;
}
.GD_comDiv {
width: 100%;
height: 25px;
line-height: 25px;
text-align: center;
border-bottom: 1px solid #d1d1d1;
}
.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>
<template>
<div v-if="isShow">
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">导游领队运行计划表</th>
</tr>
<tr>
<th width="150">出发地</th>
<th>航班时间</th>
<th>集合时间</th>
<th width="500">出团名称</th>
<th>天数</th>
<th>进出点</th>
<th>出团人数</th>
<th>领队</th>
<th>导游</th>
</tr>
<tr v-for="item in BaseInfo">
<td>{{item.StartCityNames}}</td>
<td>
<span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span>
</td>
<td>{{item.GatherTime}}</td>
<td style="text-align:left;">{{item.Titles}}</td>
<td>{{item.DayNum}}</td>
<td>{{item.InOut}}</td>
<td>{{item.TotalSeat}}+1</td>
<td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td>
</tr>
<tr>
<td>特殊要求</td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="5">
部门负责人
</td>
<td>机票负责人</td>
<td>{{PrincipalList[0].CreateByName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].CreateByMobile}}</td>
</tr>
<tr>
<td>订房负责人</td>
<td>{{PrincipalList[0].HConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].HConfirmMobile}}</td>
</tr>
<tr>
<td>车辆负责人</td>
<td>{{PrincipalList[0].BConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].BConfirmMobile}}</td>
</tr>
<tr>
<td>订餐负责人</td>
<td>{{PrincipalList[0].DConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].DConfirmMobile}}</td>
</tr>
<tr>
<td>门票负责人</td>
<td>{{PrincipalList[0].TConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].TConfirmMobile}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">车辆使用</th>
</tr>
<tr>
<th>车配号</th>
<th>车辆公司</th>
<th>用车时间</th>
<th>车牌号</th>
<th>司机姓名</th>
<th>司机电话</th>
<th>金额</th>
<!-- <th>付款方式</th> -->
<th>备注</th>
</tr>
<tr v-for="item in DMCStaticsCommon.BusList">
<td>{{item.BusCode}}</td>
<td>{{item.BusCompany}}</td>
<td>{{item.PlanDateStr}}</td>
<td>{{item.BusNum}}</td>
<td>{{item.DriverName}}</td>
<td>{{item.DriverTel}}</td>
<td>{{item.CostPrice*(Number(item.TransferNum)+1)}}</td>
<!-- <td>现付</td> -->
<td>{{item.Remarks}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="17">酒店使用</th>
</tr>
<tr>
<th width="80">订房号</th>
<th width="180">酒店名称</th>
<th width="100">入住时间</th>
<th width="80">占床/不占床</th>
<th width="80">实际用房数</th>
<th width="90">房间类型</th>
<th width="60">房间数</th>
<th width="80">房间预订数</th>
<th width="80">尚差房间数</th>
<th width="80">单价</th>
<th width="80">免减人数</th>
<th width="80">金额</th>
<th width="80">返佣</th>
<th width="80">付款方式</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="100">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.HotelOrderListReport">
<tr v-for="subItem in item.HotelOrderList">
<td>{{subItem.ReserveNo}}</td>
<td style="text-align:left;">{{subItem.HotelName}}</td>
<td>{{subItem.CheckInDateStr}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.HouseStatistics.HouseTypeList">
{{childItem.HouseTypeName}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.HouseStatistics.HouseTypeList">
{{childItem.HouseTypeCount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList">
{{childItem.HouseTypeCount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="(childItem,index) in subItem.OrderDetailsList">
{{childItem.HouseTypeCount-subItem.HouseStatistics.HouseTypeList[index].HouseTypeCount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList">
{{childItem.UnitPrice}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList">
{{childItem.HotelDiscount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList">
{{childItem.UnitPrice*(childItem.HouseGuestNum-childItem.HotelDiscount)}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.OrderDetailsList">
{{childItem.RebateRatio}}%
</div>
</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="15">餐食使用</th>
</tr>
<tr>
<th width="80">订餐号</th>
<th>用餐时间</th>
<th>餐厅名称</th>
<th width="50">类别</th>
<th>餐饮类型</th>
<th width="80">总人数</th>
<th>用餐人数</th>
<th>免费人数</th>
<th width="80">单价</th>
<th width="80">返佣</th>
<th>总金额</th>
<th>付款方式</th>
<th>联系电话</th>
<th width="200">地址</th>
<th width="100">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.DiningList">
<tr v-for="subItem in item.DiningSummaryList">
<td>{{subItem.ReserveNo}}</td>
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.DiningName}}</td>
<td>{{subItem.UseDinnerTypeStr}}</td>
<td>{{subItem.MealName}}</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.DiningPriceList">
{{peopleStrToWord(childItem.PeopleType)}}:{{childItem.PeopleNum}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList">
{{childItem.Discount}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList">
{{childItem.PeoplePrice}}
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="childItem in subItem.DiningPriceList">
{{childItem.DiscountPrice}}%
</div>
</td>
<td class="GD_comPad">
<div class="GD_comDiv" v-for="subItem in item.DiningSummaryList">
{{diningTotalPrice(subItem.DiningPriceList)}}
</div>
</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="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>
<div v-if="isShow">
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">导游领队运行计划表</th>
</tr>
<tr>
<th width="150">出发地</th>
<th>航班时间</th>
<th>集合时间</th>
<th width="500">出团名称</th>
<th>天数</th>
<th>进出点</th>
<th>出团人数</th>
<th>领队</th>
<th>导游</th>
</tr>
<tr v-for="item in BaseInfo">
<td>{{item.StartCityNames}}</td>
<td>
<span v-if="item.FlightList.length>0">{{item.FlightList[0].Departure_time}}</span>
</td>
<td>{{item.GatherTime}}</td>
<td style="text-align:left;">{{item.Titles}}</td>
<td>{{item.DayNum}}</td>
<td>{{item.InOut}}</td>
<td>{{item.TotalSeat}}+1</td>
<td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td>
</tr>
<tr>
<td>特殊要求</td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="5">
部门负责人
</td>
<td>机票负责人</td>
<td>{{PrincipalList[0].CreateByName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].CreateByMobile}}</td>
</tr>
<tr>
<td>订房负责人</td>
<td>{{PrincipalList[0].HConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].HConfirmMobile}}</td>
</tr>
<tr>
<td>车辆负责人</td>
<td>{{PrincipalList[0].BConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].BConfirmMobile}}</td>
</tr>
<tr>
<td>订餐负责人</td>
<td>{{PrincipalList[0].DConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].DConfirmMobile}}</td>
</tr>
<tr>
<td>门票负责人</td>
<td>{{PrincipalList[0].TConfirmName}}</td>
<td>联系电话</td>
<td colspan="5">{{PrincipalList[0].TConfirmMobile}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="9">车辆使用</th>
</tr>
<tr>
<th>车配号</th>
<th>车辆公司</th>
<th>用车时间</th>
<th>车牌号</th>
<th>司机姓名</th>
<th>司机电话</th>
<th>备注</th>
</tr>
<tr v-for="item in DMCStaticsCommon.BusList">
<td>{{item.BusCode}}</td>
<td>{{item.BusCompany}}</td>
<td>{{item.PlanDateStr}}</td>
<td>{{item.BusNum}}</td>
<td>{{item.DriverName}}</td>
<td>{{item.DriverTel}}</td>
<td width="300">{{item.Remarks}}</td>
</tr>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="17">酒店使用</th>
</tr>
<tr>
<th width="80">订房号</th>
<th width="180">酒店名称</th>
<th width="100">入住时间</th>
<th width="80">占床/不占床</th>
<th width="80">实际用房数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.HotelOrderListReport">
<tr v-for="subItem in item.HotelOrderList">
<td>{{subItem.ReserveNo}}</td>
<td style="text-align:left;">{{subItem.HotelName}}</td>
<td>{{subItem.CheckInDateStr}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.NeedBed}}/{{DMCStaticsCommon.HouseStatistics.NoNeedBed}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityRoomNum}}</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{subItem.Remarks}}</td>
</tr>
</tbody>
</table>
<table class="GOd_Table" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="15">餐食使用</th>
</tr>
<tr>
<th width="80">订餐号</th>
<th width="80">用餐时间</th>
<th width="80">餐厅名称</th>
<th width="50">类别</th>
<th width="80">餐饮类型</th>
<th width="80">总人数</th>
<th width="80">联系电话</th>
<th width="200">地址</th>
<th width="300">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.DiningList">
<tr v-for="subItem in item.DiningSummaryList">
<td>{{subItem.ReserveNo}}</td>
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.DiningName}}</td>
<td>{{subItem.UseDinnerTypeStr}}</td>
<td>{{subItem.MealName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{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 width="400">景点名称</th>
<th>总人数</th>
<th>联系电话</th>
<th width="300">地址</th>
<th width="200">备注</th>
</tr>
<tbody v-for="item in DMCStaticsCommon.ScenicList">
<tr v-for="subItem in item.ScenicStatisticsList">
<td>{{subItem.UseTimeStr}}</td>
<td>{{subItem.ScenicName}}</td>
<td>{{DMCStaticsCommon.HouseStatistics.RealityNum>0?(DMCStaticsCommon.HouseStatistics.RealityNum-1):0}}+1</td>
<td>{{subItem.Tel}}</td>
<td style="text-align:left;">{{subItem.Address}}</td>
<td style="text-align:left;">{{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>
<table class="groundLastTable">
<tr>
<td style="vertical-align:top;">
注意事项:
</td>
<td>
<el-input v-model="PostConfig.PlanDescription" type="textarea" class="w700" :autosize="{minRows: 3, maxRows: 3 }"
resize="none" placeholder="注意事项" maxlength="300"></el-input>
<input type="button" class="normalBtn gdBtn" @click="UpdateLeaderPay" value="保存" />
<input type="button" class="normalBtn gdBtn" @click="DownLoadLeaderPay" value="下载" />
</td>
</tr>
</table>
</div>
</template>
<script>
export default {
data() {
return {
TCIDs: "",
//基本信息
BaseInfo:[],
//负责人
PrincipalList:[],
//行程内容
JourneyTitle:[],
//旅客
guestList:[],
//房餐车景点
DMCStaticsCommon:{},
//购物店
shopList:[],
isShow:false,
};
},
methods: {
//根据团号获取负责人的信息
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);
}
export default {
data() {
return {
TCIDs: "",
//基本信息
BaseInfo: [],
//负责人
PrincipalList: [],
//行程内容
JourneyTitle: [],
//旅客
guestList: [],
//房餐车景点
DMCStaticsCommon: {},
//购物店
shopList: [],
isShow: false,
PostConfig: {
ID: 0,
TCIDs: "",
PlanDescription: ""
},
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)
methods: {
//根据团号获取负责人的信息
getConfirmName() {
let msg = {
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
},
//景点
scenicTotalPrice(obj){
let totalPrice=0
obj.forEach(x=>{
totalPrice+=x.PeoplePrice*(x.UsePeopleNum-x.Discount)*(1-x.DiscountPrice/100)
},
//景点
scenicTotalPrice(obj) {
let totalPrice = 0
obj.forEach(x => {
totalPrice += x.PeoplePrice * (x.UsePeopleNum - x.Discount) * (1 - x.DiscountPrice / 100)
})
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;
this.getConfirmName();
}
};
</script>
mounted() {
this.TCIDs = this.$route.query.id;
this.PostConfig.TCIDs = this.TCIDs;
this.getConfirmName();
}
};
</script>
\ No newline at end of file
......@@ -1320,6 +1320,14 @@ export default {
title: '添加修改车控页面'
},
},
{
path: '/busHandBook', //首配依赖书
name: 'busHandBook',
component: resolve => require(['@/components/busManagement/busHandBook'], resolve),
meta: {
title: '手配依赖书'
},
},
{ //车控供应商
path: '/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