Commit b098db03 authored by muhammad ridwan's avatar muhammad ridwan

Merge branch 'ENV-DEV-CR-CAFRM' into 'ENV-DEPLOYMENT'

Env dev cr cafrm

See merge request !1594
parents 76bf230a 5fbb6259
...@@ -52,11 +52,13 @@ export default class CreateCarfmDoc extends Component { ...@@ -52,11 +52,13 @@ export default class CreateCarfmDoc extends Component {
} }
async componentDidMount() { async componentDidMount() {
this.props.handleLoading(1)
await this.getMenuName() await this.getMenuName()
await this.getDataCompany() await this.getDataCompany()
await this.getPeriode() await this.getPeriode()
await this.getMonth() await this.getMonth()
await this.getFileSize() await this.getFileSize()
this.props.handleLoading(0)
} }
async getFileSize() { async getFileSize() {
...@@ -459,11 +461,12 @@ export default class CreateCarfmDoc extends Component { ...@@ -459,11 +461,12 @@ export default class CreateCarfmDoc extends Component {
type="button" type="button"
onClick={() => onClick={() =>
{ {
this.props.handleLoading(1);
this.setState({ this.setState({
saveDisable: true, saveDisable: true,
submitVal : this.state.submitVal + 1 submitVal : this.state.submitVal + 1
}, console.log()); }, console.log());
this.props.handleLoading(1);
setTimeout(() => { setTimeout(() => {
this.validasi() this.validasi()
......
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