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

@@ -9,6 +9,7 @@
:disabled="!auth.isAdmin"
:min="0"
:max="48000"
wrapper-class="flex-col"
/>
<UiDateInput
@@ -23,6 +24,7 @@
labelClass="font-bold uppercase"
v-model="sharedWeightMeta.dsd"
:disabled="!auth.isAdmin"
wrapper-class="flex-col"
/>
</div>
</form>
@@ -41,11 +43,6 @@ const props = defineProps<{
isValidate: boolean
}>()
const idReception = props.idReception
const weightType = props.weightType
const auth = useAuthStore()
const form = reactive({
weights: [
{id: 0, type: 'tare' as const, weight: 0, dsd: null, weighedAt: null},
@@ -53,6 +50,9 @@ const form = reactive({
]
})
const idReception = props.idReception
const weightType = props.weightType
const auth = useAuthStore()
const weight = form.weights.find(w => w.type === weightType)
const initialWeight = ref<{ weight: number | null; dsd: number | null; weighedAt: string | null } | null>(null)