|
|
|
@ -7,13 +7,13 @@
|
|
|
|
|
id="ip-g-1" |
|
|
|
|
label="Bezeichnung:" |
|
|
|
|
label-for="bezeichnung" |
|
|
|
|
description="Name des Zertifikat-Typs:" |
|
|
|
|
description="Bezeichnung des Kleidungs-Typs:" |
|
|
|
|
> |
|
|
|
|
<b-form-input |
|
|
|
|
id="bezeichnung" |
|
|
|
|
v-model="form.bezeichnung" |
|
|
|
|
required |
|
|
|
|
placeholder="Name eingeben" |
|
|
|
|
placeholder="Bezeichnung eingeben" |
|
|
|
|
size="50" |
|
|
|
|
> |
|
|
|
|
</b-form-input> |
|
|
|
@ -107,8 +107,7 @@
|
|
|
|
|
|
|
|
|
|
onReset(event) { |
|
|
|
|
event.preventDefault(); |
|
|
|
|
this.form.name = ''; |
|
|
|
|
this.form.laufzeit = 0; |
|
|
|
|
this.form.bezeichnung = ''; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
onFill(item) { |
|
|
|
@ -116,7 +115,6 @@
|
|
|
|
|
if(item.length !== 0) { |
|
|
|
|
this.form.bezeichnung = item[0].bezeichnung; |
|
|
|
|
this.form.id = item[0].id; |
|
|
|
|
this.form.laufzeit = parseInt(item[0].laufzeit); |
|
|
|
|
console.log(JSON.stringify(item[0].bezeichnung)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|