diff --git a/src/pages/Ticket/Card/TicketPackage.vue b/src/pages/Ticket/Card/TicketPackage.vue index 8a8f688d1..9583d6662 100644 --- a/src/pages/Ticket/Card/TicketPackage.vue +++ b/src/pages/Ticket/Card/TicketPackage.vue @@ -30,6 +30,10 @@ const crudModelRequiredData = computed(() => ({ ticketFk: route.params.id, })); +const handleInputQuantityClear = (row) => { + if (row.quantity === null || row.quantity === undefined) row.quantity = 0; +}; + watch( () => route.params.id, async () => { @@ -59,7 +63,7 @@ watch( auto-load style="max-width: 800px" > -