Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
174ca83d
Commit
174ca83d
authored
May 14, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限制日期范围
parent
52d06879
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
edit.vue
src/views/ecw/offer/edit.vue
+7
-3
No files found.
src/views/ecw/offer/edit.vue
View file @
174ca83d
...
...
@@ -612,10 +612,14 @@ export default {
disabledDate
:
time
=>
{
if
(
this
.
form
.
startTime
)
{
return
(
new
Date
(
this
.
form
.
startTime
).
getTime
()
-
8.64e7
>=
time
.
getTime
()
//限制日期范围
new
Date
(
this
.
form
.
startTime
).
getTime
()
-
8.64e7
>=
time
.
getTime
()
||
time
.
getTime
()
>=
new
Date
().
setDate
(
new
Date
().
getDate
()
+
30
)
)
}
else
{
return
time
.
getTime
()
>=
Date
.
now
()
-
8.64e7
// 加- 8.64e7则表示包当天
// 加- 8.64e7则表示包当天
return
Date
.
now
()
-
8.64e7
>=
time
.
getTime
()
||
time
.
getTime
()
>=
new
Date
().
setDate
(
new
Date
().
getDate
()
+
30
)
}
}
}
...
...
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