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

@@ -13,15 +13,14 @@
:placeholder="0"
:min="0"
:max="10"
wrapperClass="w-44"
wrapperClass="w-44 flex-col"
/>
</div>
<UiNumberInput
label="Autres"
v-model="otherQuantity"
:disabled="!auth.isAdmin"
wrapperClass="w-44"
wrapperClass="w-44 flex-col"
/>
</div>
</form>
@@ -113,7 +112,7 @@ watch(
const existingOther = reception.bovineDetail
const parsedOther =
typeof existingOther === 'string' && existingOther.trim() !== ''
typeof existingOther === 'string' && existingOther.trim() !== ''
? Number(existingOther)
: 0
otherQuantity.value = Number.isFinite(parsedOther) ? parsedOther : 0