mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 13:33:57 +00:00
fix purchase order input bug
This commit is contained in:
@@ -233,13 +233,13 @@
|
||||
};
|
||||
},
|
||||
updateProduct(product, index){
|
||||
this.products[index] = {
|
||||
this.$set(this.products, index, {
|
||||
stockCode: product.stockCode,
|
||||
description: product.description,
|
||||
quantity: product.quantity,
|
||||
unit_price: parseFloat((product.unit_price).toString().replace(',', '')),
|
||||
total: product.quantity * parseFloat((product.unit_price).toString().replace(',', ''))
|
||||
};
|
||||
});
|
||||
console.log(this.poTotal);
|
||||
},
|
||||
removeProduct(index){
|
||||
|
||||
Reference in New Issue
Block a user