Просмотр исходного кода

报告归档详情申请时间展示

sangwenwei 1 год назад
Родитель
Сommit
f88905696a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/cw/projectReportArchive/ProjectReportArchiveForm.vue

+ 1 - 1
src/views/cw/projectReportArchive/ProjectReportArchiveForm.vue

@@ -481,7 +481,7 @@
               this.inputForm.workAttachmentDtoList = []
             }
             if (this.commonJS.isEmpty(this.inputForm.createDate)) {
-              this.inputForm.createDate = this.moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
+              this.inputForm.createDate = data.createTime
             }
             if (this.commonJS.isEmpty(this.inputForm.createBy.name)) {
               this.inputForm.createBy.name = this.$store.state.user.name