Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
e345e36f
Commit
e345e36f
authored
Feb 02, 2022
by
syadziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update issue CAT
parent
af84942a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+14
-5
No files found.
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
e345e36f
...
@@ -1116,13 +1116,22 @@ export default class CorporateAnnualTarget extends Component {
...
@@ -1116,13 +1116,22 @@ export default class CorporateAnnualTarget extends Component {
}
}
}
}
}
else
{
}
else
{
// // // console.log(dataTable2[tableMeta.rowIndex][30])
let
convertID
=
-
1
let
array
=
dataTable2
[
tableMeta
.
rowIndex
][
30
].
filter
((
val
)
=>
val
.
periode
==
Number
(
column
))
if
(
tableMeta
.
rowData
[
11
].
value
==
'FORMULA'
)
{
if
(
array
.
length
>
0
&&
array
[
0
]
!=
undefined
)
{
let
indexIDReport
=
dataTable2
.
findIndex
((
val
)
=>
val
[
1
]
==
formulaAwal
)
let
valuezz
=
array
[
0
].
value
convertID
=
dataTable2
[
indexIDReport
][
31
]
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
31
]
==
(
convertID
==
-
1
?
item
:
convertID
))
let
valuezz
=
dataTable2
[
indexID
][
tableMeta
.
columnIndex
].
value
==
undefined
?
dataTable2
[
indexID
][
tableMeta
.
columnIndex
]
:
dataTable2
[
indexID
][
tableMeta
.
columnIndex
].
value
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
}
else
{
// // // console.log(dataTable2[tableMeta.rowIndex][30])
let
array
=
dataTable2
[
tableMeta
.
rowIndex
][
30
].
filter
((
val
)
=>
val
.
periode
==
Number
(
column
))
if
(
array
.
length
>
0
&&
array
[
0
]
!=
undefined
)
{
let
valuezz
=
array
[
0
].
value
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
}
// // // console.log(valuezz)
}
}
// // // console.log(valuezz)
// let indexID = dataTable2[tableMeta.rowIndex][30].findIndex((val) => val.periode == Number(this.props.periode))
// let indexID = dataTable2[tableMeta.rowIndex][30].findIndex((val) => val.periode == Number(this.props.periode))
// if (indexID !== -1) {
// if (indexID !== -1) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment