时间
This commit is contained in:
parent
235d6bba30
commit
731a71a860
@ -175,7 +175,6 @@
|
|||||||
:picker-options="pickerOptions"
|
:picker-options="pickerOptions"
|
||||||
@input="input(item,index)"
|
@input="input(item,index)"
|
||||||
@focus="setCurrentTime(item,index)"
|
@focus="setCurrentTime(item,index)"
|
||||||
:default-time="currentDate"
|
|
||||||
ref="datePicker"
|
ref="datePicker"
|
||||||
>
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@ -544,7 +543,6 @@ export default {
|
|||||||
name: "ManuallyCreatingTasks",
|
name: "ManuallyCreatingTasks",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// currentDate: '',
|
|
||||||
time: '',
|
time: '',
|
||||||
datePickerVisible: true,
|
datePickerVisible: true,
|
||||||
show: 0,
|
show: 0,
|
||||||
@ -763,8 +761,8 @@ export default {
|
|||||||
item.routeNodeDay = ""
|
item.routeNodeDay = ""
|
||||||
console.log(e, item, 'value3')
|
console.log(e, item, 'value3')
|
||||||
let yy = new Date().getFullYear();
|
let yy = new Date().getFullYear();
|
||||||
let mm = (new Date().getMonth() + 1) < 10 ? '0' + (new Date().getMonth() + 1) : (new Date().getMonth() + 1);
|
let mm = (new Date().getMonth() + 1) < 10 ? '0' + (new Date().getMonth()) : (new Date().getMonth());
|
||||||
let dd = (new Date().getDate()) < 10 ? '0' + (new Date().getDate() + 1) : (new Date().getDate() + 1);
|
let dd = (new Date().getDate()) < 10 ? '0' + (new Date().getDate()) : (new Date().getDate());
|
||||||
let hh = new Date().getHours() < 10 ? '0' + new Date().getHours() : new Date().getHours();
|
let hh = new Date().getHours() < 10 ? '0' + new Date().getHours() : new Date().getHours();
|
||||||
let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes() : new Date().getMinutes();
|
let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes() : new Date().getMinutes();
|
||||||
let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds();
|
let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user