Merge branch 'dev' into 8138-add-component-ticketProblems
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
6ab31fa2d2
|
@ -166,6 +166,7 @@ onMounted(() => {
|
||||||
:expr-builder="exprBuilder"
|
:expr-builder="exprBuilder"
|
||||||
:custom-tags="['tagGroups', 'categoryFk']"
|
:custom-tags="['tagGroups', 'categoryFk']"
|
||||||
:redirect="false"
|
:redirect="false"
|
||||||
|
search-url="params"
|
||||||
>
|
>
|
||||||
<template #tags="{ tag, formatFn }">
|
<template #tags="{ tag, formatFn }">
|
||||||
<strong v-if="tag.label === 'typeFk'">
|
<strong v-if="tag.label === 'typeFk'">
|
||||||
|
|
|
@ -111,6 +111,7 @@ const columns = computed(() => [
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
url: 'Items',
|
url: 'Items',
|
||||||
|
sortBy: 'name ASC ',
|
||||||
fields: ['id', 'name', 'subName'],
|
fields: ['id', 'name', 'subName'],
|
||||||
},
|
},
|
||||||
columnField: {
|
columnField: {
|
||||||
|
|
|
@ -94,25 +94,32 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('ticketList.id'),
|
label: t('globals.id'),
|
||||||
name: 'itemFk',
|
name: 'itemFk',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('basicData.quantity'),
|
label: t('globals.quantity'),
|
||||||
name: 'quantity',
|
name: 'quantity',
|
||||||
format: (row) => toCurrency(row.quantity),
|
format: (row) => toCurrency(row.quantity),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('basicData.item'),
|
label: t('globals.item'),
|
||||||
name: 'item',
|
name: 'item',
|
||||||
format: (row) => row?.item?.name,
|
format: (row) => row?.item?.name,
|
||||||
columnClass: 'expand',
|
columnClass: 'expand',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('basicData.price'),
|
label: t('globals.size'),
|
||||||
|
name: 'size',
|
||||||
|
format: (row) => row?.item?.size,
|
||||||
|
columnClass: 'expand',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
label: t('globals.price'),
|
||||||
name: 'price',
|
name: 'price',
|
||||||
format: (row) => toCurrency(row.price),
|
format: (row) => toCurrency(row.price),
|
||||||
},
|
},
|
||||||
|
@ -124,7 +131,7 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('ticketList.amount'),
|
label: t('globals.amount'),
|
||||||
name: 'amount',
|
name: 'amount',
|
||||||
format: (row) => parseInt(row.amount * row.quantity),
|
format: (row) => parseInt(row.amount * row.quantity),
|
||||||
},
|
},
|
||||||
|
|
|
@ -138,6 +138,7 @@ ticketSale:
|
||||||
ok: Ok
|
ok: Ok
|
||||||
more: Más
|
more: Más
|
||||||
address: Consignatario
|
address: Consignatario
|
||||||
|
size: Medida
|
||||||
ticketComponents:
|
ticketComponents:
|
||||||
serie: Serie
|
serie: Serie
|
||||||
components: Componentes
|
components: Componentes
|
||||||
|
|
Loading…
Reference in New Issue