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мм` }}