bx-1047-main #41
|
@ -57,7 +57,7 @@ const form_refs = {
|
||||||
}
|
}
|
||||||
|
|
||||||
const changeParametres = () => {
|
const changeParametres = () => {
|
||||||
// console.log(form_state.total_length * 1000, copy_form_state.total_length * 1000)
|
// console.log('form', form_state.total_length * 1000, 'copy', copy_form_state.total_length * 1000)
|
||||||
|
|
||||||
const lamelles = Math.floor(form_state.height / parametric.height.step)
|
const lamelles = Math.floor(form_state.height / parametric.height.step)
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ const goal = (target: string, params: object) => {
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<label for="total_length">Общая длина забора, м</label>
|
<label for="total_length">Общая длина забора, м</label>
|
||||||
<input type="number" id="total_length" v-bind="parametric.total_length"
|
<input type="number" id="total_length" v-bind="parametric.total_length" min=0
|
||||||
v-model="form_state.total_length" :ref="form_refs.total_length" />
|
v-model="form_state.total_length" :ref="form_refs.total_length" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item xl:w-2/4 text-sm xl:text-base">
|
<div class="form-item xl:w-2/4 text-sm xl:text-base">
|
||||||
|
|
Loading…
Reference in New Issue