Commit d5bd7917 authored by youjie's avatar youjie
parents 696774c8 e8f1e105
...@@ -7,11 +7,13 @@ ...@@ -7,11 +7,13 @@
background-color: #fff; background-color: #fff;
} }
.Lh_Toptable tr, .Lh_detailTable tr { .Lh_Toptable tr,
.Lh_detailTable tr {
height: 40px; height: 40px;
} }
.Lh_Toptable input, .Lh_detailTable input { .Lh_Toptable input,
.Lh_detailTable input {
border: none; border: none;
border-bottom: 1px solid #dddddd !important; border-bottom: 1px solid #dddddd !important;
height: 20px !important; height: 20px !important;
...@@ -49,6 +51,7 @@ ...@@ -49,6 +51,7 @@
background-color: #E6E6E6; background-color: #E6E6E6;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.Lh_TabTitle { .Lh_TabTitle {
width: 100%; width: 100%;
text-align: center; text-align: center;
...@@ -75,9 +78,11 @@ ...@@ -75,9 +78,11 @@
.LH_LastTable tr { .LH_LastTable tr {
height: 30px !important; height: 30px !important;
} }
.LH_commonCenter{
text-align: center!important; .LH_commonCenter {
text-align: center !important;
} }
.LH_contentDiv { .LH_contentDiv {
width: 1000px; width: 1000px;
min-height: 1500px; min-height: 1500px;
...@@ -85,32 +90,45 @@ ...@@ -85,32 +90,45 @@
background-color: #fff; background-color: #fff;
padding: 20px 10px; padding: 20px 10px;
} }
.LH_btnList { .LH_btnList {
position: absolute; position: absolute;
top: 20px; top: 20px;
right: 20px; right: 20px;
} }
@media print { @media print {
.LH_btnList,.nav{display:none;}
.LH_btnList,
.nav {
display: none;
}
} }
.LH_contentDiv .Lh_detailTable .el-checkbox__inner::after{
border-color:black; .LH_contentDiv .Lh_detailTable .el-checkbox__inner::after {
border-color: black;
} }
.LH_contentDiv .Lh_detailTable .el-checkbox__input.is-checked .el-checkbox__inner { .LH_contentDiv .Lh_detailTable .el-checkbox__input.is-checked .el-checkbox__inner {
background-color: #fff!important; background-color: #fff !important;
border-color: #d1d1d1!important; border-color: #d1d1d1 !important;
} }
</style> </style>
<template> <template>
<div class="LH_contentDiv" v-if="isShow" id="print"> <div class="LH_contentDiv" v-if="isShow" id="print">
<div class="LH_btnList"> <div class="LH_btnList">
<input type="button" @click="saveDelivery()" :value="$t('pub.saveBtn')" class="normalBtn"/> <input type="button" @click="saveDelivery()" :value="$t('pub.saveBtn')" class="normalBtn" />
<input type="button" :value="$t('ground.dayin')" @click.prevent="doPrint" class="normalBtn"/> <input type="button" :value="$t('ground.dayin')" @click.prevent="doPrint" class="normalBtn" />
<input type="button" @click="downLoadDeliver()" value="下载" class="normalBtn" />
</div> </div>
<div v-loading="loading">
<table class="Lh_Toptable"> <table class="Lh_Toptable">
<tr> <tr>
<th class="Lh_title" colspan="9">{{$t('ground.yxzhilv')}} {{$t('leader.leader_Leader')}}/{{$t('leader.leader_Guide')}}/{{$t('ground.sjjjdan')}}{{$t('ground.ribenxian')}}</th> <th class="Lh_title" colspan="9">{{$t('ground.yxzhilv')}}
{{$t('leader.leader_Leader')}}/{{$t('leader.leader_Guide')}}/{{$t('ground.sjjjdan')}}{{$t('ground.ribenxian')}}
</th>
</tr> </tr>
<tr> <tr>
<td colspan="9"> <td colspan="9">
...@@ -124,63 +142,71 @@ ...@@ -124,63 +142,71 @@
</td> </td>
<td colspan="8" style="display:none;"> <td colspan="8" style="display:none;">
{{$t('visa.v_tuanhao')}} {{$t('visa.v_tuanhao')}}
<el-input type="text" class="w160" v-model="sendReceiptData.TCNUM"/> <el-input type="text" class="w160" v-model="sendReceiptData.TCNUM" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
{{$t('leader.leader_Leader')}} {{$t('leader.leader_Leader')}}
<el-input type="text" class="w160" v-model="sendReceiptData.LeaderName"/> <el-input type="text" class="w160" v-model="sendReceiptData.LeaderName" />
</td> </td>
<td colspan="8"> <td colspan="8">
{{$t('leader.leader_Guide')}} {{$t('leader.leader_Guide')}}
<el-input type="text" class="w160" v-model="sendReceiptData.GuideName"/> <el-input type="text" class="w160" v-model="sendReceiptData.GuideName" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
{{$t('Airticket.Air_Number')}}{{sendReceiptData.StartCityName}}{{$t('ground.chufa')}} {{$t('Airticket.Air_Number')}}{{sendReceiptData.StartCityName}}{{$t('ground.chufa')}}
<el-input type="text" class="w100" v-model="sendReceiptData.StartCityNum" @keyup.native="checkInteger(sendReceiptData,'StartCityNum')" /> <el-input type="text" class="w100" v-model="sendReceiptData.StartCityNum"
@keyup.native="checkInteger(sendReceiptData,'StartCityNum')" />
{{$t('ground.wei')}} {{$t('ground.wei')}}
</td> </td>
<td width="250"> <td width="250">
{{$t('ground.otherCoupiao')}} {{$t('ground.otherCoupiao')}}
<el-input type="text" class="w135" v-model="sendReceiptData.TogetherNum" @keyup.native="checkInteger(sendReceiptData,'TogetherNum')" /> <el-input type="text" class="w135" v-model="sendReceiptData.TogetherNum"
@keyup.native="checkInteger(sendReceiptData,'TogetherNum')" />
{{$t('ground.wei')}} {{$t('ground.wei')}}
</td> </td>
<td colspan="7"> <td colspan="7">
{{$t('ground.waizhanjoin')}} {{$t('ground.waizhanjoin')}}
<el-input type="text" class="w100" v-model="sendReceiptData.OutsideNum" @keyup.native="checkInteger(sendReceiptData,'OutsideNum')" /> <el-input type="text" class="w100" v-model="sendReceiptData.OutsideNum"
@keyup.native="checkInteger(sendReceiptData,'OutsideNum')" />
{{$t('ground.wei')}} {{$t('ground.wei')}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
{{$t('fnc.xiaofei')}}{{$t('fnc.jine')}} {{$t('fnc.xiaofei')}}{{$t('fnc.jine')}}
<el-input type="text" class="w128" v-model="sendReceiptData.Trip" @keyup.native="checkPrice(sendReceiptData,'Trip')" /> <el-input type="text" class="w128" v-model="sendReceiptData.Trip"
@keyup.native="checkPrice(sendReceiptData,'Trip')" />
{{$t('hotel.hotel_yuan')}}/{{$t('ground.wei')}} {{$t('hotel.hotel_yuan')}}/{{$t('ground.wei')}}
</td> </td>
<td> <td>
{{$t('Airticket.Air_Number')}}{{$t('fnc.w_gong')}} {{$t('Airticket.Air_Number')}}{{$t('fnc.w_gong')}}
<el-input type="text" class="w150" v-model="sendReceiptData.TripNum" @keyup.native="checkInteger(sendReceiptData,'TripNum')" /> <el-input type="text" class="w150" v-model="sendReceiptData.TripNum"
@keyup.native="checkInteger(sendReceiptData,'TripNum')" />
{{$t('ground.wei')}} {{$t('ground.wei')}}
</td> </td>
<td colspan="7"> <td colspan="7">
{{$t('ground.zongji')}} {{$t('ground.zongji')}}
<el-input type="text" class="w120" v-model="sendReceiptData.TripTotal" @keyup.native="checkPrice(sendReceiptData,'TripTotal')" /> <el-input type="text" class="w120" v-model="sendReceiptData.TripTotal"
@keyup.native="checkPrice(sendReceiptData,'TripTotal')" />
{{$t('ground.wanriyuan')}} {{$t('ground.wanriyuan')}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
{{$t('ground.tuankuan')}} {{$t('ground.tuankuan')}}
<el-input type="text" class="w160" v-model="sendReceiptData.TeamPrice" @keyup.native="checkPrice(sendReceiptData,'TeamPrice')" /> <el-input type="text" class="w160" v-model="sendReceiptData.TeamPrice"
@keyup.native="checkPrice(sendReceiptData,'TeamPrice')" />
{{$t('fnc.a_rminbi')}} {{$t('fnc.a_rminbi')}}
</td> </td>
<td colspan="8"> <td colspan="8">
{{$t('ground.mdbfei')}} {{$t('ground.mdbfei')}}
<el-input type="text" class="w135" v-model="sendReceiptData.TableFee" @keyup.native="checkPrice(sendReceiptData,'TableFee')" /> <el-input type="text" class="w135" v-model="sendReceiptData.TableFee"
{{$t('ground.wanriyuan')}}{{$t('hotel.hotel_yuan')}} @keyup.native="checkPrice(sendReceiptData,'TableFee')" />
{{$t('ground.wanriyuan')}}
</td> </td>
</tr> </tr>
</table> </table>
...@@ -204,7 +230,8 @@ ...@@ -204,7 +230,8 @@
<div class="Lh_TabTitle">{{$t('salesModule.Passport')}}</div> <div class="Lh_TabTitle">{{$t('salesModule.Passport')}}</div>
<div> <div>
<span class="Lh_ComSpan">{{$t('ground.yxhzyj')}}</span>{{$t('hotel.hotel_totalRoom')}} <span class="Lh_ComSpan">{{$t('ground.yxhzyj')}}</span>{{$t('hotel.hotel_totalRoom')}}
<el-input type="text" class="w60" v-model="sendReceiptData.ValidPassport" @keyup.native="checkInteger(sendReceiptData,'ValidPassport')" /> <el-input type="text" class="w60" v-model="sendReceiptData.ValidPassport"
@keyup.native="checkInteger(sendReceiptData,'ValidPassport')" />
{{$t('Airticket.Air_ben')}} {{$t('Airticket.Air_ben')}}
</div> </div>
</td> </td>
...@@ -214,7 +241,8 @@ ...@@ -214,7 +241,8 @@
<td></td> <td></td>
<td class="LH_commonCenter">{{$t('ground.jdbgyzfs')}}</td> <td class="LH_commonCenter">{{$t('ground.jdbgyzfs')}}</td>
<td class="LH_commonCenter"> <td class="LH_commonCenter">
<el-checkbox v-model="sendReceiptData.ScenicChangeAndSelfFee" :true-label='1' :false-label='0'></el-checkbox> <el-checkbox v-model="sendReceiptData.ScenicChangeAndSelfFee" :true-label='1' :false-label='0'>
</el-checkbox>
</td> </td>
<td></td> <td></td>
<td rowspan="3" class="LH_commonCenter"> <td rowspan="3" class="LH_commonCenter">
...@@ -229,7 +257,8 @@ ...@@ -229,7 +257,8 @@
<td> <td>
<div> <div>
<span class="Lh_ComSpan">{{$t('ground.jhzyj')}}</span>{{$t('hotel.hotel_totalRoom')}} <span class="Lh_ComSpan">{{$t('ground.jhzyj')}}</span>{{$t('hotel.hotel_totalRoom')}}
<el-input type="text" class="w60" v-model="sendReceiptData.OldPassport" @keyup.native="checkInteger(sendReceiptData,'OldPassport')" /> <el-input type="text" class="w60" v-model="sendReceiptData.OldPassport"
@keyup.native="checkInteger(sendReceiptData,'OldPassport')" />
{{$t('Airticket.Air_ben')}} {{$t('Airticket.Air_ben')}}
</div> </div>
</td> </td>
...@@ -247,7 +276,8 @@ ...@@ -247,7 +276,8 @@
<td> <td>
<div> <div>
<span class="Lh_ComSpan">{{$t('ground.zidai')}}</span>{{$t('fnc.w_gong')}} <span class="Lh_ComSpan">{{$t('ground.zidai')}}</span>{{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.BringOwn" @keyup.native="checkInteger(sendReceiptData,'BringOwn')" /> <el-input type="text" class="w60" v-model="sendReceiptData.BringOwn"
@keyup.native="checkInteger(sendReceiptData,'BringOwn')" />
{{$t('ground.wei')}} {{$t('ground.wei')}}
</div> </div>
</td> </td>
...@@ -275,7 +305,8 @@ ...@@ -275,7 +305,8 @@
<td> <td>
<div> <div>
<span class="Lh_ComSpan" style="width:60px;">{{$t('ground.candan')}}</span>{{$t('fnc.w_gong')}} <span class="Lh_ComSpan" style="width:60px;">{{$t('ground.candan')}}</span>{{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.DinnerCount" @keyup.native="checkInteger(sendReceiptData,'DinnerCount')" /> <el-input type="text" class="w60" v-model="sendReceiptData.DinnerCount"
@keyup.native="checkInteger(sendReceiptData,'DinnerCount')" />
{{$t('ground.zhang')}} {{$t('ground.zhang')}}
</div> </div>
</td> </td>
...@@ -288,7 +319,9 @@ ...@@ -288,7 +319,9 @@
<td> <td>
<div class="Lh_TabTitle">{{$t('ground.ttqz')}}</div> <div class="Lh_TabTitle">{{$t('ground.ttqz')}}</div>
<div> <div>
<span class="Lh_ComSpanTwo">1.{{$t('active.cl_qianzheng')}} {{$t('fnc.w_gong')}}<el-input type="text" class="w60" v-model="sendReceiptData.Visa" @keyup.native="checkInteger(sendReceiptData,'Visa')" />{{$t('Airticket.Air_ben')}}</span> <span class="Lh_ComSpanTwo">1.{{$t('active.cl_qianzheng')}} {{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.Visa"
@keyup.native="checkInteger(sendReceiptData,'Visa')" />{{$t('Airticket.Air_ben')}}</span>
</div> </div>
<div> <div>
<span class="Lh_ComSpanTwo">2.{{$t('ground.sqxcb')}}</span> <span class="Lh_ComSpanTwo">2.{{$t('ground.sqxcb')}}</span>
...@@ -309,7 +342,8 @@ ...@@ -309,7 +342,8 @@
<td style="padding:0"> <td style="padding:0">
<div style="border-bottom:1px solid #d1d1d1;padding:0 0 5px 5px;"> <div style="border-bottom:1px solid #d1d1d1;padding:0 0 5px 5px;">
{{$t('ground.yjdchabiao')}} {{$t('fnc.w_gong')}} {{$t('ground.yjdchabiao')}} {{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.Questionnaire" @keyup.native="checkInteger(sendReceiptData,'Questionnaire')" /> <el-input type="text" class="w60" v-model="sendReceiptData.Questionnaire"
@keyup.native="checkInteger(sendReceiptData,'Questionnaire')" />
{{$t('salesModule.Fen')}} {{$t('salesModule.Fen')}}
</div> </div>
<div style="padding:5px 0 0 5px;"> <div style="padding:5px 0 0 5px;">
...@@ -343,7 +377,8 @@ ...@@ -343,7 +377,8 @@
<div class="Lh_TabTitle">{{$t('active.cl_jipiao')}}</div> <div class="Lh_TabTitle">{{$t('active.cl_jipiao')}}</div>
<div> <div>
<span class="Lh_ComSpan">{{$t('ground.guojiduan')}}</span>{{$t('fnc.w_gong')}} <span class="Lh_ComSpan">{{$t('ground.guojiduan')}}</span>{{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.LuggageCard" @keyup.native="checkInteger(sendReceiptData,'LuggageCard')" />{{$t('ground.zhang')}} <el-input type="text" class="w60" v-model="sendReceiptData.LuggageCard"
@keyup.native="checkInteger(sendReceiptData,'LuggageCard')" />{{$t('ground.zhang')}}
</div> </div>
</td> </td>
<td class="LH_commonCenter"> <td class="LH_commonCenter">
...@@ -371,7 +406,8 @@ ...@@ -371,7 +406,8 @@
<td> <td>
<div> <div>
<span class="Lh_ComSpan">2.F.I.T</span>{{$t('fnc.w_gong')}} <span class="Lh_ComSpan">2.F.I.T</span>{{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.FIT" @keyup.native="checkInteger(sendReceiptData,'FIT')" />{{$t('ground.zhang')}} <el-input type="text" class="w60" v-model="sendReceiptData.FIT"
@keyup.native="checkInteger(sendReceiptData,'FIT')" />{{$t('ground.zhang')}}
</div> </div>
</td> </td>
<td class="LH_commonCenter"> <td class="LH_commonCenter">
...@@ -397,7 +433,8 @@ ...@@ -397,7 +433,8 @@
<td> <td>
<div> <div>
<span class="Lh_ComSpan">3.{{$t('ground.coupiao')}}</span>{{$t('fnc.w_gong')}} <span class="Lh_ComSpan">3.{{$t('ground.coupiao')}}</span>{{$t('fnc.w_gong')}}
<el-input type="text" class="w60" v-model="sendReceiptData.TogetherTicket" @keyup.native="checkInteger(sendReceiptData,'TogetherTicket')" />{{$t('ground.zhang')}} <el-input type="text" class="w60" v-model="sendReceiptData.TogetherTicket"
@keyup.native="checkInteger(sendReceiptData,'TogetherTicket')" />{{$t('ground.zhang')}}
</div> </div>
</td> </td>
<td class="LH_commonCenter"> <td class="LH_commonCenter">
...@@ -433,7 +470,8 @@ ...@@ -433,7 +470,8 @@
4.{{$t('ground.zrwxchd')}} 4.{{$t('ground.zrwxchd')}}
</td> </td>
<td class="LH_commonCenter"> <td class="LH_commonCenter">
<el-checkbox v-model="sendReceiptData.ChineseAndJapaneseTripCheck" :true-label='1' :false-label='0'></el-checkbox> <el-checkbox v-model="sendReceiptData.ChineseAndJapaneseTripCheck" :true-label='1' :false-label='0'>
</el-checkbox>
</td> </td>
<td></td> <td></td>
<td> <td>
...@@ -518,15 +556,17 @@ ...@@ -518,15 +556,17 @@
</tr> </tr>
</table> </table>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
isShow:false, isShow: false,
sendReceiptData: "", sendReceiptData: "",
//定团号 //定团号
NewCombinationNum:'', NewCombinationNum: '',
loading: false,
}; };
}, },
methods: { methods: {
...@@ -541,13 +581,12 @@ ...@@ -541,13 +581,12 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.sendReceiptData = res.data.data; this.sendReceiptData = res.data.data;
this.isShow=true; this.isShow = true;
}else{ } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
err => { err => {}
}
); );
}, },
saveDelivery() { saveDelivery() {
...@@ -559,15 +598,27 @@ ...@@ -559,15 +598,27 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success("保存成功"); this.Success("保存成功");
this.getLeaderGuideSendReceipt(); this.getLeaderGuideSendReceipt();
}else{ } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
err => { err => {}
}
); );
}, },
doPrint(){ //下载
downLoadDeliver() {
let tcids = this.$route.query.id;
var msg = {
TCIDS: tcids,
NewCombinationNum: this.NewCombinationNum
};
this.loading = true;
var fileName = "领队交接表" + "" + ".xls";
this.GetLocalFile("dmc_get_DownLoadLeaderHander", msg, fileName, res => {
this.loading = false;
});
},
doPrint() {
window.print(); window.print();
}, },
}, },
...@@ -576,4 +627,5 @@ ...@@ -576,4 +627,5 @@
this.NewCombinationNum = this.$route.query.NewCombinationNum; this.NewCombinationNum = this.$route.query.NewCombinationNum;
} }
} }
</script> </script>
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