From 34b566343fedef10b14c6785c10e338599d0349b Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Tue, 22 Apr 2025 09:37:47 +0200 Subject: [PATCH] Fixed Calc on select --- components/materialComposing.vue | 2 ++ components/personalComposing.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/materialComposing.vue b/components/materialComposing.vue index d43ebb5..3d21a09 100644 --- a/components/materialComposing.vue +++ b/components/materialComposing.vue @@ -56,6 +56,8 @@ const setRowData = (row) => { row.unit = product.unit row.price = product.sellingPrice + + calculateTotalMaterialPrice() } diff --git a/components/personalComposing.vue b/components/personalComposing.vue index 405519a..7cb27f5 100644 --- a/components/personalComposing.vue +++ b/components/personalComposing.vue @@ -57,6 +57,8 @@ const setRowData = (row) => { row.purchasePrice = hourrate.purchasePrice row.price = hourrate.sellingPrice + + calculateTotalPersonalPrice() }