diff --git a/package.json b/package.json index ead0193c9..eaaa0b812 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salix-front", - "version": "24.40.0", + "version": "24.42.0", "description": "Salix frontend", "productName": "Salix", "author": "Verdnatura", diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 52cd3ed47..f53f3c645 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -731,6 +731,10 @@ es: border-color: var(--vn-section-color); } +.q-table__container > div:first-child { + background-color: var(--vn-page-color); +} + .grid-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, max-content)); diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index f7be1ca99..41c62c704 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1075,7 +1075,7 @@ item: producer: Producer landed: Landed fixedPrice: - itemId: Item ID + itemFk: Item ID groupingPrice: Grouping price packingPrice: Packing price hasMinPrice: Has min price diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 558f142ca..14c91aae9 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1060,7 +1060,7 @@ item: producer: Productor landed: F. entrega fixedPrice: - itemId: ID Artículo + itemFk: ID Artículo groupingPrice: Precio grouping packingPrice: Precio packing hasMinPrice: Tiene precio mínimo diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index bd8c4b78c..fddf154a2 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -36,23 +36,23 @@ const user = state.getUser(); const fixedPrices = ref([]); const warehousesOptions = ref([]); const rowsSelected = ref([]); - const itemFixedPriceFilterRef = ref(); - const params = reactive({}); -const defaultColumnAttrs = { - align: 'left', - sortable: true, -}; + onMounted(async () => { stateStore.rightDrawer = true; params.warehouseFk = user.value.warehouseFk; }); onUnmounted(() => (stateStore.rightDrawer = false)); + +const defaultColumnAttrs = { + align: 'left', + sortable: true, +}; const columns = computed(() => [ { - label: t('item.fixedPrice.itemId'), - name: 'itemId', + label: t('item.fixedPrice.itemFk'), + name: 'itemFk', ...defaultColumnAttrs, isId: true, cardVisible: true, @@ -426,7 +426,7 @@ function handleOnDataSave({ CrudModelRef }) { :default-save="false" data-key="ItemFixedPrices" url="FixedPrices/filter" - :order="['itemFk ASC']" + :order="['description DESC']" save-url="FixedPrices/crud" :user-params="{ warehouseFk: user.warehouseFk }" ref="tableRef" @@ -460,7 +460,7 @@ function handleOnDataSave({ CrudModelRef }) { -