Commit f9928d04 authored by 黄奎's avatar 黄奎

页面修改

parent dec35a73
......@@ -284,6 +284,9 @@
<td>
<a style="text-decoration:underline;cursor:pointer;" title="点击下载旅客名单"
@click="DownLoadGuestList(item,outItem,index)">出境名单</a>
<br />
<a style="text-decoration:underline;cursor:pointer;" title="点击下载电话名单"
@click="DownLoadGuestTelList(item,outItem,index)">电话名单</a>
</td>
<td>
<div class="fz16 fbold linkspan">
......@@ -1041,19 +1044,18 @@
}, err => {})
},
//下载旅客名单
DownLoadGuestList(item, outItem,index) {
DownLoadGuestList(item, outItem, index) {
this.loading = true;
var nDmcNum=outItem.NewCombinationNum;
if(outItem.PriceCommonList.length>1)
{
var NIndex=index+1;
nDmcNum= nDmcNum.replace(/^\s*|\s*$/g,"")+NIndex;
var nDmcNum = outItem.NewCombinationNum;
if (outItem.PriceCommonList.length > 1) {
var NIndex = index + 1;
nDmcNum = nDmcNum.replace(/^\s*|\s*$/g, "") + NIndex;
}
//导出报表
let msg = {
TCID: item.TCID,
DMCNum:nDmcNum,
InOut:item.InOut
DMCNum: nDmcNum,
InOut: item.InOut
};
var fileName = "出境名单表.doc";
if (item.TCNUMS != null) {
......@@ -1065,6 +1067,30 @@
this.loading = false;
});
},
//下载电话名单
DownLoadGuestTelList(item, outItem, index) {
this.loading = true;
var nDmcNum = outItem.NewCombinationNum;
if (outItem.PriceCommonList.length > 1) {
var NIndex = index + 1;
nDmcNum = nDmcNum.replace(/^\s*|\s*$/g, "") + NIndex;
}
//导出报表
let msg = {
TCID: item.TCID,
DMCNum: nDmcNum,
InOut: item.InOut
};
var fileName = "电话名单.doc";
if (item.TCNUMS != null) {
fileName =
"【" + item.TCNUMS + "电话名单.doc";
}
this.GetLocalFile("travel_get_GetTravelGuestTelExport", msg, fileName,
res => {
this.loading = false;
});
},
//跳转手配书
GoShoupei(outItem) {
this.$router.push({
......
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