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
f0d79bc2
authored
2024-08-20 14:37:05 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
购票修改
1 parent
4bbbfe9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
src/viewsPc/booking/ticket/index.vue
src/viewsPc/booking/ticket/index.vue
View file @
f0d79bc
...
...
@@ -239,15 +239,21 @@ async function getTicketList() {
// 根据票档获取场次
async
function
getTicketListType
()
{
let
arr
=
[]
const
res
=
await
listApi
({
latId
:
selectForm
.
value
.
latId
})
tickList
.
value
=
res
.
rows
flag
.
value
=
tickList
.
value
.
some
((
item
)
=>
{
return
item
.
isView
==
0
})
tickList
.
value
.
forEach
(
v
=>
{
if
(
flag
.
value
&&
v
.
ticketType
==
1
)
v
.
isView
=
0
})
for
(
const
v
of
res
.
rows
)
{
if
(
v
.
isView
==
0
)
arr
.
push
(
v
)
}
for
(
const
v
of
res
.
rows
)
{
if
(
arr
.
length
>
0
&&
v
.
ticketType
==
1
)
{
for
(
const
c
of
arr
)
{
if
((
c
.
ticketStart
>=
v
.
ticketStart
)
&&
(
c
.
ticketStart
<=
v
.
ticketEnd
))
{
v
.
isView
=
0
}
}
}
}
}
function
select
(
v
)
{
...
...
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