Commit 26e51263bb572e30d9b40c45252953eeef9d498c

Authored by Jose Pinto
1 parent 74f5232f02
Exists in master

arreglo error al guardar

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/js/controller.js
... ... @@ -139,6 +139,7 @@ angular.module('focaAbmVehiculo')
139 139 //Valida si existe numero de unidad
140 140 existeCodigoUnidad().then(function() {
141 141 delete $scope.vehiculo.transportista;
  142 + delete $scope.vehiculo.cisternas;
142 143 focaAbmVehiculoService.guardarVehiculo($scope.vehiculo)
143 144 .then(function(res){
144 145 if($scope.nuevo) {