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
Hide 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,10 +1709,18 @@
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
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
return
endTime
.
getTime
()
<
time
.
getTime
();
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
();
}
}
}
},
...
...
@@ -1837,7 +1850,7 @@
resultStr
+=
'已取消订车,取消时间:'
+
item
.
CarPushDate
+
'<br/>点击可重新推送用车'
;
}
}
//订房推送
//订房推送
else
if
(
type
==
1
)
{
if
(
item
.
IsPush
==
1
)
{
resultStr
=
'已推送订房,推送时间:'
+
item
.
HotelPushDate
+
'<br/> 点击可取消订房'
;
...
...
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