Commit 6418c60d authored by 黄奎's avatar 黄奎

页面修改

parent 9364bf97
<style>
@import "../../../assets/css/newTravelManager.css";
.TC_companyList span,
.TC_OtherCompany span {
display: inline-block;
font-size: 12px;
padding: 5px 10px;
border: 1px solid #d1d1d1;
margin: 5px 10px 0 0;
border-radius: 4px;
cursor: pointer;
}
.TC_companyList span:first-child {
margin-right: 20px;
}
.TC_companyList {
padding-top: 15px;
margin-left: 32px;
}
.TC_checked {
border: 1px solid #d95454 !important;
box-sizing: border-box;
}
.TC_OtherCompany {
margin: 0 0 20px 20px;
}
.TC_customerInfo tbody th{
height:40px;
text-align: center;
}
.TC_firTable td{height:20px!important;text-align: center!important;}
.TC_midTable td{text-align: center!important;}
.TC_showUnion{float:right;color:#2aaef2;cursor: pointer;margin-bottom:10px;}
.TCL_Content span{
display: inline-block;
margin-right:10px;
}
.AuditRedType{
color:red;
}
.AuditBlueType{
color:blue;
}
.AuditGreenType{
color:green;
}
.TC_companyList span,
.TC_OtherCompany span {
display: inline-block;
font-size: 12px;
padding: 5px 10px;
border: 1px solid #d1d1d1;
margin: 5px 10px 0 0;
border-radius: 4px;
cursor: pointer;
}
.TC_companyList span:first-child {
margin-right: 20px;
}
.TC_companyList {
padding-top: 15px;
margin-left: 32px;
}
.TC_checked {
border: 1px solid #d95454 !important;
box-sizing: border-box;
}
.TC_OtherCompany {
margin: 0 0 20px 20px;
}
.TC_customerInfo tbody th {
height: 40px;
text-align: center;
}
.TC_firTable td {
height: 20px !important;
text-align: center !important;
}
.TC_midTable td {
text-align: center !important;
}
.TC_showUnion {
float: right;
color: #2aaef2;
cursor: pointer;
margin-bottom: 10px;
}
.TCL_Content span {
display: inline-block;
margin-right: 10px;
}
.AuditRedType {
color: red;
}
.AuditBlueType {
color: blue;
}
.AuditGreenType {
color: green;
}
</style>
<template>
<div>
<div class="TC_Content TC-MyList">
<div class="query-box">
<div class="TC_companyList" v-if="queryCommonData.IsParentCompany==1">
<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)" :key="bindex">{{item.BName}}</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)" :key="bindex">{{item.BName}}</span>
</div>
<ul>
<li>
<span>
<em>{{$t('system.table_ssLine')}}</em>
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()">
<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"></el-option>
<el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID"
:key="item.LineID"></el-option>
</el-select>
</span>
</li>
......@@ -68,7 +96,8 @@
<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"></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID"
:key="item.LtID"></el-option>
</el-select>
</span>
</li>
......@@ -85,17 +114,17 @@
<li>
<span>
<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>
<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>{{$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>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate" :picker-options="pickerBeginDateAfter"
value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate"
:picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate"
:picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li class="advancedLi" style="height:34px;">
......@@ -106,18 +135,21 @@
<div class="TC_leftSearch">
<div>
<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"></el-option>
<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"></el-option>
</el-select>
</div>
<div>
<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"></el-option>
<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"></el-option>
</el-select>
</div>
<div>
......@@ -128,30 +160,38 @@
<div>
<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"></el-option>
<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"></el-option>
</el-select>
</div>
</div>
<div class="TC_rightSearch">
<div>
<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>-
<el-input maxlength="50" class="w80" v-model="queryMsg.TeamMaxNum" @keyup.native="checkInteger(queryMsg,'TeamMaxNum')"
@blur="checkTeamNum(queryMsg)" :placeholder="$t('pub.pleaseImport')"></el-input>
<el-input maxlength="50" class="w80" v-model="queryMsg.TeamMinNum"
@keyup.native="checkInteger(queryMsg,'TeamMinNum')" :placeholder="$t('pub.pleaseImport')">
</el-input>-
<el-input maxlength="50" class="w80" v-model="queryMsg.TeamMaxNum"
@keyup.native="checkInteger(queryMsg,'TeamMaxNum')" @blur="checkTeamNum(queryMsg)"
:placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div>
<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>-
<el-input maxlength="50" class="w80" v-model="queryMsg.ApplyMaxNum" @keyup.native="checkInteger(queryMsg,'ApplyMaxNum')"
@blur="checkTeamNum(queryMsg)" :placeholder="$t('pub.pleaseImport')"></el-input>
<el-input maxlength="50" class="w80" v-model="queryMsg.ApplyMinNum"
@keyup.native="checkInteger(queryMsg,'ApplyMinNum')" :placeholder="$t('pub.pleaseImport')">
</el-input>-
<el-input maxlength="50" class="w80" v-model="queryMsg.ApplyMaxNum"
@keyup.native="checkInteger(queryMsg,'ApplyMaxNum')" @blur="checkTeamNum(queryMsg)"
:placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div class="OnlyShowOverTeam">
<span>{{$t('visa.v_zkbaochaotuan')}}</span>
<el-switch v-model="queryMsg.OnlyShowOverTeam" active-value="true" inactive-value="false"></el-switch>
<el-switch v-model="queryMsg.OnlyShowOverTeam" active-value="true" inactive-value="false">
</el-switch>
</div>
<div>
<span>{{$t('visa.v_salecompany')}}</span>
......@@ -166,9 +206,11 @@
<div class="comSearchDiv">
<span>{{$t('scen.sc_temStatu')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkTCStateAll" @change="checkAllTeam">{{$t('system.table_chekAll')}}</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 v-for="team in $tripUtils.TeamStatesList.TeamStates" :label="team.Id"
:key="team.Name">{{team.Name}}</el-checkbox>
</el-checkbox-group>
</span>
</div>
......@@ -176,18 +218,22 @@
<div class="comSearchDiv">
<span>{{$t('Airticket.Air_salesPlatform')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkPlatForm" @change="checkAllSales">{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox v-model="queryCommonData.checkPlatForm" @change="checkAllSales">
{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox-group v-model="queryMsg.SalePlat" @change="checkSales">
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name">{{sales.Name}}</el-checkbox>
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id"
:key="sales.Name">{{sales.Name}}</el-checkbox>
</el-checkbox-group>
</span>
</div>
<div class="comSearchDiv">
<span>{{$t('visa.v_tqstatus')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkGroupALL" @change="checkGroupAll">{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox v-model="queryCommonData.checkGroupALL" @change="checkGroupAll">
{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox-group v-model="queryMsg.GroupState" @change="checkGroup">
<el-checkbox v-for="state in $tripUtils.TeamStatesList.teamDateStates" :label="state.Id" :key="state.Name">{{state.Name}}</el-checkbox>
<el-checkbox v-for="state in $tripUtils.TeamStatesList.teamDateStates" :label="state.Id"
:key="state.Name">{{state.Name}}</el-checkbox>
</el-checkbox-group>
<el-checkbox v-model="queryMsg.IsWarning">{{$t('Operation.Op_WarningTeam')}}</el-checkbox>
</span>
......@@ -196,8 +242,8 @@
<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>
<el-checkbox v-for="state in flightStatus" :label="state.Id" :checked="state.Checked"
@change="checkedFlight(state)" :key="state.Name">{{state.Name}}</el-checkbox>
</el-checkbox-group>
</span>
</div>
......@@ -210,7 +256,8 @@
</el-select>
</span>
</div>
<button class="normalBtn TC_SearchBtn" @click="getControlList(),resetPageIndex(),queryCommonData.showHigradeSearch=false">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn TC_SearchBtn"
@click="getControlList(),resetPageIndex(),queryCommonData.showHigradeSearch=false">{{$t('pub.searchBtn')}}</button>
</div>
<span class="advancedQuery" slot="reference">{{$t('visa.v_gjchaxun')}}
<i class="iconfont icon-xiaotuziCduan_1"></i>
......@@ -224,8 +271,10 @@
<div class="clearfix">
<div class="TC_leftSearch">
<div>
<span style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('leader.leader_registraNum')}}</span>
<el-select v-model="queryMsg.WarningQuery" filterable :placeholder="$t('system.ph_buxian')" class="w150">
<span
style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('leader.leader_registraNum')}}</span>
<el-select v-model="queryMsg.WarningQuery" filterable :placeholder="$t('system.ph_buxian')"
class="w150">
<el-option :label="$t('system.ph_buxian')" value="-1"></el-option>
<el-option :label="$t('system.ph_buxian')" value="1"></el-option>
<el-option :label="$t('sm.tenpx')" value="2"></el-option>
......@@ -235,8 +284,10 @@
</el-select>
</div>
<div>
<span style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('Operation.Op_daysChoice')}}</span>
<el-select v-model="queryMsg.RateOnDay" filterable :placeholder="$t('system.ph_buxian')" class="w150">
<span
style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('Operation.Op_daysChoice')}}</span>
<el-select v-model="queryMsg.RateOnDay" filterable :placeholder="$t('system.ph_buxian')"
class="w150">
<el-option :label="$t('system.ph_buxian')" value="-1"></el-option>
<el-option :label="$t('sm.tendayYiNei')" value="1"></el-option>
<el-option :label="$t('sm.FitydayYiNei')" value="2"></el-option>
......@@ -245,8 +296,10 @@
</el-select>
</div>
<div>
<span style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('Operation.Op_Attendance')}}</span>
<el-select v-model="queryMsg.RateOn" filterable :placeholder="$t('system.ph_buxian')" class="w150">
<span
style="display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;">{{$t('Operation.Op_Attendance')}}</span>
<el-select v-model="queryMsg.RateOn" filterable :placeholder="$t('system.ph_buxian')"
class="w150">
<el-option :label="$t('system.ph_buxian')" value="-1"></el-option>
<el-option label="100%" value="1"></el-option>
<el-option :label="$t('sm.buzue')" value="2"></el-option>
......@@ -256,7 +309,8 @@
</div>
</div>
</div>
<button class="normalBtn TC_SearchBtn" @click="getControlList(),resetPageIndex(),queryCommonData.showWarningSearch=false">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn TC_SearchBtn"
@click="getControlList(),resetPageIndex(),queryCommonData.showWarningSearch=false">{{$t('pub.searchBtn')}}</button>
</div>
<span class="advancedQuery" slot="reference">{{$t('Operation.Op_warningSearch')}}
<i class="iconfont icon-xiaotuziCduan_1"></i>
......@@ -272,8 +326,10 @@
<div class="TravelTclList" v-loading="queryCommonData.loading">
<ul>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total"></el-pagination>
<li v-for="(item,index) in queryCommonData.dataList" :key="index" :class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}">
layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total">
</el-pagination>
<li v-for="(item,index) in queryCommonData.dataList" :key="index"
:class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}">
<div class="TC_remarkContent TC_teamName">
<div class="clearfix">
<div class="TCL_remarkTitle">{{$t('Operation.Op_TeamName')}}:</div>
......@@ -298,7 +354,8 @@
<p class="d12p">{{item.LtName}}</p>
</div>
<div class="TC_TravelSalePlat clearfix">
<span class="TC_neibu" v-if="item.TCState==3" :class="{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
<span class="TC_neibu" v-if="item.TCState==3"
:class="{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
v-for="plat in item.SalePlatList" :key="plat.subCode">{{$tripUtils.getPlatName(plat)}}</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>
......@@ -324,7 +381,8 @@
<td class="_d_name _color_666">
<span v-if="din==0">{{$t('Airticket.Air_go')}}</span>
<span v-else-if="din==item.flightList.length-1">{{$t('Airticket.Air_returnTrip')}}</span>
<span v-else-if="din>0 && din!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
<span
v-else-if="din>0 && din!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
</td>
<td>
<div>{{ds.Flight_number}}</div>
......@@ -342,7 +400,8 @@
</tr>
</table>
<div class="FlightDiv-TCL" slot="reference">
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode" class="TCL-flighInfoList">
<div v-for="subItem in item.flightList" slot="reference" :key="subItem.subCode"
class="TCL-flighInfoList">
<span class="travelnowrap">
<span class="TCL-FlightNumber">{{subItem.Flight_number}}</span>
{{subItem.DepartureName}}
......@@ -377,7 +436,7 @@
{{item.OutBranchName}}
</p>
<p class="travelnowrap" v-if="item.Config_OfferId">
<span style="cursor: pointer;" @click="showDialog(item.ID, item.OfferId)">报价详情</span>
<span style="cursor:pointer;text-decoration:underline;" @click="showDialog(item.ID, item.OfferId)">报价详情</span>
</p>
</div>
</div>
......@@ -386,25 +445,27 @@
<p>
<i class="iconfont icon-jiage"></i>{{$t('Operation.Op_PriceInfo')}}
</p>
<p class="travelprice">{{$t('Operation.Op_tradePrice')}}:¥{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</p>
<p class="travelprice">{{$t('Operation.Op_directPrice')}}:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p>
<p class="travelprice">
{{$t('Operation.Op_tradePrice')}}:¥{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</p>
<p class="travelprice">
{{$t('Operation.Op_directPrice')}}:¥{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</p>
<p>
<el-popover width="700" trigger="click" popper-class="TC_customerInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" style="text-align:center" width="60">
<i>{{$t('Operation.Op_standard')}}</i>
</td>
<td class="TC_cusTitle">{{$t('Operation.Op_fellowMember')}}</td>
<td><b>{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_fellow')}}</td>
<td><b>{{item.B2BPrice|priceFormat(item.B2BPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_directMember')}}</td>
<td><b>{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_direct')}}</td>
<td><b>{{item.B2CPrice|priceFormat(item.B2CPrice)}}</b></td>
</tr>
<tr>
<td rowspan="2" style="text-align:center" width="60">
<i>{{$t('Operation.Op_standard')}}</i>
</td>
<td class="TC_cusTitle">{{$t('Operation.Op_fellowMember')}}</td>
<td><b>{{item.B2BMemberPrice|priceFormat(item.B2BMemberPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_fellow')}}</td>
<td><b>{{item.B2BPrice|priceFormat(item.B2BPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_directMember')}}</td>
<td><b>{{item.B2CMemberPrice|priceFormat(item.B2CMemberPrice)}}</b></td>
<td class="TC_cusTitle">{{$t('Operation.Op_direct')}}</td>
<td><b>{{item.B2CPrice|priceFormat(item.B2CPrice)}}</b></td>
</tr>
<tr>
<td class="TC_cusTitle">{{$t('Operation.Op_baby')}}</td>
<td><b>{{item.BabyPrice|priceFormat(item.BabyPrice)}}</b></td>
......@@ -456,12 +517,13 @@
</p>
<p>
<span>{{$t('visa.v_currentseat')}}</span>
<i>{{item.SurplusSeat=(item.SurplusSeat<0) ? 0:item.SurplusSeat}}</i> </p> <p>
<span>{{$t('visa.v_yibaoru')}}</span>
<i>
{{item.OrderGuestNum}}
<span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>
</i>
<i>{{item.SurplusSeat=(item.SurplusSeat<0) ? 0:item.SurplusSeat}}</i> </p>
<p>
<span>{{$t('visa.v_yibaoru')}}</span>
<i>
{{item.OrderGuestNum}}
<span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>
</i>
</p>
<p>
<span>{{$t('Operation.Op_takeSeat')}}</span>
......@@ -499,7 +561,7 @@
</template>
<template v-else>
<el-popover width="500" trigger="click">
<table class="singeRowTable" style="margin-top:20px;">
<table class="singeRowTable" style="margin-top:20px;">
<tr>
<th width="70">审核人</th>
<th width="80">审核状态</th>
......@@ -522,12 +584,12 @@
<template v-if="item.AuditStatus!=1">{{item.AuditRemark}}</template>
</td>
</tr>
</table>
<div slot="reference" title="审核信息"
style="cursor:pointer;color:rgb(71,191,140);text-decoration:underline;width:50px;">审核信息</div>
</table>
<div slot="reference" title="审核信息"
style="cursor:pointer;color:rgb(71,191,140);text-decoration:underline;width:50px;">审核信息</div>
</el-popover>
</template>
</div>
</div>
<div class="el-col" style="width:200px;">
......@@ -569,7 +631,8 @@
<span>{{$t('visa.v_visaInformation')}}</span>
</p>
<p v-if="item.VisaFileList.length!==0" v-for="(item2, index2) in item.VisaFileList" :key="index2">
<span style="cursor:pointer;text-decoration: underline;" @click="downloadFile(item2)">{{item2.Name}}</span>
<span style="cursor:pointer;text-decoration: underline;"
@click="downloadFile(item2)">{{item2.Name}}</span>
</p>
<p>
<span>{{$t('visa.v_gvisa')}}</span>
......@@ -581,36 +644,51 @@
</div>
<div class="el-col">
<div class="d7">
<el-button @click.native='goUrl("RegistrationList", item.TCID,"报名清单")' type="primary" style="background:#00C6FF; border-color:#00C6FF">报名清单</el-button>
<el-button @click.native='goUrl("RegistrationList", item.TCID,"报名清单")' type="primary"
style="background:#00C6FF; border-color:#00C6FF">报名清单</el-button>
<el-dropdown trigger="click" style="margin-bottom:5px;">
<span class="el-dropdown-link">{{$t('pub.updateMsg')}}
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,0)">{{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,item.TCID)">{{$t('Operation.Op_dangtuanModify')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,0)">
{{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,item.TCID)">
{{$t('Operation.Op_dangtuanModify')}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button @click='goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")' type="primary" style="background:#67c23a; border-color:#67c23a">广告&nbsp;{{item.AdvertCount}}</el-button>
<el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C">{{$t('Operation.Op_remark')}}</el-button>
<el-button @click='goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")' type="primary"
style="background:#67c23a; border-color:#67c23a">广告&nbsp;{{item.AdvertCount}}</el-button>
<el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C">
{{$t('Operation.Op_remark')}}</el-button>
<el-dropdown trigger="click">
<span class="el-dropdown-link">{{$t('Operation.Op_moreOperation')}}
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">{{$t('Operation.Op_shouzhiDetail')}}</el-dropdown-item>
<el-dropdown-item @click.native="goUrlR('confirmationOrderDownLoad',item.TCID,item.ID,item.StartCityID)">{{$t('Operation.Op_tripDownLoad')}}</el-dropdown-item>
<el-dropdown-item @click.native="removeTeamInfo(item.TCID)">{{$t('system.table_delete')}}</el-dropdown-item>
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">
{{$t('Operation.Op_shouzhiDetail')}}</el-dropdown-item>
<el-dropdown-item
@click.native="goUrlR('confirmationOrderDownLoad',item.TCID,item.ID,item.StartCityID)">
{{$t('Operation.Op_tripDownLoad')}}</el-dropdown-item>
<el-dropdown-item @click.native="removeTeamInfo(item.TCID)">{{$t('system.table_delete')}}
</el-dropdown-item>
<!--2020-02-04HK注释掉审核按钮-->
<el-dropdown-item style="display:none;" v-if="item.TCState==2||item.TCState==0||item.TCState==1" @click.native="setUpPlat(item)">{{$t('Operation.Op_shangjia')}}</el-dropdown-item>
<el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)">{{$t('Operation.Op_xiajia')}}</el-dropdown-item>
<el-dropdown-item style="display:none;" v-if="item.TCState==2||item.TCState==0||item.TCState==1"
@click.native="setUpPlat(item)">{{$t('Operation.Op_shangjia')}}</el-dropdown-item>
<el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)">
{{$t('Operation.Op_xiajia')}}</el-dropdown-item>
<el-dropdown-item v-if="item.Status==1" @click.native="OutGroup(item.TCID,2)">
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
<el-dropdown-item @click.native="goB2B(item.ConfigId)">{{$t('Operation.Op_b2bView')}}</el-dropdown-item>
<el-dropdown-item @click.native='goUrl("DistributionTransport",item.ID,"分销联运")'>{{$t('Operation.Op_salelianyun')}}</el-dropdown-item>
<el-dropdown-item @click.native='ckSellPoint(item)'>{{$t('Operation.Op_bentuanMaidian')}}</el-dropdown-item>
<el-dropdown-item @click.native='reSubmit(item)' v-if="item.AuditStatus==3">重新提交审核</el-dropdown-item>
<el-dropdown-item @click.native="goB2B(item.ConfigId)">{{$t('Operation.Op_b2bView')}}
</el-dropdown-item>
<el-dropdown-item @click.native='goUrl("DistributionTransport",item.ID,"分销联运")'>
{{$t('Operation.Op_salelianyun')}}</el-dropdown-item>
<el-dropdown-item @click.native='ckSellPoint(item)'>{{$t('Operation.Op_bentuanMaidian')}}
</el-dropdown-item>
<el-dropdown-item @click.native='reSubmit(item)' v-if="item.AuditStatus==3">重新提交审核
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
......@@ -636,7 +714,8 @@
</ul>
<div class="noData" v-show="queryMsg.noData">{{$t('system.content_noData')}}</div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total"></el-pagination>
layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total">
</el-pagination>
</div>
</div>
......@@ -644,9 +723,11 @@
<div class="combottomTitle">{{$t('Operation.Op_choicePlat')}}</div>
<span class="setPlatLeft">{{$t('Operation.Op_salesPlat')}}</span>
<span>
<el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;">{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox v-model="queryCommonData.checkDialogAll" @change="checkAllDialog" style="margin-right:20px;">
{{$t('system.table_chekAll')}}</el-checkbox>
<el-checkbox-group v-model="queryCommonData.ckedplat" @change="checkDialog">
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name">{{sales.Name}}</el-checkbox>
<el-checkbox v-for="sales in $tripUtils.TeamStatesList.salsPlat" :label="sales.Id" :key="sales.Name">
{{sales.Name}}</el-checkbox>
</el-checkbox-group>
</span>
<span>
......@@ -674,7 +755,7 @@
<button class="normalBtn" type="primary" @click="setOPremark">{{$t('pub.sureBtn')}}</button>
</div>
</div>
<div class="combottomDiv OPremarkDiv" v-if="queryCommonData.SellingPoints">
<div class="combottomDiv OPremarkDiv" v-if="queryCommonData.SellingPoints">
<div class="combottomTitle">{{$t('Operation.Op_bentuanMaidian')}}</div>
<el-form label-width="100px">
<el-col :span="8">
......@@ -689,8 +770,8 @@
</div>
</div>
<el-dialog :visible.sync="dialog.show" width="1400px" title="报价详情">
<price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog>
</el-dialog>
<price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog>
</el-dialog>
</div>
</template>
<script>
......@@ -703,7 +784,8 @@
return {
dialog: {
show: false,
ConfigId: '',OfferId: ''
ConfigId: '',
OfferId: ''
},
//查询数据列表
queryCommonData: {
......@@ -760,10 +842,10 @@
flightCKed: [],
loading: false,
checkCompanyAll: true,
showUnion:false,
UnionText:this.$t('sm.xianshiLianyun'),
//本团卖点
SellingPoints:false,
showUnion: false,
UnionText: this.$t('sm.xianshiLianyun'),
//本团卖点
SellingPoints: false,
},
//查询参数
queryMsg: {
......@@ -802,20 +884,20 @@
WarningQuery: "-1",
RateOnDay: "-1",
RateOn: "-1",
TeamType:1,//小包团
TeamType: 1, //小包团
//是否显示联运
IsShowUnion: 1,
//团控状态
FreePlanType:-1
FreePlanType: -1
},
remarkMsg: {
TCID: 0,
OPRemark: "",
OPInnerRemark: "",
//配置
ConfigId:0,
//配置
ConfigId: 0,
//本团卖点
ProductRecommend:""
ProductRecommend: ""
},
flightStatus: [{
Id: 0,
......@@ -848,10 +930,11 @@
};
},
methods: {
showDialog(ConfigId,OfferId) {
showDialog(ConfigId, OfferId) {
this.dialog = {
show: true,
ConfigId,OfferId
ConfigId,
OfferId
}
this.$nextTick(() => {
this.$refs.dialog.getPostData()
......@@ -1156,10 +1239,10 @@
configId: ConfigId,
cityId: cityId,
tcid: TCID,
orderId:0,
vshowL:false,
vshowM:false,
vshowTCNUM:true,
orderId: 0,
vshowL: false,
vshowM: false,
vshowTCNUM: true,
}
});
window.open(routeData.href, "_blank");
......@@ -1206,7 +1289,7 @@
tcid: tcid,
blank: "y",
tab: "团期配置",
flag: true
flag: true
}
});
} else {
......@@ -1334,17 +1417,15 @@
return x1 + x2;
},
//点击本团卖点
ckSellPoint(item)
{
this.queryCommonData.SellingPoints=true;
this.remarkMsg.ConfigId=item.ID;
this.remarkMsg.ProductRecommend=item.ProductRecommend;
this.remarkMsg.TCID=item.TCID;
ckSellPoint(item) {
this.queryCommonData.SellingPoints = true;
this.remarkMsg.ConfigId = item.ID;
this.remarkMsg.ProductRecommend = item.ProductRecommend;
this.remarkMsg.TCID = item.TCID;
},
//本团卖点
SetSellingPoints()
{
this.apipost(
SetSellingPoints() {
this.apipost(
"travel_post_SetSellingPoints",
this.remarkMsg,
res => {
......@@ -1360,11 +1441,11 @@
);
},
//隐藏显示
ShowUnionList(){
ShowUnionList() {
this.queryCommonData.showUnion = !this.queryCommonData.showUnion;
if(this.queryCommonData.showUnion){
if (this.queryCommonData.showUnion) {
this.queryCommonData.UnionText = this.$t('sm.yincangLianyun')
}else{
} else {
this.queryCommonData.UnionText = this.$t('sm.xianshiLianyun')
}
},
......@@ -1386,13 +1467,13 @@
})
},
//重新提交审核
reSubmit(item){
reSubmit(item) {
let msg = {
TCID:item.TCID,
AuditStatus:1
TCID: item.TCID,
AuditStatus: 1
}
this.apipost(
"travel_post_UpdatePriceAuditStatusService",msg,
"travel_post_UpdatePriceAuditStatusService", msg,
res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
......@@ -1463,13 +1544,13 @@
myDate.getDate();
this.queryMsg.StartGroupDate = nowDate;
if (
this.queryCommonData.IsParentCompany != 1 &&
userInfo.RB_Branch_id != 49
) {
this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id);
}
this.queryCommonData.IsParentCompany != 1 &&
userInfo.RB_Branch_id != 49
) {
this.queryMsg.OutBranchIds.push(userInfo.RB_Branch_id);
}
//默认查询全部团队状态
this.$tripUtils.TeamStatesList.TeamStates.forEach(states=>{
this.$tripUtils.TeamStatesList.TeamStates.forEach(states => {
this.queryMsg.TCState.push(states.Id);
})
this.getControlList();
......
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