if(R.isNil(this.state.typeId))returnalert("Tipe Persetujuan is Required.");
if(R.isEmpty(this.state.order))returnalert("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");
if(R.isEmpty(this.state.startDate))returnalert("Tanggal Mulai is Required.");
if(R.isEmpty(this.state.endDate))returnalert("Tanggal Berakhir is Required.");
// if (R.isEmpty(this.state.order)) return alert("Order is Required.");
// if (!R.isEmpty(this.state.startDate) && !R.isEmpty(this.state.endDate) && (this.state.startDate > this.state.endDate)) return alert("Masa Berlaku Tidak Boleh Kurang Dari Tanggal Mulai");
// if (R.isEmpty(this.state.startDate)) return alert("Tanggal Mulai is Required.");
// if (R.isEmpty(this.state.endDate)) return alert("Tanggal Berakhir is Required.");
if(R.isNil(this.state.getTypeId))returnalert("Tipe Persetujuan is Required.");
if(R.isEmpty(this.state.order))returnalert("Order is Required.");
if(R.isNil(this.state.getUserId))returnalert("Pemberi Persetujuan is Required.");
if(R.isNil(this.state.getOperatorId))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");
if(R.isEmpty(this.state.startDate))returnalert("Tanggal Mulai is Required.");
if(R.isEmpty(this.state.endDate))returnalert("Tanggal Berakhir is Required.");