Commit d9ebeac5 authored by rifkaki's avatar rifkaki

list md cat

parent 2f5785b5
...@@ -177,9 +177,9 @@ export default class EditMasterDataCAT extends Component { ...@@ -177,9 +177,9 @@ export default class EditMasterDataCAT extends Component {
dataSource[indexID].weight = e.target.value dataSource[indexID].weight = e.target.value
this.setState({getParent: dataSource}, () => { this.setState({getParent: dataSource}, () => {
console.log(this.state.getParent); console.log(this.state.getParent);
this.clearMessage()
}) })
} }
console.log(e.target.value)
} }
handleReportName(item) { handleReportName(item) {
...@@ -334,6 +334,13 @@ export default class EditMasterDataCAT extends Component { ...@@ -334,6 +334,13 @@ export default class EditMasterDataCAT extends Component {
}) })
} }
clearMessage() {
this.setState({
errorFormula: false, msgErrorFormula: '',
errorWeight: false, msgErrorWeight: ''
})
}
closeAlert() { closeAlert() {
this.setState({ alert: false }) this.setState({ alert: false })
} }
......
...@@ -955,13 +955,6 @@ export default class MasterDataCAT extends Component { ...@@ -955,13 +955,6 @@ export default class MasterDataCAT extends Component {
} }
} }
] ]
const data = [
["", "1", "KPI", "TIA", "1", "Financial Perspective", "0", "-", "35%", "Formula", "Aktif"],
["", "2", "KPI", "TIA", "2", "Trading Profit", "1", "Rp Bio", "35%", "Formula", "Aktif"],
["", "3", "KPI", "TIA", "3", "Revenue", "1", "Rp Bio", "0%", "Formula", "Aktif"],
["", "4", "KPI", "TIA", "4", "EBITDA", "1", "Rp Bio", "0%", "Formula", "Non Aktif"],
["", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"],
]
const loadingComponent = ( const loadingComponent = (
<div style={{ position: 'absolute', zIndex: 110, top: 0, left: 0, width: '100%', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.8)' }}> <div style={{ position: 'absolute', zIndex: 110, top: 0, left: 0, width: '100%', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center', background: 'rgba(255,255,255,0.8)' }}>
<PropagateLoader <PropagateLoader
......
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