Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
d78d272d
Commit
d78d272d
authored
Aug 30, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改扫码默认日期
parent
458daee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sweepCode.vue
src/page/sweepCode/sweepCode.vue
+1
-2
No files found.
src/page/sweepCode/sweepCode.vue
View file @
d78d272d
...
@@ -193,7 +193,6 @@ export default {
...
@@ -193,7 +193,6 @@ export default {
this
.
formInline
.
model2
=
''
this
.
formInline
.
model2
=
''
this
.
formInline
.
Inviter
=
''
this
.
formInline
.
Inviter
=
''
this
.
formInline
.
InviterPhoneNumber
=
''
this
.
formInline
.
InviterPhoneNumber
=
''
this
.
formInline
.
date
=
''
this
.
formInline
.
time
=
''
this
.
formInline
.
time
=
''
this
.
formInline
.
position
=
''
this
.
formInline
.
position
=
''
this
.
formInline
.
name
=
''
this
.
formInline
.
name
=
''
...
@@ -233,7 +232,7 @@ export default {
...
@@ -233,7 +232,7 @@ export default {
const
year
=
myDate
.
getFullYear
();
// 获取当前年份
const
year
=
myDate
.
getFullYear
();
// 获取当前年份
const
month
=
myDate
.
getMonth
()
+
1
;
// 获取当前月份(0-11,0代表1月所以要加1);
const
month
=
myDate
.
getMonth
()
+
1
;
// 获取当前月份(0-11,0代表1月所以要加1);
const
day
=
myDate
.
getDate
();
// 获取当前日(1-31)
const
day
=
myDate
.
getDate
();
// 获取当前日(1-31)
this
.
saleDate
=
`
${
year
}
-
${
month
}
-
${
day
}
`
;
this
.
saleDate
=
`
${
year
}
/
${
month
}
/
${
day
}
`
;
this
.
formInline
.
date
=
this
.
saleDate
this
.
formInline
.
date
=
this
.
saleDate
}
}
}
}
...
...
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