mg-ocr-invoice 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Invoice/index.vue +1 -1
package/package.json
CHANGED
|
@@ -411,7 +411,7 @@ const computed_amount = computed(() => {
|
|
|
411
411
|
formData.value.itemAmountReqs.forEach((item) => {
|
|
412
412
|
let tax_amount = new Decimal(filterNumber(item.itemExTaxAmount)).times(
|
|
413
413
|
new Decimal(filterNumber(item.itemTaxRate / 100))
|
|
414
|
-
)
|
|
414
|
+
).toFixed(2)
|
|
415
415
|
count = count.plus(
|
|
416
416
|
new Decimal(filterNumber(item.itemExTaxAmount)).plus(tax_amount)
|
|
417
417
|
)
|