Update label form to use quantity_initial for quantity assignment
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user