feat: infrastructure assets management with warranty tracking and EAN lookup integration

This commit is contained in:
jeremy bayse
2026-04-09 21:51:43 +02:00
parent 3544c77bd1
commit b28c56c94c
46 changed files with 2961 additions and 414 deletions

View File

@@ -8,6 +8,7 @@ const props = defineProps({
commande: Object,
services: Array,
fournisseurs: Array,
communes: Array,
categories: Array,
articles: Array,
})
@@ -15,6 +16,7 @@ const props = defineProps({
const form = useForm({
service_id: props.commande.service_id,
fournisseur_id: props.commande.fournisseur_id ?? '',
commune_id: props.commande.commune_id ?? '',
objet: props.commande.objet,
description: props.commande.description ?? '',
justification: props.commande.justification ?? '',
@@ -76,6 +78,14 @@ const showReceived = ['commandee','partiellement_recue','recue_complete'].includ
<option v-for="f in fournisseurs" :key="f.id" :value="f.id">{{ f.nom }}</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700">Ville / Commune</label>
<select v-model="form.commune_id"
class="mt-1 block w-full rounded-lg border border-gray-300 px-3 py-2 text-sm shadow-sm focus:border-blue-500 focus:outline-none">
<option value=""> Non défini </option>
<option v-for="c in communes" :key="c.id" :value="c.id">{{ c.nom }}</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700">Priorité</label>
<select v-model="form.priorite"