Commit 0afeff93 authored by zhengke's avatar zhengke

增加一日游

parent 3b6f12a7
...@@ -1211,6 +1211,19 @@ export const Operation = { ...@@ -1211,6 +1211,19 @@ export const Operation = {
Op_localBranchPrice:'当地分公司价格', Op_localBranchPrice:'当地分公司价格',
Op_localdaiPrice:'当地代销商价格', Op_localdaiPrice:'当地代销商价格',
Op_localDangPrice:'当地当团利润归属', Op_localDangPrice:'当地当团利润归属',
Op_Country:'国别',
Op_WarningTeam:'预警团',
Op_TransportState:'联运状态',
Op_hide:'隐藏',
Op_TeamWarningSearch:'团控预警查询',
Op_daysChoice:'天数选择',
Op_Attendance:'上座率',
Op_warningSearch:'预警查询',
Op_TeamName:'团名',
Op_nei:'内',
Op_zhu:'主',
Op_lian:'联',
Op_jietuan:'结团',
} }
export const rule = { export const rule = {
company: '请选择公司', company: '请选择公司',
......
This diff is collapsed.
...@@ -39,10 +39,13 @@ ...@@ -39,10 +39,13 @@
:isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit"></TravelFeature> :isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit"></TravelFeature>
<TravelNotice ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters" <TravelNotice ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters"
:NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList" v-bind:CountryID="PostConfig.CountryID"></TravelNotice> :NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList" v-bind:CountryID="PostConfig.CountryID"></TravelNotice>
<TravelPrice @saveMsg="SaveData(1)" ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :priceList="PriceList" v-if="!flagWangYue"
<TravelPrice @saveMsg="SaveData(1)" ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :priceList="PriceList" v-if="TeamType==1"
:PostConfig="PostConfig" :modifyTcid="modifyTcid"></TravelPrice> :PostConfig="PostConfig" :modifyTcid="modifyTcid"></TravelPrice>
<TravelPrice2 ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :PostDaysTrip="PostDaysTrip" <TravelPrice2 ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :PostDaysTrip="PostDaysTrip" v-if="TeamType==2"
:priceList="PriceList" v-else :PostConfig="PostConfig" :modifyTcid="modifyTcid"></TravelPrice2> :priceList="PriceList" :PostConfig="PostConfig" :modifyTcid="modifyTcid"></TravelPrice2>
<TravelPrice3 ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :PostDaysTrip="PostDaysTrip" v-if="TeamType==3"
:priceList="PriceList" :PostConfig="PostConfig" :modifyTcid="modifyTcid"></TravelPrice3>
<div class="btnFixedDiv"> <div class="btnFixedDiv">
<div class="toTop" @click="backTop"> <div class="toTop" @click="backTop">
<i class="iconfont icon-huidaodingbu"></i> <i class="iconfont icon-huidaodingbu"></i>
...@@ -65,6 +68,7 @@ ...@@ -65,6 +68,7 @@
import TravelNotice from "../TravelGroupControl/TravelNotice"; import TravelNotice from "../TravelGroupControl/TravelNotice";
import TravelPrice from "../TravelGroupControl/TravelPrice"; import TravelPrice from "../TravelGroupControl/TravelPrice";
import TravelPrice2 from "../TravelGroupControl/TravelPrice2"; import TravelPrice2 from "../TravelGroupControl/TravelPrice2";
import TravelPrice3 from "../TravelGroupControl/TravelPrice3";
export default { export default {
provide() { provide() {
...@@ -185,7 +189,9 @@ ...@@ -185,7 +189,9 @@
ckedNav: 1, ckedNav: 1,
modifyType: 1, //1:系列团修改,2:单团修改 modifyType: 1, //1:系列团修改,2:单团修改
modifyTcid: 0, //修改单团期id modifyTcid: 0, //修改单团期id
flagWangYue: null, // flagWangYue: null,
// flagTwodog:null,
TeamType:'',
loading: false, loading: false,
isNewConfig: true, isNewConfig: true,
}; };
...@@ -196,7 +202,8 @@ ...@@ -196,7 +202,8 @@
TravelFeature: TravelFeature, TravelFeature: TravelFeature,
TravelNotice: TravelNotice, TravelNotice: TravelNotice,
TravelPrice: TravelPrice, TravelPrice: TravelPrice,
TravelPrice2: TravelPrice2 TravelPrice2: TravelPrice2,
TravelPrice3: TravelPrice3
}, },
methods: { methods: {
/*获取行程特色内容对象*/ /*获取行程特色内容对象*/
...@@ -366,7 +373,7 @@ ...@@ -366,7 +373,7 @@
basicData.TravelInfoIsCopy = true; basicData.TravelInfoIsCopy = true;
} }
//小包团 //小包团
if (this.flagWangYue) { if (this.TeamType) {
basicData.TeamType = 1; basicData.TeamType = 1;
} else { } else {
basicData.TeamType = 0; basicData.TeamType = 0;
...@@ -563,12 +570,16 @@ ...@@ -563,12 +570,16 @@
return dinnerObj; return dinnerObj;
}, },
firstLoadConfigInfo() { firstLoadConfigInfo() {
if (this.$route.query.flag) { // if (this.$route.query.flag) {
this.flagWangYue = this.$route.query.flag === "false" ? false : true; // this.flagWangYue = this.$route.query.flag === "false" ? false : true;
} else { // } else {
this.flagWangYue = false; // this.flagWangYue = false;
} // }
// if(this.$route.query.isOneday){
// this.flagTwodog = this.$route.query.isOneday
// }
this.TeamType = this.$route.query.TeamType;
console.log(this.TeamType,'teamtype');
let configId = this.$route.query.configId; let configId = this.$route.query.configId;
this.modifyTcid = this.$route.query.tcid; this.modifyTcid = this.$route.query.tcid;
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
......
...@@ -1412,6 +1412,14 @@ export default { ...@@ -1412,6 +1412,14 @@ export default {
title: '自主开团' title: '自主开团'
}, },
}, },
{
path: '/TravelManager4', //一日游开团
name: 'TravelManager4',
component: resolve => require(['@/components/newTravelManager/TravelGroupControl/TravelManager2'], resolve),
meta: {
title: '自主开团'
},
},
{ {
path: '/BasicOpenGroup', //基础班团控配置 path: '/BasicOpenGroup', //基础班团控配置
name: 'BasicOpenGroup', name: 'BasicOpenGroup',
...@@ -1427,6 +1435,14 @@ export default { ...@@ -1427,6 +1435,14 @@ export default {
title: '团控列表' title: '团控列表'
}, },
}, },
{
path:'/oneDayTrip', //一日游
name:'oneDayTrip',
component: resolve => require(['@/components/TravelManager/TravelList/oneDayTrip'], resolve),
meta: {
title: '一日游'
},
},
{ {
path: '/priceIncomeConfirmInfo',///priceIncomeConfirmInfo path: '/priceIncomeConfirmInfo',///priceIncomeConfirmInfo
name: 'priceIncomeConfirmInfo', name: 'priceIncomeConfirmInfo',
......
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