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
linweijiong
jinfa-platform
Commits
34ce74d8
Commit
34ce74d8
authored
Oct 14, 2022
by
前端-吴智勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinfa-0518' into 'jinfa-0518'
Jinfa 0518 See merge request project/jinfa-platform!330
parents
1460250a
b8b855b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Information.tsx
src/pages/contract/manage/add/components/Information.tsx
+2
-2
Information.tsx
src/pages/contract/manage/editing/components/Information.tsx
+2
-2
No files found.
src/pages/contract/manage/add/components/Information.tsx
View file @
34ce74d8
...
...
@@ -100,8 +100,8 @@ const Information = (props: any) => {
};
/* 时间选中 */
const
onChange
=
(
value
:
any
)
=>
{
let
startTime
=
value
?
moment
(
Number
(
value
?.[
0
])).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
let
endTime
=
value
?
moment
(
Number
(
value
?.[
1
])).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
let
startTime
=
value
?
moment
(
Number
(
value
?.[
0
])).
format
(
'YYYY-MM-DD'
)
:
null
let
endTime
=
value
?
moment
(
Number
(
value
?.[
1
])).
format
(
'YYYY-MM-DD'
)
:
null
getbasicsVO
({
...
basicsVO
,
startTime
,
...
...
src/pages/contract/manage/editing/components/Information.tsx
View file @
34ce74d8
...
...
@@ -123,8 +123,8 @@ const Information = (props: any) => {
/* 时间选中 */
const
onChange
=
(
value
:
any
)
=>
{
let
startTime
=
value
?
moment
(
Number
(
value
?.[
0
])).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
let
endTime
=
value
?
moment
(
Number
(
value
?.[
1
])).
format
(
'YYYY-MM-DD
HH:mm:ss
'
)
:
null
let
startTime
=
value
?
moment
(
Number
(
value
?.[
0
])).
format
(
'YYYY-MM-DD'
)
:
null
let
endTime
=
value
?
moment
(
Number
(
value
?.[
1
])).
format
(
'YYYY-MM-DD'
)
:
null
getPicker
({
startTime
,
endTime
,
...
...
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