foca-abm-vehiculos-item.html
2.85 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
76
77
78
79
80
81
82
83
84
85
86
87
88
<h4>Sectores</h4>
<form name="formVehiculo">
<input type="hidden" name="id" ng-model="sector.id" />
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Transportista</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.transportista"
ng-model-options="{allowInvalid: false}"
uib-typeahead="transportista as transportista.COD + ' ' +
transportista.NOM for transportista in transportistas | filter:$viewValue"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Código</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.id"
readonly
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Tractor</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.tractor"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Semi</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.semi"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Capacidad</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.capacidad"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Cisternado</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="vehiculo.cisternado"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<div class="col-sm-7 text-right">
<button
class="btn btn-primary"
ng-click="guardar()"
ng-disabled="!formVehiculo.$valid"
>Guardar</button>
<button class="btn btn-default" ng-click="cancelar()">Cancelar</button>
</div>
</div>
</form>