Commit d5bd7917 authored by youjie's avatar youjie
parents 696774c8 e8f1e105
......@@ -7,11 +7,13 @@
background-color: #fff;
}
.Lh_Toptable tr, .Lh_detailTable tr {
.Lh_Toptable tr,
.Lh_detailTable tr {
height: 40px;
}
.Lh_Toptable input, .Lh_detailTable input {
.Lh_Toptable input,
.Lh_detailTable input {
border: none;
border-bottom: 1px solid #dddddd !important;
height: 20px !important;
......@@ -49,6 +51,7 @@
background-color: #E6E6E6;
border: 1px solid #d1d1d1;
}
.Lh_TabTitle {
width: 100%;
text-align: center;
......@@ -75,9 +78,11 @@
.LH_LastTable tr {
height: 30px !important;
}
.LH_commonCenter{
text-align: center!important;
.LH_commonCenter {
text-align: center !important;
}
.LH_contentDiv {
width: 1000px;
min-height: 1500px;
......@@ -85,32 +90,45 @@
background-color: #fff;
padding: 20px 10px;
}
.LH_btnList {
position: absolute;
top: 20px;
right: 20px;
}
@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 {
background-color: #fff!important;
border-color: #d1d1d1!important;
background-color: #fff !important;
border-color: #d1d1d1 !important;
}
</style>
<template>
<div class="LH_contentDiv" v-if="isShow" id="print">
<div class="LH_btnList">
<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" @click="saveDelivery()" :value="$t('pub.saveBtn')" class="normalBtn" />
<input type="button" :value="$t('ground.dayin')" @click.prevent="doPrint" class="normalBtn" />
<input type="button" @click="downLoadDeliver()" value="下载" class="normalBtn" />
</div>
<div v-loading="loading">
<table class="Lh_Toptable">
<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>
<td colspan="9">
......@@ -124,63 +142,71 @@
</td>
<td colspan="8" style="display:none;">
{{$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>
</tr>
<tr>
<td>
{{$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 colspan="8">
{{$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>
</tr>
<tr>
<td>
{{$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')}}
</td>
<td width="250">
{{$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')}}
</td>
<td colspan="7">
{{$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')}}
</td>
</tr>
<tr>
<td>
{{$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')}}
</td>
<td>
{{$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')}}
</td>
<td colspan="7">
{{$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')}}
</td>
</tr>
<tr>
<td>
{{$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')}}
</td>
<td colspan="8">
{{$t('ground.mdbfei')}}
<el-input type="text" class="w135" v-model="sendReceiptData.TableFee" @keyup.native="checkPrice(sendReceiptData,'TableFee')" />
{{$t('ground.wanriyuan')}}{{$t('hotel.hotel_yuan')}}
<el-input type="text" class="w135" v-model="sendReceiptData.TableFee"
@keyup.native="checkPrice(sendReceiptData,'TableFee')" />
{{$t('ground.wanriyuan')}}
</td>
</tr>
</table>
......@@ -204,7 +230,8 @@
<div class="Lh_TabTitle">{{$t('salesModule.Passport')}}</div>
<div>
<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')}}
</div>
</td>
......@@ -214,7 +241,8 @@
<td></td>
<td class="LH_commonCenter">{{$t('ground.jdbgyzfs')}}</td>
<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 rowspan="3" class="LH_commonCenter">
......@@ -229,7 +257,8 @@
<td>
<div>
<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')}}
</div>
</td>
......@@ -247,7 +276,8 @@
<td>
<div>
<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')}}
</div>
</td>
......@@ -275,7 +305,8 @@
<td>
<div>
<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')}}
</div>
</td>
......@@ -288,7 +319,9 @@
<td>
<div class="Lh_TabTitle">{{$t('ground.ttqz')}}</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>
<span class="Lh_ComSpanTwo">2.{{$t('ground.sqxcb')}}</span>
......@@ -309,7 +342,8 @@
<td style="padding:0">
<div style="border-bottom:1px solid #d1d1d1;padding:0 0 5px 5px;">
{{$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')}}
</div>
<div style="padding:5px 0 0 5px;">
......@@ -343,7 +377,8 @@
<div class="Lh_TabTitle">{{$t('active.cl_jipiao')}}</div>
<div>
<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>
</td>
<td class="LH_commonCenter">
......@@ -371,7 +406,8 @@
<td>
<div>
<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>
</td>
<td class="LH_commonCenter">
......@@ -397,7 +433,8 @@
<td>
<div>
<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>
</td>
<td class="LH_commonCenter">
......@@ -433,7 +470,8 @@
4.{{$t('ground.zrwxchd')}}
</td>
<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>
......@@ -518,15 +556,17 @@
</tr>
</table>
</div>
</div>
</template>
<script>
export default {
data() {
return {
isShow:false,
isShow: false,
sendReceiptData: "",
//定团号
NewCombinationNum:'',
NewCombinationNum: '',
loading: false,
};
},
methods: {
......@@ -541,13 +581,12 @@
res => {
if (res.data.resultCode == 1) {
this.sendReceiptData = res.data.data;
this.isShow=true;
}else{
this.isShow = true;
} else {
this.Error(res.data.message);
}
},
err => {
}
err => {}
);
},
saveDelivery() {
......@@ -559,15 +598,27 @@
if (res.data.resultCode == 1) {
this.Success("保存成功");
this.getLeaderGuideSendReceipt();
}else{
} else {
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();
},
},
......@@ -576,4 +627,5 @@
this.NewCombinationNum = this.$route.query.NewCombinationNum;
}
}
</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