diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue
index 5595d54ba..2ea51ed8b 100644
--- a/src/components/ui/VnFilterPanel.vue
+++ b/src/components/ui/VnFilterPanel.vue
@@ -112,9 +112,7 @@ async function search(evt) {
isLoading.value = true;
const filter = { ...userParams.value };
store.userParamsChanged = true;
- store.filter.skip = 0;
- store.skip = 0;
- store.page = 1;
+ arrayData.reset(['skip', 'filter.skip', 'page']);
const { params: newParams } = await arrayData.addFilter({ params: userParams.value });
userParams.value = newParams;
@@ -138,9 +136,7 @@ async function reload() {
async function clearFilters() {
isLoading.value = true;
store.userParamsChanged = true;
- store.filter.skip = 0;
- store.skip = 0;
- store.page = 1;
+ arrayData.reset(['skip', 'filter.skip', 'page']);
// Filtrar los params no removibles
const removableFilters = Object.keys(userParams.value).filter((param) =>
$props.unremovableParams.includes(param)
diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue
index 9a2c06b0c..8e426b471 100644
--- a/src/components/ui/VnPaginate.vue
+++ b/src/components/ui/VnPaginate.vue
@@ -1,5 +1,5 @@
+ >
+
+
+
+
diff --git a/src/pages/Supplier/SupplierList.vue b/src/pages/Supplier/SupplierList.vue
index c2b63e1b9..ce7d234c8 100644
--- a/src/pages/Supplier/SupplierList.vue
+++ b/src/pages/Supplier/SupplierList.vue
@@ -19,7 +19,7 @@ const columns = computed(() => [
{
align: 'left',
label: t('supplier.list.tableVisibleColumns.name'),
- name: 'name',
+ name: 'socialName',
create: true,
component: 'input',
columnField: {
@@ -38,7 +38,7 @@ const columns = computed(() => [
{
align: 'left',
label: t('supplier.list.tableVisibleColumns.nickname'),
- name: 'nickname',
+ name: 'alias',
component: 'input',
columnField: {
component: null,
@@ -56,7 +56,7 @@ const columns = computed(() => [
{
align: 'left',
label: t('supplier.list.tableVisibleColumns.payMethod'),
- name: 'payMethodFk',
+ name: 'payMethod',
component: 'select',
attrs: {
url: 'payMethods',
@@ -88,7 +88,7 @@ const columns = computed(() => [