山水共长天一色 3 лет назад
Родитель
Сommit
e2a89af9cf
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

+ 17 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -917,6 +917,22 @@
                 >
                   0
                 </div>
+                <div
+                  v-if="
+                    scope.row.worktimeList.filter(
+                      (w) =>w.createDate==item.date
+                    ).length > 0 &&
+                    typeof scope.row.worktimeList.filter(
+                      (w) =>w.createDate==item.date
+                    )[0].workingTime == 'string'
+                  "
+                >
+                  {{
+                    scope.row.worktimeList.filter(
+                      (w) =>w.createDate==item.date
+                    )[0].workingTime
+                  }}
+                </div>
               </template>
             </el-table-column>
           </el-table>
@@ -1925,6 +1941,7 @@
           if (res.code == "ok") {
             this.tbload = false;
             this.pickDateArray = res.data.days;
+            console.log('dataarray',res.data.days);
             this.monthworkDate = res.data.list;
             // this.monthworkDateS = this.monthworkDate
             this.monthworkDateS1 = res.data.list