Commit f214106e authored by rifkaki's avatar rifkaki

ngisue tofixed tp

parent 544ddae8
......@@ -776,7 +776,7 @@ export default class TaxPlanningMR extends Component {
}
}
return Number(total).toFixed(1)
return tableMeta.rowData[8] == "Corporate Income Tax" ? Number(total).toFixed(2) : Number(total).toFixed(1)
}
const handleChange = (value, tableMeta, indexChilds) => {
......@@ -814,7 +814,7 @@ export default class TaxPlanningMR extends Component {
}
})
dataTable2[tableMeta.rowIndex][10] = Number(total).toFixed(1)
dataTable2[tableMeta.rowIndex][10] = Number(total)
return total
}
......
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