Commit 6f40e99928d15ab517d8f4bbe4b1e2e1260f1bc2
Exists in
master
Merge branch 'master' into 'master'
Master See merge request modulos-npm/foca-crear-remito!15
Showing
2 changed files
Show diff stats
src/js/controller.js
| ... | ... | @@ -176,6 +176,7 @@ angular.module('focaCrearRemito') .controller('remitoController', |
| 176 | 176 | $scope.idLista = -1; |
| 177 | 177 | } |
| 178 | 178 | delete notaPedido.id; |
| 179 | + $scope.remito.domicilioStamp = notaPedido.domicilioStamp; | |
| 179 | 180 | $scope.remito = notaPedido; |
| 180 | 181 | $scope.remito.vendedor = notaPedido.vendedor[0]; |
| 181 | 182 | $scope.remito.cliente = notaPedido.cliente[0]; |
src/views/remito.html
| ... | ... | @@ -141,11 +141,12 @@ |
| 141 | 141 | ng-show="articulo.editCantidad" |
| 142 | 142 | ng-model="articulo.cantidad" |
| 143 | 143 | class="form-control" |
| 144 | - type="number" | |
| 144 | + foca-tipo-input | |
| 145 | 145 | min="1" |
| 146 | 146 | foca-focus="articulo.editCantidad" |
| 147 | 147 | ng-keypress="editarArticulo($event.keyCode, articulo)" |
| 148 | 148 | ng-focus="selectFocus($event)" |
| 149 | + teclado-virtual | |
| 149 | 150 | > |
| 150 | 151 | <i |
| 151 | 152 | class="selectable" |
| ... | ... | @@ -159,12 +160,13 @@ |
| 159 | 160 | ng-show="articulo.editPrecio" |
| 160 | 161 | ng-model="articulo.precio" |
| 161 | 162 | class="form-control" |
| 162 | - type="number" | |
| 163 | + foca-tipo-input | |
| 163 | 164 | min="1" |
| 164 | 165 | step="0.0001" |
| 165 | 166 | foca-focus="articulo.editPrecio" |
| 166 | 167 | ng-keypress="editarArticulo($event.keyCode, articulo)" |
| 167 | 168 | ng-focus="selectFocus($event)" |
| 169 | + teclado-virtual | |
| 168 | 170 | > |
| 169 | 171 | <i |
| 170 | 172 | class="selectable" |
| ... | ... | @@ -210,12 +212,13 @@ |
| 210 | 212 | <td class="col text-right"> |
| 211 | 213 | <input |
| 212 | 214 | class="form-control" |
| 213 | - type="number" | |
| 215 | + foca-tipo-input | |
| 214 | 216 | min="1" |
| 215 | 217 | ng-model="articuloACargar.cantidad" |
| 216 | 218 | foca-focus="!cargando" |
| 217 | 219 | esc-key="resetFilter()" |
| 218 | 220 | ng-keypress="agregarATabla($event.keyCode)" |
| 221 | + teclado-virtual | |
| 219 | 222 | > |
| 220 | 223 | </td> |
| 221 | 224 | <td class="col text-right"> |
| ... | ... | @@ -227,12 +230,13 @@ |
| 227 | 230 | > |
| 228 | 231 | <input |
| 229 | 232 | class="form-control" |
| 230 | - type="number" | |
| 233 | + foca-tipo-input | |
| 231 | 234 | step="0.0001" |
| 232 | 235 | ng-model="articuloACargar.precio" |
| 233 | 236 | esc-key="resetFilter()" |
| 234 | 237 | ng-keypress="agregarATabla($event.keyCode)" |
| 235 | 238 | ng-show="idLista == -1" |
| 239 | + teclado-virtual | |
| 236 | 240 | > |
| 237 | 241 | </td> |
| 238 | 242 | <td class="col text-right"> |
| ... | ... | @@ -374,7 +378,7 @@ |
| 374 | 378 | <div class="col-3 px-1 m-1"> |
| 375 | 379 | <input |
| 376 | 380 | class="form-control p-1" |
| 377 | - type="number" | |
| 381 | + foca-tipo-input | |
| 378 | 382 | min="1" |
| 379 | 383 | ng-model="articuloACargar.cantidad" |
| 380 | 384 | foca-focus="!cargando" |