mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix purchase order input bug
This commit is contained in:
@@ -238,7 +238,7 @@
|
||||
stockCode: product.stockCode,
|
||||
description: product.description,
|
||||
quantity: product.quantity,
|
||||
unit_price: product.unit_price,
|
||||
unit_price: parseFloat((product.unit_price).toString().replace(',', '')),
|
||||
total: product.quantity * parseFloat((product.unit_price).toString().replace(',', ''))
|
||||
};
|
||||
},
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
stockCode: this.product.stockCode,
|
||||
description: this.product.description,
|
||||
quantity: this.product.quantity,
|
||||
unit_price: this.product.unit_price,
|
||||
unit_price: parseFloat((this.product.unit_price).toString().replace(',', '')),
|
||||
total: this.productTotal
|
||||
}, this.index);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user