Commit 1968df08 authored by zhengke's avatar zhengke
parents 9715460e a793286d
......@@ -618,6 +618,31 @@ export const visa = {
v_chulizhong:'处理中',
v_lvkebianma:'旅客编码',
v_chaifenzhuangtai:'拆分状态',
v_weibanli:'未办理',
v_banlizhong:'办理中',
v_yibanli:'以办理',
v_tkgjcx:'团控高级查询',
v_czuser:'操作人员',
v_xcdays:'行程天数',
v_lycity:'联运城市',
v_teamnum:'团队人数',
v_zkbaochaotuan:'只看报超团',
v_salecompany:'销售公司',
v_tqstatus:'团期状态',
v_hbstatus:'航班状态',
v_gjchaxun:'高级查询',
v_dwanshan:'待完善',
v_yxiajia:'已下架',
v_hangban:'航班',
v_zanding:'暂定',
}
export const advmanager = {
v_all:'全部',
......
<style>
.page_SalesFinancialDetail{}
.page_SalesFinancialDetail p.sfd_tit {
border-left: 3px solid #E95252;
text-indent: 10px;
font-size: 16px;
line-height: 30px;
margin: 20px 0 10px 0;
}
.page_SalesFinancialDetail .sfd_nav{margin: 20px 0 0 0 ;}
.page_SalesFinancialDetail .sfd_nav li{float: left;font-size: 14px;color: #666666;padding: 15px 20px;cursor: pointer;position: relative;background-color: #f1f1f1;margin-right: 5px}
.page_SalesFinancialDetail .sfd_nav li._active{background-color:#FFFFFF;color: #333333 }
.page_SalesFinancialDetail .sfd_nav li._active::after{content: "";width: 20px;height: 3px;background-color: #E95252;display: inline-block;position: absolute;bottom: 0;left: 38%;}
.page_SalesFinancialDetail p.sfd_tit input{
float: right
}
.page_SalesFinancialDetail .sfd_header{
position: relative;
width: 100%;
margin-bottom: 15px;
}
.page_SalesFinancialDetail .sfd_header input{
position: absolute;
right: 0;
bottom: 0;
}
.page_SalesFinancialDetail .sfd_header>ul {
background-color: white;
padding: 15px;
border-radius: 4px;
width: 800px;
}
.page_SalesFinancialDetail .sfd_header>ul>li {
float: left;
width: 33%;
padding: 5px 0;
min-height: 31px;
}
.page_SalesFinancialDetail .sfd_header>ul>li>span {
font-size: 14px;
color: #666;
}
.page_SalesFinancialDetail table.teamRevenueExpenditureTable {
background: #eee;
width: 100%;
margin-bottom: 30px;
}
.page_SalesFinancialDetail table.teamRevenueExpenditureTable th {
background: #D1D1D1;
font-weight: normal !important;
font-size: 14px;
height: 30px;
color: #333;
}
.page_SalesFinancialDetail table.teamRevenueExpenditureTable td {
background: #fff;
height: 36px;
text-align: center;
font-size: 12px;
}
.page_SalesFinancialDetail table.teamRevenueExpenditureTable td:first-child span {
text-decoration: underline;
cursor: pointer;
}
.page_SalesFinancialDetail td.noDataNotice p.iconfont {
font-size: 120px;
color: #ccc;
}
.page_SalesFinancialDetail td.noDataNotice p.text{
color: #999;
margin-bottom: 20px;
}
.page_SalesFinancialDetail .color_red{
color: #e95252 !important;
}
.page_SalesFinancialDetail .sfd_header>ul:nth-child(1){
padding-bottom: 0;
}
.page_SalesFinancialDetail .sfd_header>ul:nth-child(2){
padding-top: 0;
}
</style>
<template>
<div class="page_SalesFinancialDetail">
<!-- <ul class="sfd_nav clearfix">
<li :class="activeTab===1?'_active':''" @click="activeTab=1,getList(1)">收款单</li>
<li :class="activeTab===2?'_active':''" @click="activeTab=2,getList(2)">付款单</li>
</ul> -->
<div v-loading="loading">
<div class="sfd_header">
<ul class="clearfix">
<li><span>团队编号:</span>{{TCNUM}}</li>
<!-- <li><span>订单号:</span>{{orderId}}</li> -->
<li> </li>
<li><span>已收总金额:</span>{{moneyFormat(allMoney)}}</li>
<li><span>已审金额:</span>{{moneyFormat(shiMoney)}}</li>
<li><span>待审金额:</span><span :class="{color_red:(allMoney-shiMoney)!==allMoney}">{{moneyFormat(allMoney-shiMoney)}}</span></li>
</ul>
<ul class="clearfix fukuan">
<li><span>应付总金额:</span>{{moneyFormat(allMoneyP)}}</li>
<li><span>已审金额:</span>{{moneyFormat(shiMoneyP)}}</li>
<li><span>待审金额:</span><span :class="{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">{{moneyFormat(allMoneyP-shiMoneyP)}}</span></li>
</ul>
</div>
<p class="sfd_tit clearfix">收款单 <input type="button" value="增加财务单据" class="normalBtn" @click="addFinancialOrder(1)"></p>
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable">
<tr>
<th width="100">单号</th>
<th width="200">费用类型</th>
<th width="350">交易方式</th>
<th width="100">同行转款</th>
<th width="100">应收</th>
<th width="100">实收</th>
<th width="100">平台税金</th>
<th width="150">交易日期</th>
<th width="100">制单人员</th>
<th width="120">当前状态</th>
</tr>
<tr v-for="(item, index) in dataList">
<td width="100" @click="goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"><span>{{item.FrID}}</span></th>
<td width="">
<template v-for="(s,si) in item.CostTypeList">
<span style="background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;">{{s}}</span>
</template>
</td>
<td width="">
<template v-if="item.TradeWayList&&item.TradeWayList.length>0">
<div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList" style="line-height: normal !important;padding: 5px 10px;background-color: #EEEEEE;border-radius: 4px;margin: 5px auto;width:230px">
<p><span style="font-weight: bold;color:#333333">{{tw.Alias}}</span><span class="_bank_name" style="height:20px;;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;margin-letf:10px">{{item.TradeWayList[0].TypeName}}</span><span style="height:20px;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;" :style="{'background-color':tw.AccountType=='私'?'#2AAEF2':'#FF9C01'}">{{tw.AccountType==""?'无':tw.AccountType}}</span> </p>
<p style="color:#333333">{{tw.BankNo}}</p>
</div>
</template>
<template v-else>
<div class="_pad5">
</div>
</template>
</td>
<td width="">
<p style="line-height:20px"><span>{{moneyFormat(item.PreferPrice)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Money)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td>
<td width="">{{item.TradeDate}}</td>
<td width="">{{item.EmName}}</td>
<td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao" style="color: #4BCA81"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren" style="color: #959595"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui" style="color: #E95252"></i>
<i v-if="item.Status==0" class="iconfont icon-zancun" style="color: #FF9C01"></i>
<el-popover
popper-class="detailsIT_Journal"
width="250"
trigger="click">
<div style="height: auto;max-height: 220px;background-color: #FFFFFF;">
<div class="changLog">
<p class="_log_t">流程日志</p>
<ul style="padding-left: 20px;max-height: 180px;overflow: auto;" v-if="GetFinancLogList" v-loading='LogLoading'>
<li style="border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p>
</li>
</ul>
<ul v-else>
<li>暂无修改日志</li>
</ul>
</div>
</div>
<span slot="reference" style="cursor: pointer;" @click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover>
</td>
</tr>
<tr v-if="dataList.length===0">
<td colspan="10" class="noDataNotice">
<div>
<p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p>
</div>
</td>
</tr>
</table>
<p class="sfd_tit clearfix">付款单 <input type="button" value="增加财务单据" class="normalBtn" @click="addFinancialOrder(2)"></p>
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable">
<tr>
<th width="100">单号</th>
<th width="200">费用类型</th>
<th width="350">交易方式</th>
<th width="100">同行转款</th>
<th width="100">应付</th>
<th width="100">实付</th>
<th width="100">平台税金</th>
<th width="150">交易日期</th>
<th width="100">制单人员</th>
<th width="120">当前状态</th>
</tr>
<tr v-for="(item, index) in dataListP">
<td width="100" @click="goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"><span>{{item.FrID}}</span></th>
<td width="">
<template v-for="(s,si) in item.CostTypeList">
<span style="background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;">{{s}}</span>
</template>
</td>
<td width="">
<template v-if="item.TradeWayList&&item.TradeWayList.length>0">
<div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList" style="line-height: normal !important;padding: 5px 10px;background-color: #EEEEEE;border-radius: 4px;margin: 5px auto;width:230px">
<p><span style="font-weight: bold;color:#333333">{{tw.Alias}}</span><span class="_bank_name" style="height:20px;;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;margin-letf:10px">{{item.TradeWayList[0].TypeName}}</span><span style="height:20px;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;" :style="{'background-color':tw.AccountType=='私'?'#2AAEF2':'#FF9C01'}">{{tw.AccountType==""?'无':tw.AccountType}}</span> </p>
<p style="color:#333333">{{tw.BankNo}}</p>
</div>
</template>
<template v-else>
<div class="_pad5">
</div>
</template>
</td>
<td width="">
<p style="line-height:20px"><span>{{moneyFormat(item.PreferPrice)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Money)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td>
<td width="">{{item.TradeDate}}</td>
<td width="">{{item.EmName}}</td>
<td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao" style="color: #4BCA81"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren" style="color: #959595"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui" style="color: #E95252"></i>
<i v-if="item.Status==0" class="iconfont icon-zancun" style="color: #FF9C01"></i>
<el-popover
popper-class="detailsIT_Journal"
width="250"
trigger="click">
<div style="height: auto;max-height: 220px;background-color: #FFFFFF;">
<div class="changLog">
<p class="_log_t">流程日志</p>
<ul style="padding-left: 20px;max-height: 180px;overflow: auto;" v-if="GetFinancLogList" v-loading='LogLoading'>
<li style="border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p>
</li>
</ul>
<ul v-else>
<li>暂无修改日志</li>
</ul>
</div>
</div>
<span slot="reference" style="cursor: pointer;" @click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover>
</td>
</tr>
<tr v-if="dataListP.length===0">
<td colspan="10" class="noDataNotice">
<div>
<p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p>
</div>
</td>
</tr>
</table>
</div>
</div>
</template>
<script>
export default {
data() {
return {
orderId: 0,
dataList: [],
dataListP: [],
loading: true,
noData: true,
activeTab: 1,
tcnum: '',
msg:{
pageIndex: 1,
pageSize: 999,
FrID: '',
sDate: '',
eDate: '',
Status: '-1',
TemplateId: '0',
RB_Branch_Id: '',
RB_Depart_Id: '',
sTradeDate: '',
eTradeDate: '',
ClientType: '',
RemitterName: '',
ClientID: '',
sMoney: '',
eMoney: '',
CurrencyId: '0',
CostTypeID: '',
Conditon: '',
TCID: '',
TradeWay: '0',
Type: '-1',
AccountType: '',
QEndDate: '',
QStartDate: '',
UpdateBy: '',
Sort: '2',
EmployeeId: '',
IsNotCancelFinance: 1,
IsSellOrderForm:1
},
GetFinancLogList: [],
LogLoading: true,
allMoney: 0,
shiMoney: 0,
allMoneyP: 0,
shiMoneyP: 0,
userId: null,
item: {},
tcid:0,
OutBranchId:0,
TCNUM:0,
}
}, methods: {
Financial_post_GetFinancLogList: function(id){ // 获取单据日志
if (this.checkboxShow) return
this.LogLoading = true;
this.apipost('Financial_post_GetFinancLogList',{ID: id, Type: 2}, res => {
if (res.data.resultCode == 1) {
let data = res.data.data;
data.forEach(x=>{
x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate)
})
this.LogLoading = false;
this.GetFinancLogList = data;
}
},null)
},
goUrl: function (name, path, id ) {
this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} });
},
getList: function () {
this.dataList=[];
this.dataListP=[];
this.loading = true;
this.apipost('Financial_post_GetPriceVisaFinanceList',{tcid:this.tcid}, res=>{
this.loading = false;
if (res.data.resultCode == 1) {
let data = res.data.data.list;
this.allMoney = 0;
this.shiMoney = 0;
// 收款单据,type==1
data.forEach(x=>{
if(x.Type==1){
this.dataList.push(x)
}else{
this.dataListP.push(x)
}
})
this.dataList.forEach(x=>{
this.allMoney += x.PreferPrice
if(x.PayMoney>0){
this.shiMoney += (x.PayMoney+x.Fee)
}
})
this.dataListP.forEach(x=>{
this.allMoneyP += x.PreferPrice
if(x.PayMoney>0){
this.shiMoneyP += (x.PayMoney+x.Fee)
}
})
} else {
this.$message.error(res.data.message);
}
}, null)
},
addFinancialOrder: function (type) { // 新增单据方法
let TCIDARR = [this.tcid];
let orderObj = {
OrderID: 0,
OrderSource: 10,
Obj: {},
SourceID: 0,
TCIDList: TCIDARR
}
if (type === 1) {
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query:{
"Type": 1,
"companyID": this.outBranchId,
"path": "",
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
});
} else if (type === 2) {
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query:{
"Type": 2,
"companyID": this.outBranchId,
"path": "",
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
});
}
},
}, mounted() {
this.userId = this.getLocalStorage().EmployeeId;
// let obj = this.$route.query.item ? JSON.parse(this.$route.query.item) : ''
// this.item = obj
// this.orderId = this.msg.OrderID = obj.orderId ? obj.orderId : obj.OrderId
// this.tcnum = obj.tcnum ? obj.tcnum : obj.TCNUM
// this.tcid = obj.tcid ? obj.tcid : obj.TCID
// this.outBranchId = obj.outBranchId ? obj.outBranchId : obj.OutBranchId;
this.tcid= this.$route.query.TCID;
this.OutBranchId=this.$route.query.OutBranchId;
this.TCNUM=this.$route.query.TCNUM;
this.getList()
}
}
</script>
......@@ -130,6 +130,47 @@
border: 1px solid #d95454 !important;
box-sizing: border-box;
}
/* 名单 */
.RL-remarkTitle {
display: inline-block;
width: 36px;
white-space: nowrap;
font-size: 14px;
}
.RL-remarkCon span {
margin-right: 5px;
}
.person_fan{
width: 100%;
border-top: 1px solid #e5e5e5;
padding: 0 10px;
font-size: 12px;
padding: 15px 6px;
box-sizing: border-box;
}
/* 财务单据的颜色 */
.groupTourOrder_tickets_red {
color: #FF0000;
text-decoration: underline;
cursor: pointer;
}
.groupTourOrder_tickets_blue {
color: #0000FF;
text-decoration: underline;
cursor: pointer;
}
.groupTourOrder_tickets_green {
color: #008000;
cursor: pointer;
text-decoration: underline;
}
.groupTourOrder_tickets_black {
color: #000000;
text-decoration: underline;
}
</style>
<template>
<div>
......@@ -141,7 +182,7 @@
</el-tabs>
</ul> -->
<div class="GQ_companyList" v-if="queryCommonData.IsParentCompany==1">
<span :class="{'TC_checked':queryCommonData.checkCompanyAll}" @click="getCompanyCheckAll()">全部</span>
<span :class="{'TC_checked':queryCommonData.checkCompanyAll}" @click="getCompanyCheckAll()">{{$t('advmanager.v_all')}}</span>
<span v-for="(item,bindex) in queryCommonData.BranchList" :class="{'TC_checked':item.isShow}" @click="getCompanyCheck(item)">{{item.BName}}</span>
</div>
<div class="TC_Content TC-MyList">
......@@ -149,7 +190,7 @@
<ul>
<li>
<span>
<em>所属线路</em>
<em>{{$t('system.table_ssLine')}}</em>
<el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'>
......@@ -159,7 +200,7 @@
</li>
<li>
<span>
<em>系列名称</em>
<em>{{$t('active.ad_xlmc')}}</em>
<el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'>
......@@ -169,14 +210,14 @@
</li>
<li>
<span>
<em>团号</em>
<em>{{$t('visa.v_tuanhao')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUM" class="permiss-input w150" @keyup.native.enter="getControlList"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>发团日期</em>
<em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="w150" type="date" v-model='queryMsg.StartGroupDate' :picker-options="pickerBeginDateBefore"
value-format="yyyy-MM-dd" placeholder="">
</el-date-picker>
......@@ -189,21 +230,21 @@
<span>
<em>{{$t('visa.v_qianzhengst')}}</em>
<el-select v-model="queryMsg.TCVisaStatus" clearable class="w150" filterable :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" value="-1"></el-option>
<el-option label="未办理" value="1"></el-option>
<el-option label="办理中" value="2"></el-option>
<el-option label="已办理" value="3"></el-option>
<el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option>
<el-option :label="$t('visa.v_weibanli')" value="1"></el-option>
<el-option :label="$t('visa.v_banlizhong')" value="2"></el-option>
<el-option :label="$t('visa.v_yibanli')" value="3"></el-option>
</el-select>
</span>
</li>
<li class="advancedLi">
<el-popover popper-class="advanceQueryList" v-model="queryCommonData.showHigradeSearch" trigger="click">
<div>
<div class="TC_queryTitle">团控高级查询</div>
<div class="TC_queryTitle">{{$t('visa.v_tkgjcx')}}</div>
<div class="clearfix">
<div class="TC_leftSearch">
<div>
<span>航空公司</span>
<span>{{$t('system.query_airCompanyName')}}</span>
<el-select v-model="queryMsg.AirTicketId" filterable :placeholder="$t('system.ph_buxian')" class="w150">
<el-option :label='$t("system.ph_buxian")' :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.AirlineList" :key="item.AirLineId" :label="item.AlName" :value="item.AirLineId">
......@@ -211,7 +252,7 @@
</el-select>
</div>
<div>
<span>操作人员</span>
<span>{{$t('visa.v_czuser')}}</span>
<el-select class='w150' v-model="queryMsg.CreateBy" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.EmployeeList" :label='item.EmName' :value='item.EmployeeId' :key='item.EmployeeId'>
......@@ -219,13 +260,13 @@
</el-select>
</div>
<div>
<span>行程天数</span>
<span>{{$t('visa.v_xcdays')}}</span>
<el-input maxlength="50" v-model="queryMsg.DayNum" @keyup.native="checkInteger(queryMsg,'DayNum')"
class="w150" :placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div>
<span>联运城市</span>
<span>{{$t('visa.v_lycity')}}</span>
<el-select class='w150' filterable v-model="queryMsg.UnionCityId" :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.CityList" :label='item.Name' :value='item.ID' :key='item.ID'>
......@@ -236,7 +277,7 @@
</div>
<div class="TC_rightSearch">
<div>
<span>团队人数</span>
<span>{{$t('visa.v_teamnum')}}</span>
<el-input maxlength="50" class="w80" v-model="queryMsg.TeamMinNum" @keyup.native="checkInteger(queryMsg,'TeamMinNum')"
:placeholder="$t('pub.pleaseImport')"></el-input>
-
......@@ -244,7 +285,7 @@
@blur="checkTeamNum(queryMsg)" :placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div>
<span>报名人数</span>
<span>{{$t('leader.leader_registraNum')}}</span>
<el-input maxlength="50" class="w80" v-model="queryMsg.ApplyMinNum" @keyup.native="checkInteger(queryMsg,'ApplyMinNum')"
:placeholder="$t('pub.pleaseImport')"></el-input>
-
......@@ -252,11 +293,11 @@
@blur="checkTeamNum(queryMsg)" :placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div class="OnlyShowOverTeam">
<span>只看报超团</span>
<span>{{$t('visa.v_zkbaochaotuan')}}</span>
<el-switch v-model="queryMsg.OnlyShowOverTeam" active-value="true" inactive-value="false"></el-switch>
</div>
<div>
<span>销售公司</span>
<span>{{$t('visa.v_salecompany')}}</span>
<el-select class="w180 multiple_input" :class="{'SaleBranchList':queryMsg.SaleBranchId==''}" v-model="queryMsg.SaleBranchId" multiple>
<el-option v-for='item in queryCommonData.companyList' :key="item.id" :label="item.bName" :value="item.id">
</el-option>
......@@ -265,9 +306,9 @@
</div>
</div>
<div class="comSearchDiv">
<span>团队状态</span>
<span>{{$t('scen.sc_temStatu')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkTCStateAll" @change="checkAllTeam">全选</el-checkbox>
<el-checkbox v-model="queryCommonData.checkTCStateAll" @change="checkAllTeam">{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox-group v-model="queryMsg.TCState" @change="checkedTeamList">
<el-checkbox v-for="team in $tripUtils.TeamStatesList.TeamStates" :label="team.Id" :key="team.Name">{{team.Name}}</el-checkbox>
</el-checkbox-group>
......@@ -275,7 +316,7 @@
</div>
<!-- <div class="comSearchDiv" v-if="queryCommonData.showPlatForm"> -->
<div class="comSearchDiv">
<span>销售平台</span>
<span>{{$t('Airticket.Air_salesPlatform')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkPlatForm" @change="checkAllSales">全选</el-checkbox>
<el-checkbox-group v-model="queryMsg.SalePlat" @change="checkSales">
......@@ -284,7 +325,7 @@
</span>
</div>
<div class="comSearchDiv">
<span>团期状态</span>
<span>{{$t('visa.v_tqstatus')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkGroupALL" @change="checkGroupAll">全选</el-checkbox>
<el-checkbox-group v-model="queryMsg.GroupState" @change="checkGroup">
......@@ -293,7 +334,7 @@
</span>
</div>
<div class="comSearchDiv">
<span>航班状态</span>
<span>{{$t('visa.v_hbstatus')}}</span>
<span>
<el-checkbox-group v-model="queryCommonData.flightCKed" style="margin-left:0;">
<el-checkbox v-for="state in flightStatus" :label="state.Id" :checked="state.Checked" @change="checkedFlight(state)" :key="state.Name">{{state.Name}}</el-checkbox>
......@@ -303,7 +344,7 @@
<button class="normalBtn TC_SearchBtn" @click="getControlList(),resetPageIndex(),queryCommonData.showHigradeSearch=false">查询</button>
</div>
<span class="advancedQuery" slot="reference">高级查询<i class="iconfont icon-xiaotuziCduan_1"></i></span>
<span class="advancedQuery" slot="reference">{{$t('visa.v_gjchaxun')}}<i class="iconfont icon-xiaotuziCduan_1"></i></span>
</el-popover>
</li>
<li>
......@@ -331,23 +372,23 @@
v-for="plat in item.SalePlatList" :key="plat.subCode">
{{$tripUtils.getPlatName(plat)}}
</span>
<span class="TC_xiajia daiwanshan" v-if="item.TCState==1">待完善</span>
<span class="TC_xiajia" v-if="item.TCState==2">已下架</span>
<span class="TC_xiajia quxiao" v-if="item.TCState==4">已取消</span>
<span class="TC_xiajia daiwanshan" v-if="item.TCState==1">{{$t('visa.v_dwanshan')}}</span>
<span class="TC_xiajia" v-if="item.TCState==2">{{$t('visa.v_yxiajia')}}</span>
<span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span>
</div>
</div>
</div>
<div class="el-col" style="width:200px;">
<div class="d2">
<p class="TCLflight_GO"><i class="iconfont icon-hangban1"></i>航班</p>
<p class="TCLflight_GO"><i class="iconfont icon-hangban1"></i>{{$t('visa.v_hangban')}}</p>
<el-popover width="900" trigger="click" popper-class="TC_tripDetails">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="_color_666" style="text-align:center;">
<th width="60">{{$t('Airticket.Air_segment')}}</th>
<th width="80">{{$t('system.query_flightNum')}}</th>
<th width="150">起飞时间</th>
<th width="80">到达时间</th>
<th width="100">经停城市</th>
<th width="150">{{$t('system.ph_flightTime')}}</th>
<th width="80">{{$t('system.query_arrivalTime')}}</th>
<th width="100">{{$t('system.query_stopCity')}}</th>
</tr>
<tr v-for="(ds,din) in item.flightList" :key="din" style="text-align:center;">
<td class="_d_name _color_666">
......@@ -378,8 +419,8 @@
<span>{{subItem.StopoverName}}</span>
<span v-if="subItem.ArrivalCityName">-</span>
<span>{{subItem.ArrivalCityName}}</span>
<span v-if="subItem.FlightState==1" class="TCL-greenType">确定</span>
<span v-if="subItem.FlightState==2" class="TCL-redType">暂定</span>
<span v-if="subItem.FlightState==1" class="TCL-greenType">{{$t('pub.sureBtn')}}</span>
<span v-if="subItem.FlightState==2" class="TCL-redType">{{$t('visa.v_zanding')}}</span>
</div>
</div>
</el-popover>
......@@ -387,7 +428,7 @@
</div >
<div class="el-col" style="width:190px;">
<div class="d3">
<p><i class="iconfont icon-tuandui"></i>团队信息<em>{{item.DayNum}}{{item.NightNum}}</em></p>
<p><i class="iconfont icon-tuandui"></i>团队信息<em>{{item.DayNum}}{{$t('hotel.hotel_day')}}{{item.NightNum}}</em></p>
<p><span>出发时间</span>{{item.StartDate}}</p>
<p><span>出团公司</span>{{item.OutBranchName}}</p>
</div>
......@@ -449,15 +490,37 @@
<el-button type="primary" style='background:#00C6FF; border-color:#00C6FF' v-if="item.VisaStatus==2" @click="goUrlZ('VisaApplicationDetails',item.TCID,item.TCNUM)">{{$t('visa.v_chakanjindu')}}</el-button>
<el-button type="primary" style='background:#00C6FF; border-color:#00C6FF' v-if="item.VisaStatus==3" @click="goUrlZ('VisaApplicationDetails',item.TCID,item.TCNUM)">{{$t('visa.v_chakanjieguo')}}</el-button>
</div>
<el-button @click="goUrlT('visaList2',item.TCID)" type="primary" style='background:#F16C3C; border-color:#F16C3C'>签证列表</el-button>
<el-button @click="goTeamBalance(item.TCID,item.OutBranchId)" type="primary" style='background:#00C6FF; border-color:#00C6FF'>团队支出</el-button>
<el-button v-if="item.LineID!=14" @click="goUrlT('visaList2',item.TCID)" type="primary" style='background:#F16C3C; border-color:#F16C3C'>签证列表</el-button>
<!-- <el-button @click="goTeamBalance(item.TCID,item.OutBranchId)" type="primary" style='background:#00C6FF; border-color:#00C6FF'>团队支出</el-button> -->
<el-button @click="goUrl('VisaFinancialDocuments',item.TCID,item.OutBranchId,item.TCNUM,'签证财务单据')" type="primary" style='background:#F16C3C; border-color:#F16C3C'>费用明细</el-button>
<el-button @click='openEdit(item)' type="primary" style='background:#F16C3C; border-color:#F16C3C'>送签日期</el-button>
<el-button @click="openAdmission(item)" type="primary" style='background:#00C6FF; border-color:#00C6FF'>进馆日期</el-button>
<el-button @click='openEdit2(item)' type="primary" style='background:#F16C3C; border-color:#F16C3C'>出签日期</el-button>
</div>
</div>
</div>
<div class="TC_remarkContent">
<div class="person_fan">
<div style="padding:10px 0">
<span class="RL-remarkTitle">名单:</span>
<span class="RL-redType RL-remarkCon" v-if="item.VisaGuestList.length>0">
<span style="color:blue !important" v-for="(childItem) in item.VisaGuestList">{{childItem.GuestName}}</span>
</span>
<span class="RL-redType RL-remarkCon" v-else>
<span>暂无名单</span>
</span>
</div>
<div>
<span>财务单据:</span>
<span @click="goUrl('VisaFinancialDocuments',item.TCID,item.OutBranchId,item.TCNUM,'签证财务单据')" style="margin-right:5px;cursor:pointer" v-for="item2 in item.VisaFinanceList" :key="item2.FrID">
<span v-if="item2.ColorState===1" class="groupTourOrder_tickets_blue" >{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===2" class="groupTourOrder_tickets_green" >{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===3" class="groupTourOrder_tickets_red" >{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===4" class="groupTourOrder_tickets_black" >{{item2.FrID}}</span>
</span>
<span v-if="item.VisaFinanceList.length===0">暂无数据</span>
</div>
</div>
<!-- <div class="TC_remarkContent">
<div class="clearfix TCL-redType">
<div class="TCL_remarkTitle">OP对外备注:</div>
<div class="TCL_Content">{{item.OPRemark}}</div>
......@@ -470,7 +533,7 @@
<div class="TCL_remarkTitle">地接备注:</div>
<div class="TCL_Content">{{item.DmcRemarkLast!=null?item.DmcRemarkLast.DMCRemark:""}}</div>
</div>
</div>
</div> -->
</li>
</ul>
<div class="noData" v-show="queryMsg.noData">
......@@ -576,7 +639,7 @@
<div style="display: inline-block;vertical-align: top;white-space: nowrap;">
<el-form-item label="国家" prop="EuropeSchengen" class="groupInquiry_admission_formItem" v-show="msg_admission.LineID===2&&msg_admission.EuropeVisaType==='2'">
<el-select class="groupInquiry_admission_input2" v-model="msg_admission.EuropeSchengen" @change="SchengenChange" placeholder="选择国家">
<el-option v-for="(item, index) in EuropeSchengenList" :key="index" :label='item.Name' :value='item.Id'></el-option>
<el-option v-for="(item, index) in EuropeSchengenList" :key="index+2000" :label='item.Name' :value='item.Id'></el-option>
</el-select>
</el-form-item>
<el-form-item prop="EuropeVisaName" class="groupInquiry_admission_formItem" v-show="msg_admission.EuropeVisaType==='2'&&msg_admission.EuropeSchengen==='5'">
......@@ -747,7 +810,7 @@ export default {
//航班配置
FlightState:0,
TCVisaStatus: '-1',
IsShowUnion:1,
IsShowUnion:0,
QueryType:1,//查询类型 1:签证
},
remarkMsg: {
......@@ -757,7 +820,7 @@ export default {
},
flightStatus: [{
Id: 0,
Name: '不限',
Name: this.$t('pub.unlimitedSel'),
Checked:true
}, {
Id: 1,
......@@ -783,6 +846,18 @@ export default {
};
},
methods: {
goUrl(path, TCID,OutBranchId,TCNUM, name) {
this.$router.push({
name: path,
query: {
TCID:TCID,
OutBranchId:OutBranchId,
TCNUM:TCNUM,
blank: 'y',
tab: name
}
});
},
saveitem(tcid) {
this.uploadTCID = tcid
},
......
......@@ -119,6 +119,8 @@ export default {
let locationName = window.location.hostname;
// domainUrl = "http://192.168.2.65:8025"; //214主域名
domainUrl = "http://192.168.2.214:8082"; //214主域名
// domainUrl = "http://192.168.0.119:8082";
// domainUrl = "http://192.168.2.16:8083";
if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
} else if (locationName.indexOf('viitto') !== -1) {
......
......@@ -1718,6 +1718,14 @@ export default {
title: '团期查询'
},
},
{ // 签证中心 签证财务单据
path: '/VisaFinancialDocuments',
name: 'VisaFinancialDocuments',
component: resolve => require(['@/components/SalesModule/VisaFinancialDocuments'], resolve),
meta: {
title: '签证财务单据'
},
},
{ // 签证中心 签证工作表
path: '/visaWorksheet',
name: 'visaWorksheet',
......
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