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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mg-ocr-invoice",
3
3
  "private": false,
4
- "version": "0.3.8",
4
+ "version": "0.3.9",
5
5
  "type": "module",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "module": "dist/index.es.js",
@@ -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
- return
451
+ .catch((error) => {
452
+ console.log(error)
453
+ })
454
454
  }
455
455
  emit('ok', selectData, batchId.value)
456
456
  }