salix/modules/ticket/front/advance-search-panel/index.html

68 lines
2.2 KiB
HTML
Raw Normal View History

2022-11-14 13:30:35 +00:00
<div class="search-panel">
2023-05-25 09:41:14 +00:00
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
2022-11-14 13:30:35 +00:00
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-date-picker
vn-one
label="Origin date"
2022-12-20 10:36:37 +00:00
ng-model="filter.dateFuture"
2022-11-15 14:30:00 +00:00
required="true">
2022-11-14 13:30:35 +00:00
</vn-date-picker>
<vn-date-picker
vn-one
label="Destination date"
2022-12-20 10:36:37 +00:00
ng-model="filter.dateToAdvance"
required="true">
2022-11-14 13:30:35 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
label="Origin IPT"
2022-12-20 10:36:37 +00:00
value-field="code"
show-field="description"
2022-12-20 10:36:58 +00:00
ng-model="filter.futureIpt"
2022-11-14 13:30:35 +00:00
info="IPT">
<tpl-item>
2022-12-20 10:36:37 +00:00
{{description}}
2022-11-14 13:30:35 +00:00
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
label="Destination IPT"
2022-12-20 10:36:37 +00:00
value-field="code"
show-field="description"
ng-model="filter.ipt"
2022-11-14 13:30:35 +00:00
info="IPT">
<tpl-item>
2022-12-20 10:36:37 +00:00
{{description}}
2022-11-14 13:30:35 +00:00
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
2023-02-10 07:46:54 +00:00
<vn-check
vn-one
label="100% movable"
2023-02-13 09:16:28 +00:00
ng-model="filter.isFullMovable"
2023-02-10 07:46:54 +00:00
triple-state="true">
</vn-check>
2022-11-14 13:30:35 +00:00
<vn-autocomplete
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
2023-05-25 09:41:14 +00:00
data="warehouses"
show-field="name"
value-field="id"
2022-11-14 13:30:35 +00:00
required="true">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>