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'