This commit is contained in:
Javier Segarra 2024-06-13 14:55:49 +02:00
parent bb58f72e3f
commit 679710eb4d
5 changed files with 16 additions and 37 deletions

View File

@ -63,7 +63,7 @@ const columns = computed(() => [
},
{
...defaultColumnAttrs,
label: t('proposal.status'),
label: t('Compatibildiad'),
name: 'status',
field: statusConditionalValue,
},
@ -135,7 +135,7 @@ const columns = computed(() => [
]);
async function confirm() {
console.log('');
// quantity.value = 0;
quantity.value = 0;
// const response = { address: address.value };
// if (props.promise) {
// isLoading.value = true;
@ -182,27 +182,6 @@ async function confirm() {
</QCardSection>
<QCardSection class="row items-center justify-center column items-stretch">
<!-- <VnRow style="display: flex"> -->
<div class="calendars-header" v-if="$props.tickets.length > 0">
<QBtn
icon="arrow_left"
flat
class="full-height"
@click="changeTicket(false)"
:disable="index === 0"
/>
<span>
Ticket #{{ currentTicket.ticketFk }} -
<!-- {{ currentTicket.client?.name }} ({{ currentTicket.client?.id }}) -->
{{ currentTicket.nickname }}</span
>
<QBtn
icon="arrow_right"
flat
class="full-height"
@click="changeTicket(true)"
:disable="index === $props.tickets.length - 1"
/>
</div>
<div>
<VnPaginate
:append="false"

View File

@ -106,5 +106,5 @@ proposal:
itemOldPrice: Precio itemOld
status: Estado
quantityToReplace: Cantidad a reemplazar
replace: Sustituir para este ticket
replace: Sustituir
replaceAndConfirm: Sustituir y confirmar precio

View File

@ -348,22 +348,22 @@ const split = async () => {
<QBtnGroup push style="column-gap: 1px">
<QBtn
color="primary"
:label="t('Change state')"
:label="t('negative.detail.modal.changeState.title')"
:disable="selectedRows.length < 2"
@click="showChangeStateDialog = true"
>
<QTooltip bottom anchor="bottom right">
{{ t('Change state') }}
{{ t('negative.detail.modal.changeState.title') }}
</QTooltip>
</QBtn>
<QBtn
color="primary"
:label="t('Change quantity')"
:label="t('negative.detail.modal.changeQuantity.title')"
@click="showChangeQuantityDialog = true"
:disable="selectedRows.length < 2"
>
<QTooltip bottom anchor="bottom right">
{{ t('Change quantity') }}
{{ t('negative.detail.modal.changeQuantity.title') }}
</QTooltip>
</QBtn>
<QBtn

View File

@ -30,7 +30,7 @@ negative:
question: 'Select a state to update'
detail:
itemFk: 'Article'
ticketFk: 'Id_Ticket'
ticketFk: 'Ticket'
code: 'Code'
nickname: 'Alias'
name: 'Name'

View File

@ -30,15 +30,15 @@ negative:
modalSplit:
title: Confirmar acción de split
question: 'Select a state to update'
question: 'Selecciona un estado'
detail:
itemFk: 'Articulo'
ticketFk: 'Id_Ticket'
itemFk: 'Artículo'
ticketFk: 'Ticket'
code: 'code'
nickname: 'Alias'
name: 'Nombre'
zoneName: 'Nombre Agencia'
shipped: 'Fecha'
zoneName: 'Agencia'
shipped: 'F. envío'
theoreticalhour: 'Hora teórica'
agName: 'Agencia'
quantity: 'Cantidad'
@ -47,13 +47,13 @@ negative:
peticionCompra: 'Petición compra'
isRookie: 'Cliente nuevo'
turno: 'Linea turno'
showFree: Mostrar las lineas Free
showFree: Solo estado libre
modal:
changeState:
title: Actualizar estado de los tickets
title: Actualizar estado
placeholder: Nuevo estado
changeQuantity:
title: Actualizar cantidad de los tickets
title: Actualizar cantidad
placeholder: Nueva cantidad
split:
title: ¿Seguro de separar los tickets seleccionados?