mg-ocr-invoice 0.2.8 → 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 +5 -7
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Invoice/index.vue +3 -2
package/package.json
CHANGED
|
@@ -331,7 +331,8 @@ const isEdit = computed(() => {
|
|
|
331
331
|
props.invoiceData.realStatus === 'noNeed' ||
|
|
332
332
|
props.invoiceData.invoiceExceptionInfo === 'abnormal' ||
|
|
333
333
|
props.invoiceData.manualModify ||
|
|
334
|
-
props.invoiceData.
|
|
334
|
+
props.invoiceData.realStatus === 'checkFail'||
|
|
335
|
+
props.invoiceData.realStatus === 'notCheck'
|
|
335
336
|
)
|
|
336
337
|
})
|
|
337
338
|
const submit = async () => {
|
|
@@ -410,7 +411,7 @@ const computed_amount = computed(() => {
|
|
|
410
411
|
formData.value.itemAmountReqs.forEach((item) => {
|
|
411
412
|
let tax_amount = new Decimal(filterNumber(item.itemExTaxAmount)).times(
|
|
412
413
|
new Decimal(filterNumber(item.itemTaxRate / 100))
|
|
413
|
-
)
|
|
414
|
+
).toFixed(2)
|
|
414
415
|
count = count.plus(
|
|
415
416
|
new Decimal(filterNumber(item.itemExTaxAmount)).plus(tax_amount)
|
|
416
417
|
)
|