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.description = item.description || this.form.description;
|
||||||
this.form.uom = item.uom_symbol || this.form.uom;
|
this.form.uom = item.uom_symbol || this.form.uom;
|
||||||
this.form.quantity =
|
this.form.quantity =
|
||||||
item.quantity
|
item.quantity_initial
|
||||||
? String(item.quantity)
|
? String(item.quantity_initial)
|
||||||
: this.form.quantity;
|
: this.form.quantity;
|
||||||
this.form.stockType = item.stock_type || this.form.stockType;
|
this.form.stockType = item.stock_type || this.form.stockType;
|
||||||
this.form.level = item.level || this.form.level;
|
this.form.level = item.level || this.form.level;
|
||||||
|
|||||||
Reference in New Issue
Block a user