From b2dea0785e1cbb5f8a7290563a95dbaab84acd02 Mon Sep 17 00:00:00 2001 From: Juan Felipe Zapata Moreno Date: Tue, 24 Feb 2026 23:30:11 -0600 Subject: [PATCH] =?UTF-8?q?feat:=20agregar=20opci=C3=B3n=20para=20permitir?= =?UTF-8?q?=20eliminaci=C3=B3n=20de=20seriales=20y=20mejorar=20gesti=C3=B3?= =?UTF-8?q?n=20de=20estado=20en=20componentes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/POS/SerialInputList.vue | 23 ++++++-- src/pages/POS/Inventory/CreateModal.vue | 17 +++++- src/pages/POS/Inventory/EditModal.vue | 17 +++++- src/pages/POS/Movements/Edit.vue | 78 ++++++++++++++++--------- 4 files changed, 98 insertions(+), 37 deletions(-) diff --git a/src/components/POS/SerialInputList.vue b/src/components/POS/SerialInputList.vue index b8240cd..dca3371 100644 --- a/src/components/POS/SerialInputList.vue +++ b/src/components/POS/SerialInputList.vue @@ -10,6 +10,10 @@ const props = defineProps({ disabled: { type: Boolean, default: false + }, + allowRemove: { + type: Boolean, + default: true } }); @@ -133,17 +137,26 @@ watch(() => props.modelValue, (val) => { }" /> - + - Vendido + {{ + item.lock_reason === 'traspasado' ? 'Traspasado' : + item.lock_reason === 'salida' ? 'Salida' : + 'Vendido' + }}