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
28331122
Commit
28331122
authored
Feb 17, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue oi
parent
165f5cff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
59 deletions
+59
-59
OperatingIndicatorMR.js
src/container/MonthlyReport/OperatingIndicatorMR.js
+59
-59
No files found.
src/container/MonthlyReport/OperatingIndicatorMR.js
View file @
28331122
...
...
@@ -702,7 +702,7 @@ export default class OperatingIndicatorMR extends Component {
})
let
a
=
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
+
type
]
=
Number
(
total
)
console
.
log
(
tableMeta
.
columnIndex
+
type
)
return
a
}
...
...
@@ -850,25 +850,25 @@ export default class OperatingIndicatorMR extends Component {
value
=
{
Number
(
handleValue
(
tableMeta
,
0
)).
toFixed
(
1
)}
/
>
<
/span>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
7
]}
decimalScale
=
{
1
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
0
)).
toFixed
(
1
)}
/
>
}
/
>
<
/div>
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={tableMeta.rowData[7]}
//
decimalScale={1}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(val, tableMeta, 0)).toFixed(1)}
//
/>
//
}
//
/>
//
</div>
//
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -952,25 +952,25 @@ export default class OperatingIndicatorMR extends Component {
decimalScale
=
{
1
}
/
>
<
/span>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
Number
(
tableMeta
.
rowData
[
8
]).
toFixed
(
1
)}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div>
//
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={ Number(tableMeta.rowData[8]).toFixed(1)}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(val, tableMeta, 1)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
...
...
@@ -1019,25 +1019,25 @@ export default class OperatingIndicatorMR extends Component {
decimalScale
=
{
1
}
/
>
<
/span>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
9
]}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div>
//
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={tableMeta.rowData[9]}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(val, tableMeta, 1)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
...
...
@@ -1125,7 +1125,7 @@ export default class OperatingIndicatorMR extends Component {
placeholder
=
""
disabled
=
{
true
}
decimalScale
=
{
1
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
2
)).
toFixed
(
1
)}
decimalScale
=
{
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