Commit b12f70c2 authored by syadziy's avatar syadziy

upload issue opbal cat

parent 6a361537
......@@ -189,7 +189,7 @@ export default class CorporateAnnualTargetRO extends Component {
item.formula,
item.level,
item.description,
item.corporate_annual_target.weight == '' ? Number(item.weight * 100).toFixed(1) : Number(weight).toFixed(1),
item.corporate_annual_target.weight == '' ? Number(item.weight * 100).toFixed(1) : (item.parent == null ? Number(weight * 100).toFixed(1) : Number(weight).toFixed(1)),
// item.corporate_annual_target.weight == "" ? Number(0).toFixed(1) : Number(Number(weight * 100)).toFixed(1),
item.corporate_annual_target.uom,
item.kpi_type == "" ? null : { value: item.kpi_type },
......
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