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
99c8d08f
Commit
99c8d08f
authored
Aug 16, 2022
by
syadziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update issue RO Formula
parent
60f43ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+12
-12
No files found.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
99c8d08f
...
...
@@ -826,14 +826,14 @@ export default class CorporateAnnualTargetRO extends Component {
}
else
{
let
convertID
=
-
1
if
(
tableMeta
.
rowData
[
1
1
].
value
==
'FORMULA'
)
{
if
(
tableMeta
.
rowData
[
1
0
].
value
==
'FORMULA'
)
{
let
indexIDReport
=
dataTable2
.
findIndex
((
val
)
=>
val
[
1
]
==
item
)
convertID
=
dataTable2
[
indexIDReport
][
31
]
convertID
=
dataTable2
[
indexIDReport
][
26
]
}
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
31
]
==
(
convertID
==
-
1
?
item
:
convertID
))
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
26
]
==
(
convertID
==
-
1
?
item
:
convertID
))
if
(
indexID
!==
-
1
)
{
let
valuezz
=
dataTable2
[
indexID
][
tableMeta
.
columnIndex
].
value
==
undefined
?
dataTable2
[
indexID
][
tableMeta
.
columnIndex
]
:
dataTable2
[
indexID
][
tableMeta
.
columnIndex
].
value
if
(
item
==
dataTable2
[
tableMeta
.
rowIndex
][
31
])
{
if
(
item
==
dataTable2
[
tableMeta
.
rowIndex
][
26
])
{
anjay
.
push
(
0
)
}
else
{
anjay
.
push
(
valuezz
==
""
?
"0"
:
valuezz
)
...
...
@@ -847,8 +847,8 @@ export default class CorporateAnnualTargetRO extends Component {
}
})
// if (tableMeta.rowData[11].value == 'FORMULA') {
//
console.log(anjay)
//
console.log(column)
//
console.log(anjay)
//
console.log(column)
// }
...
...
@@ -1445,7 +1445,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q2"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
@@ -1545,7 +1545,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q2"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
@@ -1645,7 +1645,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q2"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
@@ -1745,7 +1745,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
@@ -1845,7 +1845,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
@@ -1945,7 +1945,7 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
this
.
state
.
get_for
==
"view"
||
this
.
props
.
quartal
==
"q3"
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
...
...
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