Commit f9928d04 authored by 黄奎's avatar 黄奎

页面修改

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