瀏覽代碼

2022.7.18 表格数据tofixed

ggooalice 2 年之前
父節點
當前提交
246d223533
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

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

@@ -977,7 +977,7 @@
                   {{
                     scope.row.worktimeList.filter(
                       (w) =>w.createDate==item.date
-                    )[0].workingTime
+                    )[0].workingTime.toFixed(1)
                   }}
                 </div>
                 <div
@@ -994,7 +994,7 @@
                   {{
                     scope.row.worktimeList.filter(
                       (w) =>w.createDate==item.date
-                    )[0].workingTime
+                    )[0].workingTime.toFixed(1)
                   }}
                 </div>
                 <div