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
30c9ef8e
Commit
30c9ef8e
authored
Jan 06, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
3caa93ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
28 deletions
+25
-28
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+25
-28
No files found.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
30c9ef8e
...
@@ -509,9 +509,6 @@ export default class BalanceSheetMR extends Component {
...
@@ -509,9 +509,6 @@ export default class BalanceSheetMR extends Component {
}
else
if
(
i
[
18
]
===
""
&&
(
Number
(
i
[
14
])
<
this
.
state
.
minValue
||
Number
(
i
[
14
])
>
this
.
state
.
maxValue
))
{
}
else
if
(
i
[
18
]
===
""
&&
(
Number
(
i
[
14
])
<
this
.
state
.
minValue
||
Number
(
i
[
14
])
>
this
.
state
.
maxValue
))
{
console
.
log
(
'msk 2'
);
console
.
log
(
'msk 2'
);
err
=
true
err
=
true
}
else
if
(
i
[
19
]
===
""
&&
(
Number
(
i
[
16
])
<
this
.
state
.
minValue
||
Number
(
i
[
16
])
>
this
.
state
.
maxValue
))
{
console
.
log
(
'msk 3'
);
err
=
true
}
}
}
}
...
@@ -2305,30 +2302,30 @@ export default class BalanceSheetMR extends Component {
...
@@ -2305,30 +2302,30 @@ export default class BalanceSheetMR extends Component {
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
// value={value}
// value={value}
control
=
{
control
=
{
tableMeta
.
rowData
[
19
]
===
""
&&
(
Number
(
tableMeta
.
rowData
[
16
])
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
16
])
>
this
.
state
.
maxValue
)
?
//
tableMeta.rowData[19] === "" && (Number(tableMeta.rowData[16]) < this.state.minValue || Number(tableMeta.rowData[16]) > this.state.maxValue) ?
<
LightTooltip
title
=
{
"MTD Explanation vs RB is Reqiured"
}
arrow
>
//
<LightTooltip title={"MTD Explanation vs RB is Reqiured"} arrow>
<
Input
//
<Input
disableUnderline
=
{
true
}
//
disableUnderline={true}
style
=
{{
fontSize
:
12
,
textAlign
:
'left'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
//
style={{ fontSize: 12, textAlign: 'left', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type
=
"text"
//
type="text"
multiline
=
{
true
}
//
multiline={true}
placeholder
=
""
//
placeholder=""
// disabled={false}
//
// disabled={false}
disabled
=
{
this
.
props
.
isApprover
?
true
:
(
this
.
state
.
get_for
==
'view'
?
true
:
false
)}
//
disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
defaultValue
=
{
tableMeta
.
rowData
[
19
]}
//
defaultValue={tableMeta.rowData[19]}
inputProps
=
{{
//
inputProps={{
style
:
{
//
style: {
color
:
"#5198ea"
,
//
color: "#5198ea",
textAlign
:
'left'
,
//
textAlign: 'left',
backgroundColor
:
'#ffac99'
//
backgroundColor: '#ffac99'
}
//
}
}}
//
}}
onBlur
=
{(
event
)
=>
{
//
onBlur={(event) => {
handleText
(
event
.
target
.
value
,
tableMeta
,
19
)
//
handleText(event.target.value, tableMeta, 19)
}}
//
}}
/
>
//
/>
<
/LightTooltip
>
//
</LightTooltip>
:
//
:
// tableMeta.rowData[0] === 7 ?
// tableMeta.rowData[0] === 7 ?
// (Number(handleValueFormula(tableMeta, 19)).toFixed(1) >= Number(this.state.minValue) && Number(handleValueFormula(tableMeta, 19)).toFixed(1) <= Number(this.state.maxValue)) ?
// (Number(handleValueFormula(tableMeta, 19)).toFixed(1) >= Number(this.state.minValue) && Number(handleValueFormula(tableMeta, 19)).toFixed(1) <= Number(this.state.maxValue)) ?
// <NumberFormat
// <NumberFormat
...
...
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