modal-detalle-carga.html
3.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<div class="modal-header py-1">
<div class="row w-100">
<div class="col-lg-6">
<h5 class="modal-title my-1">Detalle de Carga</h5>
</div>
</div>
</div>
<div class="row">
<div class="col ml-3 mt-2">
<span class=" text-left">
Transportista <b>{{hojasRutas.idTransportista}} {{hojasRutas.transportista.NOM}}</b>
Unidad <b>{{hojasRutas.vehiculo.codigo}}</b> Tractor <b>{{hojasRutas.vehiculo.tractor}}</b>
</span>
</div>
</div>
<div class="row">
<div class="col ml-3">
<span class=" text-left">Fecha <b>{{hojasRutas.fecha | date:'yyyy-MM-dd':'-0300'}}</b></span>
</div>
</div>
<div class="modal-body" id="modal-body">
<table class="table table-hover table-sm table-striped">
<thead>
<tr>
<th>Cisterna</th>
<th>Capacidad</th>
<th>Disponibles</th>
<th>Articulo Cargado</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat="cisterna in hojasRutas.vehiculo.cisternas"
>
<td ng-bind="cisterna.id"></td>
<td ng-bind="cisterna.capacidad"></td>
<td class="w-50">
<input
ng-model="cisterna.disponible"
ng-keyup="validarCisternaDisponible(cisterna)"
class="form-control"
solo-positivos
foca-tipo-input
/>
</td>
<td class="w-25">
<div class="input-group ">
<input
ng-model="cisterna.nombreArticulo"
class="form-control"
ng-click="seleccionarProductos(cisterna)"
readonly
/>
<div class="input-group-append">
<button
ladda="searchLoading"
class="btn btn-outline-secondary form-control"
type="button"
ng-click="seleccionarProductos(cisterna)"
>
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer py-1">
<button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button>
<button class="btn btn-sm btn-secondary" type="button" ng-click="guardar()">Guardar</button>
</div>
</div>