Jelajahi Sumber

提交代码

Lijy 2 minggu lalu
induk
melakukan
cfb0eb998e

+ 4 - 4
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -676,7 +676,7 @@ export default {
                     id: null,
                     projectId: "",
                     projectName: "",
-                    workingTime: "",
+                    workingTime: "0",
                     content: "",
                     state: 2,
                     multiWorktime: 0,
@@ -1939,10 +1939,8 @@ export default {
                                 }
                             }
                             this.form.domains = array;
-                            // console.log('执行One')
                             this.setTotalReportHours()
                         } else {
-                            // console.log('执行TWO')
                             this.totalReportHours = 0
                             this.canCancel = false;
                             this.canEdit = true;
@@ -3093,7 +3091,9 @@ export default {
             this.initFormData();
         } else {
             //个人自己填报
-            this.getReport();
+            setTimeout(() => { 
+                this.getReport();
+            }, 1000);
         }
         
         this.getAllUsersList()