Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
ab5a763b
Commit
ab5a763b
authored
Oct 09, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发团日期限制
parent
b384cda2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+17
-4
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
ab5a763b
...
...
@@ -1465,6 +1465,11 @@
},
data
()
{
return
{
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
},
GroupTypeVisible
:
false
,
GroupTypeObj
:
{},
dialog
:
{
...
...
@@ -1704,12 +1709,20 @@
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
return
false
;
if
(
this
.
queryMsg
.
StartGroupDate
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
return
false
;
}
else
{
if
(
this
.
queryMsg
.
StartGroupDate
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
return
endTime
.
getTime
()
<
time
.
getTime
();
}
}
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment