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
b0827e00
Commit
b0827e00
authored
Jul 12, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
abcbb337
c007089c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
99 additions
and
57 deletions
+99
-57
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+5
-6
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+94
-51
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
b0827e00
...
...
@@ -119,7 +119,7 @@
{{
subItem
.
HouseStatistics
.
HouseTypeList
[
childIndex
].
HouseTypeName
}}
<template
v-if=
"childIndex==4"
>
<template
v-if=
"subItem.DriverGuideIsRebate==1"
>
<br
/>
返佣
<br
/>
<span
style=
"color:green"
>
返佣
</span>
</
template
>
<
template
v-else-if=
"subItem.DriverGuideIsRebate==0"
>
<br
/><span
style=
"color:red;"
>
不返佣
</span>
...
...
@@ -186,11 +186,11 @@
<!-- 房间数 -->
<td>
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkPrice(childItem,'HouseTypeCount')"
v-model=
'childItem.HouseTypeCount'
:disabled=
"
childIndex<4?true:fals
e"
></el-input>
v-model=
'childItem.HouseTypeCount'
:disabled=
"
tru
e"
></el-input>
</td>
<td>
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'BookNum')"
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.BookNum'
:disabled=
"
childIndex<4?true:fals
e"
>
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.BookNum'
:disabled=
"
tru
e"
>
</el-input>
</td>
<!-- 尚差房间数 -->
...
...
@@ -220,7 +220,7 @@
<!-- 返佣类型 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"6"
>
<
template
v-if=
"subItem.RebateType==1"
>
含税
<span
style=
"color:green"
>
含税
</span>
</
template
>
<
template
v-else
>
<span
style=
"color:red"
>
不含税
</span>
...
...
@@ -690,8 +690,7 @@
if
(
obj
.
TaxType
==
2
)
{
if
(
index
==
4
)
{
if
(
obj
.
DriverGuideIsRebate
==
1
)
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
+
0.08
-
item
.
RebateRatio
/
100
);
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
+
0.08
-
item
.
RebateRatio
/
100
);
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
}
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
b0827e00
This diff is collapsed.
Click to expand it.
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