yanghao 3 天之前
父節點
當前提交
f15be5ac50
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/views/pms/iotrydailyreport/ry-xj-form.vue

+ 1 - 3
src/views/pms/iotrydailyreport/ry-xj-form.vue

@@ -451,9 +451,7 @@ const computedAllocatedEfficiency = useDebounceFn(function (row: ReportDetail) {
 
   console.log('row', row)
 
-  row.allocatedEfficiency = Number(
-    (1 - (row.duration - row.allocatedTime) / row.allocatedTime).toFixed(2)
-  )
+  row.allocatedEfficiency = Number((row.allocatedTime / row.duration).toFixed(2))
 }, 100)
 
 const calculate = (row: ReportDetail) => {