qukaidi %!s(int64=3) %!d(string=hai) anos
pai
achega
02f3111a2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/workManagement/main-items/detailsPage.vue

+ 1 - 1
src/views/workManagement/main-items/detailsPage.vue

@@ -714,7 +714,7 @@ export default {
       this.$set(this.formTwo, "createUserName", this.$store.getters.userInfo.user_name)
 
       let date = new Date();
-      let strDate = date.getFullYear() + "-" + (date.getsecond() + 1) + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
+      let strDate = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
       this.$set(this.formTwo, "createTime", strDate)
 
       //备注格式