Commit 692e9d41 authored by liudong1993's avatar liudong1993
parents 102aebc7 5bf0b109
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
v-if="TenantId==1"> v-if="TenantId==1">
<el-dropdown trigger="click" style="margin-left: 50px"> <el-dropdown trigger="click" style="margin-left: 50px">
<span class="el-dropdown-link">{{$t('objFill.preparedocument')}}</span> <span class="el-dropdown-link">{{$t('objFill.preparedocument')}}</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<el-dropdown-item @click.native="goCollection(item,list)"> <el-dropdown-item @click.native="goCollection(item,list)">
{{$t('objFill.v101.shouruzhid')}} {{$t('objFill.v101.shouruzhid')}}
</el-dropdown-item> </el-dropdown-item>
......
...@@ -1436,7 +1436,7 @@ ...@@ -1436,7 +1436,7 @@
<span class="el-dropdown-link">{{ $t("pub.updateMsg") }} <span class="el-dropdown-link">{{ $t("pub.updateMsg") }}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<template v-if=" <template v-if="
item.RelationPriceList && item.RelationPriceList.length > 0 item.RelationPriceList && item.RelationPriceList.length > 0
"> ">
...@@ -1516,7 +1516,7 @@ ...@@ -1516,7 +1516,7 @@
<span class="el-dropdown-link">{{ $t("Operation.Op_moreOperation") }} <span class="el-dropdown-link">{{ $t("Operation.Op_moreOperation") }}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<el-dropdown-item @click.native="SetGroupRecommendType(item, 1)" v-if=" <el-dropdown-item @click.native="SetGroupRecommendType(item, 1)" v-if="
item.b2b && item.b2b &&
item.GroupRecommendType == 0 && item.GroupRecommendType == 0 &&
......
...@@ -1042,7 +1042,7 @@ ...@@ -1042,7 +1042,7 @@
<span class="el-dropdown-link">{{$t('pub.updateMsg')}} <span class="el-dropdown-link">{{$t('pub.updateMsg')}}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<template v-if="item.RelationPriceList&&item.RelationPriceList.length>0"> <template v-if="item.RelationPriceList&&item.RelationPriceList.length>0">
<el-dropdown-item @click.native="goToOpenTravel('TravelManager',item.ID,0,item)"> <el-dropdown-item @click.native="goToOpenTravel('TravelManager',item.ID,0,item)">
{{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item> {{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item>
...@@ -1112,7 +1112,7 @@ ...@@ -1112,7 +1112,7 @@
<span class="el-dropdown-link">{{$t('Operation.Op_moreOperation')}} <span class="el-dropdown-link">{{$t('Operation.Op_moreOperation')}}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)"> <el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">
{{$t('Operation.Op_shouzhiDetail')}}</el-dropdown-item> {{$t('Operation.Op_shouzhiDetail')}}</el-dropdown-item>
<el-dropdown-item @click.native="goUrlR(item)"> <el-dropdown-item @click.native="goUrlR(item)">
......
...@@ -739,7 +739,7 @@ ...@@ -739,7 +739,7 @@
<span class="el-dropdown-link">{{$t('pub.updateMsg')}} <span class="el-dropdown-link">{{$t('pub.updateMsg')}}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<template v-if="item.RelationPriceList&&item.RelationPriceList.length>0"> <template v-if="item.RelationPriceList&&item.RelationPriceList.length>0">
<el-dropdown-item @click.native="goToOpenTravel('TravelManager',item.ID,0,item)"> <el-dropdown-item @click.native="goToOpenTravel('TravelManager',item.ID,0,item)">
{{$t('Operation.Op_xilieModyfi')}} {{$t('Operation.Op_xilieModyfi')}}
...@@ -812,7 +812,7 @@ ...@@ -812,7 +812,7 @@
<span class="el-dropdown-link">{{$t('Operation.Op_moreOperation')}} <span class="el-dropdown-link">{{$t('Operation.Op_moreOperation')}}
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown" style="max-height: 410px;overflow: auto;">
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)"> <el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">
{{$t('Operation.Op_shouzhiDetail')}} {{$t('Operation.Op_shouzhiDetail')}}
</el-dropdown-item> </el-dropdown-item>
......
...@@ -181,6 +181,10 @@ ...@@ -181,6 +181,10 @@
<el-input type="textarea" resize="none" style="width:180px;" v-model="subItem.Title"></el-input> <el-input type="textarea" resize="none" style="width:180px;" v-model="subItem.Title"></el-input>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<el-input v-model="subItem.HotelName"></el-input>
</template>
<template v-else>
<el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)" <el-select filterable remote :remote-method="(query) => remoteSearchAdGroup(query, subItem)"
v-model='subItem.HotelId' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading" v-model='subItem.HotelId' :placeholder="$t('objFill.qingshurujdmc')" :loading="loading"
@change="getHotel(subItem,subItem.HotelId)" style="width:135px;"> @change="getHotel(subItem,subItem.HotelId)" style="width:135px;">
...@@ -195,6 +199,7 @@ ...@@ -195,6 +199,7 @@
</template> </template>
</el-option> </el-option>
</el-select> </el-select>
</template>
<el-form-item :label="$t('objFill.v101.hancan')"> <el-form-item :label="$t('objFill.v101.hancan')">
<el-select v-model='subItem.ContainDinnerType' style="width:100px;" <el-select v-model='subItem.ContainDinnerType' style="width:100px;"
:placeholder="$t('objFill.v101.hancanlxin')" @change="DinnerTypeChange(subItem)"> :placeholder="$t('objFill.v101.hancanlxin')" @change="DinnerTypeChange(subItem)">
...@@ -305,6 +310,17 @@ ...@@ -305,6 +310,17 @@
</template> </template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0">
<el-input v-model="scenicItem.TicketName"></el-input>
</template>
<template v-else-if="scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''">
<el-input v-model="scenicItem.TicketName"></el-input>
</template>
</template>
</template>
<template v-else>
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList"> <template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0"> <template v-if="scenicIndex==0">
<el-select :key="`d_`+subIndex+`_sn_`+scenicIndex" filterable remote <el-select :key="`d_`+subIndex+`_sn_`+scenicIndex" filterable remote
...@@ -327,8 +343,26 @@ ...@@ -327,8 +343,26 @@
</el-select> </el-select>
</template> </template>
</template> </template>
</template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==90">
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
class="w70" @keyup.native="checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder="$t('objFill.v101.jindianjiag')">
</el-input>
</template>
<template v-else-if="scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
class="w70" @keyup.native="checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder="$t('objFill.v101.jindianjiag')">
</el-input>
</template>
</template>
</template>
<template v-else>
<template v-for="(scenicItem,scenicIndex) in subItem.ScenicList"> <template v-for="(scenicItem,scenicIndex) in subItem.ScenicList">
<template v-if="scenicIndex==0"> <template v-if="scenicIndex==0">
<el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice" <el-input :key="`d_`+subIndex+`_sc_`+scenicIndex" type='text' v-model="scenicItem.TicketCostPrice"
...@@ -343,6 +377,8 @@ ...@@ -343,6 +377,8 @@
</el-input> </el-input>
</template> </template>
</template> </template>
</template>
</td> </td>
<td> <td>
<el-input type="text" v-model='subItem.OtherName' class="w70" <el-input type="text" v-model='subItem.OtherName' class="w70"
......
...@@ -168,6 +168,29 @@ ...@@ -168,6 +168,29 @@
</el-input> </el-input>
</td> </td>
</tr> </tr>
<tr v-if="postData.LineId==90">
<td colspan="6" style="height:20px;">
</td>
</tr>
<tr v-if="postData.LineId==90">
<td width="80" class="txtRightCost">客户电话</td>
<td>
<el-input v-model="postData.CustomerTel" type="text" placeholder="客户电话"
maxlength="200">
</el-input>
</td>
<td width="80" class="txtRightCost">领队人数</td>
<td>
<el-input v-model="postData.LeaderNum" type="text" :placeholder="$t('fnc.khmingcheng')" maxlength="200">
</el-input>
</td>
<td width="80" class="txtRightCost">自动下单</td>
<td>
<el-switch v-model="postData.IsCreateOrder" active-color="#13ce66" inactive-color="#ff4949"
:active-value="1" :inactive-value="0">
</el-switch>
</td>
</tr>
<tr> <tr>
<td colspan="6" style="height:20px;"> <td colspan="6" style="height:20px;">
</td> </td>
...@@ -272,7 +295,10 @@ ...@@ -272,7 +295,10 @@
OPId: "", OPId: "",
AssistantList: [], AssistantList: [],
dayCostPriceList: [], //行程报价 dayCostPriceList: [], //行程报价
OfferArray: [] OfferArray: [],
CustomerTel: "", //客户电话
LeaderNum: 0, //领队数量
IsCreateOrder: 0, //是否自动生成订单
}, },
isSubmit: true, isSubmit: true,
LineList: [], //线路列表 LineList: [], //线路列表
...@@ -675,6 +701,15 @@ ...@@ -675,6 +701,15 @@
if (tempData.OutBranchName && tempData.OutBranchName != '') { if (tempData.OutBranchName && tempData.OutBranchName != '') {
this.postData.OutBranchId = Number(tempData.OutBranchId); this.postData.OutBranchId = Number(tempData.OutBranchId);
} }
if (tempData.OutBranchName && tempData.OutBranchName != '') {
this.postData.CustomerTel = tempData.CustomerTel;
}
if (tempData.LeaderNum && tempData.LeaderNum != 0) {
this.postData.LeaderNum = Number(tempData.LeaderNum);
}
if (tempData.IsCreateOrder && tempData.IsCreateOrder != 0) {
this.postData.IsCreateOrder = Number(tempData.IsCreateOrder);
}
if (tempData.IsRoll) { if (tempData.IsRoll) {
this.postData.IsRoll = tempData.IsRoll; this.postData.IsRoll = tempData.IsRoll;
} }
......
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
let ocrUrl = "http://192.168.5.46:8888"; let ocrUrl = "http://192.168.5.46:8888";
// domainUrl = "http://192.168.5.214"; // domainUrl = "http://192.168.5.214";
domainUrl = "http://192.168.5.39:8083" domainUrl = "http://192.168.5.39:8083"
// domainUrl = "http://192.168.5.204:8030"
// domainUrl = "http://reborn.oytour.com"; // domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
......
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