Commit 4b812ac8b6f86438f7f216a382cdd4b5b616c0ea
1 parent
2cd0550b9b
Exists in
master
and in
1 other branch
/div mal
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/views/foca-abm-vehiculos-item.html
| 1 | <h4>Vehiculo</h4> | 1 | <h4>Vehiculo</h4> |
| 2 | <form name="formVehiculo"> | 2 | <form name="formVehiculo"> |
| 3 | <input type="hidden" name="id" ng-model="sector.id" /> | 3 | <input type="hidden" name="id" ng-model="sector.id" /> |
| 4 | <div class="form-group row"> | 4 | <div class="form-group row"> |
| 5 | <label class="offset-sm-1 col-sm-2 col-form-label">Transportista</label> | 5 | <label class="offset-sm-1 col-sm-2 col-form-label">Transportista</label> |
| 6 | <div class="col-sm-4 input-group"> | 6 | <div class="col-sm-4 input-group"> |
| 7 | <input | 7 | <input |
| 8 | class="form-control" | 8 | class="form-control" |
| 9 | type="text" | 9 | type="text" |
| 10 | ng-model="vehiculo.transportista.NOM" | 10 | ng-model="vehiculo.transportista.NOM" |
| 11 | readonly | 11 | readonly |
| 12 | /> | 12 | /> |
| 13 | <!-- <div class="input-group-append"> | 13 | <!-- <div class="input-group-append"> |
| 14 | <button | 14 | <button |
| 15 | class="btn btn-outline-secondary form-control" | 15 | class="btn btn-outline-secondary form-control" |
| 16 | type="button" | 16 | type="button" |
| 17 | ng-click="seleccionarTransportista()"> | 17 | ng-click="seleccionarTransportista()"> |
| 18 | <i class="fa fa-search" aria-hidden="true"></i> | 18 | <i class="fa fa-search" aria-hidden="true"></i> |
| 19 | </button> | 19 | </button> |
| 20 | </div> --> | 20 | </div> --> |
| 21 | </div> | 21 | </div> |
| 22 | </div> | 22 | </div> |
| 23 | <div class="form-group row"> | 23 | <div class="form-group row"> |
| 24 | <label class="offset-sm-1 col-sm-2 col-form-label">Unidad</label> | 24 | <label class="offset-sm-1 col-sm-2 col-form-label">Unidad</label> |
| 25 | <div class="col-sm-4"> | 25 | <div class="col-sm-4"> |
| 26 | <input | 26 | <input |
| 27 | class="form-control" | 27 | class="form-control" |
| 28 | type="text" | 28 | type="text" |
| 29 | teclado-virtual | 29 | teclado-virtual |
| 30 | ng-model="vehiculo.codigo" | 30 | ng-model="vehiculo.codigo" |
| 31 | /> | 31 | /> |
| 32 | </div> | 32 | </div> |
| 33 | </div> | 33 | </div> |
| 34 | <div class="form-group row"> | 34 | <div class="form-group row"> |
| 35 | <label class="offset-sm-1 col-sm-2 col-form-label">Dominio tractor</label> | 35 | <label class="offset-sm-1 col-sm-2 col-form-label">Dominio tractor</label> |
| 36 | <div class="col-sm-4"> | 36 | <div class="col-sm-4"> |
| 37 | <input | 37 | <input |
| 38 | class="form-control" | 38 | class="form-control" |
| 39 | type="text" | 39 | type="text" |
| 40 | teclado-virtual | 40 | teclado-virtual |
| 41 | ng-model="vehiculo.tractor" | 41 | ng-model="vehiculo.tractor" |
| 42 | ng-required="true" | 42 | ng-required="true" |
| 43 | /> | 43 | /> |
| 44 | </div> | 44 | </div> |
| 45 | </div> | 45 | </div> |
| 46 | <div class="form-group row"> | 46 | <div class="form-group row"> |
| 47 | <label class="offset-sm-1 col-sm-2 col-form-label">Dominio semi</label> | 47 | <label class="offset-sm-1 col-sm-2 col-form-label">Dominio semi</label> |
| 48 | <div class="col-sm-4"> | 48 | <div class="col-sm-4"> |
| 49 | <input | 49 | <input |
| 50 | class="form-control" | 50 | class="form-control" |
| 51 | type="text" | 51 | type="text" |
| 52 | teclado-virtual | 52 | teclado-virtual |
| 53 | ng-model="vehiculo.semi" | 53 | ng-model="vehiculo.semi" |
| 54 | ng-required="true" | 54 | ng-required="true" |
| 55 | /> | 55 | /> |
| 56 | </div> | 56 | </div> |
| 57 | </div> | 57 | </div> |
| 58 | </div> | ||
| 59 | <div class="form-group row"> | 58 | <div class="form-group row"> |
| 60 | <div class="col-sm-7 text-right"> | 59 | <div class="col-sm-7 text-right"> |
| 61 | <button | 60 | <button |
| 62 | class="btn btn-primary" | 61 | class="btn btn-primary" |
| 63 | ng-click="guardar()" | 62 | ng-click="guardar()" |
| 64 | ng-disabled="!formVehiculo.$valid" | 63 | ng-disabled="!formVehiculo.$valid" |
| 65 | >Guardar</button> | 64 | >Guardar</button> |
| 66 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> | 65 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> |
| 67 | </div> | 66 | </div> |
| 68 | </div> | 67 | </div> |
| 69 | </form> | 68 | </form> |
| 70 | <div class="col-12" ng-show="!nuevo"> | 69 | <div class="col-12" ng-show="!nuevo"> |
| 71 | <h4>Cisternas</h4> | 70 | <h4>Cisternas</h4> |
| 72 | <table class="table table-sm table-striped table-dark"> | 71 | <table class="table table-sm table-striped table-dark"> |
| 73 | <thead> | 72 | <thead> |
| 74 | <tr> | 73 | <tr> |
| 75 | <th>Unidad</th> | 74 | <th>Unidad</th> |
| 76 | <th>Unidad de Medida</th> | 75 | <th>Unidad de Medida</th> |
| 77 | <th>Capacidad</th> | 76 | <th>Capacidad</th> |
| 78 | <th>Carga</th> | 77 | <th>Carga</th> |
| 79 | <th class="text-center"> | 78 | <th class="text-center"> |
| 80 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> | 79 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> |
| 81 | <i class="fa fa-plus"></i> | 80 | <i class="fa fa-plus"></i> |
| 82 | </button> | 81 | </button> |
| 83 | </th> | 82 | </th> |
| 84 | </tr> | 83 | </tr> |
| 85 | </thead> | 84 | </thead> |
| 86 | <tbody> | 85 | <tbody> |
| 87 | <tr ng-repeat="cisterna in cisternas | filter:filtros"> | 86 | <tr ng-repeat="cisterna in cisternas | filter:filtros"> |
| 88 | <td ng-bind="cisterna.id"></td> | 87 | <td ng-bind="cisterna.id"></td> |
| 89 | <td ng-bind="cisterna.unidadMedida.NOM"></td> | 88 | <td ng-bind="cisterna.unidadMedida.NOM"></td> |
| 90 | <td ng-bind="cisterna.capacidad"></td> | 89 | <td ng-bind="cisterna.capacidad"></td> |
| 91 | <td ng-bind="cisterna.cisternaCarga.cantidad || 0"></td> | 90 | <td ng-bind="cisterna.cisternaCarga.cantidad || 0"></td> |
| 92 | <td class="text-center"> | 91 | <td class="text-center"> |
| 93 | <button | 92 | <button |
| 94 | class="btn btn-default boton-accion" | 93 | class="btn btn-default boton-accion" |
| 95 | ng-click="editar(cisterna.id)" | 94 | ng-click="editar(cisterna.id)" |
| 96 | > | 95 | > |
| 97 | <i class="fa fa-pencil"></i> | 96 | <i class="fa fa-pencil"></i> |
| 98 | </button> | 97 | </button> |
| 99 | <button | 98 | <button |
| 100 | class="btn btn-default boton-accion" | 99 | class="btn btn-default boton-accion" |
| 101 | ng-click="solicitarConfirmacionCisterna(cisterna)" | 100 | ng-click="solicitarConfirmacionCisterna(cisterna)" |
| 102 | > | 101 | > |
| 103 | <i class="fa fa-trash"></i> | 102 | <i class="fa fa-trash"></i> |
| 104 | </button> | 103 | </button> |
| 105 | </td> | 104 | </td> |
| 106 | </tr> | 105 | </tr> |
| 107 | </body> | 106 | </body> |
| 108 | </table> | 107 | </table> |
| 109 | </div> | 108 | </div> |
| 110 | 109 |