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
249edc50
Commit
249edc50
authored
Mar 23, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
b684c83c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
OperatingIndicator.js
src/container/OprIndicator/OperatingIndicator.js
+3
-3
OperatingIndicatorRO.js
src/container/RollingOutlook/OperatingIndicatorRO.js
+12
-12
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+12
-12
No files found.
src/container/OprIndicator/OperatingIndicator.js
View file @
249edc50
...
@@ -508,10 +508,10 @@ export default class OperatingIndicator extends Component {
...
@@ -508,10 +508,10 @@ export default class OperatingIndicator extends Component {
borderColor
:
'transparent'
borderColor
:
'transparent'
}}
}}
onClick
=
{()
=>
onClick
=
{()
=>
tableMeta
.
rowData
[
4
]
?
//
tableMeta.rowData[4] ?
this
.
clickDetail
(
tableMeta
.
rowData
,
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
3
],
tableMeta
.
rowData
[
2
])
this
.
clickDetail
(
tableMeta
.
rowData
,
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
3
],
tableMeta
.
rowData
[
2
])
:
//
:
null
//
null
}
}
>
>
<
Typography
style
=
{{
color
:
tableMeta
.
rowData
[
4
]
?
'#5198ea'
:
'GrayText'
,
fontSize
:
12
,
}}
>
Detail
<
/Typography
>
<
Typography
style
=
{{
color
:
tableMeta
.
rowData
[
4
]
?
'#5198ea'
:
'GrayText'
,
fontSize
:
12
,
}}
>
Detail
<
/Typography
>
...
...
src/container/RollingOutlook/OperatingIndicatorRO.js
View file @
249edc50
...
@@ -1113,7 +1113,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1113,7 +1113,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1132,7 +1132,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1132,7 +1132,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1206,7 +1206,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1206,7 +1206,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1225,7 +1225,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1225,7 +1225,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1299,7 +1299,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1299,7 +1299,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1318,7 +1318,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1318,7 +1318,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1392,7 +1392,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1392,7 +1392,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1411,7 +1411,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1411,7 +1411,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1485,7 +1485,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1485,7 +1485,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1504,7 +1504,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1504,7 +1504,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1578,7 +1578,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1578,7 +1578,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleParent
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1597,7 +1597,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1597,7 +1597,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
handleFormula
(
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
...
src/container/RollingOutlook/ProfitLossRO.js
View file @
249edc50
...
@@ -1334,7 +1334,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1334,7 +1334,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1372,7 +1372,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1372,7 +1372,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1432,7 +1432,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1432,7 +1432,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1470,7 +1470,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1470,7 +1470,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1530,7 +1530,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1530,7 +1530,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1568,7 +1568,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1568,7 +1568,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1628,7 +1628,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1628,7 +1628,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1666,7 +1666,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1666,7 +1666,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1726,7 +1726,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1726,7 +1726,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1764,7 +1764,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1764,7 +1764,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1824,7 +1824,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1824,7 +1824,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1862,7 +1862,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1862,7 +1862,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
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