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
963e6004
Commit
963e6004
authored
Apr 13, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
cc178e9e
2a4fc862
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
53 deletions
+29
-53
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+29
-53
No files found.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
963e6004
...
...
@@ -394,7 +394,7 @@ export default class CorporateAnnualTargetRO extends Component {
"uom"
:
String
(
i
[
7
]),
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"formula
_ytd
"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
].
value
).
toFixed
(
1
))
:
String
(
i
[
11
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
].
value
).
toFixed
(
1
))
:
String
(
i
[
12
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
].
value
).
toFixed
(
1
))
:
String
(
i
[
13
]),
...
...
@@ -607,7 +607,7 @@ export default class CorporateAnnualTargetRO extends Component {
"uom"
:
String
(
i
[
7
]),
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"formula
_ytd
"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
].
value
).
toFixed
(
1
))
:
String
(
i
[
11
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
].
value
).
toFixed
(
1
))
:
String
(
i
[
12
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
].
value
).
toFixed
(
1
))
:
String
(
i
[
13
]),
...
...
@@ -2437,62 +2437,38 @@ export default class CorporateAnnualTargetRO extends Component {
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
this
.
state
.
get_for
==
"view"
?
<
NumberForma
t
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'
righ
t'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
<
Inpu
t
disableUnderline
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'
lef
t'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
).
toFixed
(
1
)
}
defaultValue
=
{
value
}
/
>
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
disabled
=
{
true
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// console.log(tableMeta.rowData[0])
}}
/
>
}
/
>
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
color
:
this
.
props
.
quarter
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// console.log(tableMeta.rowData[0])
}}
/
>
}
/
>
<
/div
>
)
<
FormControlLabel
style
=
{{
margin
:
0
}}
// value={value}
control
=
{
<
ThemeProvider
theme
=
{
theme
}
>
<
Input
disableUnderline
=
{
true
}
style
=
{{
color
:
"#5198ea"
,
fontSize
:
12
,
textAlign
:
'center'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
,
marginBottom
:
-
5
}}
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
defaultValue
=
{
value
}
onBlur
=
{(
event
)
=>
{
// console.log(event.target.value)
// updateValue(event.target.value)
handleChangeText
(
event
.
target
.
value
,
tableMeta
)
// console.log(dataTable2)
}}
/
>
<
/ThemeProvider
>
}
/
>
}
<
/div
>
)
...
...
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