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