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
d2129b08
authored
2024-08-29 18:45:58 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge commit '
584c27d3
' into dev
2 parents
db4339e0
584c27d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
src/viewsPc/booking/ticket/index.vue
src/viewsPc/booking/ticket/index.vue
View file @
d2129b0
...
...
@@ -231,10 +231,14 @@ async function getDetail() {
getTicketList
()
async
function
getTicketList
()
{
const
res
=
await
getTicketListApi
({
activityId
:
activeId
.
value
})
const
res
=
await
getTicketListApi
({
activityId
:
activeId
.
value
,
isView
:
1
})
tickClass
.
value
=
res
.
rows
selectForm
.
value
.
latId
=
tickClass
.
value
?.[
0
]?.
id
await
getTicketListType
()
if
(
tickClass
.
value
.
length
>
0
)
{
selectForm
.
value
.
latId
=
tickClass
.
value
?.[
0
]?.
id
await
getTicketListType
()
}
}
// 根据票档获取场次
...
...
@@ -273,8 +277,8 @@ function selectTick(v) {
}
function
toSelectSeat
()
{
if
(
!
selectForm
.
value
.
latId
)
return
ElMessage
.
error
(
language
==
0
?
"请选择票档"
:
'Please select a ticket file'
)
if
(
!
selectForm
.
value
.
id
)
return
ElMessage
.
error
(
language
==
0
?
"请选择时间"
:
'Please select time'
)
if
(
!
selectForm
.
value
.
latId
)
return
ElMessage
.
error
(
language
.
value
==
0
?
"请选择票档"
:
'Please select a ticket file'
)
if
(
!
selectForm
.
value
.
id
)
return
ElMessage
.
error
(
language
.
value
==
0
?
"请选择时间"
:
'Please select time'
)
if
(
!
user
.
value
)
{
useStore
.
setVisitor
()
return
...
...
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