Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
71507ba8
authored
2024-08-09 16:21:53 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开票
1 parent
5053e439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
src/viewsPc/booking/ticket/confirmOrder.vue
src/viewsPc/booking/ticket/confirmOrder.vue
View file @
71507ba
...
...
@@ -302,8 +302,20 @@ async function paymentHandle() {
type
:
'ticket'
}
})
}
else
if
(
res
.
code
==
200
&&
res
.
data
.
orderId
==
-
400
)
{
ElMessageBox
.
confirm
(
language
.
value
==
0
?
'剩余票数不足,请选择其他日期'
:
'There are not enough votes left. Please select another date'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'Confirm'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
})
}
else
if
(
res
.
code
==
200
&&
res
.
data
.
orderId
==
-
500
)
{
ElMessageBox
.
confirm
(
language
.
value
==
0
?
'每人每天限购一张票,请确认后下单'
:
'One ticket per person per day, please confirm and place your order'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'Confirm'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
})
}
else
{
ElMessage
.
warning
(
language
.
value
==
0
?
'下单失败,'
:
'Order failure'
)
ElMessage
.
error
(
language
.
value
==
0
?
'下单失败,'
:
'Order failure'
)
}
})
}
...
...
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