Commit 5a6f52de authored by hypsug0's avatar hypsug0
Browse files

Fix: fix moreCountDetailForm display

parent ac0f43cd
......@@ -179,7 +179,7 @@ Observations de la session {{object.name}}
<td v-if="form_fields.includes('poids')">[[cd.poids]]</td>
<td v-if="form_fields.includes('count')" :class="{'danger' : cd.count == null && !selectedCode(dicts.Method, cd.method, 'vvnc')}">[[cd.count || '-']] [[dicts.CountUnit.find((e) => e.id == cd.unit)?.code]]</td>
</tr>
<tr v-if="countDetailSelectedItem == icd" :class="(invalid ? 'warning' : 'success')">
<tr v-if="countDetailSelectedItem == icd">
<td id="countDetailEditLine" colspan="100">
{% comment %} <span class="pull-right btn btn-xs pull-right btn-danger" @click="countDetailSelectedItem=-1">X</span> {% endcomment %}
<div id="specieDetail" class="form-inline">
......@@ -362,15 +362,23 @@ Observations de la session {{object.name}}
<label class="control-label" for="Chinspot">Chinspot</label>
<dict-select :options="filteredDict(dicts.BiomChinspot)" v-model="cd.chinspot"/>
</div>
<div v-if="form_fields.includes('usure_dent')" class="form-group">
<label class="control-label" Vuejs Dynamic Dropdown Select Menu using json
<div v-if="form_fields.includes('usure_dent')" class="form-group">
<label class="control-label" for="usureDent">Usure des dents</label>
<dict-select id="usureDent" :options="filteredDict(dicts.BiomDent)" v-model="cd.usure_dent"/>
</div>
<span @click="moreCountDetailForm=!moreCountDetailForm"><i class="fas fa-2x"
:class="moreCountDetailForm ? 'fa-caret-up ':'fa-caret-down'"></i></span>
<div v-if="moreCountDetailForm">
<div>
<label class="col-sm-2 control-label" for="determiner">Déterminateur</label>
<div class="col-sm-10">
<user-select-one id="determiner" class="form-control" v-model="cd.manipulator"/>
</div>
</div>
<div>
<label class="col-sm-2 control-label" for="determiner">Validateur</label>
<label class="col-sm-2 control-label" for="validator">Validateur</label>
<div class="col-sm-10">
<user-select-one id="determiner" class="form-control" v-model="cd.validator"/>
<user-select-one id="validator" class="form-control" v-model="cd.validator"/>
</div>
</div>
<div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment