Skip to content
Snippets Groups Projects
Commit cc28e047 authored by Dante Aléo's avatar Dante Aléo :pouting_cat:
Browse files

Merge branch 'arrumando-erros-na-pagina-de-edicao' into 'development'

fixed some errors on equipments page

See merge request !122
parents 7b2e45d7 ecba96d0
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