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
a0a7d1f0
Commit
a0a7d1f0
authored
Dec 21, 2020
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lanjut besok
parent
73e2550c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
24 deletions
+26
-24
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+26
-24
No files found.
src/container/MonthlyReport/ProfitLossMR.js
View file @
a0a7d1f0
...
@@ -1688,25 +1688,26 @@ export default class ProfitLossMR extends Component {
...
@@ -1688,25 +1688,26 @@ export default class ProfitLossMR extends Component {
handleText
(
event
.
target
.
value
,
tableMeta
,
1
)
handleText
(
event
.
target
.
value
,
tableMeta
,
1
)
}}
}}
/
>
/
>
<
/LightTooltipError>
:
<
/LightTooltipError>
<
Input
:
disableUnderline
=
{
true
}
<
Input
style
=
{{
color
:
"#5198ea"
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
disableUnderline
=
{
true
}
type
=
"text"
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
placeholder
=
""
type
=
"text"
// disabled={Number(tableMeta.rowData[16]) < this.state.minValue || Number(tableMeta.rowData[16]) > this.state.maxValue ? false : true}
placeholder
=
""
// value={tableMeta.rowData[20]}
// disabled={Number(tableMeta.rowData[16]) < this.state.minValue || Number(tableMeta.rowData[16]) > this.state.maxValue ? false : true}
defaultValue
=
{
tableMeta
.
rowData
[
20
]}
// value={tableMeta.rowData[20]}
inputProps
=
{{
defaultValue
=
{
tableMeta
.
rowData
[
20
]}
style
:
{
inputProps
=
{{
color
:
Number
(
tableMeta
.
rowData
[
14
])
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
14
])
>
this
.
state
.
maxValue
?
"#5198ea"
:
'#5198ea'
,
style
:
{
textAlign
:
'right'
color
:
Number
(
tableMeta
.
rowData
[
16
])
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
16
])
>
this
.
state
.
maxValue
?
"#5198ea"
:
'#5198ea'
,
}
textAlign
:
'right'
}}
}
onBlur
=
{(
event
)
=>
{
}}
handleText
(
event
.
target
.
value
,
tableMeta
,
1
)
onBlur
=
{(
event
)
=>
{
}}
handleText
(
event
.
target
.
value
,
tableMeta
,
1
)
/
>
}}
/
>
}
}
/>
}
/>
}
<
/div
>
<
/div
>
...
@@ -1733,18 +1734,19 @@ export default class ProfitLossMR extends Component {
...
@@ -1733,18 +1734,19 @@ export default class ProfitLossMR extends Component {
inputProps
=
{{
inputProps
=
{{
style
:
{
style
:
{
color
:
"#5198ea"
,
color
:
"#5198ea"
,
textAlign
:
'right'
,
textAlign
:
'right'
,
backgroundColor
:
'#ffac99'
backgroundColor
:
'#ffac99'
}
}
}}
}}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleText
(
event
.
target
.
value
,
tableMeta
,
2
)
handleText
(
event
.
target
.
value
,
tableMeta
,
2
)
}}
}}
/
>
/
>
<
/LightTooltipError>
:
<
/LightTooltipError>
:
<
Input
<
Input
disableUnderline
=
{
true
}
disableUnderline
=
{
true
}
style
=
{{
color
:
"#5198ea"
,
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
=
""
// disabled={Number(tableMeta.rowData[18]) < this.state.minValue || Number(tableMeta.rowData[18]) > this.state.maxValue ? false : true}
// disabled={Number(tableMeta.rowData[18]) < this.state.minValue || Number(tableMeta.rowData[18]) > this.state.maxValue ? false : true}
...
@@ -1752,7 +1754,7 @@ export default class ProfitLossMR extends Component {
...
@@ -1752,7 +1754,7 @@ export default class ProfitLossMR extends Component {
defaultValue
=
{
tableMeta
.
rowData
[
21
]}
defaultValue
=
{
tableMeta
.
rowData
[
21
]}
inputProps
=
{{
inputProps
=
{{
style
:
{
style
:
{
color
:
Number
(
tableMeta
.
rowData
[
1
6
])
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
16
])
>
this
.
state
.
maxValue
?
"#5198ea"
:
'#5198ea'
,
color
:
Number
(
tableMeta
.
rowData
[
1
8
])
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
18
])
>
this
.
state
.
maxValue
?
"#5198ea"
:
'#5198ea'
,
textAlign
:
'right'
textAlign
:
'right'
}
}
}}
}}
...
...
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