Commit 2cd0550b9b36bab9bd051cd77653d6388c6449e6
1 parent
dabb86c137
Exists in
master
and in
1 other branch
nombres
Showing
4 changed files
with
7 additions
and
18 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -61,7 +61,7 @@ angular.module('focaAbmVehiculo') |
61 | 61 | .then(function(res) { |
62 | 62 | $scope.vehiculo.idTransportista = res.data.COD; |
63 | 63 | $scope.vehiculo.transportista = res.data; |
64 | - }) | |
64 | + }); | |
65 | 65 | } |
66 | 66 | $scope.vehiculo = {}; |
67 | 67 | focaAbmVehiculoService.getVehiculo($routeParams.idVehiculo).then(function(res) { |
src/views/foca-abm-cisterna-item.html
src/views/foca-abm-vehiculos-item.html
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | </div> |
22 | 22 | </div> |
23 | 23 | <div class="form-group row"> |
24 | - <label class="offset-sm-1 col-sm-2 col-form-label">Código</label> | |
24 | + <label class="offset-sm-1 col-sm-2 col-form-label">Unidad</label> | |
25 | 25 | <div class="col-sm-4"> |
26 | 26 | <input |
27 | 27 | class="form-control" |
... | ... | @@ -55,17 +55,6 @@ |
55 | 55 | /> |
56 | 56 | </div> |
57 | 57 | </div> |
58 | - <div class="form-group row"> | |
59 | - <label class="offset-sm-1 col-sm-2 col-form-label">Capacidad</label> | |
60 | - <div class="col-sm-4"> | |
61 | - <input | |
62 | - class="form-control" | |
63 | - type="text" | |
64 | - teclado-virtual | |
65 | - ng-model="vehiculo.capacidad" | |
66 | - ng-required="true" | |
67 | - /> | |
68 | - </div> | |
69 | 58 | </div> |
70 | 59 | <div class="form-group row"> |
71 | 60 | <div class="col-sm-7 text-right"> |
... | ... | @@ -83,7 +72,7 @@ |
83 | 72 | <table class="table table-sm table-striped table-dark"> |
84 | 73 | <thead> |
85 | 74 | <tr> |
86 | - <th>Código</th> | |
75 | + <th>Unidad</th> | |
87 | 76 | <th>Unidad de Medida</th> |
88 | 77 | <th>Capacidad</th> |
89 | 78 | <th>Carga</th> |
src/views/foca-abm-vehiculos-listado.html
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | <table class="table table-sm table-striped table-dark"> |
26 | 26 | <thead> |
27 | 27 | <tr> |
28 | - <th>Código</th> | |
28 | + <th>Unidad</th> | |
29 | 29 | <th>Tractor</th> |
30 | 30 | <th>Semi</th> |
31 | 31 | <th>Capacidad</th> |
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | </thead> |
43 | 43 | <tbody> |
44 | 44 | <tr ng-repeat="vehiculo in vehiculos | filter:filtros"> |
45 | - <td ng-bind="vehiculo.id"></td> | |
45 | + <td ng-bind="vehiculo.codigo"></td> | |
46 | 46 | <td ng-bind="vehiculo.tractor"></td> |
47 | 47 | <td ng-bind="vehiculo.semi"></td> |
48 | 48 | <td ng-bind="vehiculo.capacidad"></td> |
... | ... | @@ -64,7 +64,7 @@ |
64 | 64 | </tr> |
65 | 65 | </body> |
66 | 66 | </table> |
67 | - <a href="#!/" title="Salir" | |
67 | + <a href="#!/" title="Salir" | |
68 | 68 | class="btn btn-secondary btn-block float-right col-md-2" |
69 | 69 | > |
70 | 70 | Salir |