From d796ddf086c48a31ade3cc873bb92b115cfa200f Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 5 Nov 2024 15:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue index 877c71701f..c6fe59a5ba 100644 --- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue +++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue @@ -1023,9 +1023,14 @@ export default { var date = { year: nowDate.getFullYear(), month: nowDate.getMonth() + 1, - day: nowDate.getDate() + day: nowDate.getDate(), + hours: nowDate.getHours(), + minutes: nowDate.getMinutes(), + seconds: nowDate.getSeconds() } this.formobj.createDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + this.formobj.entryTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + ' ' + date.hours + ':' + (date.minutes >= 10 ? date.minutes : '0' + date.minutes) + ':' + (date.seconds >= 10 ? date.seconds : '0' + date.seconds) + this.formobj.estimatedFinishTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + ' ' + date.hours + ':' + (date.minutes >= 10 ? date.minutes : '0' + date.minutes) + ':' + (date.seconds >= 10 ? date.seconds : '0' + date.seconds) this.formobj.isSpecialSign = '0' this.formobj.isGoOut = '2' this.formobj.nodeCode = '1'