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
7517c79f
authored
2024-08-20 17:16:21 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
购票价格
1 parent
b6846a44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/viewsPc/booking/pay.vue
src/viewsPc/booking/ticket/confirmOrder.vue
src/viewsPc/booking/pay.vue
View file @
7517c79
...
...
@@ -133,11 +133,11 @@
form
.
extJson
?.
ticketDate
?.
ticketType
==
1
?
'~'
+
dayjs
(
form
?.
extJson
?.
ticketDate
?.
ticketEnd
).
format
(
'YYYY-MM-DD'
)
:
''
}}
</el-col>
<el-col>
>
{{
language
==
0
?
`满${form?.extJson?.ticket
Type.counts
}
人优惠`
:
`Discount for up to ${form?.extJson?.ticketTyp
e.counts
}
people`
}}
<
span
v
-
if
=
"language == 0"
>
{{
form
?.
extJson
?.
ticket
Typ
e
.
discount
}}
折
<
/span
>
<
span
v
-
else
>
{{
(
10
-
form
?.
extJson
?.
ticket
Typ
e
.
discount
)
*
10
+
'%'
}}
off
<
/span
>
<el-col
v-if=
"form?.extJson?.ticketDate?.isCountSale==1"
>
{{
language
==
0
?
`满${form?.extJson?.ticket
Date.counts
}
人优惠`
:
`Discount for up to ${form?.extJson?.ticketDat
e.counts
}
people`
}}
<
span
v
-
if
=
"language == 0"
>
{{
form
?.
extJson
?.
ticket
Dat
e
.
discount
}}
折
<
/span
>
<
span
v
-
else
>
{{
(
10
-
form
?.
extJson
?.
ticket
Dat
e
.
discount
)
*
10
+
'%'
}}
off
<
/span
>
<
/el-col
>
<!--
<
el
-
col
>-->
<!--
{{
-->
...
...
src/viewsPc/booking/ticket/confirmOrder.vue
View file @
7517c79
...
...
@@ -276,8 +276,8 @@ function changeGroup(e) {
// 计算购票优惠
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
/
1
0
).
toFixed
(
2
)
price
.
value
.
total_cn
=
(
(
price
.
value
.
total_cn
*
(
tickType
.
value
.
discount
*
10
))
/
100
).
toFixed
(
2
)
price
.
value
.
total_en
=
((
price
.
value
.
total_en
*
(
tickType
.
value
.
discount
*
10
))
/
10
0
).
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