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',
|
align: 'left',
|
||||||
format: (row) => dashIfEmpty(row.serie),
|
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'),
|
label: t('ticketComponents.total'),
|
||||||
name: 'total',
|
name: 'total',
|
||||||
|
@ -311,28 +321,28 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<!-- <template #column-components="{ row }">
|
<template #column-components="{ row }">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||||
{{ saleComponent.component?.name }}
|
{{ saleComponent.component?.name }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template> -->
|
</template>
|
||||||
<!-- <template #column-import="{ row }">
|
<template #column-import="{ row }">
|
||||||
<div class="column text-left">
|
<div class="column text-left">
|
||||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||||
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template> -->
|
</template>
|
||||||
<template #column-total="{ row }">
|
<template #column-total="{ row }">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span v-for="(saleComponent, index) in row.components" :key="index">
|
<span v-for="(saleComponent, index) in row.components" :key="index">
|
||||||
{{ toCurrency(saleComponent.value * row.quantity, 'EUR', 3) }}
|
{{ toCurrency(saleComponent.value * row.quantity, 'EUR', 3) }}
|
||||||
<QTooltip>
|
<!-- <QTooltip>
|
||||||
{{ saleComponent.component?.name }}:
|
{{ saleComponent.component?.name }}:
|
||||||
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
{{ toCurrency(saleComponent.value, 'EUR', 3) }}
|
||||||
</QTooltip>
|
</QTooltip> -->
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -118,7 +118,7 @@ const warehouses = ref([]);
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.scopedDays"
|
v-model="params.scopeDays"
|
||||||
:label="t('Days onward')"
|
:label="t('Days onward')"
|
||||||
is-outlined
|
is-outlined
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue