Commit d0769bab authored by jingnan's avatar jingnan 👀

工时确认工时占比显示错误修改

parent 9c4fd4c8
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
res.items.content.forEach(element => { res.items.content.forEach(element => {
element.allWorkHour = this.form.allWorkHour || this.basicData.joExecutePlan.allWorkHour element.allWorkHour = this.form.allWorkHour || this.basicData.joExecutePlan.allWorkHour
if (element.workHour !== null) { if (element.workHour !== null) {
element.workHourOPercent = this.oPercent(element.workHour, element.allWorkHour) element.workHourOPercent = this.oPercent(element.workHour / 60, element.allWorkHour)
} else { } else {
element.workHourOPercent = null element.workHourOPercent = null
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment