0
0
Fork 0

fix: refs #7499 fix item reference

This commit is contained in:
Pablo Natek 2024-06-11 14:28:19 +02:00
parent d0dccddcf3
commit 80adeede81
3 changed files with 24 additions and 2 deletions

View File

@ -394,6 +394,7 @@ entry:
type: Type type: Type
color: Color color: Color
id: ID id: ID
printedStickers: Printed stickers
notes: notes:
observationType: Observation type observationType: Observation type
descriptor: descriptor:

View File

@ -392,6 +392,7 @@ entry:
type: Tipo type: Tipo
color: Color color: Color
id: ID id: ID
printedStickers: Etiquetas imprimidas
notes: notes:
observationType: Tipo de observación observationType: Tipo de observación
descriptor: descriptor:

View File

@ -82,6 +82,16 @@ const tableColumnComponents = computed(() => ({
}, },
event: getInputEvents, event: getInputEvents,
}, },
printedStickers: {
component: VnInput,
props: {
type: 'number',
min: 0,
class: 'input-number',
dense: true,
},
event: getInputEvents,
},
weight: { weight: {
component: VnInput, component: VnInput,
props: { props: {
@ -169,6 +179,12 @@ const entriesTableColumns = computed(() => {
name: 'stickers', name: 'stickers',
align: 'left', align: 'left',
}, },
{
label: t('entry.buys.printedStickers'),
field: 'printedStickers',
name: 'printedStickers',
align: 'left',
},
{ {
label: t('entry.summary.weight'), label: t('entry.summary.weight'),
field: 'weight', field: 'weight',
@ -390,9 +406,9 @@ const lockIconType = (groupingMode, mode) => {
</component> </component>
</QTd> </QTd>
</QTr> </QTr>
<QTr no-hover class="infoRow"> <QTr no-hover class="full-width infoRow" style="column-span: all">
<QTd /> <QTd />
<QTd> <QTd cols>
<span>{{ props.row.item.itemType.code }}</span> <span>{{ props.row.item.itemType.code }}</span>
</QTd> </QTd>
<QTd> <QTd>
@ -461,6 +477,10 @@ const lockIconType = (groupingMode, mode) => {
.q-table--horizontal-separator tbody tr:nth-child(odd) > td { .q-table--horizontal-separator tbody tr:nth-child(odd) > td {
border-bottom-width: 0px; 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 { .infoRow > td {
color: rgb(122, 122, 122); color: rgb(122, 122, 122);
} }