Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
华国豪
Athena
Commits
df9b276f
Commit
df9b276f
authored
Aug 09, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改酒店
parent
2f4f0e3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
10 deletions
+43
-10
HotelSure.vue
src/components/Hotel/HotelSure.vue
+43
-10
No files found.
src/components/Hotel/HotelSure.vue
View file @
df9b276f
...
...
@@ -236,9 +236,7 @@
width
:
348px
;
height
:
72px
;
background-color
:
#EDF4FF
;
display
:
flex
;
padding
:
0
20px
;
align-items
:
center
;
position
:
relative
;
}
.HS_RitTop_Left
{
...
...
@@ -318,6 +316,15 @@
.disBtn
:hover
{
opacity
:
1
;
}
.sureMsgTotalMon
{
color
:
#EE4454
;
font-size
:
20px
;
}
.sureMsgTotalMon
span
{
display
:
inline-block
;
text-align
:
right
;
width
:
80px
;
}
</
style
>
...
...
@@ -504,6 +511,26 @@
</li>
</ul>
</div>
<div
style=
"margin:20px 0 0 20px;font-size:12px;color:red"
>
<div
v-if=
"(dataList.cancellationPeriod1==-1||dataList.cancellationPeriod1==0)&&(dataList.cancellationType1==1||dataList.cancellationType1==2)"
>
<
template
v-if=
"dataList.cancellationPeriod1==-1"
>
没有通知取消,
</
template
>
<
template
v-if=
"dataList.cancellationPeriod1==0"
>
入住当日取消,
</
template
>
<
template
v-if=
"dataList.cancellationType1==1"
>
手续费:
{{
dataList
.
cancellation1
}}
%
</
template
>
<
template
v-if=
"dataList.cancellationType1==2"
>
手续费:
{{
dataList
.
cancellation1
}}
</
template
>
</div>
<div
style=
"margin-top:5px;"
v-if=
"(dataList.cancellationPeriod2==-1||dataList.cancellationPeriod2==0)&&(dataList.cancellationType2==1||dataList.cancellationType2==2)"
>
<
template
v-if=
"dataList.cancellationPeriod2==-1"
>
没有通知取消,
</
template
>
<
template
v-if=
"dataList.cancellationPeriod2==0"
>
入住当日取消,
</
template
>
<
template
v-if=
"dataList.cancellationType2==1"
>
手续费:
{{
dataList
.
cancellation2
}}
%
</
template
>
<
template
v-if=
"dataList.cancellationType2==2"
>
手续费:
{{
dataList
.
cancellation2
}}
</
template
>
</div>
<div
style=
"margin-top:5px;"
v-if=
"(dataList.cancellationPeriod3==-1||dataList.cancellationPeriod3==0)&&(dataList.cancellationType3==1||dataList.cancellationType3==2)"
>
<
template
v-if=
"dataList.cancellationPeriod3==-1"
>
没有通知取消,
</
template
>
<
template
v-if=
"dataList.cancellationPeriod3==0"
>
入住当日取消,
</
template
>
<
template
v-if=
"dataList.cancellationType3==1"
>
手续费:
{{
dataList
.
cancellation3
}}
%
</
template
>
<
template
v-if=
"dataList.cancellationType3==2"
>
手续费:
{{
dataList
.
cancellation3
}}
</
template
>
</div>
</div>
</div>
<input
type=
"button"
class=
"HD_payBtn"
:class=
"{'disBtn':isBaoChild}"
@
click=
"submitForm('sureMsg')"
value=
"下单"
/>
</div>
...
...
@@ -570,10 +597,15 @@
</div>
<div
class=
"HS_RightBtm"
>
<div
class=
"HS_RitTop"
>
<span
class=
"HS_RitTop_Left"
>
订单总额
</span>
<div
style=
"float:left;margin-top:25px;"
>
订单总额
</div>
<div
style=
"margin-top:10px;float:right"
>
<div
class=
"sureMsgTotalMon"
><span>
人民币:
</span>
{{sureMsg.totalChargeableRateInfo}}
</div>
<div
class=
"sureMsgTotalMon"
><span>
日元:
</span>
{{sureMsg.totalPriceJapanese}}
</div>
</div>
<!-- <span class="HS_RitTop_Left">订单总额</span>
<span class="HS_RitPrice">
<i>
¥
</i>
{{sureMsg.totalChargeableRateInfo}}
</span>
人民币
<i>¥</i>{{sureMsg.totalChargeableRateInfo}}
</span>
-->
</div>
<!-- <div class="HS_RitBottom">
<div>
...
...
@@ -822,16 +854,17 @@ export default {
if
(
x
.
roomAdultCount
>
0
){
AdultTotalPrice
+=
parseFloat
(
z
.
perAdultRateBySetCurrency
);
oldAuditPrice
+=
parseFloat
(
z
.
oldAuditPrice
);
AdultJapanPrice
+=
parseFloat
(
z
.
perAdultRate
);
}
if
(
x
.
roomChildCount
>
0
){
childToTalPrice
+=
parseFloat
(
z
.
perChildRateBySetCurrency
);
oldChildPrice
+=
parseFloat
(
z
.
oldchildPrice
);
ChildJapanPrice
+=
parseFloat
(
z
.
perChildRate
);
}
}
if
(
z
.
perAdultRate
){
AdultJapanPrice
+=
parseFloat
(
z
.
perAdultRate
);
ChildJapanPrice
+=
parseFloat
(
z
.
perChildRate
);
}
})
// AdultCount+=AdultTotalPrice*x.roomAdultCount;
// childCount+=childToTalPrice*x.roomChildCount;
...
...
@@ -995,7 +1028,7 @@ export default {
},
err
=>
{}
);
}
}
,
}
};
</
script
>
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