From cf8908772ec8b972694d2a284fc01b3d77e2f282 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 18 Jun 2024 16:26:21 +0300 Subject: [PATCH] total --- components/calcValues.vue | 10 ++++++---- components/modal.vue | 9 ++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/components/calcValues.vue b/components/calcValues.vue index 6a83be1..2cbcf5c 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -50,7 +50,7 @@ const form_refs = { } const changeParametres = () => { - if(form_state.total_length * 1000 < parametric.length.min) { + if (form_state.total_length * 1000 < parametric.length.min) { return } const lamelles = Math.floor(form_state.height / parametric.height.step) @@ -196,7 +196,8 @@ const plurals = { Забор общей длиной {{ form_state.total_length }}{{ '\xa0' }}м, {{ section_count }} по - {{ parseInt(form_state.length).toFixed(2) }}{{ '\xa0' }}мм {{ section_count * lamelles_count }} - {{ `длиной ${parseInt(form_state.length).toFixed(2)}\xa0мм` }}