Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f27b6b8
authored
2024-08-20 15:03:11 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
购票价格
1 parent
f0d79bc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/viewsPc/booking/ticket/confirmOrder.vue
src/viewsPc/booking/ticket/confirmOrder.vue
View file @
8f27b6b
...
...
@@ -246,6 +246,12 @@ function changeGroup(e) {
price
.
value
.
total_en
+=
(
tickType
.
value
.
priceEn
*
1
)
}
})
// 计算购票优惠
if
(
tickType
.
value
.
isCountSale
==
1
&&
orderForm
.
value
.
message
.
length
>=
tickType
.
value
.
counts
)
{
price
.
value
.
total_cn
=
(
price
.
value
.
total_cn
*
(
tickType
.
value
.
discount
/
10
)).
toFixed
(
2
)
price
.
value
.
total_en
=
price
.
value
.
total_en
*
(
tickType
.
value
.
discount
/
10
).
toFixed
(
2
)
}
}
console
.
log
(
orderForm
.
value
.
message
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment