refactor: refs #7524 dynamic fetch #2914

Merged
jorgep merged 1 commits from 7524-hotfix-addLimit into master 2024-09-04 10:54:16 +00:00
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"