feat : finalisation et correctif couleur de affichage reception finie

This commit is contained in:
2026-02-24 08:59:25 +01:00
parent d47f237bac
commit 86299a18f3
6 changed files with 21 additions and 21 deletions

View File

@@ -218,10 +218,7 @@ import {getDriverList} from '~/services/driver'
import type {VehicleData} from '~/services/dto/vehicle-data'
import {getVehicleList} from '~/services/vehicle'
import {RECEPTION_TYPE_CODES, SUPPLIER_CODE} from "~/utils/constants";
import {
deleteReceptionBovine,
getReceptionBovineList,
} from "~/services/reception-bovine";
import {deleteReceptionBovine, getReceptionBovineList,} from "~/services/reception-bovine";
import type {ReceptionData, ReceptionFormData} from "~/services/dto/reception-data";
import {getReception, updateReception} from "~/services/reception";
import UpdateWeight from "~/components/reception/update-weight.vue";
@@ -279,7 +276,6 @@ const isMerchandise = ref(false)
// Empêche les watchers de reset des champs pendant le remplissage initial
const isHydrating = ref(false)
// Transporteur sélectionné dans le formulaire
const selectedCarrier = computed(() =>
carriers.value.find((carrier) => String(carrier.id) === form.carrierId) ?? null
@@ -427,6 +423,7 @@ const loadSuppliers = async () => {
}
}
//charge la liste des types pour le select
const loadTypes = async () => {
isLoadingTypes.value = true
try {