From 80adeede817d14ef710303c36d826c200ba199c3 Mon Sep 17 00:00:00 2001 From: pablone Date: Tue, 11 Jun 2024 14:28:19 +0200 Subject: [PATCH] fix: refs #7499 fix item reference --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Entry/Card/EntryBuys.vue | 24 ++++++++++++++++++++++-- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 85f78a7ee..0d8f82e82 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -394,6 +394,7 @@ entry: type: Type color: Color id: ID + printedStickers: Printed stickers notes: observationType: Observation type descriptor: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index ae3f24e51..f43dd10c6 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -392,6 +392,7 @@ entry: type: Tipo color: Color id: ID + printedStickers: Etiquetas imprimidas notes: observationType: Tipo de observación descriptor: diff --git a/src/pages/Entry/Card/EntryBuys.vue b/src/pages/Entry/Card/EntryBuys.vue index 4d454f509..bf492eed6 100644 --- a/src/pages/Entry/Card/EntryBuys.vue +++ b/src/pages/Entry/Card/EntryBuys.vue @@ -82,6 +82,16 @@ const tableColumnComponents = computed(() => ({ }, event: getInputEvents, }, + printedStickers: { + component: VnInput, + props: { + type: 'number', + min: 0, + class: 'input-number', + dense: true, + }, + event: getInputEvents, + }, weight: { component: VnInput, props: { @@ -169,6 +179,12 @@ const entriesTableColumns = computed(() => { name: 'stickers', align: 'left', }, + { + label: t('entry.buys.printedStickers'), + field: 'printedStickers', + name: 'printedStickers', + align: 'left', + }, { label: t('entry.summary.weight'), field: 'weight', @@ -390,9 +406,9 @@ const lockIconType = (groupingMode, mode) => { - + - + {{ props.row.item.itemType.code }} @@ -461,6 +477,10 @@ const lockIconType = (groupingMode, mode) => { .q-table--horizontal-separator tbody tr:nth-child(odd) > td { border-bottom-width: 0px; } +.q-table--horizontal-separator tbody tr:nth-child(odd) > td { + border-top-width: 2px; + border-color: rgb(209, 209, 209); +} .infoRow > td { color: rgb(122, 122, 122); }