浏览代码

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

sangwenwei 1 年之前
父节点
当前提交
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