this.setState({perusahaan:typeProps,perusahaanData:response.data.data,getPerusahaan:index==-1?null:perusahaanData[index],msgErrorPerusahaan:index===-1?'Company has been inactive':"",errorPerusahaan:index===-1?true:false})
this.setState({perusahaan:typeProps,perusahaanData:response.data.data,getPerusahaan:index==-1?null:perusahaanData[index],msgErrorPerusahaan:index===-1?'Company has been Inactive':"",errorPerusahaan:index===-1?true:false})
this.setState({perusahaan:typeProps,perusahaanData:response.data.data,getPerusahaan:index==-1?null:perusahaanData[index],msgErrorPC:index===-1?'Company has been Inactive':"",errorPC:index===-1?true:false})
this.setState({types:typeProps,typeData:response.data.data,getTypes:index==-1?null:typeData[index],msgErrorUB:index===-1?'Business Unit has been Inactive':"",errorUB:index===-1?true:false})
this.setState({listRole:defaultProps,role:index===-1?null:roleData[index],msgErrorRN:index===-1?'Role has been inactive':'',errorRoleName:index===-1?true:false})
this.setState({listRole:defaultProps,role:index===-1?null:roleData[index],msgErrorRN:index===-1?'Role has been Inactive':'',errorRoleName:index===-1?true:false})