Commit e86cbcf6 authored by jingnan's avatar jingnan 👀

工时占比显示bug修改

parent 8e137fde
...@@ -201,9 +201,9 @@ export default { ...@@ -201,9 +201,9 @@ export default {
this.tableData = [] this.tableData = []
if (res.items && res.items.content) { if (res.items && res.items.content) {
res.items.content.forEach(element => { res.items.content.forEach(element => {
element.allWorkHour = this.form.allWorkHour || this.basicData.joExecutePlan.allWorkHour element.allWorkHour = this.form.allWorkHour * 60 || this.basicData.joExecutePlan.allWorkHour
if (element.workHour !== null) { if (element.workHour !== null) {
element.workHourOPercent = this.oPercent(element.workHour / 60, element.allWorkHour) element.workHourOPercent = this.oPercent(element.workHour, 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