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
cf8f6f3c
Commit
cf8f6f3c
authored
May 30, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5e2e1fc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+15
-12
BusInfo.vue
src/components/busManagement/BusInfo.vue
+2
-0
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
cf8f6f3c
...
...
@@ -65,9 +65,10 @@
<span
v-if=
"item.PayType === 1"
>
现付
</span>
<span
v-else-if=
"item.PayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.PayType === 3"
>
预付
</span>
<span
v-else-if=
"item.PayType === 7"
>
自由活动-无用车
</span>
<span
v-else-if=
"item.PayType ===6"
>
合团公司支付
</span>
<span
v-else
></span>
</br>
</br>
<span
v-show=
"item.PayType==6"
>
付款团号:
{{
item
.
PayTypeTCNUM
}}
</span>
</td>
<td>
...
...
@@ -77,7 +78,8 @@
<span
v-if=
"item.HighSpeedPayType === 1"
>
现付
</span>
<span
v-else-if=
"item.HighSpeedPayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.HighSpeedPayType === 3"
>
预付
</span>
<span
v-else-if=
"item.HighSpeedPayType ===6"
>
合团公司支付
</span>
<span
v-else-if=
"item.HighSpeedPayType ===6"
>
合团公司支付
</span>
<span
v-else-if=
"item.PayType === 7"
>
自由活动-无用车
</span>
<span
v-else
></span>
</br>
<span
v-show=
"item.HighSpeedPayType==6"
>
付款团号:
{{
item
.
PayTypeTCNUM
}}
</span>
...
...
@@ -187,8 +189,8 @@
<span
v-else-if=
"subItem.PayStyle === 5"
>
实物抵扣
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"5"
>
{{
subItem
.
Remarks
}}
...
...
@@ -261,8 +263,8 @@
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
Remarks
}}
...
...
@@ -337,8 +339,8 @@
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
Remarks
}}
...
...
@@ -598,14 +600,15 @@
busTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
totalPrice
+=
(
item
.
PayType
===
1
?
Number
(
item
.
CostPrice
)
:
0
)
+
(
item
.
HighSpeedPayType
===
1
?
Number
(
item
.
HighSpeedPrice
)
:
0
)
+
Number
(
item
.
StopPrice
)
totalPrice
+=
(
item
.
PayType
===
1
?
Number
(
item
.
CostPrice
)
:
0
)
+
(
item
.
HighSpeedPayType
===
1
?
Number
(
item
.
HighSpeedPrice
)
:
0
)
+
Number
(
item
.
StopPrice
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
hotelTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
if
(
x
.
PayStyle
===
1
)
{
if
(
x
.
PayStyle
===
1
)
{
totalPrice
+=
x
.
UnitPrice
*
(
x
.
BookNum
-
x
.
HotelDiscount
)
*
(
1
-
x
.
RebateRatio
/
100
)
}
else
{
totalPrice
+=
0
...
...
@@ -618,7 +621,7 @@
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
PeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
if
(
sObj
.
PayStyle
!==
1
)
{
if
(
sObj
.
PayStyle
!==
1
)
{
totalPrice
=
0
}
return
this
.
moneyFormat
(
totalPrice
)
...
...
@@ -628,7 +631,7 @@
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
UsePeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
if
(
sObj
.
PayStyle
!==
1
)
{
if
(
sObj
.
PayStyle
!==
1
)
{
totalPrice
=
0
}
return
this
.
moneyFormat
(
totalPrice
)
...
...
src/components/busManagement/BusInfo.vue
View file @
cf8f6f3c
...
...
@@ -273,6 +273,7 @@
<el-option
label=
'公司结算'
:value=
'2'
></el-option>
<el-option
label=
'预付'
:value=
'3'
></el-option>
<el-option
label=
'合团公司支付'
:value=
'6'
></el-option>
<el-option
label=
'自由活动-无用车'
:value=
'7'
></el-option>
</el-select>
</
template
>
</el-table-column>
...
...
@@ -325,6 +326,7 @@
<el-option
label=
'公司结算'
:value=
'2'
></el-option>
<el-option
label=
'预付'
:value=
'3'
></el-option>
<el-option
label=
'合团公司支付'
:value=
'6'
></el-option>
<el-option
label=
'自由活动-无用车'
:value=
'7'
></el-option>
</el-select>
</div>
</
template
>
...
...
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