Parcourir la source

调整修井公式

Zimo il y a 3 jours
Parent
commit
a062459ba9
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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) * 100).toFixed(2))
 }, 100)
 
 const calculate = (row: ReportDetail) => {