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
623b4ef5
Commit
623b4ef5
authored
Apr 16, 2019
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领队用款
parent
70b27298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
19 deletions
+22
-19
leaderPay.vue
src/components/LeaderManagement/leaderPay.vue
+22
-19
No files found.
src/components/LeaderManagement/leaderPay.vue
View file @
623b4ef5
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
<td
width=
"150"
>
车辆号
</td>
<td
width=
"150"
>
车辆号
</td>
<td
width=
"80"
>
用车方式
</td>
<td
width=
"80"
>
用车方式
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"150"
>
总金额
</td>
<td
width=
"150"
>
实际金额
</td>
<td
width=
"150"
>
实际金额
</td>
<td
width=
"150"
>
预计金额
</td>
<td
width=
"150"
>
付款方式
</td>
<td
width=
"150"
>
付款方式
</td>
<td
width=
"300"
>
备注
</td>
<td
width=
"300"
>
备注
</td>
<td
width=
"300"
>
凭证
</td>
<td
width=
"300"
>
凭证
</td>
...
@@ -92,8 +92,8 @@
...
@@ -92,8 +92,8 @@
<td
width=
"100"
>
占床/不占床
</td>
<td
width=
"100"
>
占床/不占床
</td>
<td
width=
"150"
>
房间类型/数量
</td>
<td
width=
"150"
>
房间类型/数量
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"80"
>
总金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
预计金额
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"300"
>
备注
</td>
<td
width=
"300"
>
备注
</td>
<td>
凭证
</td>
<td>
凭证
</td>
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
<td
width=
"100"
>
类别
</td>
<td
width=
"100"
>
类别
</td>
<td
width=
"150"
>
用餐人数
</td>
<td
width=
"150"
>
用餐人数
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"80"
>
总金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
预计金额
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"300"
>
备注
</td>
<td
width=
"300"
>
备注
</td>
<td>
凭证
</td>
<td>
凭证
</td>
...
@@ -196,7 +196,9 @@
...
@@ -196,7 +196,9 @@
</div>
</div>
</td>
</td>
<td
class=
"jdtd"
valign=
"middle"
>
<td
class=
"jdtd"
valign=
"middle"
>
{{calculationPrice(item)}}
<div
v-for=
"subItem in item.DiningSummaryList"
>
{{calculationPrice(subItem)}}
</div>
</td>
</td>
<td
class=
"jdtd"
valign=
"middle"
>
<td
class=
"jdtd"
valign=
"middle"
>
{{item.PayType !=null
&&
item.PayType !='' ? (item.PayType== 1? '现付' :(item.PayType ==2 ? '签单' :(item.PayType == 4 ? '预付' :(item.item.PayType ==5 ?'实物抵扣' :'')))):''}}
{{item.PayType !=null
&&
item.PayType !='' ? (item.PayType== 1? '现付' :(item.PayType ==2 ? '签单' :(item.PayType == 4 ? '预付' :(item.item.PayType ==5 ?'实物抵扣' :'')))):''}}
...
@@ -225,8 +227,8 @@
...
@@ -225,8 +227,8 @@
<td
width=
"100"
>
总人数
</td>
<td
width=
"100"
>
总人数
</td>
<td
width=
"150"
>
门票类别
</td>
<td
width=
"150"
>
门票类别
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"150"
>
实际信息
</td>
<td
width=
"80"
>
总金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
实际金额
</td>
<td
width=
"80"
>
预计金额
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"80"
>
付款方式
</td>
<td
width=
"300"
>
备注
</td>
<td
width=
"300"
>
备注
</td>
<td>
凭证
</td>
<td>
凭证
</td>
...
@@ -266,7 +268,9 @@
...
@@ -266,7 +268,9 @@
</div>
</div>
</td>
</td>
<td
class=
"jdtd"
valign=
"middle"
>
<td
class=
"jdtd"
valign=
"middle"
>
{{ScenicspotPrice(item)}}
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
{{ScenicspotPrice(subItem)}}
</div>
</td>
</td>
<td
class=
"jdtd"
valign=
"middle"
>
<td
class=
"jdtd"
valign=
"middle"
>
{{item.PayType !=null
&&
item.PayType !='' ? (item.PayType== 1? '现付' :(item.PayType ==2 ? '签单' :(item.PayType == 4 ? '预付' :(item.item.PayType ==5 ?'实物抵扣' :'')))):''}}
{{item.PayType !=null
&&
item.PayType !='' ? (item.PayType== 1? '现付' :(item.PayType ==2 ? '签单' :(item.PayType == 4 ? '预付' :(item.item.PayType ==5 ?'实物抵扣' :'')))):''}}
...
@@ -691,7 +695,7 @@
...
@@ -691,7 +695,7 @@
// 酒店
// 酒店
HotelPrice
(
obj
)
{
HotelPrice
(
obj
)
{
let
totalPrice
=
0
;
let
totalPrice
=
0
;
obj
.
OrderDetailsList
.
forEach
(
item
=>
{
obj
.
OrderDetailsList
.
forEach
(
item
=>
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
})
})
...
@@ -700,21 +704,20 @@
...
@@ -700,21 +704,20 @@
},
},
// 餐饮
// 餐饮
calculationPrice
(
obj
){
calculationPrice
(
obj
){
// let totalPrice = 0;
let
totalPrice
=
0
;
// obj.DiningSummaryList.forEach(item => {
obj
.
DiningPriceList
.
forEach
(
item
=>
{
// totalPrice += item.PeoplePrice * (item.PeopleNum - item.Discount) * (1 - item.DiscountPrice / 100);
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
PeopleNum
-
item
.
Discount
)
*
(
1
-
item
.
DiscountPrice
/
100
);
// })
})
// obj.TotalPrice = totalPrice.toFixed(2);
return
totalPrice
.
toFixed
(
2
)
// return obj.TotalPrice
},
},
// 景点
// 景点
ScenicspotPrice
(
obj
)
{
ScenicspotPrice
(
obj
)
{
//
let totalPrice = 0;
let
totalPrice
=
0
;
//
obj.TicketPriceList.forEach(item => {
obj
.
TicketPriceList
.
forEach
(
item
=>
{
//
totalPrice += item.PeoplePrice * (item.UsePeopleNum - item.Discount) * (1 - item.DiscountPrice / 100);
totalPrice
+=
item
.
PeoplePrice
*
(
item
.
UsePeopleNum
-
item
.
Discount
)
*
(
1
-
item
.
DiscountPrice
/
100
);
//
})
})
//
obj.TotalPrice = totalPrice.toFixed(2);
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
//
return obj.TotalPrice
return
obj
.
TotalPrice
},
},
...
...
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