Skip to content
Snippets Groups Projects
Commit ecba96d0 authored by Your Name's avatar Your Name
Browse files

fixed some errors on equipments page

parent 7b2e45d7
No related branches found
No related tags found
1 merge request!122fixed some errors on equipments page
......@@ -218,7 +218,30 @@ export class EditMachineComponent implements OnInit {
}
machineS: Machine
machineS: Machine = {
serial_number: '',
room: '',
date_last_maintenance: {
day: '',
month: '',
year: ''
},
date_next_maintenance: {
day: '',
month: '',
year: ''
},
Status:'',
address:'',
address_number:'',
district: '',
city:'',
state:'',
image: new File([''], "nenhuma"),
imagePath: 'none',
id: 0,
}
machineSerial: String = ""
idSearch = -1
......
......@@ -65,7 +65,29 @@ export class EventsComponent implements OnInit {
);
}
machineS: Machine
machineS: Machine = {
serial_number: '',
room: '',
date_last_maintenance: {
day: '',
month: '',
year: ''
},
date_next_maintenance: {
day: '',
month: '',
year: ''
},
Status:'',
address:'',
address_number:'',
district: '',
city:'',
state:'',
image: new File([''], "nenhuma"),
imagePath: 'none',
id: 0,
}
machineSerial: String = ""
searchQrCode(machineS){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment