Commit b6de60b5 authored by liudong1993's avatar liudong1993
parents 3854459e 8c8ad3f3
...@@ -648,9 +648,29 @@ ...@@ -648,9 +648,29 @@
</p> </p>
<h3>第二十一条 旅游费用及支付(以人民币为计算单位)</h3> <h3>第二十一条 旅游费用及支付(以人民币为计算单位)</h3>
<p> <p>
成人:<span>{{dataList.adultPrice}}</span>元/人,儿童(不满14岁):<span>{{dataList.childPrice}}</span>元/人;其中,导游服务费<span>{{dataList.servicePrice}}</span>元/人; 成人:<span>{{dataList.adultPrice}}</span><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>/人,儿童(不满14岁):<span>{{dataList.childPrice}}</span><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>/人;其中,导游服务费<span>{{dataList.servicePrice}}</span><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>/人;
</p> </p>
<p>旅游费用合计:<span>{{dataList.orderPrice}}</span>元。</p> <p>旅游费用合计:<span>{{dataList.orderPrice}}</span><template v-if="dataList.signType==0">
</template>
<template v-else>
</template></p>
<p>旅游费用支付方式: <p>旅游费用支付方式:
<span v-if="dataList.payType==1">现金</span> <span v-if="dataList.payType==1">现金</span>
<span v-if="dataList.payType==2">转账</span> <span v-if="dataList.payType==2">转账</span>
...@@ -918,7 +938,12 @@ ...@@ -918,7 +938,12 @@
<td width="10%">具体时间</td> <td width="10%">具体时间</td>
<td width="15%">地点</td> <td width="15%">地点</td>
<td width="15%">项目名称和内容</td> <td width="15%">项目名称和内容</td>
<td width="15%">费用(元)</td> <td width="15%">费用(<template v-if="dataList.signType==0">
</template>
<template v-else>
</template></td>
<td width="15%">项目时长(分钟)</td> <td width="15%">项目时长(分钟)</td>
<td width="15%">其他说明</td> <td width="15%">其他说明</td>
<td width="10%">旅游者签名同意</td> <td width="10%">旅游者签名同意</td>
......
...@@ -568,21 +568,38 @@ ...@@ -568,21 +568,38 @@
<tr> <tr>
<td> <td>
<el-form-item label="成人价" prop="adultPrice"> <el-form-item label="成人价" prop="adultPrice">
<el-input type="text" class="w300" v-model="CtObj.adultPrice"></el-input> 元/人 <el-input type="text" class="w300" v-model="CtObj.adultPrice"></el-input>
<template v-if="CtObj.signType==0">
</template>
<template v-else>
</template>
/人
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<el-form-item label="儿童(不满14岁的)"> <el-form-item label="儿童(不满14岁的)">
<el-input type="text" class="w300" v-model="CtObj.childPrice"></el-input> 元/人 <el-input type="text" class="w300" v-model="CtObj.childPrice"></el-input> <template v-if="CtObj.signType==0">
</template>
<template v-else>
</template>/人
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<el-form-item label="导游服务费" prop="servicePrice"> <el-form-item label="导游服务费" prop="servicePrice">
<el-input type="text" class="w300" v-model="CtObj.servicePrice"></el-input> 元/人 <el-input type="text" class="w300" v-model="CtObj.servicePrice"></el-input> <template v-if="CtObj.signType==0">
</template>
<template v-else>
</template>/人
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -1082,7 +1099,12 @@ ...@@ -1082,7 +1099,12 @@
<th width="10%">具体时间</th> <th width="10%">具体时间</th>
<th width="15%">地点</th> <th width="15%">地点</th>
<th width="12%">项目名称和内容</th> <th width="12%">项目名称和内容</th>
<th width="12%">费用(元)</th> <th width="12%">费用( <template v-if="CtObj.signType==0">
</template>
<template v-else>
</template></th>
<th width="12%">项目时长(分钟)</th> <th width="12%">项目时长(分钟)</th>
<th width="12%">其他说明</th> <th width="12%">其他说明</th>
<th width="12%">旅游者签名同意</th> <th width="12%">旅游者签名同意</th>
......
...@@ -846,8 +846,28 @@ ...@@ -846,8 +846,28 @@
<p class="toTopDistance">第二十一条 旅游费用及支付(以人民币为计算单位)</p> <p class="toTopDistance">第二十一条 旅游费用及支付(以人民币为计算单位)</p>
</h3> </h3>
<p> <p>
成人<font>{{dataList.adultPrice}}</font>元/人,儿童(不满14岁)<font>{{dataList.childPrice}}</font>元/人;其中,导游服务费 成人<font>{{dataList.adultPrice}}</font><template v-if="dataList.signType==0">
<font>{{dataList.servicePrice}}</font>元/人;旅游费用合计:<font>{{dataList.orderPrice}}</font>元。
</template>
<template v-else>
</template>/人,儿童(不满14岁)<font>{{dataList.childPrice}}</font><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>/人;其中,导游服务费
<font>{{dataList.servicePrice}}</font><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>/人;旅游费用合计:<font>{{dataList.orderPrice}}</font><template v-if="dataList.signType==0">
</template>
<template v-else>
</template>
</p> </p>
<p>旅游费用支付方式: <p>旅游费用支付方式:
<font v-if="dataList.payType==1">现金</font> <font v-if="dataList.payType==1">现金</font>
...@@ -1175,7 +1195,12 @@ ...@@ -1175,7 +1195,12 @@
<th>具体时间</th> <th>具体时间</th>
<th>地点</th> <th>地点</th>
<th>项目名称和内容</th> <th>项目名称和内容</th>
<th>费用(元)</th> <th>费用(<template v-if="dataList.signType==0">
</template>
<template v-else>
</template></th>
<th>项目时长(分钟)</th> <th>项目时长(分钟)</th>
<th>其他说明</th> <th>其他说明</th>
<th>旅游者签名同意</th> <th>旅游者签名同意</th>
......
...@@ -299,7 +299,6 @@ ...@@ -299,7 +299,6 @@
this.dialogPptistVisible = false this.dialogPptistVisible = false
}, },
handleMessage(event,targetOrigin) { handleMessage(event,targetOrigin) {
console.log(event.data,'-----------event.data')
if(event.data&&event.data.data&&!event.data.data) return if(event.data&&event.data.data&&!event.data.data) return
if(this.isPostMessage) return if(this.isPostMessage) return
// if(event.data&&event.data=='行程数据保存成功'){ // if(event.data&&event.data=='行程数据保存成功'){
......
...@@ -269,6 +269,7 @@ ...@@ -269,6 +269,7 @@
DayList: [], DayList: [],
isFileUpload: false, //是否是一键上传行程 isFileUpload: false, //是否是一键上传行程
IsUpdateTrip: 0, //是否联动行程特色 IsUpdateTrip: 0, //是否联动行程特色
FeaturePageType: 1, //1横版 2竖版
}, },
PostPrice: "", //报价信息 PostPrice: "", //报价信息
//线路 //线路
...@@ -456,6 +457,7 @@ ...@@ -456,6 +457,7 @@
basicData.WCountryId = this.PostConfig.WCountryId; basicData.WCountryId = this.PostConfig.WCountryId;
basicData.WLocationId = this.PostConfig.WLocationId; basicData.WLocationId = this.PostConfig.WLocationId;
basicData.WCityId = this.PostConfig.WCityId; basicData.WCityId = this.PostConfig.WCityId;
this.journeyList.FeaturePageType = this.PostDaysTrip.FeaturePageType;
this.journeyList.IsUpdateTrip = this.PostDaysTrip.IsUpdateTrip; this.journeyList.IsUpdateTrip = this.PostDaysTrip.IsUpdateTrip;
//行程特色数据 //行程特色数据
var TripFeature = {}; var TripFeature = {};
...@@ -683,10 +685,15 @@ ...@@ -683,10 +685,15 @@
this.journeyList.isFileUpload = true; this.journeyList.isFileUpload = true;
this.journeyList.DayNum = configData.Days.length; this.journeyList.DayNum = configData.Days.length;
this.journeyList.NightNum = this.journeyList.DayNum - 1; this.journeyList.NightNum = this.journeyList.DayNum - 1;
let _this = this
let arrDayList = function(list){ let arrDayList = function(list){
list.forEach(x=>{ list.forEach(x=>{
x.IsBlowUp = false x.IsBlowUp = false
x.zoom = 0.44 if(_this.journeyList.FeaturePageType==2||!_this.journeyList.FeaturePageType){
x.zoom = 0.44
}else if(_this.journeyList.FeaturePageType==1){
x.zoom = 0.285
}
}) })
} }
arrDayList(dayList) arrDayList(dayList)
...@@ -942,14 +949,20 @@ ...@@ -942,14 +949,20 @@
//默认不联动行程特色 //默认不联动行程特色
this.journeyList.IsUpdateTrip = 0; this.journeyList.IsUpdateTrip = 0;
this.journeyList.FeaturePageType = 2;
this.journeyList.DayNum = tempData.DayNum; this.journeyList.DayNum = tempData.DayNum;
this.journeyList.NightNum = tempData.NightNum; this.journeyList.NightNum = tempData.NightNum;
this.journeyList.ReturnArriveCityId = tempData.ReturnArriveCityId; this.journeyList.ReturnArriveCityId = tempData.ReturnArriveCityId;
this.journeyList.StartCityId = tempData.StartCityId; this.journeyList.StartCityId = tempData.StartCityId;
let _this = this
let arrDayList = function(list){ let arrDayList = function(list){
list.forEach(x=>{ list.forEach(x=>{
x.IsBlowUp = false x.IsBlowUp = false
x.zoom = 0.44 if(_this.journeyList.FeaturePageType==2||!_this.journeyList.FeaturePageType){
x.zoom = 0.44
}else if(_this.journeyList.FeaturePageType==1){
x.zoom = 0.285
}
}) })
} }
arrDayList(tempData.DayList) arrDayList(tempData.DayList)
......
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
} }
}, },
created() { created() {
}, },
computed: { computed: {
//获取行程天数 //获取行程天数
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('sm.jhcfchengshi')}}</span> <span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('sm.jhcfchengshi')}}</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
<el-form-item prop="StartCityId"> <el-form-item prop="StartCityId">
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.StartCityId" filterable> <el-select class="w100" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.StartCityId" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue"></el-option>
<el-option v-for="item in StartCity" :label="item.startCityName" :value="item.ID" :key="item.ID"> <el-option v-for="item in StartCity" :label="item.startCityName" :value="item.ID" :key="item.ID">
</el-option> </el-option>
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
<span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.ReturnCity')}}</span> <span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.ReturnCity')}}</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
<el-form-item prop="ReturnArriveCityId"> <el-form-item prop="ReturnArriveCityId">
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.ReturnArriveCityId" <el-select class="w100" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.ReturnArriveCityId"
filterable> filterable>
<el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue"></el-option>
<el-option v-for="item in StartCity" :label="item.startCityName" :value="item.ID" :key="item.ID"> <el-option v-for="item in StartCity" :label="item.startCityName" :value="item.ID" :key="item.ID">
...@@ -173,12 +173,25 @@ ...@@ -173,12 +173,25 @@
<span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span> <span class="TDTextspan" :class="{'showOther':TeamType==3}">{{$t('op.IsUpdateXCTS')}}</span>
<span :class="{'showOther':TeamType==3}"> <span :class="{'showOther':TeamType==3}">
<el-form-item prop="ReturnArriveCityId"> <el-form-item prop="ReturnArriveCityId">
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip"> <el-select class="w100" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip">
<el-option :label="$t('op.notUpdate')" :value="0"></el-option> <el-option :label="$t('op.notUpdate')" :value="0"></el-option>
<el-option :label="$t('op.Update')" :value="1"></el-option> <el-option :label="$t('op.Update')" :value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span>
<template v-if="false">
<span class="TDTextspan" :class="{'showOther':TeamType==3}">版型</span>
<span :class="{'showOther':TeamType==3}">
<el-form-item prop="ReturnArriveCityId">
<el-select placeholder="请选择版型" v-model="subConfig.FeaturePageType"
style="width: 80px;">
<el-option label="横版" :value="1"></el-option>
<el-option label="竖版" :value="2"></el-option>
</el-select>
</el-form-item>
</span>
</template>
</div> </div>
<div class="newTravelDayContent TravelDayContentThree clearfix" style="padding-left: 0;"> <div class="newTravelDayContent TravelDayContentThree clearfix" style="padding-left: 0;">
<div class="vertical-line" style="left: 23px;"></div> <div class="vertical-line" style="left: 23px;"></div>
...@@ -193,10 +206,14 @@ ...@@ -193,10 +206,14 @@
<span class="el-icon-full-screen absolute BlowUpTravelDays" <span class="el-icon-full-screen absolute BlowUpTravelDays"
@click="clickBlowUpTravelDays(item)"></span> @click="clickBlowUpTravelDays(item)"></span>
</el-tooltip> </el-tooltip>
<travelDays :index="index" :dataAll="dataAll" :item="item"> <travelDaysHV v-if="subConfig.FeaturePageType==1" :index="index" :dataAll="dataAll" :item="item">
</travelDaysHV>
<travelDays v-if="subConfig.FeaturePageType==2" :index="index" :dataAll="dataAll" :item="item">
</travelDays> </travelDays>
<div v-if="item.IsBlowUp" class="BlowUpTravelDaysBox"> <div v-if="item.IsBlowUp" class="BlowUpTravelDaysBox">
<travelDays :index="index" :dataAll="dataAll" :item="item"> <travelDaysHV v-if="subConfig.FeaturePageType==1" :index="index" :dataAll="dataAll" :item="item">
</travelDaysHV>
<travelDays v-if="subConfig.FeaturePageType==2" :index="index" :dataAll="dataAll" :item="item">
</travelDays> </travelDays>
<span v-if="item.IsBlowUp" class="el-icon-error BlowUpTravelDaysClose" <span v-if="item.IsBlowUp" class="el-icon-error BlowUpTravelDaysClose"
@click="clickBlowUpTravelDays(item)"></span> @click="clickBlowUpTravelDays(item)"></span>
...@@ -223,6 +240,7 @@ ...@@ -223,6 +240,7 @@
<script> <script>
import travelDaysTrip from "../travelLineTrip/travelDaysTripThree"; import travelDaysTrip from "../travelLineTrip/travelDaysTripThree";
import travelDays from './components/travelDays' import travelDays from './components/travelDays'
import travelDaysHV from './components/travelDaysHV'
export default { export default {
props: [ props: [
...@@ -248,7 +266,8 @@ ...@@ -248,7 +266,8 @@
}, },
components: { components: {
travelDaysTrip: travelDaysTrip, travelDaysTrip: travelDaysTrip,
travelDays travelDays,
travelDaysHV
}, },
methods: { methods: {
clickBlowUpTravelDays(item){ clickBlowUpTravelDays(item){
......
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