Commit efe9a3da authored by 吴春's avatar 吴春

解决冲突

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