export default class OrdersComponent extends Component {
IinitialState = {
id: null,
order: "",
status: "",
type_order: null,
currentLocationId: 0,
formErrors: { prefix: '' },
prefixValid: false,
formValid: false,
isSubmitted: false
}
constructor(props) {
super(props);
this.handleSubmit = this.handleSubmit.bind(this);
this.onChangeOrder = this.onChangeOrder.bind(this);
this.onChangeStatus = this.onChangeStatus.bind(this);
this.onChangeTypeOrder = this.onChangeTypeOrder.bind(this);
this.state = this.IinitialState
}