if(R.isNil(this.state.typeId))returnalert("Tipe Persetujuan is Required.");
if(R.isEmpty(this.state.order))returnalert("Order is Required.");
if(R.isEmpty(this.state.order)){
this.setState({errorOrder:true,msgErrOrder:'Order is Required.'})
}
if(R.isNil(this.state.userId))returnalert("Pemberi Persetujuan is Required.");
if(R.isNil(this.state.operatorId))returnalert("Operator is Required.");
if(!R.isEmpty(this.state.startDate)&&!R.isEmpty(this.state.endDate)&&(this.state.startDate>this.state.endDate))returnalert("Masa Berlaku Tidak Boleh Kurang Dari Tanggal Mulai");