feat: refs #7404 change travel name and remove buyer filter #796

Merged
pablone merged 3 commits from 7404-addSomeLogisticPreferences into dev 2024-10-04 06:59:13 +00:00
1 changed files with 5 additions and 3 deletions

View File

@ -45,6 +45,7 @@ const columns = [
optionValue: 'id', optionValue: 'id',
useLike: false, useLike: false,
}, },
columnFilter: false,
}, },
{ {
align: 'center', align: 'center',
@ -157,7 +158,7 @@ function round(value) {
@on-fetch=" @on-fetch="
(data) => { (data) => {
travel = data.find( travel = data.find(
(data) => data.warehouseIn.code.toLowerCase() === 'vnh' (data) => data.warehouseIn?.code.toLowerCase() === 'vnh'
); );
} }
" "
@ -165,7 +166,7 @@ function round(value) {
<VnRow class="travel"> <VnRow class="travel">
<div v-if="travel"> <div v-if="travel">
<span style="color: var(--vn-label-color)"> <span style="color: var(--vn-label-color)">
{{ t('Booked trucks') }}: {{ t('Purchase Spaces') }}:
</span> </span>
<span> <span>
{{ travel?.m3 }} {{ travel?.m3 }}
@ -236,6 +237,7 @@ function round(value) {
:footer="true" :footer="true"
table-height="80vh" table-height="80vh"
auto-load auto-load
:column-search="false"
> >
<template #column-workerFk="{ row }"> <template #column-workerFk="{ row }">
<span class="link" @click.stop> <span class="link" @click.stop>
@ -288,7 +290,7 @@ function round(value) {
es: es:
Edit travel: Editar envío Edit travel: Editar envío
Travel: Envíos Travel: Envíos
Booked trucks: Camiones reservados Purchase Spaces: Espacios de compra
Buyer: Comprador Buyer: Comprador
Reserve: Reservado Reserve: Reservado
Bought: Comprado Bought: Comprado