Browse Source

2022.7.18 表格数据tofixed

ggooalice 2 years ago
parent
commit
246d223533

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

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