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

102 lines
3.3 KiB
HTML
Raw Normal View History

<div class="search-panel">
2023-05-25 09:41:14 +00:00
<vn-crud-model
auto-load="true"
url="Warehouses"
2023-05-25 09:41:14 +00:00
data="warehouses">
</vn-crud-model>
<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"
ng-model="filter.originScopeDays"
2022-12-14 11:17:12 +00:00
required="true">
</vn-date-picker>
<vn-date-picker
vn-one
2022-12-14 11:17:12 +00:00
label="Destination date"
ng-model="filter.futureScopeDays"
2022-12-14 11:17:12 +00:00
required="true">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-textfield
vn-one
label="Max Liters"
ng-model="filter.litersMax">
</vn-textfield>
<vn-textfield
vn-one
label="Max Lines"
ng-model="filter.linesMax">
</vn-textfield>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
2022-11-10 14:54:00 +00:00
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
2022-11-08 14:56:58 +00:00
label="Origin IPT"
2022-11-10 14:54:00 +00:00
value-field="code"
2022-12-14 11:17:12 +00:00
show-field="description"
2022-11-10 14:54:00 +00:00
ng-model="filter.ipt"
info="IPT">
<tpl-item>
2022-12-14 11:17:12 +00:00
{{description}}
2022-11-10 14:54:00 +00:00
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
2022-11-08 14:56:58 +00:00
label="Destination IPT"
2022-11-10 14:54:00 +00:00
value-field="code"
2022-12-14 11:17:12 +00:00
show-field="description"
ng-model="filter.futureIpt"
2022-11-10 14:54:00 +00:00
info="IPT">
<tpl-item>
2022-12-14 11:17:12 +00:00
{{description}}
2022-11-10 14:54:00 +00:00
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
2022-11-10 14:54:00 +00:00
<vn-autocomplete vn-one
data="$ctrl.groupedStates"
label="Origin Grouped State"
value-field="id"
2022-11-10 14:54:00 +00:00
show-field="name"
ng-model="filter.state">
2022-11-10 14:54:00 +00:00
<tpl-item>
{{name}}
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.groupedStates"
label="Destination Grouped State"
value-field="id"
2022-11-10 14:54:00 +00:00
show-field="name"
ng-model="filter.futureState">
2022-11-10 14:54:00 +00:00
<tpl-item>
{{name}}
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-check
vn-one
label="With problems"
ng-model="filter.problems"
triple-state="true">
</vn-check>
2022-11-10 14:54:00 +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"
required="true">
2022-11-10 14:54:00 +00:00
</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>