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
color: Color
id: ID
printedStickers: Printed stickers
notes:
observationType: Observation type
descriptor:

View File

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

View File

@ -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) => {
</component>
</QTd>
</QTr>
<QTr no-hover class="infoRow">
<QTr no-hover class="full-width infoRow" style="column-span: all">
<QTd />
<QTd>
<QTd cols>
<span>{{ props.row.item.itemType.code }}</span>
</QTd>
<QTd>
@ -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);
}