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
03e6e30d
Commit
03e6e30d
authored
Mar 19, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
apdet See merge request
!1297
parents
60b1d4c8
c72dc7e0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
519 additions
and
290 deletions
+519
-290
index.js
src/api/index.js
+11
-1
OperatingIndicator.js
src/container/OprIndicator/OperatingIndicator.js
+33
-29
BalanceSheetRO.js
src/container/RollingOutlook/BalanceSheetRO.js
+6
-6
OperatingIndicatorRO.js
src/container/RollingOutlook/OperatingIndicatorRO.js
+463
-248
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+6
-6
No files found.
src/api/index.js
View file @
03e6e30d
...
@@ -256,6 +256,11 @@ const create = (type = "") => {
...
@@ -256,6 +256,11 @@ const create = (type = "") => {
const
getRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
getRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
getRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/tax_planning/get_report_hierarki'
,
body
)
const
getRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/tax_planning/get_report_hierarki'
,
body
)
const
createRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/tax_planning/store_ro_tax_planning'
,
body
)
const
createRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/tax_planning/store_ro_tax_planning'
,
body
)
const
getRollingOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/get_operating_indicator_id'
,
body
)
const
getHierarkiRollingOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/get_report_hierarki'
,
body
)
const
createRollingOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/create_rolling_outlook'
,
body
)
const
getLastestUpdateROOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/get_latest_update'
,
body
)
//REPORT NEW
//REPORT NEW
...
@@ -728,7 +733,12 @@ const create = (type = "") => {
...
@@ -728,7 +733,12 @@ const create = (type = "") => {
getRollingOutlookRevision
,
getRollingOutlookRevision
,
getRollingOutlookIsApprover
,
getRollingOutlookIsApprover
,
checkImportRollingOutlookBS
,
checkImportRollingOutlookBS
,
importRollingOutlookBS
importRollingOutlookBS
,
getRollingOI
,
getHierarkiRollingOI
,
createRollingOI
,
getLastestUpdateROOI
}
}
}
}
...
...
src/container/OprIndicator/OperatingIndicator.js
View file @
03e6e30d
...
@@ -190,7 +190,7 @@ export default class OperatingIndicator extends Component {
...
@@ -190,7 +190,7 @@ export default class OperatingIndicator extends Component {
})
})
if
(
arrayBaru
.
length
>
0
)
{
if
(
arrayBaru
.
length
>
0
)
{
arrayBaru
=
arrayBaru
.
sort
((
a
,
b
)
=>
a
.
company_name
.
localeCompare
(
b
.
company_name
))
arrayBaru
=
arrayBaru
.
sort
((
a
,
b
)
=>
a
.
company_name
.
localeCompare
(
b
.
company_name
))
}
}
let
defaultProps
=
{
let
defaultProps
=
{
...
@@ -343,13 +343,17 @@ export default class OperatingIndicator extends Component {
...
@@ -343,13 +343,17 @@ export default class OperatingIndicator extends Component {
})
})
}
else
if
(
String
(
item
[
1
]).
toLocaleLowerCase
().
includes
(
"rolling outlook"
))
{
}
else
if
(
String
(
item
[
1
]).
toLocaleLowerCase
().
includes
(
"rolling outlook"
))
{
let
quarter
=
String
(
item
[
1
]).
toLocaleLowerCase
().
includes
(
'q1'
)
?
"q1"
:
String
(
item
[
1
]).
toLocaleLowerCase
().
includes
(
'q2'
)
?
"q2"
:
String
(
item
[
1
]).
toLocaleLowerCase
().
includes
(
'q3'
)
?
"q3"
:
null
this
.
setState
({
this
.
setState
({
statusDetail
:
String
(
item
[
2
]).
toLocaleLowerCase
(),
statusDetail
:
String
(
item
[
2
]).
toLocaleLowerCase
(),
dataDetail
:
{
...
this
.
state
.
dataReport
[
index
],
periode
:
this
.
state
.
periode
.
periode
,
operatingIndID
:
this
.
state
.
operatingIndID
,
company
:
this
.
state
.
company
},
dataDetail
:
{
...
this
.
state
.
dataReport
[
index
],
periode
:
this
.
state
.
periode
.
periode
,
operatingIndID
:
this
.
state
.
operatingIndID
,
company
:
this
.
state
.
company
},
visibleOperatingIndicator
:
false
,
visibleOperatingIndicator
:
false
,
visibleDetailOpt
:
false
,
visibleDetailOpt
:
false
,
visibleDetailMonthly
:
false
,
visibleDetailMonthly
:
false
,
visibleDetailRolling
:
true
visibleDetailRolling
:
true
,
quartal
:
quarter
})
})
}
else
{
}
else
{
...
@@ -421,7 +425,7 @@ export default class OperatingIndicator extends Component {
...
@@ -421,7 +425,7 @@ export default class OperatingIndicator extends Component {
}
}
saveRollingOI
(
payload
)
{
saveRollingOI
(
payload
)
{
api
.
create
().
create
MonthlyReport
OI
(
payload
).
then
((
response
)
=>
{
api
.
create
().
create
Rolling
OI
(
payload
).
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
this
.
getReport
()
this
.
getReport
()
this
.
getOperatingID
()
this
.
getOperatingID
()
...
@@ -504,10 +508,10 @@ export default class OperatingIndicator extends Component {
...
@@ -504,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
>
...
@@ -640,7 +644,7 @@ export default class OperatingIndicator extends Component {
...
@@ -640,7 +644,7 @@ export default class OperatingIndicator extends Component {
})}
})}
getReport
=
{()
=>
this
.
getOperatingID
()}
getReport
=
{()
=>
this
.
getOperatingID
()}
saveOperatingInd
=
{
this
.
saveOperatingInd
.
bind
(
this
)}
saveOperatingInd
=
{
this
.
saveOperatingInd
.
bind
(
this
)}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
/
>
/
>
}
}
...
@@ -658,7 +662,7 @@ export default class OperatingIndicator extends Component {
...
@@ -658,7 +662,7 @@ export default class OperatingIndicator extends Component {
})}
})}
getReport
=
{()
=>
this
.
getOperatingID
()}
getReport
=
{()
=>
this
.
getOperatingID
()}
saveMonthlyOI
=
{
this
.
saveMonthlyOI
.
bind
(
this
)}
saveMonthlyOI
=
{
this
.
saveMonthlyOI
.
bind
(
this
)}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
/
>
/
>
}
}
...
@@ -669,7 +673,7 @@ export default class OperatingIndicator extends Component {
...
@@ -669,7 +673,7 @@ export default class OperatingIndicator extends Component {
data
=
{
this
.
state
.
dataDetail
}
data
=
{
this
.
state
.
dataDetail
}
height
=
{
this
.
props
.
height
}
height
=
{
this
.
props
.
height
}
width
=
{
this
.
props
.
width
}
width
=
{
this
.
props
.
width
}
months
=
{
this
.
state
.
months
}
quartal
=
{
this
.
state
.
quartal
}
company
=
{
this
.
state
.
company
}
company
=
{
this
.
state
.
company
}
onClickClose
=
{()
=>
this
.
setState
({
visibleDetailRolling
:
false
,
visibleOperatingIndicator
:
true
},
()
=>
{
onClickClose
=
{()
=>
this
.
setState
({
visibleDetailRolling
:
false
,
visibleOperatingIndicator
:
true
},
()
=>
{
this
.
getOperatingID
()
this
.
getOperatingID
()
...
@@ -677,7 +681,7 @@ export default class OperatingIndicator extends Component {
...
@@ -677,7 +681,7 @@ export default class OperatingIndicator extends Component {
})}
})}
getReport
=
{()
=>
this
.
getOperatingID
()}
getReport
=
{()
=>
this
.
getOperatingID
()}
saveRollingOI
=
{
this
.
saveRollingOI
.
bind
(
this
)}
saveRollingOI
=
{
this
.
saveRollingOI
.
bind
(
this
)}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
isSubmit
=
{
this
.
state
.
statusDetail
==
'closed'
?
false
:
this
.
state
.
isSubmit
}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
permission
=
{{
create
:
this
.
state
.
buttonCreate
,
edit
:
this
.
state
.
buttonEdit
,
delete
:
this
.
state
.
buttonDelete
}}
/
>
/
>
}
}
...
...
src/container/RollingOutlook/BalanceSheetRO.js
View file @
03e6e30d
...
@@ -1481,7 +1481,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -1481,7 +1481,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1612,7 +1612,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -1612,7 +1612,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1743,7 +1743,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -1743,7 +1743,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1874,7 +1874,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -1874,7 +1874,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -2005,7 +2005,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -2005,7 +2005,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -2136,7 +2136,7 @@ export default class BalanceSheetRO extends Component {
...
@@ -2136,7 +2136,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
...
src/container/RollingOutlook/OperatingIndicatorRO.js
View file @
03e6e30d
This diff is collapsed.
Click to expand it.
src/container/RollingOutlook/ProfitLossRO.js
View file @
03e6e30d
...
@@ -1343,7 +1343,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1343,7 +1343,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1441,7 +1441,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1441,7 +1441,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1539,7 +1539,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1539,7 +1539,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1637,7 +1637,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1637,7 +1637,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1735,7 +1735,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1735,7 +1735,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
@@ -1833,7 +1833,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1833,7 +1833,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
true
:
fals
e
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
tru
e
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
...
...
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