Update label form to use quantity_initial for quantity assignment
This commit is contained in:
1 parent
96b263c899
commit
35c30120b8
1 file changed
+2
-2
@@ -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