From 4efe09722f59f2dba01a0c15e6173dbc4beacd15 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 15 Apr 2024 08:40:15 +0200 Subject: [PATCH] refs #6336 feat(claim): improvements --- src/components/CrudModel.vue | 6 + src/components/ui/VnNotes.vue | 2 +- src/composables/useArrayData.js | 3 +- src/pages/Claim/Card/ClaimLines.vue | 291 ++++++++++------------ src/pages/Claim/Card/ClaimLinesImport.vue | 38 +-- src/pages/Claim/Card/ClaimSummary.vue | 115 +++++---- 6 files changed, 206 insertions(+), 249 deletions(-) diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index c8fa5809c..fb3ac10c3 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -24,6 +24,10 @@ const $props = defineProps({ type: String, default: '', }, + limit: { + type: Number, + default: 20, + }, saveUrl: { type: String, default: null, @@ -76,6 +80,7 @@ defineExpose({ reset, hasChanges, saveChanges, + getChanges, }); async function fetch(data) { @@ -260,6 +265,7 @@ watch(formUrl, async () => {