Commit 69b632ad authored by syadziy's avatar syadziy

update formula CAT

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