Commit a5661074 authored by 黄媛媛's avatar 黄媛媛

添加行程补充说明下载和预览

parent b77d20aa
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!--&&isopOperation HK 注释 可以让销售修改基本信息--> <!--&&isopOperation HK 注释 可以让销售修改基本信息-->
<input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" /> <input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" />
</el-col> </el-col>
<el-col style="display:none" :span="10"> <el-col :span="10">
<span>行程补充说明</span> <span>行程补充说明</span>
<el-select filterable size="small" v-model="Typevalue" placeholder="请选择"> <el-select filterable size="small" v-model="Typevalue" placeholder="请选择">
<el-option label="日本寻秋意赏枫季" :value="-1"></el-option> <el-option label="日本寻秋意赏枫季" :value="-1"></el-option>
...@@ -724,23 +724,23 @@ ...@@ -724,23 +724,23 @@
}, },
methods: { methods: {
DownloadJuanmSaid(){ DownloadJuanmSaid(){
let title=""; let title="行程补充说明:";
if(this.Typevalue==-1){ if(this.Typevalue==-1){
title="日本寻秋意赏枫季" title+="日本寻秋意赏枫季"
} }
if(this.Typevalue==-2){ if(this.Typevalue==-2){
title="仲夏花火夜" title+="仲夏花火夜"
} }
if(this.Typevalue==-3){ if(this.Typevalue==-3){
title="寻觅日本美食" title+="寻觅日本美食"
} }
if(this.Typevalue==-4){ if(this.Typevalue==-4){
title="邂逅北海道的雪" title+="邂逅北海道的雪"
} }
if(this.Typevalue>0){ if(this.Typevalue>0){
this.titleList.forEach(item=>{ this.titleList.forEach(item=>{
if(item.id==this.Typevalue){ if(item.id==this.Typevalue){
title=item.title; title+=item.title;
} }
}) })
} }
......
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