Commit d75af8bd authored by 黄奎's avatar 黄奎

页面修改

parent a8a63470
...@@ -29,18 +29,61 @@ ...@@ -29,18 +29,61 @@
text-decoration: underline; text-decoration: underline;
} }
.QuotationPrice_SWT .linkLeft {
cursor: pointer;
color: blue;
text-decoration: underline;
float: left;
padding-left: 5px;
}
.QuotationPrice_SWT .saveArea {
position: fixed;
z-index: 999;
width: 60px;
height: auto;
padding-bottom: 10px;
right: 30px;
bottom: 20%;
border-radius: 4px;
background-color: #e95252;
}
.QuotationPrice_SWT .toTop {
width: 100%;
height: 40px;
text-align: center;
line-height: 40px;
color: #fff;
}
.quotationSaveBtn {
width: 45px;
height: 45px;
border-radius: 4px;
background-color: #ffc2c2;
margin: 8px;
color: #cc1212;
text-align: center;
line-height: 45px;
font-size: 12px;
cursor: pointer;
}
.QuotationPrice_SWT .tdCenter {
text-align: center;
}
</style> </style>
<template> <template>
<div class="QuotationPrice_SWT clearfix" v-loading="loading"> <div class="QuotationPrice_SWT clearfix" v-loading="loading">
<div class="saveArea">
<div class="toTop"><i class="iconfont icon-huidaodingbu"></i></div>
<div class="quotationSaveBtn" @click="SaveData(1)">提交</div>
<div class="quotationSaveBtn" style="margin-top:2px;" @click="SaveData(0)">保存</div>
</div>
<div> <div>
<table class="swttable"> <table class="swttable">
<thead>
<tr>
<td colspan="10">
<button class="hollowFixedBtn" @click="SaveData()">保存</button>
</td>
</tr>
</thead>
<tbody title="线路.系列.团名"> <tbody title="线路.系列.团名">
<tr> <tr>
<td colspan="2" class="ComTitle"> <td colspan="2" class="ComTitle">
...@@ -54,10 +97,10 @@ ...@@ -54,10 +97,10 @@
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td colspan="2" class="ComTitle"> <td class="ComTitle">
系列 系列
</td> </td>
<td colspan="3"> <td colspan="4">
<el-select v-model="postData.LineteamId" class='w200' filterable :placeholder="$t('pub.pleaseSel')"> <el-select v-model="postData.LineteamId" class='w200' filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="item in LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'> <el-option v-for="item in LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'>
...@@ -70,7 +113,7 @@ ...@@ -70,7 +113,7 @@
團名 團名
</td> </td>
<td colspan="8"> <td colspan="8">
<el-input v-model="postData.Title" placeholder="出團名稱"></el-input> <el-input v-model="postData.Title" class="w660" placeholder="出團名稱"></el-input>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -84,39 +127,43 @@ ...@@ -84,39 +127,43 @@
天數 天數
</td> </td>
<td> <td>
<el-input v-model="postData.AirLineName" placeholder="台中連發"></el-input> <el-input v-model="postData.DayNum" @keyup.native="checkInteger(postData,'DayNum')" placeholder="行程天数"
maxlength="2" class="w180"></el-input>
</td> </td>
<td> <td>
<el-input v-model="postData.AirLineName" placeholder="台中連發" class="w180"></el-input>
</td> </td>
<td rowspan="3" class="ComTitle"> <td rowspan="3" class="ComTitle">
航班時間: 航班時間: <a @click="AddFlight()" class="link">添加航班</a>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1">
<el-date-picker v-model="postData.SWTFlightList[0].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(0)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1">
<el-date-picker v-model="postData.SWTFlightList[0].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1">
<el-input v-model="postData.SWTFlightList[0].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[0].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=1">
<el-input v-model="postData.SWTFlightList[0].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[0].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<a @click="AddFlight()" class="link">添加航班</a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td class="ComTitle">
<el-input v-model="postData.DayNum" @keyup.native="checkInteger(postData,'DayNum')" placeholder="行程天数" 出发日期:
maxlength="2"></el-input>
</td> </td>
<td> <td>
<el-date-picker v-model="postData.StartDate" type="date" value-format="yyyy-MM-dd" clearable <el-date-picker v-model="postData.StartDate" type="date" value-format="yyyy-MM-dd" clearable
placeholder="2020/09/30前走完行程"> placeholder="2020/09/30前走完行程" class="w180">
</el-date-picker> </el-date-picker>
</td> </td>
<td class="ComTitle"> <td class="ComTitle">
...@@ -124,22 +171,23 @@ ...@@ -124,22 +171,23 @@
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
<el-date-picker v-model="postData.SWTFlightList[1].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(1)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
<el-date-picker v-model="postData.SWTFlightList[1].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
<el-input v-model="postData.SWTFlightList[1].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[1].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
<el-input v-model="postData.SWTFlightList[1].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[1].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=2">
<a @click="DeleteFlight(1)" class="link">删除</a>
</template>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -148,34 +196,34 @@ ...@@ -148,34 +196,34 @@
</td> </td>
<td> <td>
<el-input v-model="postData.GuestNum" @keyup.native="checkInteger(postData,'GuestNum'),GetPeople()" <el-input v-model="postData.GuestNum" @keyup.native="checkInteger(postData,'GuestNum'),GetPeople()"
placeholder="旅客人数" maxlength="2"></el-input> placeholder="旅客人数" maxlength="2" class="w180"></el-input>
</td> </td>
<td> <td>
<el-input v-model="postData.FocNum" @keyup.native="checkInteger(postData,'FocNum'),GetPeople()" <el-input v-model="postData.FocNum" @keyup.native="checkInteger(postData,'FocNum'),GetPeople()"
placeholder="FOC" maxlength="2"></el-input> placeholder="FOC" maxlength="2" class="w180"></el-input>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
<el-date-picker v-model="postData.SWTFlightList[2].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(2)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
<el-date-picker v-model="postData.SWTFlightList[2].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
<el-input v-model="postData.SWTFlightList[2].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[2].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
<el-input v-model="postData.SWTFlightList[2].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[2].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=3">
<a @click="DeleteFlight(2)" class="link">删除</a>
</template>
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody title="领队和导游"> <tbody title="领队和导游">
<tr> <tr>
<td rowspan="3" colspan="3" class="ComTitle"> <td rowspan="3" colspan="3" class="ComTitle">
...@@ -183,7 +231,7 @@ ...@@ -183,7 +231,7 @@
</td> </td>
<td rowspan="3"> <td rowspan="3">
<template v-if="postData.SWTGuideList&&postData.SWTGuideList.length>=1"> <template v-if="postData.SWTGuideList&&postData.SWTGuideList.length>=1">
<el-input v-model="postData.SWTGuideList[0].LeaderGuideInfo" placeholder="導遊"></el-input> <el-input v-model="postData.SWTGuideList[0].LeaderGuideInfo" placeholder="導遊" class="w180"></el-input>
</template> </template>
</td> </td>
<td rowspan="3" class="ComTitle"> <td rowspan="3" class="ComTitle">
...@@ -191,69 +239,72 @@ ...@@ -191,69 +239,72 @@
</td> </td>
<td rowspan="3"> <td rowspan="3">
<template v-if="postData.SWTLeaderList&&postData.SWTLeaderList.length>=1"> <template v-if="postData.SWTLeaderList&&postData.SWTLeaderList.length>=1">
<el-input v-model="postData.SWTLeaderList[0].LeaderGuideInfo" placeholder="領隊"></el-input> <el-input v-model="postData.SWTLeaderList[0].LeaderGuideInfo" placeholder="領隊" class="w180"></el-input>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
<el-date-picker v-model="postData.SWTFlightList[3].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(3)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
<el-date-picker v-model="postData.SWTFlightList[3].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
<el-input v-model="postData.SWTFlightList[3].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[3].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
<el-input v-model="postData.SWTFlightList[3].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[3].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=4">
<a @click="DeleteFlight(3)" class="link">删除</a>
</template>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<el-date-picker v-model="postData.SWTFlightList[4].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(4)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<el-date-picker v-model="postData.SWTFlightList[4].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<el-input v-model="postData.SWTFlightList[4].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[4].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<el-input v-model="postData.SWTFlightList[4].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[4].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=5">
<a @click="DeleteFlight(4)" class="link">删除</a>
</template>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6">
<el-date-picker v-model="postData.SWTFlightList[5].flightDate" type="date" placeholder="航班日期"> <a @click="DeleteFlight(5)" class="link">删除</a>
</template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6">
<el-date-picker v-model="postData.SWTFlightList[5].flightDate" type="date" placeholder="航班日期"
class="w180">
</el-date-picker> </el-date-picker>
</template> </template>
</td> </td>
<td> <td>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6">
<el-input v-model="postData.SWTFlightList[5].flightNum" placeholder="航班号"></el-input> <el-input v-model="postData.SWTFlightList[5].flightNum" placeholder="航班号" class="w180"></el-input>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6"> <template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6">
<el-input v-model="postData.SWTFlightList[5].flightContent" placeholder="航班信息"></el-input> <el-input v-model="postData.SWTFlightList[5].flightContent" placeholder="航班信息"></el-input>
</template> </template>
<template v-if="postData.SWTFlightList&&postData.SWTFlightList.length>=6">
<a @click="DeleteFlight(5)" class="link">删除</a>
</template>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -264,19 +315,19 @@ ...@@ -264,19 +315,19 @@
LOCAL團號 LOCAL團號
</td> </td>
<td> <td>
<el-input v-model="postData.LocalTeamNum" placeholder="LOCAL團號" maxlength="100"></el-input> <el-input v-model="postData.LocalTeamNum" placeholder="LOCAL團號" maxlength="100" class="w180"></el-input>
</td> </td>
<td class="ComTitle"> <td class="ComTitle">
估價代號 估價代號
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input v-model="postData.ValuationCode" placeholder="估價代號" maxlength="100"></el-input> <el-input v-model="postData.ValuationCode" placeholder="估價代號" maxlength="100" class="w180"></el-input>
</td> </td>
<td class="ComTitle"> <td class="ComTitle">
出團名稱 出團名稱
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input v-model="postData.OutTeamName" placeholder="出團名稱" maxlength="100"></el-input> <el-input v-model="postData.OutTeamName" placeholder="出團名稱" maxlength="100" class="w180"></el-input>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -284,13 +335,14 @@ ...@@ -284,13 +335,14 @@
AGT團號 AGT團號
</td> </td>
<td> <td>
<el-input v-model="postData.AGTTeamName" placeholder="AGT團號" maxlength="100"></el-input> <el-input v-model="postData.AGTTeamName" placeholder="AGT團號" maxlength="100" class="w180"></el-input>
</td> </td>
<td class="ComTitle"> <td class="ComTitle">
SURCHARGE: SURCHARGE:
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input v-model="postData.SURCHARGE" placeholder=" (09/02,12/24.31)公眾假期價格另議" maxlength="100"></el-input> <el-input v-model="postData.SURCHARGE" placeholder=" (09/02,12/24.31)公眾假期價格另議" maxlength="100"
class="w180"></el-input>
</td> </td>
<td class="ComTitle"> <td class="ComTitle">
</td> </td>
...@@ -298,50 +350,54 @@ ...@@ -298,50 +350,54 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tr>
<td colspan="10"></td>
</tr>
</tbody>
<tbody title="酒店"> <tbody title="酒店">
<tr> <tr>
<td colspan="7"> <td colspan="7" class="ComTitle tdCenter">
飯店 飯店
</td> </td>
<td> <td class="ComTitle">
酒店減免: 酒店減免:
</td> </td>
<td> <td colspan="2">
<el-input v-model="postData.HotelDisNum" <el-input v-model="postData.HotelDisNum"
@keyup.native="checkInteger(postData,'HotelDisNum'),CalcFeeTotal()" placeholder="酒店減免" maxlength="2"> @keyup.native="checkInteger(postData,'HotelDisNum'),CalcFeeTotal()" placeholder="酒店減免" maxlength="2"
class="w180">
</el-input> </el-input>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td :rowspan="1+postData.SWTHotelList.length" class="ComTitle"> <td class="ComTitle tdCenter" colspan="2">
飯店 DAY
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter">
飯店名稱 飯店名稱
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越盾 越盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
房/人數 房/人數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
減免人數 減免人數
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合計 合計
</td> </td>
</tr> </tr>
<tr v-for="(hItem,hIndex) in postData.SWTHotelList" :key="hIndex"> <tr v-for="(hItem,hIndex) in postData.SWTHotelList" :key="hIndex">
<td style="width:50px;"> <td style="width:50px;" colspan="2">
D{{hItem.DayNum}} D{{hItem.DayNum}}
</td> </td>
<td> <td>
...@@ -354,16 +410,16 @@ ...@@ -354,16 +410,16 @@
</td> </td>
<td> <td>
<el-input v-model="hItem.USPrice" maxlength="10" <el-input v-model="hItem.USPrice" maxlength="10"
@keyup.native="checkPrice(hItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(hItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150"></el-input>
</td> </td>
<td> <td>
<el-input v-model="hItem.VNDPrice" maxlength="10" <el-input v-model="hItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(hItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(hItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input v-model="hItem.Times" @keyup.native="checkInteger(hItem,'Times'),CalcFeeTotal()" <el-input v-model="hItem.Times" @keyup.native="checkInteger(hItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{hItem.TotalNum}} {{hItem.TotalNum}}
...@@ -371,10 +427,10 @@ ...@@ -371,10 +427,10 @@
<td> <td>
{{hItem.HotelDisNum}} {{hItem.HotelDisNum}}
</td> </td>
<td> <td class="w150">
{{hItem.USSubTotal}} {{hItem.USSubTotal}}
</td> </td>
<td> <td class="w150">
{{hItem.VNDSubTotal}} {{hItem.VNDSubTotal}}
</td> </td>
</tr> </tr>
...@@ -405,48 +461,51 @@ ...@@ -405,48 +461,51 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody title="餐食">
<tbody>
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="餐食">
<tr> <tr>
<td colspan="7"> <td colspan="7" class="ComTitle tdCenter">
餐食 餐食
</td> </td>
<td> <td class="ComTitle">
餐食減免: 餐食減免:
</td> </td>
<td> <td colspan="2">
<el-input v-model="postData.DinnerDisNum" <el-input v-model="postData.DinnerDisNum"
@keyup.native="checkInteger(postData,'DinnerDisNum'),CalcFeeTotal()" placeholder="餐食減免" maxlength="2"> @keyup.native="checkInteger(postData,'DinnerDisNum'),CalcFeeTotal()" placeholder="餐食減免" maxlength="2"
class="w180">
</el-input> </el-input>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2" class="ComTitle tdCenter">
DAY
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
餐食名稱 餐食名稱
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越盾 越盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
人數/FOC 人數/FOC
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
減免人數 減免人數
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合計 合計
</td> </td>
</tr> </tr>
...@@ -477,16 +536,17 @@ ...@@ -477,16 +536,17 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}}/ {{childItem.FOCNum}} {{childItem.TotalNum}}/ {{childItem.FOCNum}}
...@@ -529,48 +589,49 @@ ...@@ -529,48 +589,49 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody title="景點門票"> <tbody>
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="景點門票">
<tr> <tr>
<td colspan="7"> <td colspan="7" class="ComTitle tdCenter">
景點門票 景點門票
</td> </td>
<td> <td class="ComTitle">
景點減免: 景點減免:
</td> </td>
<td> <td colspan="2">
<el-input v-model="postData.TicketDisNum" <el-input v-model="postData.TicketDisNum"
@keyup.native="checkInteger(postData,'TicketDisNum'),CalcFeeTotal()" placeholder="景點減免" maxlength="2"> @keyup.native="checkInteger(postData,'TicketDisNum'),CalcFeeTotal()" placeholder="景點減免" maxlength="2"
class="w150">
</el-input> </el-input>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
DAY
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
景點門票 景點門票
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越盾 越盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
房/人數 房/人數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
減免人數 減免人數
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
...@@ -596,16 +657,17 @@ ...@@ -596,16 +657,17 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}}/ {{childItem.FOCNum}} {{childItem.TotalNum}}/ {{childItem.FOCNum}}
...@@ -648,48 +710,47 @@ ...@@ -648,48 +710,47 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tbody title="車資">
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="車資">
<tr> <tr>
<td colspan="7"> <td colspan="7" class="ComTitle tdCenter">
車資 車資
</td> </td>
<td> <td class="ComTitle">
車型: 車型:
</td> </td>
<td> <td colspan="2">
<el-select v-model="postData.BusPriceId" class='w200' filterable :placeholder="$t('pub.pleaseSel')"> <el-select v-model="postData.BusPriceId" class='w150' filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(qitem,qindex) in BusTypeList" :value="qitem.Id" :label="qitem.newName" :key="qindex"> <el-option v-for="(qitem,qindex) in BusTypeList" :value="qitem.Id" :label="qitem.newName" :key="qindex">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2" class="ComTitle tdCenter">
DAY
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
行程 行程
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
公里數 公里數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
車資 車資
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
單價 單價
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
...@@ -715,20 +776,21 @@ ...@@ -715,20 +776,21 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.Kilometre" maxlength="10" <el-input v-model="childItem.Kilometre" maxlength="10"
@keyup.native="checkInteger(childItem,'Kilometre'),CalcFeeTotal()" placeholder="公里數"></el-input> @keyup.native="checkInteger(childItem,'Kilometre'),CalcFeeTotal()" placeholder="公里數" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="10"></el-input> placeholder="次/N數" maxlength="10" class="w150"></el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Price" @keyup.native="checkPrice(childItem,'Price'),CalcFeeTotal()" <el-input v-model="childItem.Price" @keyup.native="checkPrice(childItem,'Price'),CalcFeeTotal()"
placeholder="次/N數" maxlength="10"></el-input> placeholder="次/N數" maxlength="10" class="w150"></el-input>
</td> </td>
<td colspan="2"> <td colspan="2">
{{childItem.VNDSubTotal}} {{childItem.VNDSubTotal}}
...@@ -757,51 +819,42 @@ ...@@ -757,51 +819,42 @@
</tr> </tr>
</tbody> </tbody>
<tbody title="船或導遊機票"> <tbody>
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="船或導遊機票">
<tr> <tr>
<td colspan="7"> <td colspan="10" class="ComTitle tdCenter">
船或導遊機票 <a class="link" @click="AddBaoJiaConfigItem(4)">添加</a> 船或導遊機票 <a class="linkLeft" @click="AddBaoJiaConfigItem(4)">添加</a>
</td>
<td>
</td>
<td>
</td>
<td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td class="ComTitle tdCenter" colspan="4">
</td>
<td class="ComTitle" colspan="2">
名称 名称
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越南盾 越南盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
<template v-for="(childItem,childIndex) in postData.SWTShipList"> <template v-for="(childItem,childIndex) in postData.SWTShipList">
<tr :key="childIndex"> <tr :key="childIndex">
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
<a class="link" @click="DeleteBaoJiaConfigItem(4,childIndex)">删除</a> <a class="link" @click="DeleteBaoJiaConfigItem(4,childIndex)">删除</a>
<el-select v-model="childItem.BaoJiaConfigId" class='w200' filterable :placeholder="$t('pub.pleaseSel')" <el-select v-model="childItem.BaoJiaConfigId" class='w220' filterable :placeholder="$t('pub.pleaseSel')"
@change="GetConfigItem(childItem,4),CalcFeeTotal()"> @change="GetConfigItem(childItem,4),CalcFeeTotal()">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(qitem,qindex) in ShipList" :value="qitem.Id" :label="qitem.CName" :key="qindex"> <el-option v-for="(qitem,qindex) in ShipList" :value="qitem.Id" :label="qitem.CName" :key="qindex">
...@@ -810,16 +863,17 @@ ...@@ -810,16 +863,17 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.TotalNum}} {{childItem.TotalNum}}
...@@ -835,9 +889,7 @@ ...@@ -835,9 +889,7 @@
</tbody> </tbody>
<tbody title="船合计"> <tbody title="船合计">
<tr> <tr>
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
</td> </td>
<td> <td>
US合計:{{ShipSum.USPriceSum}} US合計:{{ShipSum.USPriceSum}}
...@@ -857,55 +909,45 @@ ...@@ -857,55 +909,45 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tbody title="雜支">
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="雜支">
<tr> <tr>
<td colspan="7"> <td colspan="10" class="ComTitle tdCenter">
雜支 <a class="link" @click="AddBaoJiaConfigItem(1)">添加</a> 雜支 <a class="linkLeft" @click="AddBaoJiaConfigItem(1)">添加</a>
</td>
<td>
</td>
<td>
</td>
<td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td class="ComTitle tdCenter" colspan="3">
</td>
<td class="ComTitle">
名称 名称
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越南盾 越南盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
FOC FOC
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
<template v-for="(childItem,childIndex) in postData.SWTOtherPayList"> <template v-for="(childItem,childIndex) in postData.SWTOtherPayList">
<tr :key="childIndex"> <tr :key="childIndex">
<td colspan="2"> <td colspan="3">
</td>
<td>
<a class="link" @click="DeleteBaoJiaConfigItem(1,childIndex)">删除</a> <a class="link" @click="DeleteBaoJiaConfigItem(1,childIndex)">删除</a>
<el-select v-model="childItem.BaoJiaConfigId" class='w200' filterable :placeholder="$t('pub.pleaseSel')" <el-select v-model="childItem.BaoJiaConfigId" class='w220' filterable :placeholder="$t('pub.pleaseSel')"
@change="GetConfigItem(childItem,1),CalcFeeTotal()"> @change="GetConfigItem(childItem,1),CalcFeeTotal()">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(qitem,qindex) in ZaZhiList" :value="qitem.Id" :label="qitem.CName" :key="qindex"> <el-option v-for="(qitem,qindex) in ZaZhiList" :value="qitem.Id" :label="qitem.CName" :key="qindex">
...@@ -914,11 +956,12 @@ ...@@ -914,11 +956,12 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
...@@ -926,11 +969,11 @@ ...@@ -926,11 +969,11 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()" <el-input v-model="childItem.Times" @keyup.native="checkInteger(childItem,'Times'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="FOC" maxlength="1"></el-input> placeholder="FOC" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -943,9 +986,7 @@ ...@@ -943,9 +986,7 @@
</tbody> </tbody>
<tbody title="杂支合计"> <tbody title="杂支合计">
<tr> <tr>
<td colspan="2"> <td colspan="3">
</td>
<td>
</td> </td>
<td> <td>
US合計:{{ZaZhiSum.USPriceSum}} US合計:{{ZaZhiSum.USPriceSum}}
...@@ -967,52 +1008,42 @@ ...@@ -967,52 +1008,42 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tbody title="購物自費">
<tr> <tr>
<td colspan="10"> <td colspan="10"></td>
</td>
</tr> </tr>
</tbody>
<tbody title="購物自費">
<tr> <tr>
<td colspan="7"> <td colspan="10" class="ComTitle tdCenter">
購物自費 <a class="link" @click="AddBaoJiaConfigItem(2)">添加</a> 購物自費 <a class="linkLeft" @click="AddBaoJiaConfigItem(2)">添加</a>
</td>
<td>
</td>
<td>
</td>
<td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td class="ComTitle tdCenter" colspan="4">
</td>
<td class="ComTitle" colspan="2">
名称 名称
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越南盾 越南盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
FOC FOC
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
<template v-for="(childItem,childIndex) in postData.SWTSelfFeeList"> <template v-for="(childItem,childIndex) in postData.SWTSelfFeeList">
<tr :key="childIndex"> <tr :key="childIndex">
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
<a class="link" @click="DeleteBaoJiaConfigItem(2,childIndex)">删除</a> <a class="link" @click="DeleteBaoJiaConfigItem(2,childIndex)">删除</a>
<el-select v-model="childItem.BaoJiaConfigId" class='w200' filterable :placeholder="$t('pub.pleaseSel')" <el-select v-model="childItem.BaoJiaConfigId" class='w220' filterable :placeholder="$t('pub.pleaseSel')"
@change="GetConfigItem(childItem,2),CalcFeeTotal()"> @change="GetConfigItem(childItem,2),CalcFeeTotal()">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(qitem,qindex) in SelfFeeList" :value="qitem.Id" :label="qitem.CName" :key="qindex"> <el-option v-for="(qitem,qindex) in SelfFeeList" :value="qitem.Id" :label="qitem.CName" :key="qindex">
...@@ -1021,11 +1052,12 @@ ...@@ -1021,11 +1052,12 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
...@@ -1033,7 +1065,7 @@ ...@@ -1033,7 +1065,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -1046,9 +1078,7 @@ ...@@ -1046,9 +1078,7 @@
</tbody> </tbody>
<tbody title="購物自費合计"> <tbody title="購物自費合计">
<tr> <tr>
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
</td> </td>
<td> <td>
US合計:{{SelfFeeSum.USPriceSum}} US合計:{{SelfFeeSum.USPriceSum}}
...@@ -1068,48 +1098,42 @@ ...@@ -1068,48 +1098,42 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tr>
<td colspan="10"></td>
</tr>
</tbody>
<tbody title="小費"> <tbody title="小費">
<tr> <tr>
<td colspan="7"> <td colspan="10" class="ComTitle tdCenter">
小費 <a class="link" @click="AddBaoJiaConfigItem(3)">添加</a> <a class="linkLeft" @click="AddBaoJiaConfigItem(3)">添加</a> 小費
</td>
<td>
</td>
<td>
</td>
<td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td class="ComTitle tdCenter" colspan="4">
</td>
<td class="ComTitle" colspan="2">
名称 名称
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
美金 美金
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
越南盾 越南盾
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
次/N數 次/N數
</td> </td>
<td class="ComTitle"> <td class="ComTitle tdCenter">
FOC FOC
</td> </td>
<td class="ComTitle" colspan="2"> <td class="ComTitle tdCenter" colspan="2">
合计 合计
</td> </td>
</tr> </tr>
<template v-for="(childItem,childIndex) in postData.SWTTipFeeList"> <template v-for="(childItem,childIndex) in postData.SWTTipFeeList">
<tr :key="childIndex"> <tr :key="childIndex">
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
<a class="link" @click="DeleteBaoJiaConfigItem(3,childIndex)">删除</a> <a class="link" @click="DeleteBaoJiaConfigItem(3,childIndex)">删除</a>
<el-select v-model="childItem.BaoJiaConfigId" class='w200' filterable :placeholder="$t('pub.pleaseSel')" <el-select v-model="childItem.BaoJiaConfigId" class='w220' filterable :placeholder="$t('pub.pleaseSel')"
@change="GetConfigItem(childItem,3),CalcFeeTotal()"> @change="GetConfigItem(childItem,3),CalcFeeTotal()">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(qitem,qindex) in TipFeeList" :value="qitem.Id" :label="qitem.CName" :key="qindex"> <el-option v-for="(qitem,qindex) in TipFeeList" :value="qitem.Id" :label="qitem.CName" :key="qindex">
...@@ -1118,11 +1142,12 @@ ...@@ -1118,11 +1142,12 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.USPrice" maxlength="10" <el-input v-model="childItem.USPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金"></el-input> @keyup.native="checkPrice(childItem,'USPrice'),CalcFeeTotal()" placeholder="美金" class="w150">
</el-input>
</td> </td>
<td> <td>
<el-input v-model="childItem.VNDPrice" maxlength="10" <el-input v-model="childItem.VNDPrice" maxlength="10"
@keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾"> @keyup.native="checkPrice(childItem,'VNDPrice'),CalcFeeTotal()" placeholder="越盾" class="w150">
</el-input> </el-input>
</td> </td>
<td> <td>
...@@ -1130,7 +1155,7 @@ ...@@ -1130,7 +1155,7 @@
</td> </td>
<td> <td>
<el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()" <el-input v-model="childItem.FOCNum" @keyup.native="checkInteger(childItem,'FOCNum'),CalcFeeTotal()"
placeholder="次/N數" maxlength="1"></el-input> placeholder="次/N數" maxlength="1" class="w150"></el-input>
</td> </td>
<td> <td>
{{childItem.USSubTotal}} {{childItem.USSubTotal}}
...@@ -1143,9 +1168,7 @@ ...@@ -1143,9 +1168,7 @@
</tbody> </tbody>
<tbody title="小費合计"> <tbody title="小費合计">
<tr> <tr>
<td colspan="2"> <td colspan="4">
</td>
<td colspan="2">
</td> </td>
<td> <td>
US合計:{{TipFeeSum.USPriceSum}} US合計:{{TipFeeSum.USPriceSum}}
...@@ -1165,6 +1188,177 @@ ...@@ -1165,6 +1188,177 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tbody>
<tr>
<td colspan="10"></td>
</tr>
</tbody>
<tbody title="总计">
<tr>
<td colspan="4" class="ComTitle tdCenter">
</td>
<td colspan="2" class="ComTitle tdCenter">
個人團費
</td>
<td colspan="2" class="ComTitle tdCenter">
整團團費
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
类型
</td>
<td class="ComTitle tdCenter">
美金
</td>
<td class="ComTitle tdCenter">
越盾
</td>
<td class="ComTitle tdCenter">
美金
</td>
<td class="ComTitle tdCenter">
越盾
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
房費
</td>
<td>
{{HotelSum.USPriceSum}}
</td>
<td>
{{HotelSum.VNDPriceSum}}
</td>
<td>
{{HotelSum.USTotalSum}}
</td>
<td>
{{HotelSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
餐食
</td>
<td>
{{DinnerSum.USPriceSum}}
</td>
<td>
{{DinnerSum.VNDPriceSum}}
</td>
<td>
{{DinnerSum.USTotalSum}}
</td>
<td>
{{DinnerSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
景點門票
</td>
<td>
{{TicketSum.USPriceSum}}
</td>
<td>
{{TicketSum.VNDPriceSum}}
</td>
<td>
{{TicketSum.USTotalSum}}
</td>
<td>
{{TicketSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
雜支
</td>
<td>
{{ZaZhiSum.USPriceSum}}
</td>
<td>
{{ZaZhiSum.VNDPriceSum}}
</td>
<td>
{{ZaZhiSum.USTotalSum}}
</td>
<td>
{{ZaZhiSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
車資
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
{{BusSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
船 或 導遊機票
</td>
<td>
{{ShipSum.USPriceSum}}
</td>
<td>
{{ShipSum.VNDPriceSum}}
</td>
<td>
{{ShipSum.USTotalSum}}
</td>
<td>
{{ShipSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
購物自費
</td>
<td>
{{SelfFeeSum.USPriceSum}}
</td>
<td>
{{SelfFeeSum.VNDPriceSum}}
</td>
<td>
{{SelfFeeSum.USTotalSum}}
</td>
<td>
{{SelfFeeSum.VNDTotalSum}}
</td>
</tr>
<tr>
<td colspan="4" class="ComTitle tdCenter">
合計
</td>
<td>
{{CalcTotal().single_us_price}}
</td>
<td>
{{CalcTotal().single_vnd_price}}
</td>
<td>
{{CalcTotal().total_us_price}}
</td>
<td>
{{CalcTotal().total_vnd_price}}
</td>
</tr>
</tbody>
</table> </table>
</div> </div>
</div> </div>
...@@ -1276,6 +1470,35 @@ ...@@ -1276,6 +1470,35 @@
}; };
}, },
methods: { methods: {
//计算合计
CalcTotal() {
var single_us_price = 0; //单人美元
var single_vnd_price = 0; //单人越盾
var total_us_price = 0; //团体美元
var total_vnd_price = 0; //团体越盾
single_us_price = Number(this.HotelSum.USPriceSum) + Number(this.DinnerSum.USPriceSum) + Number(this.TicketSum
.USPriceSum) +
Number(this.ZaZhiSum.USPriceSum) + Number(this.ShipSum.USPriceSum) + Number(this.SelfFeeSum.USPriceSum);
single_vnd_price = Number(this.HotelSum.VNDPriceSum) + Number(this.DinnerSum.VNDPriceSum) + Number(this.TicketSum
.VNDPriceSum) +
Number(this.ZaZhiSum.VNDPriceSum) + Number(this.ShipSum.VNDPriceSum) + Number(this.SelfFeeSum.VNDPriceSum);
total_us_price = Number(this.HotelSum.USTotalSum) + Number(this.DinnerSum.USTotalSum) + Number(this.TicketSum
.USTotalSum) +
Number(this.ZaZhiSum.USTotalSum) + Number(this.ShipSum.USTotalSum) + Number(this.SelfFeeSum.USTotalSum);
total_vnd_price = Number(this.HotelSum.VNDTotalSum) + Number(this.DinnerSum.VNDTotalSum) + Number(this.TicketSum
.VNDTotalSum) +
Number(this.ZaZhiSum.VNDTotalSum) + Number(this.ShipSum.USTotalSum) + Number(this.SelfFeeSum.USTotalSum) +
Number(this.BusSum.VNDTotalSum);
return {
single_us_price: single_us_price.toFixed(2),
single_vnd_price: single_vnd_price.toFixed(2),
total_us_price: total_us_price.toFixed(2),
total_vnd_price: total_vnd_price.toFixed(2)
};
},
//航班Json格式 //航班Json格式
getflightJson() { getflightJson() {
var obj = { var obj = {
...@@ -1328,11 +1551,13 @@ ...@@ -1328,11 +1551,13 @@
return obj; return obj;
}, },
getData() { getData() {
this.apipost("travel_get_GetBaoJiaDanSwtService", { var qmsg = {
Id: this.Id, Id: this.Id
}, res => { };
this.apipost("travel_get_GetBaoJiaDanSwtService", qmsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var jsonData = res.data.data; var jsonData = res.data.data;
if (jsonData) { if (jsonData) {
this.postData.Id = jsonData.Id; this.postData.Id = jsonData.Id;
this.postData.LineId = jsonData.LineId; this.postData.LineId = jsonData.LineId;
...@@ -1374,20 +1599,29 @@ ...@@ -1374,20 +1599,29 @@
this.postData.SWTGuideList.push(this.getLeaderGuideJson()); this.postData.SWTGuideList.push(this.getLeaderGuideJson());
} }
//酒店 //酒店
if (jsonData.HotelDisNum) {
this.postData.HotelDisNum = jsonData.HotelDisNum; this.postData.HotelDisNum = jsonData.HotelDisNum;
}
if (jsonData.SWTHotelList) { if (jsonData.SWTHotelList) {
this.postData.SWTHotelList = jsonData.SWTHotelList; this.postData.SWTHotelList = jsonData.SWTHotelList;
} }
//餐厅 //餐厅
if (jsonData.DinnerDisNum) {
this.postData.DinnerDisNum = jsonData.DinnerDisNum; this.postData.DinnerDisNum = jsonData.DinnerDisNum;
}
if (jsonData.SWTDinnerList) { if (jsonData.SWTDinnerList) {
this.postData.SWTDinnerList = jsonData.SWTDinnerList; this.postData.SWTDinnerList = jsonData.SWTDinnerList;
} }
//景点 //景点
if (jsonData.TicketDisNum) {
this.postData.TicketDisNum = jsonData.TicketDisNum; this.postData.TicketDisNum = jsonData.TicketDisNum;
}
if (jsonData.SWTTicketList) { if (jsonData.SWTTicketList) {
this.postData.SWTTicketList = jsonData.SWTTicketList; this.postData.SWTTicketList = jsonData.SWTTicketList;
} }
//车资 //车资
this.postData.BusPriceId = jsonData.BusPriceId; this.postData.BusPriceId = jsonData.BusPriceId;
if (jsonData.SWTBusList) { if (jsonData.SWTBusList) {
...@@ -1430,16 +1664,39 @@ ...@@ -1430,16 +1664,39 @@
}); });
}, },
//保存数据 //保存数据
SaveData() { SaveData(type) {
this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => { this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getData(); this.Id = res.data.data;
if (type == 0) {
this.gonewQuotationSWT(res.data.data, 'QuotationPrice_SWT');
} else {
this.gonewQuotationSWT(0, 'newQuotation_SWT');
}
this.Success(res.data.message); this.Success(res.data.message);
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}); });
}, },
//报价单跳转
gonewQuotationSWT(Id, path) {
var obj = {};
if (Id > 0) {
obj = {
Id: Id,
tab: '报价单'
}
} else {
obj = {
tab: '报价单'
}
}
this.$router.push({
name: path,
query: obj
});
},
//人数改变 //人数改变
GetPeople() { GetPeople() {
//酒店 //酒店
...@@ -1451,7 +1708,7 @@ ...@@ -1451,7 +1708,7 @@
//餐 //餐
if (this.postData.SWTDinnerList && this.postData.SWTDinnerList.length > 0) { if (this.postData.SWTDinnerList && this.postData.SWTDinnerList.length > 0) {
this.postData.SWTDinnerList.forEach(rootItem => { this.postData.SWTDinnerList.forEach(rootItem => {
rootItem.SubDinnerList.forEach(iten => { rootItem.SubDinnerList.forEach(item => {
item.TotalNum = this.getPeopleNum.totalNum; item.TotalNum = this.getPeopleNum.totalNum;
item.FOCNum = this.getPeopleNum.focNum; item.FOCNum = this.getPeopleNum.focNum;
}) })
...@@ -1460,7 +1717,7 @@ ...@@ -1460,7 +1717,7 @@
//景点门票 //景点门票
if (this.postData.SWTTicketList && this.postData.SWTTicketList.length > 0) { if (this.postData.SWTTicketList && this.postData.SWTTicketList.length > 0) {
this.postData.SWTTicketList.forEach(rootItem => { this.postData.SWTTicketList.forEach(rootItem => {
rootItem.SubDinnerList.forEach(iten => { rootItem.SubDinnerList.forEach(item => {
item.TotalNum = this.getPeopleNum.totalNum; item.TotalNum = this.getPeopleNum.totalNum;
item.FOCNum = this.getPeopleNum.focNum; item.FOCNum = this.getPeopleNum.focNum;
}) })
......
...@@ -52,6 +52,14 @@ ...@@ -52,6 +52,14 @@
text-align: center; text-align: center;
} }
.newQuostayDays {
padding: 8px 15px;
background-color: #2aaef2;
color: #ffffff;
text-align: center;
font-size: 14px;
}
</style> </style>
<template> <template>
<div class="flexOne quoTation"> <div class="flexOne quoTation">
...@@ -78,6 +86,12 @@ ...@@ -78,6 +86,12 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>团名</em>
<el-input v-model="queryData.Title" clearable></el-input>
</span>
</li>
<li> <li>
<button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button> <button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button>
<button class="hollowFixedBtn" @click="goMakeQuo('QuotationPrice_SWT',0)">新增</button> <button class="hollowFixedBtn" @click="goMakeQuo('QuotationPrice_SWT',0)">新增</button>
...@@ -86,10 +100,10 @@ ...@@ -86,10 +100,10 @@
</div> </div>
<div class="commonContent" v-loading="loading"> <div class="commonContent" v-loading="loading">
<ul class="_content"> <ul class="_content">
<li v-for="item in dataList" :key="item.subCode" :data-id="item.ID" style="padding:0 10px;"> <li v-for="item in dataList" :key="item.subCode" :data-id="item.Id" style="padding:0 10px;">
<div class="_left" style="padding:0;flex:0.3;display:flex;"> <div class="_left" style="padding:0;flex:0.3;display:flex;">
<div class="QT_CodeNum"> <div class="QT_CodeNum">
{{$t('hotel.hotel_SerialNumber')}}{{item.ID}} {{$t('hotel.hotel_SerialNumber')}}{{item.Id}}
</div> </div>
</div> </div>
<div class="_left" style="display:flex;"> <div class="_left" style="display:flex;">
...@@ -111,9 +125,14 @@ ...@@ -111,9 +125,14 @@
</p> </p>
</div> </div>
</div> </div>
<div class="_left" style="padding-left:10px">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
出发日期 {{item.StartDateStr}}
</div>
</div>
<div class="_cent"> <div class="_cent">
<div style="margin: 0 13px 0 10px;" class="stayDays"> <div style="margin: 0 13px 0 10px;" class="newQuostayDays">
{{item.DayNum}} 出发日期 {{item.StartDateStr}}</div> {{item.DayNum}}</div>
</div> </div>
<div class="_right"> <div class="_right">
<div class="AuditUserInfo clearfix aa" style="margin-left:10px;"> <div class="AuditUserInfo clearfix aa" style="margin-left:10px;">
...@@ -140,7 +159,7 @@ ...@@ -140,7 +159,7 @@
</el-tooltip> </el-tooltip>
</span> </span>
<span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)"> <span style="background:#85ce61; " class="newAopbdd" @click="SwtDownLoadFile(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i> <i class="iconfont icon-bb-xiazai"></i>
</el-tooltip> </el-tooltip>
...@@ -219,6 +238,7 @@ ...@@ -219,6 +238,7 @@
PageSize: 10, PageSize: 10,
total: 0, total: 0,
currentPage: 1, currentPage: 1,
Title: "",
}, },
loading: true, loading: true,
//线路列表 //线路列表
...@@ -316,7 +336,7 @@ ...@@ -316,7 +336,7 @@
//报价单跳转 //报价单跳转
goMakeQuo(path, Id) { goMakeQuo(path, Id) {
this.$router.push({ this.$router.push({
path: path, name: path,
query: { query: {
Id: Id, Id: Id,
blank: 'y', blank: 'y',
...@@ -374,6 +394,26 @@ ...@@ -374,6 +394,26 @@
this.loading = false; this.loading = false;
}); });
}, },
//报价单下载
SwtDownLoadFile(item) {
this.downloadBill = false;
this.loading = true;
var swtMsg = {
Id: item.Id
};
var fileName = "";
if (item.CustomerName) {
fileName += "【" + item.CustomerName + "】";
} else if (item.LtName) {
fileName += "【" + item.LtName + "】";
} else if (item.LineName) {
fileName += "【" + item.LineName + "】";
}
fileName += "成本下载.xls";
this.GetLocalFile("quotation_get_SwtDownLoadQuotation", swtMsg, fileName, res => {
this.loading = false;
});
},
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.EditQuotation; var actionCode = this.$AuthCode.EditQuotation;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
......
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