Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
d75af8bd
Commit
d75af8bd
authored
May 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a8a63470
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
569 additions
and
272 deletions
+569
-272
QuotationPrice_SWT.vue
...s/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
+521
-264
newQuotation_SWT.vue
...nts/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
+48
-8
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
View file @
d75af8bd
...
...
@@ -29,18 +29,61 @@
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
>
<
template
>
<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>
<table
class=
"swttable"
>
<thead>
<tr>
<td
colspan=
"10"
>
<button
class=
"hollowFixedBtn"
@
click=
"SaveData()"
>
保存
</button>
</td>
</tr>
</thead>
<tbody
title=
"线路.系列.团名"
>
<tr>
<td
colspan=
"2"
class=
"ComTitle"
>
...
...
@@ -54,10 +97,10 @@
</el-option>
</el-select>
</td>
<td
c
olspan=
"2"
c
lass=
"ComTitle"
>
<td
class=
"ComTitle"
>
系列
</td>
<td
colspan=
"
3
"
>
<td
colspan=
"
4
"
>
<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
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
...
...
@@ -70,7 +113,7 @@
團名
</td>
<td
colspan=
"8"
>
<el-input
v-model=
"postData.Title"
placeholder=
"出團名稱"
></el-input>
<el-input
v-model=
"postData.Title"
class=
"w660"
placeholder=
"出團名稱"
></el-input>
</td>
</tr>
</tbody>
...
...
@@ -84,39 +127,43 @@
天數
</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>
<el-input
v-model=
"postData.AirLineName"
placeholder=
"台中連發"
class=
"w180"
></el-input>
</td>
<td
rowspan=
"3"
class=
"ComTitle"
>
航班時間:
航班時間:
<a
@
click=
"AddFlight()"
class=
"link"
>
添加航班
</a>
</td>
<td>
<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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=1"
>
<el-input
v-model=
"postData.SWTFlightList[0].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<a
@
click=
"AddFlight()"
class=
"link"
>
添加航班
</a>
</td>
</tr>
<tr>
<td>
<el-input
v-model=
"postData.DayNum"
@
keyup
.
native=
"checkInteger(postData,'DayNum')"
placeholder=
"行程天数"
maxlength=
"2"
></el-input>
<td
class=
"ComTitle"
>
出发日期:
</td>
<td>
<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>
</td>
<td
class=
"ComTitle"
>
...
...
@@ -124,22 +171,23 @@
</td>
<td>
<
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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=2"
>
<el-input
v-model=
"postData.SWTFlightList[1].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=2"
>
<a
@
click=
"DeleteFlight(1)"
class=
"link"
>
删除
</a>
</
template
>
</td>
</tr>
<tr>
...
...
@@ -148,34 +196,34 @@
</td>
<td>
<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>
<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>
<
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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=3"
>
<el-input
v-model=
"postData.SWTFlightList[2].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=3"
>
<a
@
click=
"DeleteFlight(2)"
class=
"link"
>
删除
</a>
</
template
>
</td>
</tr>
</tbody>
<tbody
title=
"领队和导游"
>
<tr>
<td
rowspan=
"3"
colspan=
"3"
class=
"ComTitle"
>
...
...
@@ -183,7 +231,7 @@
</td>
<td
rowspan=
"3"
>
<
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
>
</td>
<td
rowspan=
"3"
class=
"ComTitle"
>
...
...
@@ -191,69 +239,72 @@
</td>
<td
rowspan=
"3"
>
<
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
>
</td>
<td>
<
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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=4"
>
<el-input
v-model=
"postData.SWTFlightList[3].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=4"
>
<a
@
click=
"DeleteFlight(3)"
class=
"link"
>
删除
</a>
</
template
>
</td>
</tr>
<tr>
<td>
<
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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=5"
>
<el-input
v-model=
"postData.SWTFlightList[4].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=5"
>
<a
@
click=
"DeleteFlight(4)"
class=
"link"
>
删除
</a>
</
template
>
</td>
</tr>
<tr>
<td>
<
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>
</
template
>
</td>
<td>
<
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
>
</td>
<td
colspan=
"2"
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=6"
>
<el-input
v-model=
"postData.SWTFlightList[5].flightContent"
placeholder=
"航班信息"
></el-input>
</
template
>
<
template
v-if=
"postData.SWTFlightList&&postData.SWTFlightList.length>=6"
>
<a
@
click=
"DeleteFlight(5)"
class=
"link"
>
删除
</a>
</
template
>
</td>
</tr>
</tbody>
...
...
@@ -264,19 +315,19 @@
LOCAL團號
</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
class=
"ComTitle"
>
估價代號
</td>
<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
class=
"ComTitle"
>
出團名稱
</td>
<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>
</tr>
<tr>
...
...
@@ -284,13 +335,14 @@
AGT團號
</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
class=
"ComTitle"
>
SURCHARGE:
</td>
<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
class=
"ComTitle"
>
</td>
...
...
@@ -298,50 +350,54 @@
</td>
</tr>
</tbody>
<tbody>
<tr>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"酒店"
>
<tr>
<td
colspan=
"7"
>
<td
colspan=
"7"
class=
"ComTitle tdCenter"
>
飯店
</td>
<td>
<td
class=
"ComTitle"
>
酒店減免:
</td>
<td>
<td
colspan=
"2"
>
<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>
</td>
<td>
</td>
</tr>
<tr>
<td
:rowspan=
"1+postData.SWTHotelList.length"
class=
"ComTitle
"
>
飯店
<td
class=
"ComTitle tdCenter"
colspan=
"2
"
>
DAY
</td>
<td
class=
"ComTitle
"
colspan=
"2
"
>
<td
class=
"ComTitle
tdCenter
"
>
飯店名稱
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
房/人數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
減免人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合計
</td>
</tr>
<tr
v-for=
"(hItem,hIndex) in postData.SWTHotelList"
:key=
"hIndex"
>
<td
style=
"width:50px;"
>
<td
style=
"width:50px;"
colspan=
"2"
>
D{{hItem.DayNum}}
</td>
<td>
...
...
@@ -354,16 +410,16 @@
</td>
<td>
<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>
<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>
</td>
<td>
<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>
{{hItem.TotalNum}}
...
...
@@ -371,10 +427,10 @@
<td>
{{hItem.HotelDisNum}}
</td>
<td>
<td
class=
"w150"
>
{{hItem.USSubTotal}}
</td>
<td>
<td
class=
"w150"
>
{{hItem.VNDSubTotal}}
</td>
</tr>
...
...
@@ -405,48 +461,51 @@
</td>
</tr>
</tbody>
<tbody
title=
"餐食"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"餐食"
>
<tr>
<td
colspan=
"7"
>
<td
colspan=
"7"
class=
"ComTitle tdCenter"
>
餐食
</td>
<td>
<td
class=
"ComTitle"
>
餐食減免:
</td>
<td>
<td
colspan=
"2"
>
<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>
</td>
<td>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
class=
"ComTitle tdCenter"
>
DAY
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
餐食名稱
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
人數/FOC
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
減免人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合計
</td>
</tr>
...
...
@@ -477,16 +536,17 @@
</td>
<td>
<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>
<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>
</td>
<td>
<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>
{{childItem.TotalNum}}/ {{childItem.FOCNum}}
...
...
@@ -529,48 +589,49 @@
</td>
</tr>
</tbody>
<tbody
title=
"景點門票"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"景點門票"
>
<tr>
<td
colspan=
"7"
>
<td
colspan=
"7"
class=
"ComTitle tdCenter"
>
景點門票
</td>
<td>
<td
class=
"ComTitle"
>
景點減免:
</td>
<td>
<td
colspan=
"2"
>
<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>
</td>
<td>
</td>
</tr>
<tr>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle tdCenter"
colspan=
"2"
>
DAY
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
景點門票
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
房/人數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
減免人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
...
...
@@ -596,16 +657,17 @@
</td>
<td>
<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>
<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>
</td>
<td>
<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>
{{childItem.TotalNum}}/ {{childItem.FOCNum}}
...
...
@@ -648,48 +710,47 @@
</td>
</tr>
</tbody>
<tbody
title=
"車資"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"車資"
>
<tr>
<td
colspan=
"7"
>
<td
colspan=
"7"
class=
"ComTitle tdCenter"
>
車資
</td>
<td>
<td
class=
"ComTitle"
>
車型:
</td>
<td>
<el-select
v-model=
"postData.BusPriceId"
class=
'w
20
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<td
colspan=
"2"
>
<el-select
v-model=
"postData.BusPriceId"
class=
'w
15
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<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>
</el-select>
</td>
<td>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
class=
"ComTitle tdCenter"
>
DAY
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
行程
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
公里數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
車資
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
單價
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
...
...
@@ -715,20 +776,21 @@
</td>
<td>
<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>
<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>
</td>
<td>
<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>
<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
colspan=
"2"
>
{{childItem.VNDSubTotal}}
...
...
@@ -757,51 +819,42 @@
</tr>
</tbody>
<tbody
title=
"船或導遊機票"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"船或導遊機票"
>
<tr>
<td
colspan=
"7"
>
船或導遊機票
<a
class=
"link"
@
click=
"AddBaoJiaConfigItem(4)"
>
添加
</a>
</td>
<td>
</td>
<td>
</td>
<td>
<td
colspan=
"10"
class=
"ComTitle tdCenter"
>
船或導遊機票
<a
class=
"linkLeft"
@
click=
"AddBaoJiaConfigItem(4)"
>
添加
</a>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle tdCenter"
colspan=
"4"
>
名称
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越南盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
<
template
v-for=
"(childItem,childIndex) in postData.SWTShipList"
>
<tr
:key=
"childIndex"
>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
<a
class=
"link"
@
click=
"DeleteBaoJiaConfigItem(4,childIndex)"
>
删除
</a>
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
0
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
2
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"GetConfigItem(childItem,4),CalcFeeTotal()"
>
<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"
>
...
...
@@ -810,16 +863,17 @@
</td>
<td>
<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>
<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>
</td>
<td>
<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>
{{
childItem
.
TotalNum
}}
...
...
@@ -835,9 +889,7 @@
</tbody>
<tbody
title=
"船合计"
>
<tr>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
</td>
<td>
US合計:{{ShipSum.USPriceSum}}
...
...
@@ -857,55 +909,45 @@
</td>
</tr>
</tbody>
<tbody
title=
"雜支"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"雜支"
>
<tr>
<td
colspan=
"7"
>
雜支
<a
class=
"link"
@
click=
"AddBaoJiaConfigItem(1)"
>
添加
</a>
</td>
<td>
</td>
<td>
</td>
<td>
<td
colspan=
"10"
class=
"ComTitle tdCenter"
>
雜支
<a
class=
"linkLeft"
@
click=
"AddBaoJiaConfigItem(1)"
>
添加
</a>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle tdCenter"
colspan=
"3"
>
名称
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越南盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
FOC
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
<
template
v-for=
"(childItem,childIndex) in postData.SWTOtherPayList"
>
<tr
:key=
"childIndex"
>
<td
colspan=
"2"
>
</td>
<td>
<td
colspan=
"3"
>
<a
class=
"link"
@
click=
"DeleteBaoJiaConfigItem(1,childIndex)"
>
删除
</a>
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
0
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
2
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"GetConfigItem(childItem,1),CalcFeeTotal()"
>
<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"
>
...
...
@@ -914,11 +956,12 @@
</td>
<td>
<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>
<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>
</td>
<td>
...
...
@@ -926,11 +969,11 @@
</td>
<td>
<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>
<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>
{{
childItem
.
USSubTotal
}}
...
...
@@ -943,9 +986,7 @@
</tbody>
<tbody
title=
"杂支合计"
>
<tr>
<td
colspan=
"2"
>
</td>
<td>
<td
colspan=
"3"
>
</td>
<td>
US合計:{{ZaZhiSum.USPriceSum}}
...
...
@@ -967,52 +1008,42 @@
</td>
</tr>
</tbody>
<tbody
title=
"購物自費"
>
<tbody>
<tr>
<td
colspan=
"10"
>
</td>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"購物自費"
>
<tr>
<td
colspan=
"7"
>
購物自費
<a
class=
"link"
@
click=
"AddBaoJiaConfigItem(2)"
>
添加
</a>
</td>
<td>
</td>
<td>
</td>
<td>
<td
colspan=
"10"
class=
"ComTitle tdCenter"
>
購物自費
<a
class=
"linkLeft"
@
click=
"AddBaoJiaConfigItem(2)"
>
添加
</a>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle tdCenter"
colspan=
"4"
>
名称
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越南盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
FOC
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
<
template
v-for=
"(childItem,childIndex) in postData.SWTSelfFeeList"
>
<tr
:key=
"childIndex"
>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
<a
class=
"link"
@
click=
"DeleteBaoJiaConfigItem(2,childIndex)"
>
删除
</a>
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
0
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
2
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"GetConfigItem(childItem,2),CalcFeeTotal()"
>
<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"
>
...
...
@@ -1021,11 +1052,12 @@
</td>
<td>
<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>
<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>
</td>
<td>
...
...
@@ -1033,7 +1065,7 @@
</td>
<td>
<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>
{{
childItem
.
USSubTotal
}}
...
...
@@ -1046,9 +1078,7 @@
</tbody>
<tbody
title=
"購物自費合计"
>
<tr>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
</td>
<td>
US合計:{{SelfFeeSum.USPriceSum}}
...
...
@@ -1068,48 +1098,42 @@
</td>
</tr>
</tbody>
<tbody>
<tr>
<td
colspan=
"10"
></td>
</tr>
</tbody>
<tbody
title=
"小費"
>
<tr>
<td
colspan=
"7"
>
小費
<a
class=
"link"
@
click=
"AddBaoJiaConfigItem(3)"
>
添加
</a>
</td>
<td>
</td>
<td>
</td>
<td>
<td
colspan=
"10"
class=
"ComTitle tdCenter"
>
<a
class=
"linkLeft"
@
click=
"AddBaoJiaConfigItem(3)"
>
添加
</a>
小費
</td>
</tr>
<tr>
<td
colspan=
"2"
>
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle tdCenter"
colspan=
"4"
>
名称
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
美金
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
越南盾
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
次/N數
</td>
<td
class=
"ComTitle"
>
<td
class=
"ComTitle
tdCenter
"
>
FOC
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
<td
class=
"ComTitle
tdCenter
"
colspan=
"2"
>
合计
</td>
</tr>
<
template
v-for=
"(childItem,childIndex) in postData.SWTTipFeeList"
>
<tr
:key=
"childIndex"
>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
<a
class=
"link"
@
click=
"DeleteBaoJiaConfigItem(3,childIndex)"
>
删除
</a>
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
0
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
"childItem.BaoJiaConfigId"
class=
'w2
2
0'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"GetConfigItem(childItem,3),CalcFeeTotal()"
>
<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"
>
...
...
@@ -1118,11 +1142,12 @@
</td>
<td>
<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>
<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>
</td>
<td>
...
...
@@ -1130,7 +1155,7 @@
</td>
<td>
<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>
{{
childItem
.
USSubTotal
}}
...
...
@@ -1143,9 +1168,7 @@
</tbody>
<tbody
title=
"小費合计"
>
<tr>
<td
colspan=
"2"
>
</td>
<td
colspan=
"2"
>
<td
colspan=
"4"
>
</td>
<td>
US合計:{{TipFeeSum.USPriceSum}}
...
...
@@ -1165,6 +1188,177 @@
</td>
</tr>
</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>
</div>
</div>
...
...
@@ -1276,6 +1470,35 @@
};
},
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格式
getflightJson
()
{
var
obj
=
{
...
...
@@ -1328,11 +1551,13 @@
return
obj
;
},
getData
()
{
this
.
apipost
(
"travel_get_GetBaoJiaDanSwtService"
,
{
Id
:
this
.
Id
,
},
res
=>
{
var
qmsg
=
{
Id
:
this
.
Id
};
this
.
apipost
(
"travel_get_GetBaoJiaDanSwtService"
,
qmsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
jsonData
=
res
.
data
.
data
;
if
(
jsonData
)
{
this
.
postData
.
Id
=
jsonData
.
Id
;
this
.
postData
.
LineId
=
jsonData
.
LineId
;
...
...
@@ -1374,20 +1599,29 @@
this
.
postData
.
SWTGuideList
.
push
(
this
.
getLeaderGuideJson
());
}
//酒店
this
.
postData
.
HotelDisNum
=
jsonData
.
HotelDisNum
;
if
(
jsonData
.
HotelDisNum
)
{
this
.
postData
.
HotelDisNum
=
jsonData
.
HotelDisNum
;
}
if
(
jsonData
.
SWTHotelList
)
{
this
.
postData
.
SWTHotelList
=
jsonData
.
SWTHotelList
;
}
//餐厅
this
.
postData
.
DinnerDisNum
=
jsonData
.
DinnerDisNum
;
if
(
jsonData
.
DinnerDisNum
)
{
this
.
postData
.
DinnerDisNum
=
jsonData
.
DinnerDisNum
;
}
if
(
jsonData
.
SWTDinnerList
)
{
this
.
postData
.
SWTDinnerList
=
jsonData
.
SWTDinnerList
;
}
//景点
this
.
postData
.
TicketDisNum
=
jsonData
.
TicketDisNum
;
if
(
jsonData
.
TicketDisNum
)
{
this
.
postData
.
TicketDisNum
=
jsonData
.
TicketDisNum
;
}
if
(
jsonData
.
SWTTicketList
)
{
this
.
postData
.
SWTTicketList
=
jsonData
.
SWTTicketList
;
}
//车资
this
.
postData
.
BusPriceId
=
jsonData
.
BusPriceId
;
if
(
jsonData
.
SWTBusList
)
{
...
...
@@ -1430,16 +1664,39 @@
});
},
//保存数据
SaveData
()
{
SaveData
(
type
)
{
this
.
apipost
(
"travel_post_SetBaoJiaDanSwtService"
,
this
.
postData
,
res
=>
{
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
);
}
else
{
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
()
{
//酒店
...
...
@@ -1451,7 +1708,7 @@
//餐
if
(
this
.
postData
.
SWTDinnerList
&&
this
.
postData
.
SWTDinnerList
.
length
>
0
)
{
this
.
postData
.
SWTDinnerList
.
forEach
(
rootItem
=>
{
rootItem
.
SubDinnerList
.
forEach
(
ite
n
=>
{
rootItem
.
SubDinnerList
.
forEach
(
ite
m
=>
{
item
.
TotalNum
=
this
.
getPeopleNum
.
totalNum
;
item
.
FOCNum
=
this
.
getPeopleNum
.
focNum
;
})
...
...
@@ -1460,7 +1717,7 @@
//景点门票
if
(
this
.
postData
.
SWTTicketList
&&
this
.
postData
.
SWTTicketList
.
length
>
0
)
{
this
.
postData
.
SWTTicketList
.
forEach
(
rootItem
=>
{
rootItem
.
SubDinnerList
.
forEach
(
ite
n
=>
{
rootItem
.
SubDinnerList
.
forEach
(
ite
m
=>
{
item
.
TotalNum
=
this
.
getPeopleNum
.
totalNum
;
item
.
FOCNum
=
this
.
getPeopleNum
.
focNum
;
})
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
View file @
d75af8bd
...
...
@@ -52,6 +52,14 @@
text-align
:
center
;
}
.newQuostayDays
{
padding
:
8px
15px
;
background-color
:
#2aaef2
;
color
:
#ffffff
;
text-align
:
center
;
font-size
:
14px
;
}
</
style
>
<
template
>
<div
class=
"flexOne quoTation"
>
...
...
@@ -78,6 +86,12 @@
</el-select>
</span>
</li>
<li>
<span>
<em>
团名
</em>
<el-input
v-model=
"queryData.Title"
clearable
></el-input>
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"getList(),resetPageIndex()"
>
查询
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goMakeQuo('QuotationPrice_SWT',0)"
>
新增
</button>
...
...
@@ -86,10 +100,10 @@
</div>
<div
class=
"commonContent"
v-loading=
"loading"
>
<ul
class=
"_content"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.I
D
"
style=
"padding:0 10px;"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.I
d
"
style=
"padding:0 10px;"
>
<div
class=
"_left"
style=
"padding:0;flex:0.3;display:flex;"
>
<div
class=
"QT_CodeNum"
>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
I
D
}}
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
I
d
}}
</div>
</div>
<div
class=
"_left"
style=
"display:flex;"
>
...
...
@@ -111,9 +125,14 @@
</p>
</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
style=
"margin: 0 13px 0 10px;"
class=
"stayDays"
>
{{
item
.
DayNum
}}
天
出发日期
{{
item
.
StartDateStr
}}
</div>
<div
style=
"margin: 0 13px 0 10px;"
class=
"
newQuo
stayDays"
>
{{
item
.
DayNum
}}
天
</div>
</div>
<div
class=
"_right"
>
<div
class=
"AuditUserInfo clearfix aa"
style=
"margin-left:10px;"
>
...
...
@@ -125,9 +144,9 @@
<div>
{{
item
.
CreateByName
}}
</div>
</div>
</div>
<div
style=
"width:134px;"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationPrice_SWT',item.Id)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
...
...
@@ -140,7 +159,7 @@
</el-tooltip>
</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"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
</el-tooltip>
...
...
@@ -219,6 +238,7 @@
PageSize
:
10
,
total
:
0
,
currentPage
:
1
,
Title
:
""
,
},
loading
:
true
,
//线路列表
...
...
@@ -316,7 +336,7 @@
//报价单跳转
goMakeQuo
(
path
,
Id
)
{
this
.
$router
.
push
({
path
:
path
,
name
:
path
,
query
:
{
Id
:
Id
,
blank
:
'y'
,
...
...
@@ -374,6 +394,26 @@
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
()
{
var
actionCode
=
this
.
$AuthCode
.
EditQuotation
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment