mg-ocr-invoice 0.3.8 → 0.3.9
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 +259 -262
- package/dist/index.umd.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/InvoiceList/index.vue +4 -4
package/package.json
CHANGED
|
@@ -429,7 +429,6 @@ const ok = () => {
|
|
|
429
429
|
const selectData: Array<any> = list.value
|
|
430
430
|
.filter((item: any) => item.selected)
|
|
431
431
|
.map((item: any) => {
|
|
432
|
-
VerificationOfTruth
|
|
433
432
|
let data = VerificationOfTruth(item)
|
|
434
433
|
let obj: any = { ...item, ...data }
|
|
435
434
|
return obj
|
|
@@ -437,6 +436,7 @@ const ok = () => {
|
|
|
437
436
|
const filterTitleErr = selectData.some(
|
|
438
437
|
(item) => item.invoiceCompanyType === '异常抬头'
|
|
439
438
|
)
|
|
439
|
+
console.log(filterTitleErr,'filterTitleErr')
|
|
440
440
|
if (filterTitleErr) {
|
|
441
441
|
showConfirmDialog({
|
|
442
442
|
title: '提醒',
|
|
@@ -448,9 +448,9 @@ const ok = () => {
|
|
|
448
448
|
.then(() => {
|
|
449
449
|
emit('ok', selectData, batchId.value)
|
|
450
450
|
})
|
|
451
|
-
.catch(() => {
|
|
452
|
-
|
|
453
|
-
|
|
451
|
+
.catch((error) => {
|
|
452
|
+
console.log(error)
|
|
453
|
+
})
|
|
454
454
|
}
|
|
455
455
|
emit('ok', selectData, batchId.value)
|
|
456
456
|
}
|