parent
76cb8c6b28
commit
1544513a3e
|
@ -408,6 +408,9 @@ defineExpose({
|
||||||
class="row items-center no-wrap"
|
class="row items-center no-wrap"
|
||||||
style="height: 30px"
|
style="height: 30px"
|
||||||
>
|
>
|
||||||
|
<QTooltip v-if="col.toolTip">{{
|
||||||
|
col.toolTip
|
||||||
|
}}</QTooltip>
|
||||||
<VnTableOrder
|
<VnTableOrder
|
||||||
v-model="orders[col.orderBy ?? col.name]"
|
v-model="orders[col.orderBy ?? col.name]"
|
||||||
:name="col.orderBy ?? col.name"
|
:name="col.orderBy ?? col.name"
|
||||||
|
|
|
@ -1126,6 +1126,7 @@ travel:
|
||||||
warehouseIn: Warehouse in
|
warehouseIn: Warehouse in
|
||||||
warehouseOut: Warehouse out
|
warehouseOut: Warehouse out
|
||||||
totalEntries: Total entries
|
totalEntries: Total entries
|
||||||
|
totalEntriesTooltip: Total entries
|
||||||
summary:
|
summary:
|
||||||
confirmed: Confirmed
|
confirmed: Confirmed
|
||||||
entryId: Entry Id
|
entryId: Entry Id
|
||||||
|
|
|
@ -1105,6 +1105,7 @@ travel:
|
||||||
warehouseIn: Alm.salida
|
warehouseIn: Alm.salida
|
||||||
warehouseOut: Alm.entrada
|
warehouseOut: Alm.entrada
|
||||||
totalEntries: Ent.totales
|
totalEntries: Ent.totales
|
||||||
|
totalEntriesTooltip: Entradas totales
|
||||||
summary:
|
summary:
|
||||||
confirmed: Confirmado
|
confirmed: Confirmado
|
||||||
entryId: Id entrada
|
entryId: Id entrada
|
||||||
|
@ -1269,6 +1270,7 @@ components:
|
||||||
clone: Clonar
|
clone: Clonar
|
||||||
openCard: Ficha
|
openCard: Ficha
|
||||||
openSummary: Detalles
|
openSummary: Detalles
|
||||||
|
viewSummary: Vista previa
|
||||||
cardDescriptor:
|
cardDescriptor:
|
||||||
mainList: Listado principal
|
mainList: Listado principal
|
||||||
summary: Resumen
|
summary: Resumen
|
||||||
|
|
|
@ -100,7 +100,7 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, ClaimSummary),
|
action: (row) => viewSummary(row.id, ClaimSummary),
|
||||||
},
|
},
|
||||||
|
|
|
@ -357,7 +357,7 @@ const columns = computed(() => [
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, CustomerSummary),
|
action: (row) => viewSummary(row.id, CustomerSummary),
|
||||||
},
|
},
|
||||||
|
|
|
@ -176,7 +176,7 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, EntrySummary),
|
action: (row) => viewSummary(row.id, EntrySummary),
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
|
|
|
@ -122,7 +122,7 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, InvoiceOutSummary),
|
action: (row) => viewSummary(row.id, InvoiceOutSummary),
|
||||||
},
|
},
|
||||||
|
|
|
@ -185,7 +185,7 @@ const columns = computed(() => [
|
||||||
action: (row) => openTicketsDialog(row?.id),
|
action: (row) => openTicketsDialog(row?.id),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row?.id, RouteSummary),
|
action: (row) => viewSummary(row?.id, RouteSummary),
|
||||||
},
|
},
|
||||||
|
|
|
@ -139,6 +139,8 @@ const columns = computed(() => [
|
||||||
name: 'totalEntries',
|
name: 'totalEntries',
|
||||||
label: t('travel.travelList.tableVisibleColumns.totalEntries'),
|
label: t('travel.travelList.tableVisibleColumns.totalEntries'),
|
||||||
component: 'input',
|
component: 'input',
|
||||||
|
attrs: {},
|
||||||
|
toolTip: t('travel.travelList.tableVisibleColumns.totalEntriesTooltip'),
|
||||||
columnField: {
|
columnField: {
|
||||||
component: null,
|
component: null,
|
||||||
},
|
},
|
||||||
|
@ -158,12 +160,12 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('Add entry'),
|
title: t('Add entry'),
|
||||||
icon: 'contact_support',
|
icon: 'vn:ticket',
|
||||||
action: redirectCreateEntryView,
|
action: redirectCreateEntryView,
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('View Summary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, TravelSummary),
|
action: (row) => viewSummary(row.id, TravelSummary),
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
|
@ -233,7 +235,7 @@ const columns = computed(() => [
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
addEntry: Add entry
|
Add entry: Add entry
|
||||||
searchByIdOrReference: Search by ID or reference
|
searchByIdOrReference: Search by ID or reference
|
||||||
|
|
||||||
es:
|
es:
|
||||||
|
@ -241,10 +243,12 @@ es:
|
||||||
searchByIdOrReference: Buscar por ID o por referencia
|
searchByIdOrReference: Buscar por ID o por referencia
|
||||||
You can search by travel id or name: Buscar por envio por id o nombre
|
You can search by travel id or name: Buscar por envio por id o nombre
|
||||||
Search travel: Buscar envio
|
Search travel: Buscar envio
|
||||||
|
Clone: Clonar
|
||||||
|
Add entry: Añadir Entrada
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.is-active {
|
.is-active {
|
||||||
color: green;
|
color: #c8e484;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -77,7 +77,7 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('component.smartCard.viewSummary'),
|
title: t('components.smartCard.viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, WorkerSummary),
|
action: (row) => viewSummary(row.id, WorkerSummary),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue