add additional fields
This commit is contained in:
parent
43f46c0fad
commit
b83b22d806
16 changed files with 97 additions and 3 deletions
|
@ -14,6 +14,10 @@
|
|||
<input type="text" id="name" required />
|
||||
</div>
|
||||
<ScanInput name="code" label="Code" :required="false" />
|
||||
<div>
|
||||
<label for="commissioned">In-Betrieb-Nahme</label>
|
||||
<input type="date" id="commissioned" required />
|
||||
</div>
|
||||
<div>
|
||||
<label for="location">Verortung (optional)</label>
|
||||
<input type="text" id="location" />
|
||||
|
@ -80,6 +84,7 @@ export default defineComponent({
|
|||
code: formData.code.value || null,
|
||||
location: formData.location.value,
|
||||
vehicleTypeId: this.selectedType,
|
||||
commissioned: formData.commissioned.value,
|
||||
};
|
||||
this.status = "loading";
|
||||
this.createVehicle(createVehicle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue