refs #4770 añadido campo hora de ETD
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-05-05 07:51:06 +02:00
parent 7f5c5b91fa
commit a98d987896
6 changed files with 42 additions and 33 deletions

View File

@ -16,9 +16,14 @@
</vn-textfield> </vn-textfield>
<vn-date-picker <vn-date-picker
vn-one vn-one
label="ETD" label="ETD date"
ng-model="$ctrl.roadmap.etd"> ng-model="$ctrl.roadmap.etd">
</vn-date-picker> </vn-date-picker>
<vn-input-time
vn-one
label="ETD hour"
ng-model="$ctrl.roadmap.etd">
</vn-input-time>
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-textfield <vn-textfield
@ -34,20 +39,6 @@
rule> rule>
</vn-textfield> </vn-textfield>
</vn-horizontal> </vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Phone"
ng-model="$ctrl.roadmap.phone"
rule>
</vn-textfield>
<vn-textfield
vn-one
label="Driver name"
ng-model="$ctrl.roadmap.driverName"
rule>
</vn-textfield>
</vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-autocomplete <vn-autocomplete
vn-one vn-one
@ -69,6 +60,20 @@
rule> rule>
</vn-input-number> </vn-input-number>
</vn-horizontal> </vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Driver name"
ng-model="$ctrl.roadmap.driverName"
rule>
</vn-textfield>
<vn-textfield
vn-one
label="Phone"
ng-model="$ctrl.roadmap.phone"
rule>
</vn-textfield>
</vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-textArea <vn-textArea
vn-one vn-one

View File

@ -3,9 +3,7 @@ import Section from 'salix/components/section';
export default class Controller extends Section { export default class Controller extends Section {
onSubmit() { onSubmit() {
this.$.watcher.submit().then(() => this.$.watcher.submit();
this.card.reload()
);
} }
} }

View File

@ -1 +0,0 @@
Carrier: Transportista

View File

@ -9,4 +9,6 @@ Select the estimated time of departure (ETD): Seleccione la hora estimada de sal
Create roadmap: Crear troncal Create roadmap: Crear troncal
Tractor plate: Matrícula tractor Tractor plate: Matrícula tractor
Trailer plate: Matrícula trailer Trailer plate: Matrícula trailer
Carrier: Transportista
ETD date: Fecha ETD
ETD hour: Hora ETD

View File

@ -35,18 +35,6 @@
ng-model="filter.trailerPlate"> ng-model="filter.trailerPlate">
</vn-textfield> </vn-textfield>
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-textfield
vn-one
label="Phone"
ng-model="filter.phone">
</vn-textfield>
<vn-textfield
vn-one
label="Driver name"
ng-model="filter.driverName">
</vn-textfield>
</vn-horizontal>
<vn-horizontal class="vn-px-lg"> <vn-horizontal class="vn-px-lg">
<vn-autocomplete <vn-autocomplete
vn-one vn-one
@ -67,6 +55,18 @@
ng-model="filter.price"> ng-model="filter.price">
</vn-input-number> </vn-input-number>
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-textfield
vn-one
label="Driver name"
ng-model="filter.driverName">
</vn-textfield>
<vn-textfield
vn-one
label="Phone"
ng-model="filter.phone">
</vn-textfield>
</vn-horizontal>
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg"> <vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
<vn-submit label="Search"></vn-submit> <vn-submit label="Search"></vn-submit>
</vn-horizontal> </vn-horizontal>

View File

@ -24,10 +24,15 @@
rule> rule>
</vn-autocomplete> </vn-autocomplete>
<vn-date-picker vn-one <vn-date-picker vn-one
label="ETD" label="ETD date"
ng-model="expeditionTruck.ETD" ng-model="expeditionTruck.ETD"
rule> rule>
</vn-date-picker> </vn-date-picker>
<vn-input-time
vn-one
label="ETD hour"
ng-model="expeditionTruck.ETD">
</vn-input-time>
<vn-textArea <vn-textArea
vn-one vn-one
label="Description" label="Description"