Update label form to use quantity_initial for quantity assignment

This commit is contained in:
2026-04-06 18:01:58 +02:00
parent 96b263c899
commit 35c30120b8
+2 -2
View File
@@ -558,8 +558,8 @@ export function labelCreatePageData(store) {
this.form.description = item.description || this.form.description;
this.form.uom = item.uom_symbol || this.form.uom;
this.form.quantity =
item.quantity
? String(item.quantity)
item.quantity_initial
? String(item.quantity_initial)
: this.form.quantity;
this.form.stockType = item.stock_type || this.form.stockType;
this.form.level = item.level || this.form.level;