forked from verdnatura/salix-front
refactor: refs #7553 changed fields in ticket component & ticket filter
This commit is contained in:
parent
0e5607d685
commit
4630496361
|
@ -110,6 +110,16 @@ const columns = computed(() => [
|
|||
align: 'left',
|
||||
format: (row) => dashIfEmpty(row.serie),
|
||||
},
|
||||
{
|
||||
label: t('ticketComponents.components'),
|
||||
name: 'components',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
label: t('ticketComponents.import'),
|
||||
name: 'import',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
label: t('ticketComponents.total'),
|
||||
name: 'total',
|
||||
|
@ -311,28 +321,28 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
</span>
|
||||
</div>
|
||||
</template>
|
||||
<!-- <template #column-components="{ row }">
|
||||
<template #column-components="{ row }">
|
||||
<div class="column">
|
||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||
{{ saleComponent.component?.name }}
|
||||
</span>
|
||||
</div>
|
||||
</template> -->
|
||||
<!-- <template #column-import="{ row }">
|
||||
</template>
|
||||
<template #column-import="{ row }">
|
||||
<div class="column text-left">
|
||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
||||
</span>
|
||||
</div>
|
||||
</template> -->
|
||||
</template>
|
||||
<template #column-total="{ row }">
|
||||
<div class="column">
|
||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||
{{ toCurrency(saleComponent.value * row.quantity, 'EUR', 3) }}
|
||||
<QTooltip>
|
||||
<!-- <QTooltip>
|
||||
{{ saleComponent.component?.name }}:
|
||||
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
||||
</QTooltip>
|
||||
</QTooltip> -->
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -118,7 +118,7 @@ const warehouses = ref([]);
|
|||
<QItem>
|
||||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.scopedDays"
|
||||
v-model="params.scopeDays"
|
||||
:label="t('Days onward')"
|
||||
is-outlined
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue