From 9468e409ea43f3fa5747d89562db56e25400f598 Mon Sep 17 00:00:00 2001 From: pablone Date: Tue, 21 May 2024 00:34:03 +0200 Subject: [PATCH] fix: refs #7187 fix reload --- src/pages/Worker/Card/WorkerPda.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index fceaaf1d7..06f1e0e80 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -40,6 +40,12 @@ const deallocatePDA = async (deviceProductionFk) => { } paginate.value.fetch(); }; + +function reloadData() { + initialData.value.deviceProductionFk = null; + initialData.value.simSerialNumber = null; + paginate.value.fetch(); +}