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
0ccf2f01
Commit
0ccf2f01
authored
Dec 18, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4625c090
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
307 additions
and
257 deletions
+307
-257
SingleContract.vue
src/components/SingleContract.vue
+30
-101
TravelContractConfirm.vue
src/components/TravelContractConfirm.vue
+218
-112
TravelContractView.vue
src/components/TravelContractView.vue
+59
-44
No files found.
src/components/SingleContract.vue
View file @
0ccf2f01
...
...
@@ -579,15 +579,11 @@
<el-form-item
style=
"display:inline-block;"
label=
"费用总额(小写)人民币"
prop=
"C_TotalPrice"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"CtObj.C_TotalPrice"
@
keyup
.
native=
"checkPrice(CtObj,'C_TotalPrice'),number_chinese(CtObj.C_TotalPrice)"
maxlength=
"10"
></el-input>
<template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
maxlength=
"10"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
<el-form-item
style=
"display:inline-block;"
label=
"(大写)人民币"
label-width=
"120px"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"AmountMoney"
></el-input>
元
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"AmountMoney"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -691,24 +687,9 @@
<th
width=
"15%"
>
出发地
</th>
<th
width=
"12%"
>
目的地
</th>
<th
width=
"12%"
>
航班号
</th>
<th
width=
"12%"
>
机票金额(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张)
</th>
<th
width=
"12%"
>
机场建设费(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张)
</th>
<th
width=
"12%"
>
定金(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张)
</th>
<th
width=
"12%"
>
机票金额(
{{
getCurrencyStr
()
}}
/张)
</th>
<th
width=
"12%"
>
机场建设费(
{{
getCurrencyStr
()
}}
/张)
</th>
<th
width=
"12%"
>
定金(
{{
getCurrencyStr
()
}}
/张)
</th>
<th
width=
"100"
>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in CtObj.ContractTicketList"
:key=
"index"
>
...
...
@@ -780,12 +761,7 @@
<div
style=
"margin-left:50px"
>
<el-form-item
label=
"机票预定费用总额:"
label-width=
"140px"
>
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'TicketTotalDepositPrice')"
v-model=
"CtObj.TicketTotalDepositPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.TicketTotalDepositPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -817,21 +793,11 @@
</th>
<th>
<div>
房费
</div>
<div>
(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/间/晚)
</div>
<div>
(
{{
getCurrencyStr
()
}}
/间/晚)
</div>
</th>
<th>
<div>
定金
</div>
<div>
(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/间/晚)
</div>
<div>
(
{{
getCurrencyStr
()
}}
/间/晚)
</div>
</th>
<th>
入住日期
</th>
<th>
离店日期
</th>
...
...
@@ -929,12 +895,7 @@
<div>
<el-form-item
style=
"display:inline-block;"
label=
"费用共计:"
label-width=
"140px"
>
<el-input
type=
"text"
class=
"w180"
@
keyup
.
native=
"checkPrice(CtObj,'HotelTotalPrice')"
v-model=
"CtObj.HotelTotalPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.HotelTotalPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -1011,12 +972,7 @@
<div
style=
"margin:20px 0 0 50px"
>
<el-form-item
style=
"display:inline-block;"
label=
"费用共计:"
label-width=
"90px"
>
<el-input
type=
"text"
class=
"w180"
@
keyup
.
native=
"checkPrice(CtObj,'PickUpTotalPrice')"
v-model=
"CtObj.PickUpTotalPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.PickUpTotalPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -1039,18 +995,8 @@
<th
width=
"60"
>
序号
</th>
<th>
国家(个人签证)
</th>
<th>
停留时间
</th>
<th>
代办签证费用(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/个)
</th>
<th>
交付保证金(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/个)
</th>
<th>
代办签证费用(
{{
getCurrencyStr
()
}}
/个)
</th>
<th>
交付保证金(
{{
getCurrencyStr
()
}}
/个)
</th>
<th
width=
"100"
>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in CtObj.ContractVisaList"
:key=
"index"
>
...
...
@@ -1095,12 +1041,7 @@
<div
style=
"margin:20px 0 0 50px"
>
<el-form-item
style=
"display:inline-block;"
label=
"合计金额:"
label-width=
"90px"
>
<el-input
type=
"text"
class=
"w180"
@
keyup
.
native=
"checkPrice(CtObj,'VisaTotalPrice')"
v-model=
"CtObj.VisaTotalPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.VisaTotalPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -1127,18 +1068,8 @@
<th>
目的地
</th>
<th>
航班号
</th>
<th>
舱位
</th>
<th>
机票金额(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张)
</th>
<th>
机场建设费(
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张)
</th>
<th>
机票金额(
{{
getCurrencyStr
()
}}
/张)
</th>
<th>
机场建设费(
{{
getCurrencyStr
()
}}
/张)
</th>
<th
width=
"100"
>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in CtObj.ContractTicketAndHotel.ContractTickets"
:key=
"index"
>
...
...
@@ -1275,12 +1206,7 @@
<div
style=
"margin:20px 0 0 50px"
>
<el-form-item
style=
"display:inline-block;"
label=
"合计金额:"
label-width=
"90px"
>
<el-input
type=
"text"
class=
"w180"
@
keyup
.
native=
"checkPrice(CtObj,'TicketAndHotelTotalPrice')"
v-model=
"CtObj.TicketAndHotelTotalPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.TicketAndHotelTotalPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</td>
...
...
@@ -1301,12 +1227,7 @@
<div
style=
"margin:20px 0 0 50px"
>
<el-form-item
style=
"display:inline-block;"
label=
"其他服务费用合计:"
label-width=
"140px"
>
<el-input
type=
"text"
class=
"w180"
@
keyup
.
native=
"checkPrice(CtObj,'OtherConventionPrice')"
v-model=
"CtObj.OtherConventionPrice"
></el-input>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
v-model=
"CtObj.OtherConventionPrice"
></el-input>
{{
getCurrencyStr
()
}}
</el-form-item>
</div>
</div>
...
...
@@ -2099,8 +2020,11 @@
//小写金额转大写
number_chinese
(
str
)
{
var
num
=
parseFloat
(
str
);
var
strOutput
=
""
,
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
var
strOutput
=
""
;
var
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾円角分'
;
}
num
+=
"00"
;
var
intPos
=
num
.
indexOf
(
'.'
);
if
(
intPos
>=
0
)
{
...
...
@@ -2110,8 +2034,13 @@
for
(
var
i
=
0
;
i
<
num
.
length
;
i
++
)
{
strOutput
+=
'零壹贰叁肆伍陆柒捌玖'
.
substr
(
num
.
substr
(
i
,
1
),
1
)
+
strUnit
.
substr
(
i
,
1
);
}
this
.
AmountMoney
=
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
if
(
this
.
CtObj
.
SignType
==
0
)
{
this
.
AmountMoney
=
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
}
else
{
this
.
AmountMoney
=
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'円'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零円"
)
}
}
},
created
()
{
...
...
src/components/TravelContractConfirm.vue
View file @
0ccf2f01
...
...
@@ -812,9 +812,24 @@
<font>
{{
getDate
(
item
.
TicketTime
)
}}
</font>
<font>
{{
item
.
StartPlace
}}
</font>
/
<font>
{{
item
.
ArrivePlace
}}
</font>
航班号
<font>
{{
item
.
FlightNum
}}
</font>
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
元/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
元/张
</p>
<p>
定金
<font>
{{
item
.
DepositPrice
}}
</font>
元/张
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张
</p>
<p>
机场建设费
<font>
{{item.AirportPirce}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张
</p>
<p>
定金
<font>
{{item.DepositPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张
</p>
</template>
</el-col>
</el-row>
...
...
@@ -836,7 +851,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
机票预定费用总额:
<font>
{{CtObj.TicketTotalDepositPrice}}
</font>
元
</p>
<p>
机票预定费用总额:
<font>
{{CtObj.TicketTotalDepositPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -858,8 +878,18 @@
</p>
<p>
人数:成人人数:
<font>
{{
item
.
AdultNum
}}
</font>
人 儿童人数:
<font>
{{
item
.
ChildrenNum
}}
</font>
人(不占床位、不加床位)
</p>
<p>
房费:
<font>
{{
item
.
RoomPrice
}}
</font>
元/间/晚
</p>
<p>
定金:
<font>
{{
item
.
DepositPrice
}}
</font>
元/间/晚
</p>
<p>
房费:
<font>
{{
item
.
RoomPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/间/晚
</p>
<p>
定金:
<font>
{{item.DepositPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/间/晚
</p>
<p>
入住日期:
<font>
{{item.CheckInDate}}
</font>
/离店日期:
<font>
{{item.OutDate}}
</font>
</p>
</template>
...
...
@@ -899,7 +929,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
费用共计:
<font>
{{CtObj.HotelTotalPrice}}
</font>
元
</p>
<p>
费用共计:
<font>
{{CtObj.HotelTotalPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -925,7 +960,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
费用合计:
<font>
{{CtObj.PickUpTotalPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.PickUpTotalPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -942,8 +982,18 @@
<p>
<font>
{{
item
.
Country
}}
</font>
国家的个人签证
希望停留时间
<font>
{{
item
.
StopTime
}}
</font>
</p>
<p>
代办签证费用:
<font>
{{
item
.
VisaPrice
}}
</font>
元/人
交付保证金:
<font>
{{
item
.
DepositPrice
}}
</font>
元/人
</p>
<p>
代办签证费用:
<font>
{{
item
.
VisaPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
交付保证金:
<font>
{{item.DepositPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
</p>
</template>
</el-col>
</el-row>
...
...
@@ -951,7 +1001,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
合计金额:
<font>
{{CtObj.VisaTotalPrice}}
</font>
元
</p>
<p>
合计金额:
<font>
{{CtObj.VisaTotalPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -973,8 +1028,18 @@
</p>
<p>
舱位
<font>
{{
item
.
TicketSpace
}}
</font>
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
元/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
元/张
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张
</p>
<p>
机场建设费
<font>
{{item.AirportPirce}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/张
</p>
</template>
<
template
v-if=
"CtObj.ContractTicketAndHotel && CtObj.ContractTicketAndHotel.ContractHotels && CtObj.ContractTicketAndHotel.ContractHotels.length>0"
...
...
@@ -986,8 +1051,18 @@
</p>
<p>
入住日期:
<font>
{{
item
.
CheckInDate
}}
</font>
/离店日期:
<font>
{{
item
.
OutDate
}}
</font>
</p>
<p>
费用:成人费用:
<font>
{{
item
.
AdultPrice
}}
</font>
元/人
儿童费用:
<font>
{{
item
.
ChildrenPrice
}}
</font>
元/人(不占床位、不加床位)
</p>
<p>
费用:成人费用:
<font>
{{
item
.
AdultPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
儿童费用:
<font>
{{item.ChildrenPrice}}
</font>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人(不占床位、不加床位)
</p>
</template>
</el-col>
</el-row>
...
...
@@ -995,7 +1070,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
费用合计:
<font>
{{CtObj.TicketAndHotelTotalPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.TicketAndHotelTotalPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -1015,72 +1095,77 @@
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<!--2023-06-12新增-->
<p>
因部分旅游资源需提前预订的特殊性,本产品线路在旅行社成团后至出行前29天外取消的,也将产生实际损失,具体损失包括但不限于机票、酒店等,如旅游者需要取消订单,应及时联系旅行社,旅行社除协助旅游者减损并退还未实际发生的损失费用外不再承担其他赔偿责任。
</p>
<p>
前29 ~ 15日(含) :收取总费用5%
</p>
<p>
前14 ~ 7日(含) :收取总费用20%
</p>
<p>
前6 ~ 4日(含) :收取总费用50%
</p>
<p>
前3 ~ 1日(含) :收取总费用60%
</p>
<p>
行程当日:收取总费用70%
</p>
<p>
旅行社违约:如按上述比例支付的违约金不足以赔偿旅游者的实际损失,旅行社应当按实际损失对旅游者予以赔偿。
</p>
<p>
行程前已成团违约金
</p>
<p>
前29 ~ 15日(含):收取总费用5%
</p>
<p>
前14 ~ 7日(含):收取总费用20%
</p>
<p>
前6 ~ 4日(含):收取总费用50%
</p>
<p>
前3 ~ 1日(含):收取总费用60%
</p>
<p>
行程当日:收取总费用70%
</p>
<p>
旅游者违约:如按上述约定比例扣除的必要的费用低于实际发生的费用,旅游者按照实际发生的费用支付,但最高额不应当超过旅游费用总额。
</p>
<p>
因部分旅游资源需提前预订的特殊性,本产品线路在旅行社成团后至出行前29天外取消的,也将产生实际损失,具体损失包括但不限于机票、酒店等,如旅游者需要取消订单,应及时联系旅行社,旅行社除协助旅游者减损并退还未实际发生的损失费用外不再承担其他赔偿责任。
</p>
<!--新增结束-->
<p>
本人已阅读了本合同所有条款,乙方(旅行社)已就合同条款对本人进行了真实、准确、完整的说明,本人已完全了解合同条款的内容及含义并同意本合同条款包括行程中有关自愿购物活动以及自愿参加另付费旅游项目的说明,同时本人悉知自身身体适宜此次旅行。
</p>
<p>
烦请务必携带自身常用药品,如有身体不适必须第一时间告知随团导游或领队,并及时到当地医院做检查,如因个人原因耽误病情,一切后果均由客人自行承担。
</p>
<p>
旅游意外伤害险:若旅行社购买赠送客人,如有出险理赔视为旅行社责任风险分摊,保险公司赔偿金额为最终赔付,旅行社不再进行赔偿。
</p>
<p>
签约委托授权书:本人已征得其余全体委托人同意作为本次旅游出行签约代表(全体委托人名单详见游客名单),全体委托人享受本合同约定的权利,履行本合同约定的义务,受托人在旅游合同及其附件上的签字全体委托人均予以认可。
</p>
<p>
健康承诺书:在旅游过程中,如本人未按贵社要求如实告知相关健康情况,本人承担因此而产生的全部后果,并承担给贵社造成损失的赔偿责任。本人自愿放弃不适宜本人身体状况参加的相应景点或相应活动;若因本人坚持参加而所产生的全部后果均由本人自行承担。本人因自身过错,造成的一切其他损失由本人承担。本人作为此次出行的签约代表,已就此承诺告知了全体委托人及其直系亲属并得到他们的同意。
</p>
<p>
如其他游客不予认可本合同或者本人未取得授权、未告知本合同及相关告知书内容的,由本人承担相应责任。
</p>
<p>
因部分旅游资源需提前预订的特殊性,本产品线路在旅行社成团后至出行前29天外取消的,也将产生实际损失,具体损失包括但不限于机票、酒店等,如旅游者需要取消订单,应及时联系旅行社,旅行社除协助旅游者减损并退还未实际发生的损失费用外不再承担其他赔偿责任。
</p>
<p>
前29 ~ 15日(含) :收取总费用5%
</p>
<p>
前14 ~ 7日(含) :收取总费用20%
</p>
<p>
前6 ~ 4日(含) :收取总费用50%
</p>
<p>
前3 ~ 1日(含) :收取总费用60%
</p>
<p>
行程当日:收取总费用70%
</p>
<p>
旅行社违约:如按上述比例支付的违约金不足以赔偿旅游者的实际损失,旅行社应当按实际损失对旅游者予以赔偿。
</p>
<p>
行程前已成团违约金
</p>
<p>
前29 ~ 15日(含):收取总费用5%
</p>
<p>
前14 ~ 7日(含):收取总费用20%
</p>
<p>
前6 ~ 4日(含):收取总费用50%
</p>
<p>
前3 ~ 1日(含):收取总费用60%
</p>
<p>
行程当日:收取总费用70%
</p>
<p>
旅游者违约:如按上述约定比例扣除的必要的费用低于实际发生的费用,旅游者按照实际发生的费用支付,但最高额不应当超过旅游费用总额。
</p>
<p>
因部分旅游资源需提前预订的特殊性,本产品线路在旅行社成团后至出行前29天外取消的,也将产生实际损失,具体损失包括但不限于机票、酒店等,如旅游者需要取消订单,应及时联系旅行社,旅行社除协助旅游者减损并退还未实际发生的损失费用外不再承担其他赔偿责任。
</p>
<!--新增结束-->
<p>
本人已阅读了本合同所有条款,乙方(旅行社)已就合同条款对本人进行了真实、准确、完整的说明,本人已完全了解合同条款的内容及含义并同意本合同条款包括行程中有关自愿购物活动以及自愿参加另付费旅游项目的说明,同时本人悉知自身身体适宜此次旅行。
</p>
<p>
烦请务必携带自身常用药品,如有身体不适必须第一时间告知随团导游或领队,并及时到当地医院做检查,如因个人原因耽误病情,一切后果均由客人自行承担。
</p>
<p>
旅游意外伤害险:若旅行社购买赠送客人,如有出险理赔视为旅行社责任风险分摊,保险公司赔偿金额为最终赔付,旅行社不再进行赔偿。
</p>
<p>
签约委托授权书:本人已征得其余全体委托人同意作为本次旅游出行签约代表(全体委托人名单详见游客名单),全体委托人享受本合同约定的权利,履行本合同约定的义务,受托人在旅游合同及其附件上的签字全体委托人均予以认可。
</p>
<p>
健康承诺书:在旅游过程中,如本人未按贵社要求如实告知相关健康情况,本人承担因此而产生的全部后果,并承担给贵社造成损失的赔偿责任。本人自愿放弃不适宜本人身体状况参加的相应景点或相应活动;若因本人坚持参加而所产生的全部后果均由本人自行承担。本人因自身过错,造成的一切其他损失由本人承担。本人作为此次出行的签约代表,已就此承诺告知了全体委托人及其直系亲属并得到他们的同意。
</p>
<p>
如其他游客不予认可本合同或者本人未取得授权、未告知本合同及相关告知书内容的,由本人承担相应责任。
</p>
</el-col>
</el-row>
</li>
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
费用合计:
<font>
{{CtObj.OtherConventionPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.OtherConventionPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
></p>
</el-col>
</el-row>
</li>
...
...
@@ -1150,7 +1235,6 @@
src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII="
style=
"margin-bottom: -4px;width:3rem;"
/>
</
template
>
等共计
<span>
<font>
{{getTotalNum(getCount())}}
</font></span>
项服务。
</p>
</el-col>
</el-row>
...
...
@@ -1158,7 +1242,12 @@
<li>
<el-row>
<el-col
:span=
"24"
style=
"text-align:left;"
>
<p>
费用总额(小写)人民币
<span>
{{CtObj.C_TotalPrice}}
</span>
元
(大写)人民币
<span>
<p>
费用总额(小写)人民币
<span>
{{CtObj.C_TotalPrice}}
</span><
template
v-if=
"CtObj.SignType==0"
>
{{
getCurrencyStr
()
}}
</
template
>
<
template
v-else
>
円
</
template
>
(大写)人民币
<span>
<font>
{{number_chinese(CtObj.C_TotalPrice)}}
</font>
</span></p>
</el-col>
...
...
@@ -1251,9 +1340,22 @@
src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII="
style=
"margin-bottom: -4px;width:3rem;"
/>
</
template
>
等共计
<span>
<font>
{{getTotalNum(getCount())}}
</font></span>
项服务。
</p>
<p>
费用总额(小写)人民币
<span>
{{CtObj.C_TotalPrice}}
</span>
元
(大写)人民币
<span>
<p>
费用总额(小写)
<
template
v-if=
"CtObj.SigeType==0"
>
人民币
</
template
>
<
template
v-else
>
日元
</
template
>
<span>
{{CtObj.C_TotalPrice}}
</span>
{{getCurrencyStr()}}
(大写)
<
template
v-if=
"CtObj.SigeType==0"
>
人民币
</
template
>
<
template
v-else
>
日元
</
template
><span>
<font>
{{number_chinese(CtObj.C_TotalPrice)}}
</font>
</span></p>
<br>
...
...
@@ -1712,8 +1814,10 @@
<p
class=
"toTopDistance"
>
第二十一条 旅游费用及支付(以人民币为计算单位)
</p>
</h3>
<p>
成人
<font>
{{
CtObj
.
C_AdultPrice
}}
</font>
元/人,儿童(不满14岁)
<font>
{{
CtObj
.
C_ChildrenPrice
}}
</font>
元/人;其中,导游服务费
<font>
{{
CtObj
.
C_GuideServicePrice
}}
</font>
元/人;旅游费用合计:
<font>
{{
CtObj
.
C_TotalPrice
}}
</font>
元。
成人
<font>
{{
CtObj
.
C_AdultPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人,儿童(不满14岁)
<font>
{{
CtObj
.
C_ChildrenPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人;其中,导游服务费
<font>
{{
CtObj
.
C_GuideServicePrice
}}
</font>
{{
getCurrencyStr
()
}}
/人;旅游费用合计:
<font>
{{
CtObj
.
C_TotalPrice
}}
</font>
{{
getCurrencyStr
()
}}
。
</p>
<p>
旅游费用支付方式:
<font
v-if=
"CtObj.C_PayType==1"
>
现金
</font>
...
...
@@ -2121,7 +2225,7 @@
</el-row>
<el-row>
<el-col
:span=
"10"
>
<el-col
:span=
"12"
style=
"text-align:right"
>
费用(
元
):
</el-col>
<el-col
:span=
"12"
style=
"text-align:right"
>
费用(
{{
getCurrencyStr
()
}}
):
</el-col>
<el-col
:span=
"12"
style=
"text-align:left"
>
{{
item
.
SelfFeePrice
}}
</el-col>
</el-col>
<el-col
:span=
"14"
>
...
...
@@ -2285,25 +2389,10 @@
<p>
旅游费用:
成人
<font>
{{
CtObj
.
C_AdultNum
}}
</font>
人
×
<font>
{{
CtObj
.
C_AdultPrice
}}
</font><template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
×
<font>
{{
CtObj
.
C_AdultPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人
+儿童
<font>
{{
CtObj
.
C_ChildrenNum
}}
</font>
人
×
<font>
{{CtObj.C_ChildrenPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
=
<font>
{{CtObj.C_TotalPrice}}
</font><
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
×
<font>
{{
CtObj
.
C_ChildrenPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人
=
{{
getCurrencyStr
()
}}
</p>
<p>
含:
<font>
{{
CtObj
.
C_IncludeRemark
}}
</font>
...
...
@@ -2954,8 +3043,10 @@
<p
class=
"toTopDistance"
>
第二十一条 旅游费用及支付(以人民币为计算单位)
</p>
</h3>
<p>
成人
<font>
{{dataList.adultPrice}}
</font>
元/人,小孩
<font>
{{dataList.childPrice}}
</font>
元/人;其中,导游服务费
<font>
{{dataList.servicePrice}}
</font>
元/人;旅游费用合计:
<font>
{{dataList.orderPrice}}
</font>
元。
成人
<font>
{{dataList.adultPrice}}
</font>
{{getCurrencyStr()}}/人,小孩
<font>
{{dataList.childPrice}}
</font>
{{getCurrencyStr()}}/人;其中,导游服务费
<font>
{{dataList.servicePrice}}
</font>
{{getCurrencyStr()}}/人;旅游费用合计:
<font>
{{dataList.orderPrice}}
</font>
{{getCurrencyStr()}}。
</p>
<p>
旅游费用支付方式:
<font>
{{dataList.payType==1?'现金':'转账'}}
</font>
</p>
...
...
@@ -2966,7 +3057,7 @@
</h3>
<p>
旅游者
<font>
{{dataList.insuranceOpinion==1?'同意':'不同意'}}
</font>
(同意或者不同意,打勾无效)委托出境社办理人身意外伤害保险,保险公司名称
<font></font>
(投保的相关信息以实际保单为准);保险金额:
<font>
{{dataList.insuranceAmount}}
</font>
元
人民币。
<font></font>
(投保的相关信息以实际保单为准);保险金额:
<font>
{{dataList.insuranceAmount}}
</font>
{{getCurrencyStr()}}
人民币。
</p>
<p>
旅游者
<font>
{{dataList.clientName}}
</font>
(姓名)已阅读知悉保险条款,个人旅游人身意外伤害保险赔付标准按相关保险条款规定执行。
</p>
<h3>
...
...
@@ -3720,7 +3811,7 @@
Tourists_Sign
:
''
,
CreateTimeStr
:
""
,
IsTravelAgencySignature
:
0
,
//判断是否盖章
SignType
:
0
,
//
SignType
:
0
,
//
},
};
},
...
...
@@ -3731,6 +3822,13 @@
}
},
methods
:
{
getCurrencyStr
()
{
var
str
=
"元"
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
str
=
"円"
}
return
str
;
},
getCount
()
{
var
serviceCount
=
0
;
if
(
this
.
CtObj
.
ContractTicketList
!=
null
&&
this
.
CtObj
.
ContractTicketList
.
length
>
0
)
{
...
...
@@ -3752,7 +3850,7 @@
}
return
serviceCount
;
},
ChangeTab
(
num
)
{
this
.
ActiveTab
=
num
;
},
...
...
@@ -3867,8 +3965,8 @@
this
.
CtObj
.
ZhangImg
=
tempObj
.
ZhangImg
;
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
;
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
;
this
.
CtObj
.
SignType
=
tempObj
.
SignType
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
;
this
.
CtObj
.
SignType
=
tempObj
.
SignType
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
if
(
...
...
@@ -4132,8 +4230,11 @@
//小写金额转大写
number_chinese
(
str
)
{
var
num
=
parseFloat
(
str
);
var
strOutput
=
""
,
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
var
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
var
strOutput
=
""
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾円角分'
;
}
num
+=
"00"
;
var
intPos
=
num
.
indexOf
(
'.'
);
if
(
intPos
>=
0
)
{
...
...
@@ -4143,8 +4244,13 @@
for
(
var
i
=
0
;
i
<
num
.
length
;
i
++
)
{
strOutput
+=
'零壹贰叁肆伍陆柒捌玖'
.
substr
(
num
.
substr
(
i
,
1
),
1
)
+
strUnit
.
substr
(
i
,
1
);
}
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
if
(
this
.
CtObj
.
SignType
==
1
)
{
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'円'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零円"
)
}
else
{
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
}
},
getCanvas
()
{
let
el
=
document
.
getElementById
(
"canvas"
);
...
...
src/components/TravelContractView.vue
View file @
0ccf2f01
...
...
@@ -593,9 +593,9 @@
/
<font>
{{
item
.
ArrivePlace
}}
</font>
航班号
<font>
{{
item
.
FlightNum
}}
</font>
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
元
/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
元
/张
</p>
<p>
定金
<font>
{{
item
.
DepositPrice
}}
</font>
元
/张
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
{{
getCurrencyStr
()
}}
/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
{{
getCurrencyStr
()
}}
/张
</p>
<p>
定金
<font>
{{
item
.
DepositPrice
}}
</font>
{{
getCurrencyStr
()
}}
/张
</p>
</
template
>
</td>
...
...
@@ -603,7 +603,7 @@
<p>
共计:
<font>
{{CtObj.TicketTotalNum}}
</font>
张机票
</p>
<p>
合同签订后
<font>
{{CtObj.TicketOutDayNum}}
</font>
日内出票,本机票出票后不得退票、改签。由于旅游者原因退、改签机票款全部损失,由旅游者自行承担。
</p>
<p>
机票预定费用总额:
<font>
{{CtObj.TicketTotalDepositPrice}}
</font>
元
</p>
<p>
机票预定费用总额:
<font>
{{CtObj.TicketTotalDepositPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
<tr>
...
...
@@ -617,8 +617,8 @@
</p>
<p>
人数:成人人数:
<font>
{{
item
.
AdultNum
}}
</font>
人 儿童人数:
<font>
{{
item
.
ChildrenNum
}}
</font>
人(不占床位、不加床位)
</p>
<p>
房费:
<font>
{{
item
.
RoomPrice
}}
</font>
元
/间/晚
</p>
<p>
定金:
<font>
{{
item
.
DepositPrice
}}
</font>
元
/间/晚
</p>
<p>
房费:
<font>
{{
item
.
RoomPrice
}}
</font>
{{
getCurrencyStr
()
}}
/间/晚
</p>
<p>
定金:
<font>
{{
item
.
DepositPrice
}}
</font>
{{
getCurrencyStr
()
}}
/间/晚
</p>
<p>
入住日期:
<font>
{{
item
.
CheckInDate
}}
</font>
/离店日期:
<font>
{{
item
.
OutDate
}}
</font>
</p>
</
template
>
...
...
@@ -630,7 +630,7 @@
<p>
下订单后通知旅游者的方式:
<font>
{{CtObj.HotelNotice}}
</font>
</p>
<p>
该酒店一经下订单不退、不改,如因客人原因退、改房,房费全损,由旅游者承担。
</p>
<p>
费用共计:
<font>
{{CtObj.HotelTotalPrice}}
</font>
元
</p>
<p>
费用共计:
<font>
{{CtObj.HotelTotalPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
<tr>
...
...
@@ -646,7 +646,7 @@
</
template
>
</td>
<td>
<p>
费用合计:
<font>
{{CtObj.PickUpTotalPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.PickUpTotalPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
<tr>
...
...
@@ -657,12 +657,12 @@
<p>
<font>
{{
item
.
Country
}}
</font>
国家的个人签证
希望停留时间
<font>
{{
item
.
StopTime
}}
</font>
</p>
<p>
代办签证费用:
<font>
{{
item
.
VisaPrice
}}
</font>
元
/人
交付保证金:
<font>
{{
item
.
DepositPrice
}}
</font>
元
/人
</p>
<p>
代办签证费用:
<font>
{{
item
.
VisaPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人
交付保证金:
<font>
{{
item
.
DepositPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人
</p>
</
template
>
</td>
<td>
<p>
合计金额:
<font>
{{CtObj.VisaTotalPrice}}
</font>
元
</p>
<p>
合计金额:
<font>
{{CtObj.VisaTotalPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
<tr>
...
...
@@ -678,8 +678,8 @@
</p>
<p>
舱位
<font>
{{
item
.
TicketSpace
}}
</font>
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
元
/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
元
/张
</p>
<p>
机票金额
<font>
{{
item
.
TicketPrice
}}
</font>
{{
getCurrencyStr
()
}}
/张
</p>
<p>
机场建设费
<font>
{{
item
.
AirportPirce
}}
</font>
{{
getCurrencyStr
()
}}
/张
</p>
</
template
>
<
template
v-if=
"CtObj.ContractTicketAndHotel && CtObj.ContractTicketAndHotel.ContractHotels && CtObj.ContractTicketAndHotel.ContractHotels.length>0"
...
...
@@ -691,12 +691,13 @@
</p>
<p>
入住日期:
<font>
{{
item
.
CheckInDate
}}
</font>
/离店日期:
<font>
{{
item
.
OutDate
}}
</font>
</p>
<p>
费用:成人费用:
<font>
{{
item
.
AdultPrice
}}
</font>
元/人
儿童费用:
<font>
{{
item
.
ChildrenPrice
}}
</font>
元/人(不占床位、不加床位)
</p>
<p>
费用:成人费用:
<font>
{{
item
.
AdultPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人
儿童费用:
<font>
{{
item
.
ChildrenPrice
}}
</font>
{{
getCurrencyStr
()
}}
/人(不占床位、不加床位)
</p>
</
template
>
</td>
<td>
<p>
费用合计:
<font>
{{CtObj.TicketAndHotelTotalPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.TicketAndHotelTotalPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
<tr>
...
...
@@ -769,7 +770,7 @@
</div>
</td>
<td>
<p>
费用合计:
<font>
{{CtObj.OtherConventionPrice}}
</font>
元
</p>
<p>
费用合计:
<font>
{{CtObj.OtherConventionPrice}}
</font>
{{getCurrencyStr()}}
</p>
</td>
</tr>
</tbody>
...
...
@@ -833,7 +834,20 @@
style=
"margin-bottom: -4px;width:17px;heigth:17px"
/>
</
template
>
等共计
<span>
<font>
{{getTotalNum(getCount())}}
</font></span>
项服务。
</p>
<p>
费用总额(小写)人民币
<span>
{{CtObj.C_TotalPrice}}
</span>
元
(大写)人民币
<span>
<p>
费用总额(小写)
<
template
v-if=
"CtObj.SignType==0"
>
人民币
</
template
>
<
template
v-else
>
日元
</
template
>
<span>
{{CtObj.C_TotalPrice}}
</span>
{{getCurrencyStr()}}
(大写)
<
template
v-if=
"CtObj.SignType==0"
>
人民币
</
template
>
<
template
v-else
>
日元
</
template
><span>
<font>
{{number_chinese(CtObj.C_TotalPrice)}}
</font>
</span></p>
<br>
...
...
@@ -1233,8 +1247,10 @@
<p
class=
"toTopDistance"
>
第二十一条 旅游费用及支付(以人民币为计算单位)
</p>
</h3>
<p>
成人
<font>
{{CtObj.C_AdultPrice}}
</font>
元/人,儿童(不满14岁)
<font>
{{CtObj.C_ChildrenPrice}}
</font>
元/人;其中,导游服务费
<font>
{{CtObj.C_GuideServicePrice}}
</font>
元/人;旅游费用合计:
<font>
{{CtObj.C_TotalPrice}}
</font>
元。
成人
<font>
{{CtObj.C_AdultPrice}}
</font>
{{getCurrencyStr()}}/人,儿童(不满14岁)
<font>
{{CtObj.C_ChildrenPrice}}
</font>
{{getCurrencyStr()}}/人;其中,导游服务费
<font>
{{CtObj.C_GuideServicePrice}}
</font>
{{getCurrencyStr()}}/人;旅游费用合计:
<font>
{{CtObj.C_TotalPrice}}
</font>
{{getCurrencyStr()}}。
</p>
<p>
旅游费用支付方式:
<font
v-if=
"CtObj.C_PayType==1"
>
现金
</font>
...
...
@@ -1588,7 +1604,7 @@
<td>
具体时间
</td>
<td>
地点
</td>
<td>
项目名称和内容
</td>
<td>
费用(
元
)
</td>
<td>
费用(
{{getCurrencyStr()}}
)
</td>
<td>
项目时长(分钟)
</td>
<td>
其他说明
</td>
<td>
旅游者签名同意
</td>
...
...
@@ -1729,25 +1745,10 @@
<p>
旅游费用:
成人
<font>
{{CtObj.C_AdultNum}}
</font>
人
×
<font>
{{CtObj.C_AdultPrice}}
</font>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
×
<font>
{{CtObj.C_AdultPrice}}
</font>
{{getCurrencyStr()}}/人
+儿童
<font>
{{CtObj.C_ChildrenNum}}
</font>
人
×
<font>
{{CtObj.C_ChildrenPrice}}
</font>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
/人
=
<font>
{{CtObj.C_TotalPrice}}
</font>
<
template
v-if=
"CtObj.SignType==0"
>
元
</
template
>
<
template
v-else
>
円
</
template
>
。
×
<font>
{{CtObj.C_ChildrenPrice}}
</font>
{{getCurrencyStr()}}/人
=
<font>
{{CtObj.C_TotalPrice}}
</font>
{{getCurrencyStr()}}。
</p>
<p>
含:
<font>
{{CtObj.C_IncludeRemark}}
</font>
...
...
@@ -2199,6 +2200,13 @@
},
methods
:
{
getCurrencyStr
()
{
var
str
=
"元"
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
str
=
"円"
}
return
str
;
},
getCount
()
{
var
serviceCount
=
0
;
if
(
this
.
CtObj
.
ContractTicketList
!=
null
&&
this
.
CtObj
.
ContractTicketList
.
length
>
0
)
{
...
...
@@ -2224,7 +2232,6 @@
ChangeTab
(
num
)
{
this
.
ActiveTab
=
num
;
},
//获取数据
getList
()
{
this
.
pdfLoading
=
true
;
...
...
@@ -2604,8 +2611,11 @@
//小写金额转大写
number_chinese
(
str
)
{
var
num
=
parseFloat
(
str
);
var
strOutput
=
""
,
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
var
strOutput
=
""
;
var
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾元角分'
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
strUnit
=
'仟佰拾亿仟佰拾万仟佰拾円角分'
;
}
num
+=
"00"
;
var
intPos
=
num
.
indexOf
(
'.'
);
if
(
intPos
>=
0
)
{
...
...
@@ -2615,8 +2625,13 @@
for
(
var
i
=
0
;
i
<
num
.
length
;
i
++
)
{
strOutput
+=
'零壹贰叁肆伍陆柒捌玖'
.
substr
(
num
.
substr
(
i
,
1
),
1
)
+
strUnit
.
substr
(
i
,
1
);
}
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
if
(
this
.
CtObj
.
SignType
==
0
)
{
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'元'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零元"
)
}
else
{
return
strOutput
.
replace
(
/零角零分$/
,
'整'
).
replace
(
/零
[
仟佰拾
]
/g
,
'零'
).
replace
(
/零
{2,}
/g
,
'零'
).
replace
(
/零
([
亿|万
])
/g
,
'$1'
).
replace
(
/零+元/
,
'円'
).
replace
(
/亿零
{0,3}
万/
,
'亿'
).
replace
(
/^元/
,
"零円"
)
}
},
},
mounted
()
{
...
...
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