|
@ -115,9 +115,9 @@ |
|
|
year: true, |
|
|
year: true, |
|
|
month: true, |
|
|
month: true, |
|
|
day: true, |
|
|
day: true, |
|
|
hour: false, |
|
|
hour: true, |
|
|
minute: false, |
|
|
minute: true, |
|
|
second: false, |
|
|
second: true, |
|
|
timestamp: true, |
|
|
timestamp: true, |
|
|
}) |
|
|
}) |
|
|
const form = ref({ |
|
|
const form = ref({ |
|
@ -200,9 +200,9 @@ |
|
|
// 选择返工返修时间回调函数 |
|
|
// 选择返工返修时间回调函数 |
|
|
function selectReworkTime(index){ |
|
|
function selectReworkTime(index){ |
|
|
console.log(index) |
|
|
console.log(index) |
|
|
const dateStr = `${index.year}-${index.month}-${index.day}` |
|
|
const dateStr = `${index.year}-${index.month}-${index.day} ${index.hour}:${index.minute}:${index.second}` |
|
|
form.value.reworkStr = dateStr |
|
|
form.value.reworkStr = dateStr |
|
|
form.value.reworkTime = index.timestamp |
|
|
form.value.reworkTime = index.timestamp + '000' |
|
|
console.log(form.value.reworkTime) |
|
|
console.log(form.value.reworkTime) |
|
|
showReworkTime.value = false |
|
|
showReworkTime.value = false |
|
|
} |
|
|
} |
|
|