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
421304e8
authored
2024-05-22 19:45:11 +0800
by
yyx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
9749d4c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
src/viewsPc/seat/confirm-order.vue
src/viewsPc/seat/order-detail.vue
src/viewsPc/seat/confirm-order.vue
View file @
421304e
...
...
@@ -26,7 +26,11 @@ const startCheckSuccessListener = (orderSn, actId) => {
payment
.
showCodeDialog
=
false
;
ElMessage
({
type
:
"success"
,
message
:
anguageFormat
(
language
.
value
,
"支付成功"
,
"Payment succeeded"
),
message
:
anguageFormat
(
language
.
value
,
"支付成功"
,
"Payment succeeded"
),
});
router
.
replace
({
path
:
"/seat/order"
,
...
...
@@ -49,9 +53,23 @@ const payment = reactive({
qrCodeData
:
""
,
paymentHandle
()
{
if
(
payment
.
form
.
viewers
.
length
!=
order
.
data
?.
seatInfo
?.
length
)
return
ElMessage
({
type
:
"warning"
,
message
:
"观看人与购买票数不符"
});
return
ElMessage
({
type
:
"warning"
,
message
:
languageFormat
(
language
.
value
,
"观看人与购买票数不符"
,
"The number of viewers does not match the number of tickets purchased."
),
});
if
(
!
payment
.
form
.
phone
)
return
ElMessage
({
type
:
"warning"
,
message
:
"请输入联系人电话"
});
return
ElMessage
({
type
:
"warning"
,
message
:
languageFormat
(
language
.
value
,
"请输入联系电话"
,
"Please enter the contact phone number."
),
});
payOrder
({
contactPhone
:
payment
.
form
.
phone
,
customerIds
:
payment
.
form
.
viewers
,
...
...
@@ -211,7 +229,7 @@ order.fetchData();
{{
it
.
pai
}}{{
languageFormat
(
language
,
"排"
,
"Row"
)
}}
{{
it
.
no
}}{{
languageFormat
(
language
,
"座"
,
"Seat"
)
}}
(
{{
it
.
venueId
==
1
?
"B6"
:
"B4"
}}
馆
)
}}
{{
languageFormat
(
language
,
"馆"
,
"Venue"
)
}}
)
</div>
</div>
<div
class=
"detail_b"
>
...
...
src/viewsPc/seat/order-detail.vue
View file @
421304e
...
...
@@ -288,7 +288,7 @@ detail.fetchData();
>
{{
it
.
pai
}}{{
languageFormat
(
language
,
"排"
,
"Row"
)
}}{{
it
.
no
}}{{
languageFormat
(
language
,
"座"
,
"Seat"
)
}}
(
{{
it
.
venueId
==
1
?
"B6"
:
"B4"
}}
馆
)
}}
{{
languageFormat
(
language
,
"馆"
,
"Venue"
)
}}
)
</div>
</div>
<div
style=
"width: 30.33%"
class=
"td flex-col"
>
...
...
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