diff --git a/klp-ui/src/components/TimeInput.vue b/klp-ui/src/components/TimeInput.vue index 2ca612e4..a96da4ea 100644 --- a/klp-ui/src/components/TimeInput.vue +++ b/klp-ui/src/components/TimeInput.vue @@ -48,7 +48,10 @@ export default { } const date = new Date(dateTimeStr); if (!isNaN(date.getTime())) { - this.dateValue = date.toISOString().split('T')[0]; + const year = date.getFullYear(); + const month = String(date.getMonth() + 1).padStart(2, '0'); + const day = String(date.getDate()).padStart(2, '0'); + this.dateValue = `${year}-${month}-${day}`; this.hourValue = date.getHours(); this.minuteValue = date.getMinutes(); } diff --git a/klp-ui/src/views/mes/roll/grind/index.vue b/klp-ui/src/views/mes/roll/grind/index.vue index 32082c53..fe8362cd 100644 --- a/klp-ui/src/views/mes/roll/grind/index.vue +++ b/klp-ui/src/views/mes/roll/grind/index.vue @@ -342,7 +342,6 @@ -