#1025 item.create al crear articulo nuevo no busca tipo ni color
This commit is contained in:
parent
cd28d559c4
commit
649c09c551
|
@ -24,7 +24,7 @@
|
||||||
fields="['code', 'name']"
|
fields="['code', 'name']"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
field="$ctrl.item.typeFk"
|
field="$ctrl.item.typeFk"
|
||||||
search-function="{or: [{code: {regexp: $search}}, {name: {regexp: $search}}]}">
|
search-function="{or: [{code: {like: '%'+ $search +'%'}}, {name: {like: '%'+ $search +'%'}}]}">
|
||||||
<tpl-item style="display: flex;">
|
<tpl-item style="display: flex;">
|
||||||
<div style="width: 3em; padding-right: 1em;">{{::code}}</div>
|
<div style="width: 3em; padding-right: 1em;">{{::code}}</div>
|
||||||
<div>{{::name}}</div>
|
<div>{{::name}}</div>
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
show-field="description"
|
show-field="description"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
field="$ctrl.item.intrastatFk"
|
field="$ctrl.item.intrastatFk"
|
||||||
search-function="{or: [{id: {regexp: $search}}, {description: {regexp: $search}}]}">
|
search-function="{or: [{id: {like: '%'+ $search +'%'}}, {description: {like: '%'+ $search +'%'}}]}">
|
||||||
<tpl-item style="display: flex;">
|
<tpl-item style="display: flex;">
|
||||||
<div style="width: 6em; text-align: right; padding-right: 1em;">{{::id}}</div>
|
<div style="width: 6em; text-align: right; padding-right: 1em;">{{::id}}</div>
|
||||||
<div>{{::description}}</div>
|
<div>{{::description}}</div>
|
||||||
|
|
Loading…
Reference in New Issue