view vehicles
This commit is contained in:
@@ -129,6 +129,23 @@
|
||||
})
|
||||
})
|
||||
|
||||
watch(locationLoadSelected, () => {
|
||||
console.log(locationLoadSelected);
|
||||
origin.locationName = locationLoadSelected.value.branch_name;
|
||||
origin.address = locationLoadSelected.value.address;
|
||||
origin.state = { state_name: locationLoadSelected.value.state };
|
||||
origin.city = { city_name: locationLoadSelected.value.city };
|
||||
origin.ref = locationLoadSelected.value.description;
|
||||
});
|
||||
|
||||
watch(locationDownloadSelected, () => {
|
||||
destination.locationName = locationDownloadSelected.value.branch_name;
|
||||
destination.address = locationDownloadSelected.value.address;
|
||||
destination.state = { state_name: locationDownloadSelected.value.state };
|
||||
destination.city = { city_name: locationDownloadSelected.value.city };
|
||||
destination.ref = locationDownloadSelected.value.description;
|
||||
});
|
||||
|
||||
const getLocations = async() => {
|
||||
loadingLocations.value = true;
|
||||
filterQueryVehicles.value.company = "company="+ localStorage.getItem('id');
|
||||
|
||||
Reference in New Issue
Block a user