Commit 1c05862d authored by 黄奎's avatar 黄奎

页面修改

parent 4ec3dbb5
<style>
@import "../../../assets/css/newTravelManager.css";
@import "../../../assets/css/newTravelManager.css";
.TC_companyList span,
.TC_OtherCompany span {
.TC_companyList span,
.TC_OtherCompany span {
display: inline-block;
font-size: 12px;
padding: 5px 10px;
......@@ -10,62 +10,62 @@
margin: 5px 10px 0 0;
border-radius: 4px;
cursor: pointer;
}
}
.TC_companyList span:first-child {
.TC_companyList span:first-child {
margin-right: 20px;
}
}
.TC_companyList {
.TC_companyList {
padding-top: 15px;
margin-left: 32px;
}
}
.TC_checked {
.TC_checked {
border: 1px solid #d95454 !important;
box-sizing: border-box;
}
}
.TC_OtherCompany {
.TC_OtherCompany {
margin: 0 0 20px 20px;
}
}
.TC_customerInfo tbody th {
.TC_customerInfo tbody th {
height: 40px;
text-align: center;
}
}
.TC_firTable td {
.TC_firTable td {
height: 20px !important;
text-align: center !important;
}
}
.TC_midTable td {
.TC_midTable td {
text-align: center !important;
}
}
.TC_showUnion {
.TC_showUnion {
float: right;
color: #2aaef2;
cursor: pointer;
margin-bottom: 10px;
}
}
.go_date {
.go_date {
font-weight: 700;
font-size: 14px;
}
}
.TC_Content ._pic_upload .el-upload-dragger {
.TC_Content ._pic_upload .el-upload-dragger {
font-size: 28px;
color: #8c939d;
width: 126px;
height: 80px;
line-height: 41px;
text-align: center;
}
}
.TC_Content ._pic_upload > div {
.TC_Content ._pic_upload>div {
float: left;
width: 138px;
height: 92px;
......@@ -76,25 +76,26 @@
padding: 5px;
margin-right: 10px;
position: relative;
}
}
.TC_Content .avatar-uploader-icon {
.TC_Content .avatar-uploader-icon {
height: auto;
}
}
.TC_HotelPop {
.TC_HotelPop {
overflow: auto;
max-height: 350px;
}
}
.TC_HotelPop table td {
.TC_HotelPop table td {
padding: 5px 0;
text-align: center;
}
}
.TC_HotelPop table th {
.TC_HotelPop table th {
text-align: center;
}
}
</style>
<template>
<div class="TC_Content">
......@@ -102,25 +103,31 @@
<div class="query-box">
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div class="TC_companyList">
<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="getLinePlaceList()">
<el-select class="w150" v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLinePlaceList()">
<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>
<li>
<span>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()">
<el-select class="w150" v-model="queryMsg.PlaceID" 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.PlaceList" :label="item.PlaceName" :value="item.PlaceID" :key="item.LtID"></el-option>
<el-option v-for="item in queryCommonData.PlaceList" :label="item.PlaceName" :value="item.PlaceID"
:key="item.LtID"></el-option>
</el-select>
</span>
</li>
......@@ -129,27 +136,32 @@
<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>
<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('hotel.hotel_SerialNumber')}}</em>
<el-input maxlength="6" v-model="queryMsg.TCID" class="permiss-input w150" :placeholder="$t('pub.pleaseImport')" @keyup.native="checkInteger(queryMsg,'TCID')"></el-input>
<el-input maxlength="6" v-model="queryMsg.TCID" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')" @keyup.native="checkInteger(queryMsg,'TCID')"></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;">
......@@ -160,10 +172,12 @@
<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-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-option v-for="item in queryCommonData.AirlineList" :key="item.AirLineId"
:label="item.AlName" :value="item.AirLineId"></el-option>
</el-select>
</div>
<div>
......@@ -171,37 +185,47 @@
<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 v-for="item in queryCommonData.EmployeeList" :label="item.EmName"
:value="item.EmployeeId" :key="item.EmployeeId"></el-option>
</el-select>
</div>
<div>
<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>
<el-input maxlength="50" v-model="queryMsg.DayNum" @keyup.native="checkInteger(queryMsg,'DayNum')"
class="w150" :placeholder="$t('pub.pleaseImport')"></el-input>
</div>
<div>
<span>{{$t('visa.v_lycity')}}</span>
<el-select class="w150" filterable v-model="queryMsg.UnionCityId" :placeholder="$t('pub.pleaseSel')">
<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-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 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.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 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.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>
......@@ -210,8 +234,10 @@
</div>
<div>
<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>
<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>
</el-select>
</div>
</div>
......@@ -222,7 +248,8 @@
<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>
......@@ -233,7 +260,8 @@
<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>
......@@ -243,7 +271,8 @@
<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>
......@@ -252,7 +281,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>
......@@ -260,11 +290,13 @@
<span>{{$t('Operation.Op_TransportState')}}</span>
<span>
<el-checkbox-group v-model="queryCommonData.IsUnionCked" style="margin-left:0;">
<el-checkbox v-for="state in unionStatus" :label="state.Id" :checked="state.Checked" @change="checkedUnion(state)" :key="state.Name">{{state.Name}}</el-checkbox>
<el-checkbox v-for="state in unionStatus" :label="state.Id" :checked="state.Checked"
@change="checkedUnion(state)" :key="state.Name">{{state.Name}}</el-checkbox>
</el-checkbox-group>
</span>
</div>
<button class="normalBtn TC_SearchBtn" @click="resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false">{{$t('pub.searchBtn')}}
<button class="normalBtn TC_SearchBtn"
@click="resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false">{{$t('pub.searchBtn')}}
</button>
</div>
<span class="advancedQuery" slot="reference">{{$t('visa.v_gjchaxun')}}
......@@ -279,8 +311,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('sm.nobodybaoming')" value="1"></el-option>
<el-option :label="$t('sm.tenpx')" value="2"></el-option>
......@@ -290,8 +324,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>
......@@ -300,8 +336,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>
......@@ -311,7 +349,8 @@
</div>
</div>
</div>
<button class="normalBtn TC_SearchBtn" @click="resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false">{{$t('pub.searchBtn')}}
<button class="normalBtn TC_SearchBtn"
@click="resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false">{{$t('pub.searchBtn')}}
</button>
</div>
<span class="advancedQuery" slot="reference">{{$t('Operation.Op_warningSearch')}}
......@@ -327,13 +366,17 @@
<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 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==''}">
<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" style="width:105px;">
<span style="font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;" v-if="item.ScoreNum >= 0" @click='goInvetig("investigationList", item.TCID, 0)'>(评分{{item.ScoreNum}})</span>
<span style="font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
v-if="item.ScoreNum >= 0"
@click='goInvetig("investigationList", item.TCID, 0)'>(评分{{item.ScoreNum}})</span>
{{$t('Operation.Op_TeamName')}}</div>
<div class="TCL_Content" style="width:90%">{{item.Title}}</div>
</div>
......@@ -349,7 +392,8 @@
<div>
<div class="TC_teamType">
<span v-if="item.IsB2B==0" title="内部团">{{$t('Operation.Op_nei')}}</span>
<span v-if="item.IsUnion==1&&item.UnionTypeStr==1" title="主" class="MainTeam">{{$t('Operation.Op_zhu')}}</span>
<span v-if="item.IsUnion==1&&item.UnionTypeStr==1" title="主"
class="MainTeam">{{$t('Operation.Op_zhu')}}</span>
<span v-if="item.IsUnion==1&&item.UnionTypeStr==2" title="联">{{$t('Operation.Op_lian')}}</span>
<span v-if="item.Status==2" title="结团">{{$t('Operation.Op_jietuan')}}</span>
<span v-if="item.Status==1" title="销售">{{$t('visaT.sale')}}</span>
......@@ -365,7 +409,9 @@
<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}" v-for="plat in item.SalePlatList" :key="plat.subCode">{{$tripUtils.getPlatName(plat)}}</span>
<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>
<span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span>
......@@ -390,7 +436,8 @@
<td class="_d_name _color_666">
<span v-if="fIndex==0">{{$t('Airticket.Air_go')}}</span>
<span v-else-if="fIndex==item.flightList.length-1">{{$t('Airticket.Air_returnTrip')}}</span>
<span v-else-if="fIndex>0 && fIndex!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
<span
v-else-if="fIndex>0 && fIndex!=item.flightList.length-1">{{$t('Airticket.Air_transit')}}</span>
</td>
<td>
<div>{{fItem.Flight_number}}</div>
......@@ -405,14 +452,18 @@
<div style="margin-top:5px;">({{fItem.AIATA}}){{fItem.aName}}</div>
</td>
<td>
<template v-if="fItem.StopoverIATA">({{fItem.StopoverIATA}})</template>{{fItem.StopoverName}}</td>
<template v-if="fItem.StopoverIATA">({{fItem.StopoverIATA}})</template>{{fItem.StopoverName}}
</td>
</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.DIATA}}){{subItem.DepartureName}} {{subItem.StopoverName==''?'':'-('+subItem.StopoverIATA+')'+subItem.StopoverName}} {{subItem.ArrivalCityName==''?'':'-('+subItem.AIATA+')'+subItem.ArrivalCityName}}
({{subItem.DIATA}}){{subItem.DepartureName}}
{{subItem.StopoverName==''?'':'-('+subItem.StopoverIATA+')'+subItem.StopoverName}}
{{subItem.ArrivalCityName==''?'':'-('+subItem.AIATA+')'+subItem.ArrivalCityName}}
<span v-if="subItem.FlightState==1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">【{{$t('visa.v_zanding')}}】</span>
</span>
......@@ -442,10 +493,12 @@
{{item.OutBranchName}}
</p>
<p class="travelnowrap" v-if="item.WordPath!=''">
<a style="cursor:pointer;" :href="domainManager().ViittoFileUrl+item.WordPath">{{$t('Operation.Op_downLoadword')}}</a>
<a style="cursor:pointer;"
:href="domainManager().ViittoFileUrl+item.WordPath">{{$t('Operation.Op_downLoadword')}}</a>
</p>
<p class="travelnowrap" v-if="item.FenFangUrl!=''">
<a style="cursor:pointer;color:blue;" title="点击下载已上传的分房表文件" v-if="item.FenFangUrl && item.FenFangUrl!=''" :href="item.FenFangUrl">{{$t('op.FFBDowmLoad')}}</a>
<a style="cursor:pointer;color:blue;" title="点击下载已上传的分房表文件"
v-if="item.FenFangUrl && item.FenFangUrl!=''" :href="item.FenFangUrl">{{$t('op.FFBDowmLoad')}}</a>
</p>
<p class="travelnowrap" v-if="item.ClearOrderHour>0">
<span>{{$t('salesModule.THQW')}}</span>
......@@ -457,10 +510,14 @@
</p>
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj" :TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM" @SetShouPeiShu="SetShouPeiShu(item.TCID,item.ShouPeiStatus)"></commonHotelInfo>
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"
:TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM"
@SetShouPeiShu="SetShouPeiShu(item.TCID,item.ShouPeiStatus)"></commonHotelInfo>
<div slot="reference">
<span class="price" style="cursor:pointer;text-decoration:underline;">{{$t('salesModule.HotelOrder')}}</span>
<span style="color: #e95252">op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}{{$t('op.Fenfang')}}</span>
<span class="price"
style="cursor:pointer;text-decoration:underline;">{{$t('salesModule.HotelOrder')}}</span>
<span
style="color: #e95252">op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}{{$t('op.Fenfang')}}</span>
</div>
</el-popover>
</p>
......@@ -593,7 +650,8 @@
<span>{{$t('visa.v_yibaoru')}}</span>
<i>
{{item.OrderGuestNum}}
<span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>{{$t('Operation.Op_people')}}
<span class="TCL-redType"
v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>{{$t('Operation.Op_people')}}
</i>
</p>
<p v-if="item.SingleDMNum>0">
......@@ -606,7 +664,8 @@
</p>
<p class="travelnowrap">
<span>{{$t('visa.v_houbu')}}</span>
<span v-if="item.IsSubstitution==1" class="TCL-greenType">{{$t('visa.v_yxhoubu')}}({{$t('visa.v_houbu')}}{{item.HBNum}}{{$t('Operation.Op_people')}})</span>
<span v-if="item.IsSubstitution==1"
class="TCL-greenType">{{$t('visa.v_yxhoubu')}}({{$t('visa.v_houbu')}}{{item.HBNum}}{{$t('Operation.Op_people')}})</span>
<span v-else class="TCL-redType">{{$t('visa.v_byxhoubu')}}</span>
</p>
<p>
......@@ -636,7 +695,8 @@
<div class="TC_SeatList">{{$t('Airticket.Air_firstClass')}}:{{item.FSeat}}</div>
<div class="TC_SeatList">{{$t('Airticket.Air_businessClass')}}:{{item.CSeat}}</div>
<div class="TC_SeatList">{{$t('Airticket.Air_EconomyClass')}}:{{item.YSeat}}</div>
<div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">{{$t('Operation.Op_bindNum')}}: {{item.BindNum}}</div>
<div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">{{$t('Operation.Op_bindNum')}}:
{{item.BindNum}}</div>
<div class="TC_SeatList" v-if="item.TicketNum>0 && item.TicketList">
<el-popover width="440" trigger="click" popper-class="TC_customerInfo">
<table width="440" border="0" cellspacing="0" cellpadding="0">
......@@ -661,7 +721,9 @@
<td style="text-align:center;">{{subItem.TicketCreateByName}}</td>
</tr>
</table>
<span slot="reference" title="点击查看详情" class="price" style="cursor:pointer;color:red;text-decoration: underline;">{{$t('op.FlightToNum')}}: {{item.TicketNum}}</span>
<span slot="reference" title="点击查看详情" class="price"
style="cursor:pointer;color:red;text-decoration: underline;">{{$t('op.FlightToNum')}}:
{{item.TicketNum}}</span>
</el-popover>
</div>
<div class="TC_SeatList">
......@@ -669,7 +731,8 @@
<span style="color:rgb(71, 191, 140)">可售散客机票&nbsp;
<span style="color:red;font-size:14px;font-weight:700;">{{item.CanSellTicketNum}}</span>&nbsp;
</span>&nbsp;&nbsp;
<a @click="closeAirticket(item.TCID)" title="点击关闭可售机票" style="cursor:pointer;color:red;text-decoration: underline;">关闭</a>
<a @click="closeAirticket(item.TCID)" title="点击关闭可售机票"
style="cursor:pointer;color:red;text-decoration: underline;">关闭</a>
</template>
<template v-if="item.CanSellTicketNum==0">
<span style="color:red;">已关闭散客机票</span>&nbsp;&nbsp;
......@@ -680,7 +743,9 @@
可售机票数量:
</td>
<td style="text-align:left;height:30px;line-height:30px;">
<el-input type="text" style="width:100px;padding-left:5px;" v-model="updateAirticketObj.CanSellTicketNum" maxlength="1" @keyup.native="checkInteger(updateAirticketObj,'CanSellTicketNum')"></el-input>
<el-input type="text" style="width:100px;padding-left:5px;"
v-model="updateAirticketObj.CanSellTicketNum" maxlength="1"
@keyup.native="checkInteger(updateAirticketObj,'CanSellTicketNum')"></el-input>
</td>
</tr>
<tr>
......@@ -693,10 +758,63 @@
</td>
</tr>
</table>
<a slot="reference" title="点击开启可售机票" @click="clickAirticket(item)" style="cursor:pointer;color:rgb(71, 191, 140);text-decoration: underline;">开启</a>
<a slot="reference" title="点击开启可售机票" @click="clickAirticket(item)"
style="cursor:pointer;color:rgb(71, 191, 140);text-decoration: underline;">开启</a>
</el-popover>
</template>
</div>
<div class="TC_SeatList">
<el-popover width="500" trigger="click" popper-class="TC_customerInfo">
<table>
<tr>
<td colspan="4" style="text-align:center;">
报价单 <template v-if="item.Config_OfferId>0">
<a style="cursor:pointer;color:red;text-decoration: underline;"
@click="gotoOffer(item)">查看报价单</a>
</template>
</td>
</tr>
<tr>
<td style="width:70px;text-align:center;">
日期:
</td>
<td colspan="2">
<el-date-picker class="w150" type="date" v-model="offerQMsg.QStartDate"
:picker-options="offerBeginDateBefore" value-format="yyyy-MM-dd" placeholder>
</el-date-picker>
<el-date-picker class="w150" type="date" v-model="offerQMsg.QEndDate"
:picker-options="offerBeginDateAfter" value-format="yyyy-MM-dd" placeholder>
</el-date-picker>
</td>
<td>
<input type="button" class="normalBtn" value="查询" @click="getOfferQuery(item.CreateBy)">
</td>
</tr>
<tr v-for="oItem in offerDataList ">
<td>
<input type="checkbox" v-model="oItem.IsCheck" @click="clickOfferItem(oItem)" />
</td>
<td>
{{oItem.LineName}}<br />
{{oItem.LtName}}
</td>
<td>
{{oItem.CustomerName}}
</td>
<td>
{{oItem.CreateByName}}/{{oItem.CreateTimeStr}}
</td>
</tr>
<tr>
<td colspan="4" style="text-align:center;">
<input type="button" class="normalBtn" value="保存" @click="saveOffer(item)" />
</td>
</tr>
</table>
<a slot="reference" title="报价单"
style="cursor:pointer;color:blue;text-decoration: underline;display:none;">报价单</a>
</el-popover>
</div>
</div>
</div>
<div class="el-col" style="width:200px;">
......@@ -738,7 +856,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>
......@@ -764,29 +883,34 @@
</div>
<div class="el-col">
<div class="d7">
<el-button @click.native='goUrl("RegistrationList", item.TCID,"报名清单")' type="primary" style="background:#00C6FF; border-color:#00C6FF">{{$t('Operation.Op_registrationList')}}
<el-button @click.native='goUrl("RegistrationList", item.TCID,"报名清单")' type="primary"
style="background:#00C6FF; border-color:#00C6FF">{{$t('Operation.Op_registrationList')}}
</el-button>
<el-dropdown trigger="click" style="margin-bottom:5px;" v-if="IsModifyTravelControl==1">
<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 v-if="item.TeamType!=3" @click.native="goToOpenTravel('TravelManager2',item.ID,0)">
<el-dropdown-item v-if="item.TeamType!=3"
@click.native="goToOpenTravel('TravelManager2',item.ID,0)">
{{$t('Operation.Op_xilieModyfi')}}
</el-dropdown-item>
<el-dropdown-item v-else @click.native="goToOpenTravel('TravelManager6',item.ID,0)">
{{$t('Operation.Op_xilieModyfi')}}
</el-dropdown-item>
<el-dropdown-item v-if="item.TeamType!=3" @click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)">
<el-dropdown-item v-if="item.TeamType!=3"
@click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)">
{{$t('Operation.Op_dangtuanModify')}}
</el-dropdown-item>
<el-dropdown-item v-else @click.native="goTonowTeam('TravelManager6',item.ID,item.TCID,item.TCNUM)">
<el-dropdown-item v-else
@click.native="goTonowTeam('TravelManager6',item.ID,item.TCID,item.TCNUM)">
{{$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">
<el-button @click='goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")' type="primary"
style="background:#67c23a; border-color:#67c23a">
{{$t('Operation.Op_advertising')}}&nbsp;{{item.AdvertCount}}
</el-button>
<el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C">
......@@ -797,10 +921,12 @@
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="SetGroupRecommendType(item,1)" v-if="item.b2b&&item.GroupRecommendType==0">
<el-dropdown-item @click.native="SetGroupRecommendType(item,1)"
v-if="item.b2b&&item.GroupRecommendType==0">
{{$t('op.Setjingpin')}}
</el-dropdown-item>
<el-dropdown-item @click.native="SetGroupRecommendType(item,0)" v-if="item.b2b&&item.GroupRecommendType==1">
<el-dropdown-item @click.native="SetGroupRecommendType(item,0)"
v-if="item.b2b&&item.GroupRecommendType==1">
{{$t('op.CancelSetjp')}}
</el-dropdown-item>
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">
......@@ -810,7 +936,8 @@
{{$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 v-if="item.TCState==2||item.TCState==0||item.TCState==1" @click.native="setUpPlat(item)">{{$t('Operation.Op_shangjia')}}
<el-dropdown-item 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')}}
......@@ -824,13 +951,16 @@
</el-dropdown-item>
<el-dropdown-item v-if="item.Status==2" @click.native="OutGroup(item.TCID,1)">{{$t('visaT.sale')}}
</el-dropdown-item>
<el-dropdown-item v-if="item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)" @click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">{{$t('Operation.Op_shouruDan')}}
<el-dropdown-item v-if="item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
@click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">{{$t('Operation.Op_shouruDan')}}
</el-dropdown-item>
<el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" @click.native="goB2B(item.ConfigId, item.TCID , 1)">
<el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''"
@click.native="goB2B(item.ConfigId, item.TCID , 1)">
{{$t('Operation.Op_b2bView')}}
</el-dropdown-item>
<el-dropdown-item @click.native="goB2B(item.ConfigId, item.TCID , 2)" v-if="item.LineID!=2&&item.LineID!=8">
<el-dropdown-item @click.native="goB2B(item.ConfigId, item.TCID , 2)"
v-if="item.LineID!=2&&item.LineID!=8">
直客版预览
</el-dropdown-item>
......@@ -845,7 +975,8 @@
</el-dropdown-item>
<el-dropdown-item>
<div v-if="item.ScoreNum >= 0" @click='goInvetig("investigationList", item.TCID, 0)'>{{$t('op.LookPassengerSurvey')}}
<div v-if="item.ScoreNum >= 0" @click='goInvetig("investigationList", item.TCID, 0)'>
{{$t('op.LookPassengerSurvey')}}
</div>
</el-dropdown-item>
<el-dropdown-item>
......@@ -872,19 +1003,25 @@
<div class="TCL_remarkTitle">{{$t('op.DJBZTH')}}:</div>
<div class="TCL_Content">{{item.DMCNum}}</div>
</div>
<div class="clearfix TCL-redType" v-if="(item.DmcRemarkLast&&item.DmcRemarkLast.DMCRemark!='') || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' ">
<div class="clearfix TCL-redType"
v-if="(item.DmcRemarkLast&&item.DmcRemarkLast.DMCRemark!='') || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' ">
<div class="TCL_remarkTitle">{{$t('Operation.Op_dijieRemark')}}:</div>
<div class="TCL_Content">{{item.DmcRemarkLast!=null? item.DmcRemarkLast.DMCRemark:''}}
<a v-if="item.HotelDiningBus.HotelChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,1)" style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a v-if="item.HotelDiningBus.DiningChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,2)" style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a v-if="item.HotelDiningBus.ResultBusTypeStr!=''">{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}</a>
<a v-if="item.HotelDiningBus.HotelChangeState>0" @click="goHotelDiningBus(item,item.HotelDiningBus,1)"
style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a v-if="item.HotelDiningBus.DiningChangeState>0"
@click="goHotelDiningBus(item,item.HotelDiningBus,2)"
style="color:blue;cursor:pointer">{{$t('Operation.Op_HotelChange')}}</a>
<a
v-if="item.HotelDiningBus.ResultBusTypeStr!=''">{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}</a>
</div>
</div>
</div>
</li>
</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 background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size="queryMsg.pageSize" :total="queryMsg.total">
</el-pagination>
</div>
</div>
......@@ -938,16 +1075,19 @@
<button class="normalBtn" type="primary" @click="SetSellingPoints">{{$t('pub.sureBtn')}}</button>
</div>
</div>
<div class="combottomDiv OPremarkDiv" v-if="queryCommonData.UploadWORDTip" v-loading="queryCommonData.uploadLoading">
<div class="combottomDiv OPremarkDiv" v-if="queryCommonData.UploadWORDTip"
v-loading="queryCommonData.uploadLoading">
<div class="combottomTitle">
<template v-if="queryCommonData.UploadItem.Type==1"> {{$t('Operation.Op_scTrip')}}</template>
<template v-else> {{$t('op.UploadFFB')}}</template>
<button style="float:right;margin-right:100px;" class="hollowFixedBtn" type="primary" @click="queryCommonData.UploadWORDTip = false">{{$t('pub.cancelBtn')}}
<button style="float:right;margin-right:100px;" class="hollowFixedBtn" type="primary"
@click="queryCommonData.UploadWORDTip = false">{{$t('pub.cancelBtn')}}
</button>
</div>
<el-form label-width="100px">
<el-col :span="8" class="_pic_upload">
<el-upload :http-request="uploadFileBtn" drag :multiple="true" :show-file-list="false" action="" accept="*.doc,*.docx">
<el-upload :http-request="uploadFileBtn" drag :multiple="true" :show-file-list="false" action=""
accept="*.doc,*.docx">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">{{$t('active.ld_djscwj')}}</div>
</el-upload>
......@@ -957,11 +1097,11 @@
</div>
</template>
<script>
import commonHotelInfo from "../../commonPage/commonHotelInfo.vue";
export default {
provide(){
return{
reload:this.reload
import commonHotelInfo from "../../commonPage/commonHotelInfo.vue";
export default {
provide() {
return {
reload: this.reload
}
},
data() {
......@@ -1079,6 +1219,13 @@ export default {
HotelId: 0, //酒店编号
HotelUseTime: "" //酒店使用时间
},
//报价单查询条件
offerQMsg: {
CreateBy: 0, //报价单创建人
QStartDate: "", //报价单开始时间
QEndDate: "", //报价单结束时间
},
offerDataList: [], //报价单列表
remarkMsg: {
TCID: 0,
OPRemark: "",
......@@ -1088,8 +1235,7 @@ export default {
//本团卖点
ProductRecommend: ""
},
flightStatus: [
{
flightStatus: [{
Id: 0,
Name: "不限",
Checked: true
......@@ -1106,8 +1252,7 @@ export default {
}
],
//联运状态
unionStatus: [
{
unionStatus: [{
Id: -1,
Name: "全部",
Checked: true
......@@ -1137,7 +1282,10 @@ export default {
colspanLength: 5 //跨行
},
//更新可售机票数量
updateAirticketObj: { TCID: 0, CanSellTicketNum: 2 },
updateAirticketObj: {
TCID: 0,
CanSellTicketNum: 2
},
IsModifyTravelControl: 0, //分公司是否有修改团控权限
pickerBeginDateBefore: {
disabledDate: time => {
......@@ -1154,7 +1302,25 @@ export default {
let startTime = new Date(this.queryMsg.StartGroupDate);
return startTime.getTime() >= time.getTime();
}
},
//报价单列表
offerBeginDateBefore: {
disabledDate: time => {
if (this.offerQMsg.QEndDate == null) {
return false;
} else {
let endTime = new Date(this.offerQMsg.QEndDate);
return endTime.getTime() < time.getTime();
}
}
},
offerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.offerQMsg.QStartDate);
return startTime.getTime() >= time.getTime();
}
},
};
},
components: {
......@@ -1163,7 +1329,7 @@ export default {
//监听器
watch: {
// 方法1
'$route' (to, from) { //监听路由是否变化
'$route'(to, from) { //监听路由是否变化
location.reload()
},
},
......@@ -1193,7 +1359,7 @@ export default {
//关闭散客机票
closeAirticket(TCID) {
var that = this;
this.Confirm("是否要关闭可售机票?", function() {
this.Confirm("是否要关闭可售机票?", function () {
var tempMsg = {
TCID: TCID,
CanSellTicketNum: 0
......@@ -1214,7 +1380,7 @@ export default {
});
},
// 跳转调查列表
goInvetig: function(path, tcid, orderId) {
goInvetig: function (path, tcid, orderId) {
this.$router.push({
name: path,
query: {
......@@ -1263,7 +1429,7 @@ export default {
err => {}
);
},
downloadFile: function(item) {
downloadFile: function (item) {
let reg = /^http(s)?:\/\/(.*?)\//;
this.downloadFileRename(item.FullUrl.replace(reg, ""), item.Name);
},
......@@ -1289,8 +1455,7 @@ export default {
//获取线路列表
getLineList() {
this.apipost(
"line_post_GetList",
{
"line_post_GetList", {
LineDirection: 2
},
res => {
......@@ -1339,8 +1504,7 @@ export default {
//获取航空公司
getAirlineList() {
this.apipost(
"airline_post_GetList",
{},
"airline_post_GetList", {},
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.AirlineList = res.data.data;
......@@ -1360,8 +1524,7 @@ export default {
IsLeave: "0"
};
this.apipost(
"admin_get_EmployeeGetList",
{},
"admin_get_EmployeeGetList", {},
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.EmployeeList = res.data.data;
......@@ -1556,7 +1719,7 @@ export default {
//单团酒店下架
RemoveHotelJourneyOrder(TCID) {
var that = this;
this.Confirm("是否要下架酒店?下架过后将释放酒店库存!", function() {
this.Confirm("是否要下架酒店?下架过后将释放酒店库存!", function () {
let msg = {
TCID: TCID
};
......@@ -1679,7 +1842,7 @@ export default {
});
},
goB2B(ConfigId, tcid, type) {
if(type==1){
if (type == 1) {
var B2BDomain = this.CurrentUserInfo.B2BDomain;
window.open(
"http://www.oytour.com/#/detailTwo/" +
......@@ -1689,12 +1852,12 @@ export default {
"/preview",
"_blank"
);
}else{
} else {
var B2BDomain = this.CurrentUserInfo.B2BDomain;
window.open(
"http://www.oytour.com/#/newTrip" +'?ID='+encodeURIComponent(ConfigId) +
"http://www.oytour.com/#/newTrip" + '?ID=' + encodeURIComponent(ConfigId) +
"&" +
'tcid='+tcid,
'tcid=' + tcid,
"_blank"
);
}
......@@ -1757,7 +1920,7 @@ export default {
//删除团期
removeTeamInfo(TCID) {
var that = this;
that.Confirm("是否删除?", function() {
that.Confirm("是否删除?", function () {
var msg = {
TCID: TCID
};
......@@ -1787,8 +1950,7 @@ export default {
getSellorCompany() {
//出团公司
this.apipost(
"sellorder_post_GetBranchList",
{},
"sellorder_post_GetBranchList", {},
res => {
if (res.data.resultCode == 1) {
this.queryCommonData.companyList = res.data.data;
......@@ -2043,6 +2205,61 @@ export default {
"_" +
second
);
},
//报价单查询
getOfferQuery(createBy) {
this.offerQMsg.CreateBy = createBy;
this.offerQMsg.CreateBy = 0;
this.apipost("travel_get_GetOfferListExtService", this.offerQMsg, res => {
if (res.data.resultCode == 1) {
this.offerDataList = res.data.data;
} else {
this.Info(res.data.message);
}
});
},
//报价单选中
clickOfferItem(oItem) {
this.offerDataList.forEach(item => {
item.IsCheck = false;
});
oItem.IsCheck = true;
},
//保存报价单
saveOffer(item) {
var offerId = 0;
this.offerDataList.forEach(item => {
if (item.IsCheck) {
offerId = item.OfferId;
}
});
if (offerId > 0) {
var updateMsg = {
OfferId: offerId,
ConfigId: item.ID
};
this.apipost("travel_post_UpdateConfigOfferIdService", updateMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getControlList();
} else {
this.Info(res.data.message);
}
});
} else {
this.Info("请选择报价单!");
}
},
//跳转到报价单
gotoOffer(item) {
this.$router.push({
path: 'QuotationNewPrice',
query: {
offerid: item.Config_OfferId,
blank: 'y',
tab: '报价单'
}
});
}
},
filters: {
......@@ -2148,5 +2365,6 @@ export default {
}
this.getControlList();
}
};
};
</script>
......@@ -80,6 +80,7 @@
SingleRoomShareMoney: 0, //单房差分摊费用
InlandTrafficShareMoney: 0, //内陆段交通分摊费用
OtherShareMoney: 0, //杂费分摊费用
OtherRemark: "", //其他价格备注
},
CostCurrencyList: [], //选择的币种
CostNumberList: [], //人数
......@@ -112,6 +113,7 @@
BackVisaPrice: 0, //退签证费
BackSafeMoney: 0, //退保险费
ContractUrl: "", //合同地址
PriceRemark: "", //定价备注
},
LineList: [], //线路列表
loading: false
......@@ -166,8 +168,13 @@
},
getPostData() {
let configId = this.$route.query.configId;
let offerId = 0;
if (this.$route.query.offerid) {
offerId = this.$route.query.offerid;
}
let msg = {
ID: configId
ID: configId,
offerId: offerId
};
this.apipost(
"travel_get_GetMyTravelInfo_V2",
......
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