From 91a137b07248651bb491626154986f790b34d739 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 1 Mar 2024 08:53:53 +0100 Subject: [PATCH 1/4] warmFix row --- src/pages/Entry/Card/EntrySummary.vue | 238 ++++++++++++++------------ 1 file changed, 124 insertions(+), 114 deletions(-) diff --git a/src/pages/Entry/Card/EntrySummary.vue b/src/pages/Entry/Card/EntrySummary.vue index 3861e0321..6a2b0602a 100644 --- a/src/pages/Entry/Card/EntrySummary.vue +++ b/src/pages/Entry/Card/EntrySummary.vue @@ -39,30 +39,47 @@ onMounted(async () => { const tableColumnComponents = { quantity: { component: () => 'span', + props: () => {}, }, stickers: { component: () => 'span', + props: () => {}, + event: () => {}, }, packagingFk: { component: () => 'span', + props: () => {}, + event: () => {}, }, weight: { component: () => 'span', + props: () => {}, + event: () => {}, }, packing: { component: () => 'span', + props: () => {}, + event: () => {}, }, grouping: { component: () => 'span', + props: () => {}, + event: () => {}, }, buyingValue: { component: () => 'span', + props: () => {}, + event: () => {}, }, amount: { component: () => 'span', + props: () => {}, + event: () => {}, }, pvp: { component: () => 'span', + props: () => {}, + event: () => {}, }, }; @@ -162,125 +179,115 @@ const fetchEntryBuys = async () => { {{ t('globals.summary.basicData') }} - -
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
{{ t('Travel data') }} - -
- - - -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+ + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -297,7 +304,10 @@ const fetchEntryBuys = async () => { - + From 37160158ce054357c1a51dc05242274ddacdf116 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 1 Mar 2024 09:33:59 +0100 Subject: [PATCH 4/4] refs #5509 fix(FormModel) $props.formInitialData --- src/components/FormModel.vue | 2 +- src/components/common/VnDms.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index c8d83b6c4..9f5ae319c 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -81,7 +81,7 @@ onMounted(async () => { }); // Podemos enviarle al form la estructura de data inicial sin necesidad de fetchearla - state.set($props.model, $props.formInitialData ?? {}); + state.set($props.model, $props.formInitialData); if ($props.autoLoad && !$props.formInitialData) { await fetch(); } diff --git a/src/components/common/VnDms.vue b/src/components/common/VnDms.vue index d2651f5d8..d5c59517d 100644 --- a/src/components/common/VnDms.vue +++ b/src/components/common/VnDms.vue @@ -111,7 +111,7 @@ function addDefaultData(data) {