Commit a1eb2cdfcaf5e5f1105d62a771f73a30856d7392
Exists in
master
Merge branch 'master' into 'master'
Codigos con id See merge request !6
Showing
2 changed files
Show diff stats
src/views/foca-abm-precios-condiciones-item.html
... | ... | @@ -14,9 +14,9 @@ |
14 | 14 | class="form-control col-sm-4" |
15 | 15 | type="text" |
16 | 16 | name="codigo" |
17 | - ng-model="precioCondicion.codigo" | |
17 | + ng-value="precioCondicion.id | rellenarDigitos: 4: 0" | |
18 | 18 | autocomplete="off" |
19 | - teclado-virtual | |
19 | + readonly | |
20 | 20 | /> |
21 | 21 | <label class="col-sm-2 col-form-label">Nombre</label> |
22 | 22 | <input |
src/views/foca-abm-precios-condiciones-listado.html
... | ... | @@ -31,6 +31,7 @@ |
31 | 31 | <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> |
32 | 32 | <thead> |
33 | 33 | <tr> |
34 | + <th>Código</th> | |
34 | 35 | <th>Nombre</th> |
35 | 36 | <th>Lista de precio</th> |
36 | 37 | <th>Plazos</th> |
... | ... | @@ -46,6 +47,7 @@ |
46 | 47 | </thead> |
47 | 48 | <tbody> |
48 | 49 | <tr ng-repeat="precioCondicion in preciosCondiciones | filter: filters"> |
50 | + <td ng-bind="precioCondicion.id | rellenarDigitos: 4: 0"></td> | |
49 | 51 | <td ng-bind="precioCondicion.nombre"></td> |
50 | 52 | <td ng-bind="precioCondicion.listaPrecio.ID + ' - ' + precioCondicion.listaPrecio.DES + ' - ' + precioCondicion.listaPrecio.moneda.DETALLE"></td> |
51 | 53 | <td><span |