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
e834e848
authored
2024-08-09 17:54:51 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开票
1 parent
4c4040a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
src/viewsPc/booking/ticket/confirmOrder.vue
src/viewsPc/booking/ticket/confirmOrder.vue
View file @
e834e84
...
...
@@ -287,8 +287,16 @@ async function paymentHandle() {
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
}).
then
(
async
()
=>
{
try
{
const
res
=
await
submitOrderTicket
({
...
orderForm
.
value
,
activeId
:
orderForm
.
value
.
activeId
,
acId
:
orderForm
.
value
.
acId
,
attId
:
orderForm
.
value
.
attId
,
tickType
:
orderForm
.
value
.
tickType
,
ticketDate
:
orderForm
.
value
.
ticketDate
,
phone
:
orderForm
.
value
.
phone
,
customerList
:
orderForm
.
value
.
customerList
,
num
:
orderForm
.
value
.
num
,
message
:
JSON
.
stringify
(
orderForm
.
value
.
message
),
total
:
language
.
value
==
0
?
price
.
value
.
total_cn
:
price
.
value
.
total_en
})
...
...
@@ -317,6 +325,12 @@ async function paymentHandle() {
}
else
{
ElMessage
.
error
(
language
.
value
==
0
?
'下单失败,'
:
'Order failure'
)
}
}
catch
(
e
)
{
console
.
log
(
e
)
}
finally
{
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