Commit 69b632ad authored by syadziy's avatar syadziy

update formula CAT

parent 364abe7e
......@@ -1148,8 +1148,11 @@ export default class CorporateAnnualTarget extends Component {
let convertID = -1
if (tableMeta.rowData[11].value == 'FORMULA') {
let indexIDReport = dataTable2.findIndex((val) => val[1] == item)
// console.log(indexIDReport);
if (indexIDReport != -1) {
convertID = dataTable2[indexIDReport][31]
}
}
let indexID = dataTable2.findIndex((val) => val[31] == (convertID == -1 ? item : convertID))
if (indexID !== -1) {
let valuezz = dataTable2[indexID][tableMeta.columnIndex].value == undefined ? dataTable2[indexID][tableMeta.columnIndex] : dataTable2[indexID][tableMeta.columnIndex].value
......
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