mg-ocr-invoice 0.4.1 → 0.4.2

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.4.1",
4
+ "version": "0.4.2",
5
5
  "type": "module",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "module": "dist/index.es.js",
@@ -36,7 +36,9 @@
36
36
  class="title"
37
37
  :class="{
38
38
  company: item.invoiceCompanyType === '公司',
39
- err: item.invoiceCompanyType === '异常抬头',
39
+ err:
40
+ item.invoiceCompanyType === '异常抬头' ||
41
+ item.invoiceCompanyType === '异常税号',
40
42
  }">
41
43
  {{ item.invoiceCompanyType }}
42
44
  </div>
@@ -436,7 +438,9 @@ const ok = () => {
436
438
  return obj
437
439
  })
438
440
  const filterTitleErr = selectData.some(
439
- (item) => item.invoiceCompanyType === '异常抬头'
441
+ (item) =>
442
+ item.invoiceCompanyType === '异常抬头' ||
443
+ item.invoiceCompanyType === '异常税号'
440
444
  )
441
445
  console.log(filterTitleErr, 'filterTitleErr')
442
446
  if (filterTitleErr) {