3063 - Get item from card without a name
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c9dcf141c9
commit
74dfa9f757
|
@ -59,7 +59,7 @@
|
|||
<vn-autocomplete
|
||||
class="dense"
|
||||
vn-focus
|
||||
url="Items"
|
||||
url="Items/withName"
|
||||
ng-model="buy.itemFk"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
|
@ -156,7 +156,7 @@
|
|||
</vn-horizontal>
|
||||
<vn-crud-model
|
||||
vn-id="itemsModel"
|
||||
url="Items"
|
||||
url="Items/withName"
|
||||
filter="$ctrl.itemFilter"
|
||||
data="items"
|
||||
limit="10">
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</span>
|
||||
<vn-autocomplete ng-if="!buy.id" class="dense"
|
||||
vn-focus
|
||||
url="Items"
|
||||
url="Items/withName"
|
||||
ng-model="buy.itemFk"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
|
|
|
@ -207,10 +207,12 @@
|
|||
"foreignKey": "itemFk"
|
||||
}
|
||||
},
|
||||
"scope": {
|
||||
"where": {
|
||||
"name": {
|
||||
"neq": ""
|
||||
"scopes": {
|
||||
"withName": {
|
||||
"where": {
|
||||
"name": {
|
||||
"neq": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
class="dense"
|
||||
ng-if="!price.itemFk"
|
||||
vn-focus
|
||||
url="Items"
|
||||
url="Items/withName"
|
||||
ng-model="price.itemFk"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
</span>
|
||||
<vn-autocomplete ng-if="!sale.id" class="dense"
|
||||
vn-focus
|
||||
url="Items"
|
||||
url="Items/withName"
|
||||
ng-model="sale.itemFk"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
|
|
Loading…
Reference in New Issue