Commit badc6d02 authored by d.arizona's avatar d.arizona

update jebol handle

parent 44ec0f7e
......@@ -90,6 +90,7 @@ export default class CorporateAnnualTargetRO extends Component {
let checkStatus = false
let checkPrevRev = false
console.log('skuy');
// console.log(this.props.isApprover)
if (this.props.isApprover) {
checkApprover = true
} else {
......@@ -114,8 +115,8 @@ export default class CorporateAnnualTargetRO extends Component {
checkStatus = false
}
// this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev })
this.setState({viewOnly: true})
this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev })
// this.setState({viewOnly: true})
}
getItemHierarki() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment