Commit efe9a3da authored by 吴春's avatar 吴春

解决冲突

parents a2aa8386 c0003006
...@@ -988,7 +988,7 @@ ...@@ -988,7 +988,7 @@
<span class="TCL-redType"> {{item.VisaOPName}}</span> <span class="TCL-redType"> {{item.VisaOPName}}</span>
</p> </p>
<template v-if="item.VisaAssistantList&&item.VisaAssistantList.length>0"> <template v-if="item.VisaAssistantList&&item.VisaAssistantList.length>0">
<p > <p>
<span> 签证助理OP</span> <span> 签证助理OP</span>
<template v-for="(subItem,subIndex) in item.VisaAssistantList"> <template v-for="(subItem,subIndex) in item.VisaAssistantList">
<span :key="subIndex" style="padding-right:3px;">{{subItem}}</span> <span :key="subIndex" style="padding-right:3px;">{{subItem}}</span>
...@@ -1369,22 +1369,26 @@ ...@@ -1369,22 +1369,26 @@
</el-col> </el-col>
</el-form> </el-form>
</div> </div>
<!--修改op信息--> <!--修改op信息-->
<div class="combottomDiv OPremarkDiv" v-show="VisaOPMsg.VisaShow"> <div class="combottomDiv OPremarkDiv" style="height:150px;" v-show="VisaOPMsg.VisaShow">
<div class="combottomTitle">签证OP设置</div> <div class="combottomTitle">签证OP设置</div>
<el-form label-width="100px"> <el-form label-width="100px">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="签证OP" prop="Remark"> <el-form-item label="签证OP" prop="Remark">
<el-select filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaId" :placeholder="$t('pub.pleaseSel')"> <el-select filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaId"
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId" :key="item.EmployeeId"> :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId"
:key="item.EmployeeId">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="签证助手" prop="Remark"> <el-form-item label="签证助手" prop="Remark">
<el-select multiple filterable style="width: 80%;height:auto;" clearable v-model="VisaOPMsg.VisaAssistIds" :placeholder="$t('pub.pleaseSel')"> <el-select multiple filterable style="width: 80%;height:auto;" clearable v-model="VisaOPMsg.VisaAssistIds"
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId" :key="item.EmployeeId"> :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId"
:key="item.EmployeeId">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -1394,7 +1398,7 @@ ...@@ -1394,7 +1398,7 @@
<button class="hollowFixedBtn" @click="VisaOPMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="VisaOPMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="SetVisaOPInfo">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="SetVisaOPInfo">{{$t('pub.sureBtn')}}</button>
</div> </div>
</div> </div>
<div v-if="dialog.show"> <div v-if="dialog.show">
...@@ -1459,7 +1463,7 @@ ...@@ -1459,7 +1463,7 @@
FenFangBiaoXiaZai: false, //分房表下载 FenFangBiaoXiaZai: false, //分房表下载
LookOPCommission: false, //查看OP提成 LookOPCommission: false, //查看OP提成
IsSanKeTicket: false, //是否有散客票权限 IsSanKeTicket: false, //是否有散客票权限
VisaEmployeeList:[], VisaEmployeeList: [],
//查询数据列表 //查询数据列表
queryCommonData: { queryCommonData: {
//线路列表 //线路列表
...@@ -1597,11 +1601,11 @@ ...@@ -1597,11 +1601,11 @@
ProductRecommend: "" ProductRecommend: ""
}, },
VisaOPMsg: { VisaOPMsg: {
VisaShow:false, VisaShow: false,
TCID: 0, TCID: 0,
VisaId: "", VisaId: "",
VisaAssistIds: [], VisaAssistIds: [],
VisaAssistId:"", VisaAssistId: "",
}, },
flightStatus: [{ flightStatus: [{
Id: 0, Id: 0,
...@@ -2187,13 +2191,13 @@ ...@@ -2187,13 +2191,13 @@
) )
}, },
getDiningDetailsList() { getDiningDetailsList() {
let Ids=[]; let Ids = [];
this.queryCommonData.dataList.forEach((item,index) => { this.queryCommonData.dataList.forEach((item, index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){ if ((item.LineID == 14 || item.LineID == 90 || item.LineID == 168 || item.LineID == 118)) {
Ids.push(item.TCID) Ids.push(item.TCID)
} }
}); });
if(Ids&&Ids.length>0){ if (Ids && Ids.length > 0) {
let msg = [...new Set(Ids)] let msg = [...new Set(Ids)]
this.apipost( this.apipost(
"dmcstatistics_get_GetDiningStatisticsList", { "dmcstatistics_get_GetDiningStatisticsList", {
...@@ -2217,13 +2221,13 @@ ...@@ -2217,13 +2221,13 @@
} }
}, },
getPriceHotelResultStatisticsList() { getPriceHotelResultStatisticsList() {
let Ids=[]; let Ids = [];
this.queryCommonData.dataList.forEach((item,index) => { this.queryCommonData.dataList.forEach((item, index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){ if ((item.LineID == 14 || item.LineID == 90 || item.LineID == 168 || item.LineID == 118)) {
Ids.push(item.TCID) Ids.push(item.TCID)
} }
}); });
if(Ids&&Ids.length>0){ if (Ids && Ids.length > 0) {
let msg = [...new Set(Ids)] let msg = [...new Set(Ids)]
this.apipost( this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", { "travel_get_GetPriceHotelResultStatisticsList", {
...@@ -2689,18 +2693,19 @@ ...@@ -2689,18 +2693,19 @@
//签证op设置 //签证op设置
ckOPInfo(item) { ckOPInfo(item) {
this.VisaOPMsg.VisaShow = true; this.VisaOPMsg.VisaShow = true;
this.VisaOPMsg.VisaId = item.VisaOPId==0?'':item.VisaOPId; this.VisaOPMsg.VisaId = item.VisaOPId == 0 ? '' : item.VisaOPId;
this.VisaOPMsg.VisaAssistId =''; this.VisaOPMsg.VisaAssistId = '';
// this.VisaOPMsg.VisaAssistId = item.VisaAssistantId; // this.VisaOPMsg.VisaAssistId = item.VisaAssistantId;
this.VisaOPMsg.VisaAssistIds = (item.VisaAssistantId&&item.VisaAssistantId.length>0)? item.VisaAssistantId.split(",").map((item) => Number(item)):[]; this.VisaOPMsg.VisaAssistIds = (item.VisaAssistantId && item.VisaAssistantId.length > 0) ? item.VisaAssistantId
.split(",").map((item) => Number(item)) : [];
this.VisaOPMsg.TCID = item.TCID; this.VisaOPMsg.TCID = item.TCID;
this.getVisaEmployeeList(); this.getVisaEmployeeList();
}, },
//签证op设置 //签证op设置
SetVisaOPInfo() { SetVisaOPInfo() {
this.VisaOPMsg.VisaAssistId =''; this.VisaOPMsg.VisaAssistId = '';
console.log(" this.VisaOPMsg", this.VisaOPMsg); console.log(" this.VisaOPMsg", this.VisaOPMsg);
if(this.VisaOPMsg.VisaAssistIds&&this.VisaOPMsg.VisaAssistIds.length>0){ if (this.VisaOPMsg.VisaAssistIds && this.VisaOPMsg.VisaAssistIds.length > 0) {
this.VisaOPMsg.VisaAssistId = this.VisaOPMsg.VisaAssistIds.join(',') this.VisaOPMsg.VisaAssistId = this.VisaOPMsg.VisaAssistIds.join(',')
} }
this.apipost( this.apipost(
......
...@@ -773,7 +773,7 @@ ...@@ -773,7 +773,7 @@
<span class="TCL-redType"> {{item.VisaOPName}}</span> <span class="TCL-redType"> {{item.VisaOPName}}</span>
</p> </p>
<template v-if="item.VisaAssistantList&&item.VisaAssistantList.length>0"> <template v-if="item.VisaAssistantList&&item.VisaAssistantList.length>0">
<p > <p>
<span> 签证助理OP</span> <span> 签证助理OP</span>
<template v-for="(subItem,subIndex) in item.VisaAssistantList"> <template v-for="(subItem,subIndex) in item.VisaAssistantList">
<span :key="subIndex" style="padding-right:3px;">{{subItem}}</span> <span :key="subIndex" style="padding-right:3px;">{{subItem}}</span>
...@@ -1048,22 +1048,26 @@ ...@@ -1048,22 +1048,26 @@
<button class="normalBtn" type="primary" @click="SetSellingPoints">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="SetSellingPoints">{{$t('pub.sureBtn')}}</button>
</div> </div>
</div> </div>
<!--修改op信息--> <!--修改op信息-->
<div class="combottomDiv OPremarkDiv" v-show="VisaOPMsg.VisaShow"> <div class="combottomDiv OPremarkDiv" style="height:150px;" v-show="VisaOPMsg.VisaShow">
<div class="combottomTitle">签证OP设置</div> <div class="combottomTitle">签证OP设置</div>
<el-form label-width="100px"> <el-form label-width="100px">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="签证OP" prop="Remark"> <el-form-item label="签证OP" prop="Remark">
<el-select filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaId" :placeholder="$t('pub.pleaseSel')"> <el-select filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaId"
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId" :key="item.EmployeeId"> :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId"
:key="item.EmployeeId">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="签证助手" prop="Remark"> <el-form-item label="签证助手" prop="Remark">
<el-select multiple filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaAssistIds" :placeholder="$t('pub.pleaseSel')"> <el-select multiple filterable style="width: 80%" clearable v-model="VisaOPMsg.VisaAssistIds"
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId" :key="item.EmployeeId"> :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in VisaEmployeeList" :label="item.EmName" :value="item.EmployeeId"
:key="item.EmployeeId">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -1073,7 +1077,7 @@ ...@@ -1073,7 +1077,7 @@
<button class="hollowFixedBtn" @click="VisaOPMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="VisaOPMsg.VisaShow = false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="SetVisaOPInfo">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="SetVisaOPInfo">{{$t('pub.sureBtn')}}</button>
</div> </div>
</div> </div>
<el-dialog :visible.sync="dialog.show" width="1400px" title="报价详情"> <el-dialog :visible.sync="dialog.show" width="1400px" title="报价详情">
<div v-if="dialog.show"> <div v-if="dialog.show">
<price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog> <price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog>
...@@ -1122,13 +1126,13 @@ ...@@ -1122,13 +1126,13 @@
}, },
], ],
VisaOPMsg: { VisaOPMsg: {
VisaShow:false, VisaShow: false,
TCID: 0, TCID: 0,
VisaId: "", VisaId: "",
VisaAssistIds: [], VisaAssistIds: [],
VisaAssistId:"", VisaAssistId: "",
}, },
VisaEmployeeList:[], VisaEmployeeList: [],
//查询数据列表 //查询数据列表
queryCommonData: { queryCommonData: {
//线路列表 //线路列表
...@@ -1389,18 +1393,19 @@ ...@@ -1389,18 +1393,19 @@
//签证op设置 //签证op设置
ckOPInfo(item) { ckOPInfo(item) {
this.VisaOPMsg.VisaShow = true; this.VisaOPMsg.VisaShow = true;
this.VisaOPMsg.VisaId = item.VisaOPId==0?'':item.VisaOPId; this.VisaOPMsg.VisaId = item.VisaOPId == 0 ? '' : item.VisaOPId;
this.VisaOPMsg.VisaAssistId =''; this.VisaOPMsg.VisaAssistId = '';
// this.VisaOPMsg.VisaAssistId = item.VisaAssistantId; // this.VisaOPMsg.VisaAssistId = item.VisaAssistantId;
this.VisaOPMsg.VisaAssistIds = (item.VisaAssistantId&&item.VisaAssistantId.length>0)? item.VisaAssistantId.split(",").map((item) => Number(item)):[]; this.VisaOPMsg.VisaAssistIds = (item.VisaAssistantId && item.VisaAssistantId.length > 0) ? item.VisaAssistantId
.split(",").map((item) => Number(item)) : [];
this.VisaOPMsg.TCID = item.TCID; this.VisaOPMsg.TCID = item.TCID;
this.getVisaEmployeeList(); this.getVisaEmployeeList();
}, },
//签证op设置 //签证op设置
SetVisaOPInfo() { SetVisaOPInfo() {
this.VisaOPMsg.VisaAssistId =''; this.VisaOPMsg.VisaAssistId = '';
console.log(" this.VisaOPMsg", this.VisaOPMsg); console.log(" this.VisaOPMsg", this.VisaOPMsg);
if(this.VisaOPMsg.VisaAssistIds&&this.VisaOPMsg.VisaAssistIds.length>0){ if (this.VisaOPMsg.VisaAssistIds && this.VisaOPMsg.VisaAssistIds.length > 0) {
this.VisaOPMsg.VisaAssistId = this.VisaOPMsg.VisaAssistIds.join(',') this.VisaOPMsg.VisaAssistId = this.VisaOPMsg.VisaAssistIds.join(',')
} }
this.apipost( this.apipost(
...@@ -1664,13 +1669,13 @@ ...@@ -1664,13 +1669,13 @@
); );
}, },
getPriceHotelResultStatisticsList() { getPriceHotelResultStatisticsList() {
let Ids=[]; let Ids = [];
this.queryCommonData.dataList.forEach((item,index) => { this.queryCommonData.dataList.forEach((item, index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){ if ((item.LineID == 14 || item.LineID == 90 || item.LineID == 168 || item.LineID == 118)) {
Ids.push(item.TCID) Ids.push(item.TCID)
} }
}); });
if(Ids&&Ids.length>0){ if (Ids && Ids.length > 0) {
let msg = [...new Set(Ids)] let msg = [...new Set(Ids)]
this.apipost( this.apipost(
"travel_get_GetPriceHotelResultStatisticsList", { "travel_get_GetPriceHotelResultStatisticsList", {
...@@ -1694,13 +1699,13 @@ ...@@ -1694,13 +1699,13 @@
} }
}, },
getDiningDetailsList() { getDiningDetailsList() {
let Ids=[]; let Ids = [];
this.queryCommonData.dataList.forEach((item,index) => { this.queryCommonData.dataList.forEach((item, index) => {
if((item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118)){ if ((item.LineID == 14 || item.LineID == 90 || item.LineID == 168 || item.LineID == 118)) {
Ids.push(item.TCID) Ids.push(item.TCID)
} }
}); });
if(Ids&&Ids.length>0){ if (Ids && Ids.length > 0) {
let msg = [...new Set(Ids)] let msg = [...new Set(Ids)]
this.apipost( this.apipost(
"dmcstatistics_get_GetDiningStatisticsList", { "dmcstatistics_get_GetDiningStatisticsList", {
......
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