0
0
Fork 0
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, ...defaultColumnAttrs,
label: t('proposal.status'), label: t('Compatibildiad'),
name: 'status', name: 'status',
field: statusConditionalValue, field: statusConditionalValue,
}, },
@ -135,7 +135,7 @@ const columns = computed(() => [
]); ]);
async function confirm() { async function confirm() {
console.log(''); console.log('');
// quantity.value = 0; quantity.value = 0;
// const response = { address: address.value }; // const response = { address: address.value };
// if (props.promise) { // if (props.promise) {
// isLoading.value = true; // isLoading.value = true;
@ -182,27 +182,6 @@ async function confirm() {
</QCardSection> </QCardSection>
<QCardSection class="row items-center justify-center column items-stretch"> <QCardSection class="row items-center justify-center column items-stretch">
<!-- <VnRow style="display: flex"> --> <!-- <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> <div>
<VnPaginate <VnPaginate
:append="false" :append="false"

View File

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

View File

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

View File

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

View File

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