Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
shenshaokai
jinfa-platform
Commits
cc67c625
Commit
cc67c625
authored
Apr 14, 2022
by
前端-彭佳文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418-order' into 'v2-220418'
fix: 送货计划管理-新增选择日期限制改为不包含当天 See merge request linkseeks-design/pro-platform!279
parents
6bbcd2c8
4ed909dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
assemblyTools.ts
src/pages/order/utils/assemblyTools.ts
+2
-1
No files found.
src/pages/order/utils/assemblyTools.ts
View file @
cc67c625
...
...
@@ -111,7 +111,8 @@ const limitDecimalsF = (value: moment.Moment) => {
* @returns
*/
const
disabledDate
=
(
current
:
moment
.
Moment
)
=>
{
return
current
&&
current
<
moment
().
endOf
(
'day'
)
// return current && current < moment().endOf('day') // 今天
return
current
&&
current
<
moment
(
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
1
)))
}
const
newDate
=
new
Date
()
...
...
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