refactor: refs #7524 dynamic fetch
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-09-04 12:16:42 +02:00
parent 5f714df73b
commit 8311795fd8
1 changed files with 2 additions and 12 deletions

View File

@ -6,16 +6,6 @@
order="concept ASC, quantity DESC" order="concept ASC, quantity DESC"
auto-load="true"> auto-load="true">
</vn-crud-model> </vn-crud-model>
<vn-crud-model
url="Shelvings"
data="shelvings"
auto-load="true">
</vn-crud-model>
<vn-crud-model
url="Parkings"
data="parkings"
auto-load="true">
</vn-crud-model>
<vn-data-viewer model="model"> <vn-data-viewer model="model">
<vn-card class="vn-w-lg"> <vn-card class="vn-w-lg">
<vn-table model="model"> <vn-table model="model">
@ -208,7 +198,7 @@
</vn-td> </vn-td>
<vn-td expand> <vn-td expand>
<vn-autocomplete <vn-autocomplete
data="shelvings" url="Shelvings"
show-field="code" show-field="code"
value-field="code" value-field="code"
ng-model="itemShelvingSale.shelvingFk" ng-model="itemShelvingSale.shelvingFk"
@ -217,7 +207,7 @@
</vn-td> </vn-td>
<vn-td expand> <vn-td expand>
<vn-autocomplete <vn-autocomplete
data="parkings" url="Parkings"
show-field="code" show-field="code"
value-field="id" value-field="id"
ng-model="itemShelvingSale.parkingFk" ng-model="itemShelvingSale.parkingFk"