Commit 322d60a5 authored by Riri Novita's avatar Riri Novita

Update Issue TP RO

parent eb3e597b
......@@ -760,7 +760,6 @@ export default class TaxPlanning extends Component {
// let data = []
let errorContrl = this.state.buttonError
let editAble = this.state.editAble
// console.log(this.state.dataTable)
this.state.dataTable.map((i, index) => {
if (String(i[8]) == "Control (should be nil)") {
this.setState({ loading: true })
......@@ -7190,9 +7189,13 @@ export default class TaxPlanning extends Component {
marginRight: 20
}}
onClick={() => {
this.setState({ loading: true, dataTable: dataTable2 }, () => {
this.setState({ datatable: dataTable2 }, () => {
setTimeout(() => {
this.handleValidate()
this.setState({ loading: true }, () => {
setTimeout(() => {
this.handleValidate()
}, 100);
})
}, 100);
})
}}
......@@ -7308,9 +7311,13 @@ export default class TaxPlanning extends Component {
}}
onClick={() => {
// this.forceUpdate()
this.setState({ loading: true, buttonDraft: false }, () => {
this.setState({ datatable: dataTable2 }, () => {
setTimeout(() => {
this.handleValidate()
this.setState({ loading: true }, () => {
setTimeout(() => {
this.handleValidate()
}, 100);
})
}, 100);
})
}}
......
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