Commit 1fcc3c948d369839cb1babc468e48b130ae1e670
1 parent
f3af9b320d
Exists in
master
fuera id
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/views/foca-modal-descarga.html
| 1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
| 2 | <h5>Detalle de descarga</h5> | 2 | <h5>Detalle de descarga</h5> |
| 3 | </div> | 3 | </div> |
| 4 | <div class="modal-body"> | 4 | <div class="modal-body"> |
| 5 | <div class="row px-1"> | 5 | <div class="row px-1"> |
| 6 | <div class="col-3 align-self-center mt-1 pl-1"> | 6 | <div class="col-3 align-self-center mt-1 pl-1"> |
| 7 | <strong>Cliente</strong> | 7 | <strong>Cliente</strong> |
| 8 | </div> | 8 | </div> |
| 9 | <div class="col-9"> | 9 | <div class="col-9"> |
| 10 | <div class="input-group"> | 10 | <div class="input-group"> |
| 11 | <input | 11 | <input |
| 12 | type="text" | 12 | type="text" |
| 13 | ladda="searchLoading" | 13 | ladda="searchLoading" |
| 14 | class="form-control form-control-sm foca-input" | 14 | class="form-control form-control-sm foca-input" |
| 15 | placeholder="Busqueda cliente" | 15 | placeholder="Busqueda cliente" |
| 16 | ng-model="remito.cliente.nom" | 16 | ng-model="remito.cliente.nom" |
| 17 | readonly | 17 | readonly |
| 18 | > | 18 | > |
| 19 | <div class="input-group-append"> | 19 | <div class="input-group-append"> |
| 20 | <button | 20 | <button |
| 21 | ladda="searchLoading" | 21 | ladda="searchLoading" |
| 22 | data-spinner-color="#FF0000" | 22 | data-spinner-color="#FF0000" |
| 23 | class="btn btn-outline-secondary" | 23 | class="btn btn-outline-secondary" |
| 24 | type="button" | 24 | type="button" |
| 25 | ng-click="seleccionarCliente()" | 25 | ng-click="seleccionarCliente()" |
| 26 | id="esEsteXD" | ||
| 27 | > | 26 | > |
| 28 | <i class="fa fa-search fa-x1" aria-hidden="true"></i> | 27 | <i class="fa fa-search fa-x1" aria-hidden="true"></i> |
| 29 | </button> | 28 | </button> |
| 30 | </div> | 29 | </div> |
| 31 | </div> | 30 | </div> |
| 32 | </div> | 31 | </div> |
| 33 | <div class="col-3 align-self-center pl-1 mt-1"> | 32 | <div class="col-3 align-self-center pl-1 mt-1"> |
| 34 | <strong>Domicilio</strong> | 33 | <strong>Domicilio</strong> |
| 35 | </div> | 34 | </div> |
| 36 | <div class="col-9 align-self-center mt-1"> | 35 | <div class="col-9 align-self-center mt-1"> |
| 37 | <label ng-bind="remito.cliente.DOM"></label> | 36 | <label ng-bind="remito.cliente.DOM"></label> |
| 38 | </div> | 37 | </div> |
| 39 | <div class="col-3 align-self-center px-1 mt-1"> | 38 | <div class="col-3 align-self-center px-1 mt-1"> |
| 40 | <strong>Remito Nº</strong> | 39 | <strong>Remito Nº</strong> |
| 41 | </div> | 40 | </div> |
| 42 | <div class="col-3 pr-0 mt-1"> | 41 | <div class="col-3 pr-0 mt-1"> |
| 43 | <input | 42 | <input |
| 44 | type="number" class="text-center form-control form-control-sm" | 43 | type="number" class="text-center form-control form-control-sm" |
| 45 | ng-focus="$event.target.select();" | 44 | ng-focus="$event.target.select();" |
| 46 | ng-model="nroSucursal" | 45 | ng-model="nroSucursal" |
| 47 | ng-change="validateSucursalRemito(nroSucursal, nroRemito)" | 46 | ng-change="validateSucursalRemito(nroSucursal, nroRemito)" |
| 48 | > | 47 | > |
| 49 | </div> | 48 | </div> |
| 50 | <div class="col-6 mt-1"> | 49 | <div class="col-6 mt-1"> |
| 51 | <input | 50 | <input |
| 52 | type="number" class="text-center form-control form-control-sm" | 51 | type="number" class="text-center form-control form-control-sm" |
| 53 | ng-focus="$event.target.select();" | 52 | ng-focus="$event.target.select();" |
| 54 | ng-model="nroRemito" | 53 | ng-model="nroRemito" |
| 55 | ng-change="validateSucursalRemito(nroSucursal, nroRemito)" | 54 | ng-change="validateSucursalRemito(nroSucursal, nroRemito)" |
| 56 | > | 55 | > |
| 57 | </div> | 56 | </div> |
| 58 | <div | 57 | <div |
| 59 | class="col-12 mt-1 alert alert-danger text-center" role="alert" | 58 | class="col-12 mt-1 alert alert-danger text-center" role="alert" |
| 60 | ng-show="hasErrorSucursalRemito"> | 59 | ng-show="hasErrorSucursalRemito"> |
| 61 | Error numero de remito existente!<br>Ingrese otro número | 60 | Error numero de remito existente!<br>Ingrese otro número |
| 62 | </div> | 61 | </div> |
| 63 | <div class="col-12 mt-3 p-0"> | 62 | <div class="col-12 mt-3 p-0"> |
| 64 | <table class="table"> | 63 | <table class="table"> |
| 65 | <thead> | 64 | <thead> |
| 66 | <tr> | 65 | <tr> |
| 67 | <th>Cisterna</th> | 66 | <th>Cisterna</th> |
| 68 | <th>Articulo/Disponibles</th> | 67 | <th>Articulo/Disponibles</th> |
| 69 | <th>Descargar</th> | 68 | <th>Descargar</th> |
| 70 | </tr> | 69 | </tr> |
| 71 | </thead> | 70 | </thead> |
| 72 | <tbody> | 71 | <tbody> |
| 73 | <tr ng-repeat="cisterna in cisternas"> | 72 | <tr ng-repeat="cisterna in cisternas"> |
| 74 | <td class="text-center" ng-bind="cisterna.codigo"></td> | 73 | <td class="text-center" ng-bind="cisterna.codigo"></td> |
| 75 | <td class="text-center"> | 74 | <td class="text-center"> |
| 76 | {{cisterna.cisternaCarga.articulo.DetArt}}<br> | 75 | {{cisterna.cisternaCarga.articulo.DetArt}}<br> |
| 77 | {{cisterna.cisternaCarga.cantidad}} | 76 | {{cisterna.cisternaCarga.cantidad}} |
| 78 | </td> | 77 | </td> |
| 79 | <td> | 78 | <td> |
| 80 | <input | 79 | <input |
| 81 | ng-init="cisterna.cisternaCarga.descargar = | 80 | ng-init="cisterna.cisternaCarga.descargar = |
| 82 | cisterna.cisternaCarga.cantidad" | 81 | cisterna.cisternaCarga.cantidad" |
| 83 | ng-model="cisterna.cisternaCarga.descargar" | 82 | ng-model="cisterna.cisternaCarga.descargar" |
| 84 | ng-focus="$event.target.select();" | 83 | ng-focus="$event.target.select();" |
| 85 | class="text-center form-control col-12" | 84 | class="text-center form-control col-12" |
| 86 | ng-show="cisterna.cisternaCarga.cantidad > 0"> | 85 | ng-show="cisterna.cisternaCarga.cantidad > 0"> |
| 87 | <div | 86 | <div |
| 88 | class="text-center alert-danger p-1" | 87 | class="text-center alert-danger p-1" |
| 89 | role="alert" | 88 | role="alert" |
| 90 | ng-hide="cisterna.cisternaCarga.cantidad > 0"> | 89 | ng-hide="cisterna.cisternaCarga.cantidad > 0"> |
| 91 | Cisterna vacía. | 90 | Cisterna vacía. |
| 92 | </div> | 91 | </div> |
| 93 | </td> | 92 | </td> |
| 94 | </tr> | 93 | </tr> |
| 95 | </tbody> | 94 | </tbody> |
| 96 | </table> | 95 | </table> |
| 97 | </div> | 96 | </div> |
| 98 | <div class="col-3 align-self-center px-1"> | 97 | <div class="col-3 align-self-center px-1"> |
| 99 | <strong>Nº Recibo</strong> | 98 | <strong>Nº Recibo</strong> |
| 100 | </div> | 99 | </div> |
| 101 | <div class="col-9"> | 100 | <div class="col-9"> |
| 102 | <input | 101 | <input |
| 103 | ng-model="nroRecibo" class="form-control" | 102 | ng-model="nroRecibo" class="form-control" |
| 104 | ng-focus="$event.target.select();" | 103 | ng-focus="$event.target.select();" |
| 105 | type="number" placeholder="Nº de recibo"> | 104 | type="number" placeholder="Nº de recibo"> |
| 106 | </div> | 105 | </div> |
| 107 | </div> | 106 | </div> |
| 108 | </div> | 107 | </div> |
| 109 | <div class="modal-footer"> | 108 | <div class="modal-footer"> |
| 110 | <button | 109 | <button |
| 111 | class="btn btn-sm btn-secondary" | 110 | class="btn btn-sm btn-secondary" |
| 112 | ladda="cargando" | 111 | ladda="cargando" |
| 113 | type="button" | 112 | type="button" |
| 114 | ng-click="cancelar()">Cancelar</button> | 113 | ng-click="cancelar()">Cancelar</button> |
| 115 | <button | 114 | <button |
| 116 | class="btn btn-sm btn-primary" | 115 | class="btn btn-sm btn-primary" |
| 117 | ladda="cargando" | 116 | ladda="cargando" |
| 118 | type="button" | 117 | type="button" |
| 119 | ng-click="crearRemito()" | 118 | ng-click="crearRemito()" |
| 120 | ng-disabled="idRemito === -1 || hasErrorSucursalRemito || !nroSucursal || !nroRemito" | 119 | ng-disabled="idRemito === -1 || hasErrorSucursalRemito || !nroSucursal || !nroRemito" |
| 121 | foca-focus="idRemito !== -1"> | 120 | foca-focus="idRemito !== -1"> |
| 122 | Descargar | 121 | Descargar |
| 123 | </button> | 122 | </button> |
| 124 | </div> | 123 | </div> |
| 125 | 124 |