Commit 23d19e46 authored by 吴春's avatar 吴春
parents 060e54b6 982137ce
<template> <template>
<div class="mb30" v-loading='loading'> <div class="mb30" v-loading='loading'>
<input type="button" @click="downloadMoneyPlan()" value="下载" style="display:none;" />
<div style="display: flex;justify-content: end;margin-top: 10px;margin-bottom: 10px;"> <div style="display: flex;justify-content: end;margin-top: 10px;margin-bottom: 10px;">
<p><span class="groupTourOrderByTuan_ico"><i <p><span class="groupTourOrderByTuan_ico"><i
style="background-color:#3FC4FF"></i><span>{{$t('fnc.yidadan')}}</span></span> style="background-color:#3FC4FF"></i><span>{{$t('fnc.yidadan')}}</span></span>
...@@ -924,12 +925,11 @@ ...@@ -924,12 +925,11 @@
<!-- <el-input class="w300" v-if="leadr.LeaderGetPrice < leadr.PlanPrice" type="number" <!-- <el-input class="w300" v-if="leadr.LeaderGetPrice < leadr.PlanPrice" type="number"
v-model="leadr.LeaderGetPriceT" @input="changePrice"></el-input> --> v-model="leadr.LeaderGetPriceT" @input="changePrice"></el-input> -->
<el-input class="w300" type="number" v-model="leadr.LeaderGetPriceT" <el-input class="w300" type="number" v-model="leadr.LeaderGetPriceT" @input="changePrice"></el-input>
@input="changePrice"></el-input>
</template> </template>
</div> </div>
<span style="color:red;font-weight:bold;"> <span style="color:red;font-weight:bold;">
注意:<span>1、合团的请分别领款!</span> <span style="margin-left: 20px;">2、如需日本PIC付款,请选择PIC相关付款流程,请注意日本转账手续费</span> 注意:<span>1、合团的请分别领款!</span> <span style="margin-left: 20px;">2、如需日本PIC付款,请选择PIC相关付款流程,请注意日本转账手续费</span>
</span> </span>
</td> </td>
<td> <td>
...@@ -1135,6 +1135,15 @@ ...@@ -1135,6 +1135,15 @@
commonHotelInfo commonHotelInfo
}, },
methods: { methods: {
//用款计划下载
downloadMoneyPlan() {
var fileName = "test";
fileName += ".xls"
this.loading = true;
this.GetLocalFile("dmcstatistics_post_DownLoadGroupLeaderUserMoneyPlan",this.msg, fileName, res => {
this.loading = false;
});
},
changePrice() { changePrice() {
this.$forceUpdate(); this.$forceUpdate();
}, },
......
...@@ -810,7 +810,7 @@ ...@@ -810,7 +810,7 @@
this.downloadBill = true; this.downloadBill = true;
}, },
downLoadOffer(item) { downLoadOffer(item) {
console.log("item", item);
var downMsg = { var downMsg = {
OfferId: item.ID, OfferId: item.ID,
}; };
......
...@@ -556,26 +556,27 @@ ...@@ -556,26 +556,27 @@
} }
console.log("title", title); console.log("title", title);
var fileName = title + ".pdf"; var fileName = title + ".pdf";
if (this.orderId && this.orderId > 0) { that.pdfDownLoad(fileName, msg);
//出团通知书下载 // if (this.orderId && this.orderId > 0) {
this.pdfDownLoad(fileName, msg); // //出团通知书下载
} else if (urlObj.IsOnline == 0) { // this.pdfDownLoad(fileName, msg);
//本地行程下载 // } else if (urlObj.IsOnline == 0) {
this.pdfDownLoad(fileName, msg); // //本地行程下载
} else { // this.pdfDownLoad(fileName, msg);
//阿里云行程下载 // } else {
var objFileKey = "TripDownLoad" // //阿里云行程下载
objFileKey += "/" + msg.configId + "_" + msg.tcid; // var objFileKey = "TripDownLoad"
objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf"; // objFileKey += "/" + msg.configId + "_" + msg.tcid;
that.downloadChengDuFileRename(objFileKey, fileName, res => { // objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf";
console.log("ali_doanload", res) // that.downloadChengDuFileRename(objFileKey, fileName, res => {
if (res.resultCode == 0) { // console.log("ali_doanload", res)
that.pdfDownLoad(fileName, msg); // if (res.resultCode == 0) {
} else {
that.pdfLoading = false; // } else {
} // that.pdfLoading = false;
}) // }
} // })
// }
}, },
pdfDownLoad: function (fileName, msg) { pdfDownLoad: function (fileName, msg) {
let urlObj = this.domainManager(); let urlObj = this.domainManager();
...@@ -595,7 +596,7 @@ ...@@ -595,7 +596,7 @@
this.pdfLoading = true; this.pdfLoading = true;
let urlObj = this.domainManager(); let urlObj = this.domainManager();
var ocrUrl = ""; var ocrUrl = "";
ocrUrl = urlObj.ocrUrl + "/Home/DownloadFileForPdf?configId=" + msg.configId + "&url=" + ocrUrl = urlObj.ocrUrl + "/Home/DownloadFileForPdfERP?configId=" + msg.configId + "&url=" +
encodeURIComponent(path); encodeURIComponent(path);
this.$http({ this.$http({
headers: { headers: {
......
...@@ -125,12 +125,12 @@ ...@@ -125,12 +125,12 @@
<!-- ppt 模版行程 --> <!-- ppt 模版行程 -->
<div v-if="FeatureData.FeatureType==9&&FeatureDataFlag"> <div v-if="FeatureData.FeatureType==9&&FeatureDataFlag">
<div style="text-align: center;margin-bottom: 20px;font-size: 14px;color: #808080;">暂无数据,右上角编辑行程试试吧!</div> <div style="text-align: center;margin-bottom: 20px;font-size: 14px;color: #808080;">暂无数据,右上角编辑行程试试吧!</div>
<div v-if="FeatureData.TripImageList.length>0"> <div v-if="FeatureData.TripImageListNew&&FeatureData.TripImageListNew.length>0">
<template v-for="url in FeatureData.TripImageList"> <template v-for="url in FeatureData.TripImageListNew">
<el-image <el-image
style="width: 100%; height: auto" style="width: 100%; height: auto"
:src="url" :src="url"
:preview-src-list="FeatureData.TripImageList"></el-image> :preview-src-list="FeatureData.TripImageListNew"></el-image>
</template> </template>
</div> </div>
</div> </div>
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
handleMessage(event,targetOrigin) { handleMessage(event,targetOrigin) {
if(this.isPostMessage) return if(this.isPostMessage) return
if(event.data=='行程数据保存成功'){ if(event.data=='行程数据保存成功'){
this.dialogPptistVisible = false // this.dialogPptistVisible = false
this.isPostMessage = true this.isPostMessage = true
this.$emit('ConfigInfo') this.$emit('ConfigInfo')
} }
......
...@@ -304,16 +304,6 @@ ...@@ -304,16 +304,6 @@
}; };
}, },
methods: { methods: {
handleMessage(event,targetOrigin) {
console.log(event.data,'------',targetOrigin)
if(this.isPostMessage) return
if(event.data=='行程数据保存成功'){
this.isPostMessage = true
}
if(event.origin === targetOrigin){
}
},
/*获取行程特色内容对象*/ /*获取行程特色内容对象*/
getFeature(featureObj) { getFeature(featureObj) {
this.PostFeature = featureObj; this.PostFeature = featureObj;
...@@ -754,6 +744,7 @@ ...@@ -754,6 +744,7 @@
this.FeatureData.ID = tempData.Feature.ID; this.FeatureData.ID = tempData.Feature.ID;
this.FeatureData.ConfigId = tempData.Feature.ConfigId; this.FeatureData.ConfigId = tempData.Feature.ConfigId;
this.FeatureData.FeatureType = tempData.Feature.FeatureType; this.FeatureData.FeatureType = tempData.Feature.FeatureType;
this.FeatureData.TripImageListNew = tempData.Feature.TripImageListNew;
this.FeatureData.FeatureImg = tempData.Feature.FeatureImg; this.FeatureData.FeatureImg = tempData.Feature.FeatureImg;
this.FeatureData.TemplateId = tempData.Feature.TemplateId; this.FeatureData.TemplateId = tempData.Feature.TemplateId;
this.FeatureData.FeatureContent = tempData.Feature.FeatureContent; this.FeatureData.FeatureContent = tempData.Feature.FeatureContent;
......
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