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
144550ba
Commit
144550ba
authored
May 17, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat issue
parent
09fc9db3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+5
-4
No files found.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
144550ba
...
@@ -116,7 +116,7 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -116,7 +116,7 @@ export default class CorporateAnnualTargetRO extends Component {
}
}
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
// this.setState({
viewOnly: true
})
// this.setState({
viewOnly: true
})
}
}
getItemHierarki
()
{
getItemHierarki
()
{
...
@@ -149,7 +149,7 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -149,7 +149,7 @@ export default class CorporateAnnualTargetRO extends Component {
item
.
formula
,
item
.
formula
,
item
.
level
,
item
.
level
,
item
.
description
,
item
.
description
,
item
.
corporate_annual_target
.
weight
==
""
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
weight
).
toFixed
(
1
),
item
.
corporate_annual_target
.
weight
==
""
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
item
.
corporate_annual_target
.
weight
).
toFixed
(
1
),
parentTrue
?
item
.
corporate_annual_target
.
uom
:
item
.
uom
,
parentTrue
?
item
.
corporate_annual_target
.
uom
:
item
.
uom
,
parentTrue
?
item
.
corporate_annual_target
.
kpi
==
""
?
null
:
{
value
:
item
.
corporate_annual_target
.
kpi
}
:
item
.
kpi_type
==
""
?
null
:
{
value
:
item
.
kpi_type
},
parentTrue
?
item
.
corporate_annual_target
.
kpi
==
""
?
null
:
{
value
:
item
.
corporate_annual_target
.
kpi
}
:
item
.
kpi_type
==
""
?
null
:
{
value
:
item
.
kpi_type
},
parentTrue
?
item
.
corporate_annual_target
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
corporate_annual_target
.
max_ach
)
}
:
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
parentTrue
?
item
.
corporate_annual_target
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
corporate_annual_target
.
max_ach
)
}
:
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
...
@@ -188,7 +188,8 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -188,7 +188,8 @@ export default class CorporateAnnualTargetRO extends Component {
item
.
formula
,
item
.
formula
,
item
.
level
,
item
.
level
,
item
.
description
,
item
.
description
,
item
.
weight
==
''
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
Number
(
item
.
weight
)
*
100
).
toFixed
(
1
),
// item.weight == '' ? Number(0).toFixed(1) : Number(Number(item.weight) * 100).toFixed(1),
item
.
corporate_annual_target
.
weight
==
""
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
item
.
corporate_annual_target
.
weight
).
toFixed
(
1
),
item
.
corporate_annual_target
.
uom
,
item
.
corporate_annual_target
.
uom
,
item
.
kpi_type
==
""
?
null
:
{
value
:
item
.
kpi_type
},
item
.
kpi_type
==
""
?
null
:
{
value
:
item
.
kpi_type
},
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
...
@@ -530,7 +531,7 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -530,7 +531,7 @@ export default class CorporateAnnualTargetRO extends Component {
item
.
formula
,
item
.
formula
,
item
.
level
,
item
.
level
,
item
.
item_report
,
item
.
item_report
,
Number
(
String
(
item
.
weight
).
substr
(
0
,
String
(
item
.
weight
).
length
-
1
)),
Number
(
String
(
item
.
weight
).
substr
(
0
,
String
(
item
.
weight
).
length
-
1
)),
item
.
uom
,
item
.
uom
,
item
.
kpi
==
""
||
item
.
kpi
==
null
?
null
:
{
value
:
item
.
kpi
},
item
.
kpi
==
""
||
item
.
kpi
==
null
?
null
:
{
value
:
item
.
kpi
},
item
.
max_ach
==
""
||
item
.
max_ach
==
null
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
item
.
max_ach
==
""
||
item
.
max_ach
==
null
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
...
...
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