mg-ocr-invoice 0.4.16 → 0.4.18

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 CHANGED
@@ -5320,7 +5320,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
5320
5320
  }, _hoisted_54$1 = {
5321
5321
  key: 1,
5322
5322
  class: "gg-chevron-up"
5323
- }, _hoisted_55$1 = { key: 0 }, _hoisted_56$1 = { class: "inv-cell" }, _hoisted_57$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "发票号码", -1)), _hoisted_58$1 = { class: "inv-cell" }, _hoisted_59$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "校验码", -1)), _hoisted_60$1 = { class: "marPX" }, _hoisted_61$1 = { class: "inv-cell" }, _hoisted_62$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "开票日期", -1)), _hoisted_63$1 = ["value"], _hoisted_64$1 = { class: "marPX" }, _hoisted_65$1 = { class: "inv-cell" }, _hoisted_66$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "查验状态", -1)), _hoisted_67$1 = ["value"], _hoisted_68$1 = { class: "content" }, _hoisted_69$1 = { class: "inv-cell" }, _hoisted_70$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "不含税金额", -1)), _hoisted_71$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "cell-icon" }, null, -1)), _hoisted_72$1 = { class: "inv-cell" }, _hoisted_73$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "税率", -1)), _hoisted_74$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "cell-icon" }, "%", -1)), _hoisted_75 = { class: "inv-cell" }, _hoisted_76 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "税额", -1)), _hoisted_77 = ["value"], _sfc_main$4 = /* @__PURE__ */ defineComponent({
5323
+ }, _hoisted_55$1 = { key: 0 }, _hoisted_56$1 = { class: "inv-cell" }, _hoisted_57$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "发票号码", -1)), _hoisted_58$1 = { class: "inv-cell" }, _hoisted_59$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "校验码", -1)), _hoisted_60$1 = { class: "marPX" }, _hoisted_61$1 = { class: "inv-cell" }, _hoisted_62$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "开票日期", -1)), _hoisted_63$1 = ["value"], _hoisted_64$1 = { class: "marPX" }, _hoisted_65$1 = { class: "inv-cell" }, _hoisted_66$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "查验状态", -1)), _hoisted_67$1 = ["value"], _hoisted_68$1 = { class: "content" }, _hoisted_69$1 = { class: "inv-cell" }, _hoisted_70$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "不含税金额", -1)), _hoisted_71$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "cell-icon" }, null, -1)), _hoisted_72$1 = { class: "inv-cell" }, _hoisted_73$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "税率", -1)), _hoisted_74$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "cell-icon" }, "%", -1)), _hoisted_75$1 = { class: "inv-cell" }, _hoisted_76$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("label", null, "税额", -1)), _hoisted_77$1 = ["value"], _sfc_main$4 = /* @__PURE__ */ defineComponent({
5324
5324
  __name: "index",
5325
5325
  props: ["ids", "invoiceData"],
5326
5326
  emits: ["saveSuccess"],
@@ -5684,13 +5684,13 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
5684
5684
  ]),
5685
5685
  _hoisted_74$1
5686
5686
  ]),
5687
- createElementVNode("div", _hoisted_75, [
5688
- _hoisted_76,
5687
+ createElementVNode("div", _hoisted_75$1, [
5688
+ _hoisted_76$1,
5689
5689
  createElementVNode("input", {
5690
5690
  value: he.value,
5691
5691
  readonly: "",
5692
5692
  type: "text"
5693
- }, null, 8, _hoisted_77)
5693
+ }, null, 8, _hoisted_77$1)
5694
5694
  ])
5695
5695
  ])
5696
5696
  ]),
@@ -5773,53 +5773,56 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
5773
5773
  }, r.oncancel = () => {
5774
5774
  document.body.removeChild(r);
5775
5775
  }, r.click();
5776
- }), _withScopeId$1 = (n) => (pushScopeId("data-v-53ea1556"), n = n(), popScopeId(), n), _hoisted_1$2 = { class: "InvoiceList" }, _hoisted_2$2 = { class: "selectAll" }, _hoisted_3$2 = { class: "left" }, _hoisted_4$2 = { class: "right" }, _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "全选", -1)), _hoisted_6$1 = { class: "card" }, _hoisted_7$1 = ["onClick"], _hoisted_8$1 = ["onClick"], _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", { class: "gg-more-alt" }, null, -1)), _hoisted_10 = [
5776
+ }), _withScopeId$1 = (n) => (pushScopeId("data-v-2c7f4c59"), n = n(), popScopeId(), n), _hoisted_1$2 = { class: "InvoiceList" }, _hoisted_2$2 = { class: "selectAll" }, _hoisted_3$2 = { class: "left" }, _hoisted_4$2 = { class: "right" }, _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "全选", -1)), _hoisted_6$1 = { class: "card" }, _hoisted_7$1 = ["onClick"], _hoisted_8$1 = ["onClick"], _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", { class: "gg-more-alt" }, null, -1)), _hoisted_10 = [
5777
5777
  _hoisted_9
5778
5778
  ], _hoisted_11 = { class: "storeName" }, _hoisted_12 = { class: "name" }, _hoisted_13 = { class: "left" }, _hoisted_14 = { class: "tags" }, _hoisted_15 = {
5779
5779
  key: 0,
5780
5780
  class: "manual"
5781
- }, _hoisted_16 = { key: 1 }, _hoisted_17 = { class: "InvoiceInfo" }, _hoisted_18 = { class: "leftinfo" }, _hoisted_19 = { class: "item-info" }, _hoisted_20 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票金额", -1)), _hoisted_21 = { class: "value price" }, _hoisted_22 = { class: "item-info" }, _hoisted_23 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票税额", -1)), _hoisted_24 = { class: "value price" }, _hoisted_25 = { class: "item-info" }, _hoisted_26 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票税率", -1)), _hoisted_27 = { class: "value price" }, _hoisted_28 = { class: "item-info" }, _hoisted_29 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票抬头", -1)), _hoisted_30 = { class: "value" }, _hoisted_31 = { class: "item-info" }, _hoisted_32 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票类型", -1)), _hoisted_33 = { class: "value" }, _hoisted_34 = { class: "item-info" }, _hoisted_35 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", {
5781
+ }, _hoisted_16 = { key: 1 }, _hoisted_17 = { class: "InvoiceInfo" }, _hoisted_18 = { class: "leftinfo" }, _hoisted_19 = { class: "item-info" }, _hoisted_20 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票金额", -1)), _hoisted_21 = { class: "value price" }, _hoisted_22 = { class: "item-info" }, _hoisted_23 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票税额", -1)), _hoisted_24 = { class: "value price" }, _hoisted_25 = { class: "item-info" }, _hoisted_26 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票税率", -1)), _hoisted_27 = { class: "value price" }, _hoisted_28 = { class: "item-info" }, _hoisted_29 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票抬头", -1)), _hoisted_30 = { class: "value" }, _hoisted_31 = { class: "item-info" }, _hoisted_32 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票税号", -1)), _hoisted_33 = {
5782
+ class: "value",
5783
+ style: { "letter-spacing": "0.1em" }
5784
+ }, _hoisted_34 = { class: "item-info" }, _hoisted_35 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票类型", -1)), _hoisted_36 = { class: "value" }, _hoisted_37 = { class: "item-info" }, _hoisted_38 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", {
5782
5785
  class: "label",
5783
5786
  style: { "flex-shrink": "0" }
5784
- }, "发票号码", -1)), _hoisted_36 = {
5787
+ }, "发票号码", -1)), _hoisted_39 = {
5785
5788
  key: 0,
5786
5789
  class: "value"
5787
- }, _hoisted_37 = {
5790
+ }, _hoisted_40 = {
5788
5791
  key: 1,
5789
5792
  class: "value",
5790
5793
  style: { color: "red", "font-size": "12px" }
5791
- }, _hoisted_38 = { class: "item-info" }, _hoisted_39 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票时间", -1)), _hoisted_40 = { class: "value" }, _hoisted_41 = {
5794
+ }, _hoisted_41 = { class: "item-info" }, _hoisted_42 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票时间", -1)), _hoisted_43 = { class: "value" }, _hoisted_44 = {
5792
5795
  key: 0,
5793
5796
  class: "item-info"
5794
- }, _hoisted_42 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票红冲", -1)), _hoisted_43 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", {
5797
+ }, _hoisted_45 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, "发票红冲", -1)), _hoisted_46 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", {
5795
5798
  class: "value",
5796
5799
  style: { color: "#ff7f25" }
5797
- }, " 部分红冲票 ", -1)), _hoisted_44 = [
5798
- _hoisted_42,
5799
- _hoisted_43
5800
- ], _hoisted_45 = {
5800
+ }, " 部分红冲票 ", -1)), _hoisted_47 = [
5801
+ _hoisted_45,
5802
+ _hoisted_46
5803
+ ], _hoisted_48 = {
5801
5804
  key: 0,
5802
5805
  style: { color: "red", "text-align": "center" }
5803
- }, _hoisted_46 = {
5806
+ }, _hoisted_49 = {
5804
5807
  key: 1,
5805
5808
  style: { color: "red", "text-align": "center" }
5806
- }, _hoisted_47 = {
5809
+ }, _hoisted_50 = {
5807
5810
  key: 1,
5808
5811
  class: "yanzhen"
5809
- }, _hoisted_48 = ["onClick"], _hoisted_49 = { class: "rightCheckbox" }, _hoisted_50 = ["onUpdate:modelValue"], _hoisted_51 = {
5812
+ }, _hoisted_51 = ["onClick"], _hoisted_52 = { class: "rightCheckbox" }, _hoisted_53 = ["onUpdate:modelValue"], _hoisted_54 = {
5810
5813
  key: 1,
5811
5814
  style: { "background-color": "#fff", padding: "21px 0 15px 12px", position: "relative", width: "100%" }
5812
- }, _hoisted_52 = {
5815
+ }, _hoisted_55 = {
5813
5816
  key: 2,
5814
5817
  class: "err-card"
5815
- }, _hoisted_53 = ["onClick"], _hoisted_54 = ["src"], _hoisted_55 = { class: "right-errText" }, _hoisted_56 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, [
5818
+ }, _hoisted_56 = ["onClick"], _hoisted_57 = ["src"], _hoisted_58 = { class: "right-errText" }, _hoisted_59 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, [
5816
5819
  /* @__PURE__ */ createElementVNode("span", null, "识别失败")
5817
- ], -1)), _hoisted_57 = { class: "content" }, _hoisted_58 = { class: "recognitionResult" }, _hoisted_59 = { key: 0 }, _hoisted_60 = { key: 1 }, _hoisted_61 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", { class: "errContent" }, "OCR识别失败", -1)), _hoisted_62 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, "可以重新拍照识别,或手动添加信息导入", -1)), _hoisted_63 = [
5818
- _hoisted_61,
5819
- _hoisted_62
5820
- ], _hoisted_64 = ["onUpdate:modelValue"], _hoisted_65 = { class: "btn-form" }, _hoisted_66 = { class: "operate" }, _hoisted_67 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "移除", -1)), _hoisted_68 = [
5821
- _hoisted_67
5822
- ], _hoisted_69 = { class: "right-btn" }, _hoisted_70 = { class: "select-item" }, _hoisted_71 = { class: "select-item" }, _hoisted_72 = { class: "VerifyInvoiceBox" }, _hoisted_73 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { style: { color: "red", "font-size": "12px" } }, " 请核对发票号码是否和发票一致,如果不一致,请修改为发票上的号码 ", -1)), _hoisted_74 = { class: "input" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
5820
+ ], -1)), _hoisted_60 = { class: "content" }, _hoisted_61 = { class: "recognitionResult" }, _hoisted_62 = { key: 0 }, _hoisted_63 = { key: 1 }, _hoisted_64 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", { class: "errContent" }, "OCR识别失败", -1)), _hoisted_65 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, "可以重新拍照识别,或手动添加信息导入", -1)), _hoisted_66 = [
5821
+ _hoisted_64,
5822
+ _hoisted_65
5823
+ ], _hoisted_67 = ["onUpdate:modelValue"], _hoisted_68 = { class: "btn-form" }, _hoisted_69 = { class: "operate" }, _hoisted_70 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "移除", -1)), _hoisted_71 = [
5824
+ _hoisted_70
5825
+ ], _hoisted_72 = { class: "right-btn" }, _hoisted_73 = { class: "select-item" }, _hoisted_74 = { class: "select-item" }, _hoisted_75 = { class: "VerifyInvoiceBox" }, _hoisted_76 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { style: { color: "red", "font-size": "12px" } }, " 请核对发票号码是否和发票一致,如果不一致,请修改为发票上的号码 ", -1)), _hoisted_77 = { class: "input" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
5823
5826
  __name: "index",
5824
5827
  props: {
5825
5828
  listId: {
@@ -5881,31 +5884,15 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
5881
5884
  e.value
5882
5885
  );
5883
5886
  }, G = (be) => {
5884
- if (!be.invoiceStatus)
5887
+ if (!be.invoiceCanBeUse)
5885
5888
  return showMessage({
5886
5889
  teleport: api.get("teleport") || null,
5887
- message: "发票无效!"
5888
- });
5889
- if (be.invoiceStatus !== "unused")
5890
- return showMessage({
5891
- message: "发票已被使用!"
5892
- });
5893
- if (!be.invoiceNum)
5894
- return showMessage({
5895
- message: "发票号码为空,无法使用"
5896
- });
5897
- if (be.invalidFlag === "2")
5898
- return showMessage({
5899
- message: "发票已经被作废,无法使用"
5900
- });
5901
- if (be.invalidFlag === "9")
5902
- return showMessage({
5903
- message: "发票被全额红冲,请联系商家确认"
5890
+ message: "发票异常,无法使用!"
5904
5891
  });
5905
5892
  be.selected = !be.selected;
5906
5893
  }, ye = (be) => {
5907
5894
  U.value = !0, R.value = be;
5908
- }, he = (be) => !be.invoiceNum || be.invoiceStatus !== "unused" ? !1 : be.payerName ? be.realStatus === "checked" : !0, J = ref(!1), K = (be) => {
5895
+ }, he = (be) => !!be.invoiceCanBeUse, J = ref(!1), K = (be) => {
5909
5896
  J.value && showMessage({
5910
5897
  message: "已选择全部可用发票"
5911
5898
  }), e.value.forEach((Re) => {
@@ -6142,28 +6129,32 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6142
6129
  ]),
6143
6130
  createElementVNode("div", _hoisted_31, [
6144
6131
  _hoisted_32,
6145
- createElementVNode("span", _hoisted_33, toDisplayString(Ue.invoiceRootType), 1)
6132
+ createElementVNode("span", _hoisted_33, toDisplayString(Ue.payerId), 1)
6146
6133
  ]),
6147
6134
  createElementVNode("div", _hoisted_34, [
6148
6135
  _hoisted_35,
6149
- Ue.invoiceNum ? (openBlock(), createElementBlock("span", _hoisted_36, toDisplayString(Ue.invoiceNum), 1)) : (openBlock(), createElementBlock("span", _hoisted_37, "未识别出发票号码,不允许使用,请点击重新验真发票输入号码保存"))
6136
+ createElementVNode("span", _hoisted_36, toDisplayString(Ue.invoiceRootType), 1)
6150
6137
  ]),
6151
- createElementVNode("div", _hoisted_38, [
6152
- _hoisted_39,
6153
- createElementVNode("span", _hoisted_40, toDisplayString(Ue.invoiceDate), 1)
6138
+ createElementVNode("div", _hoisted_37, [
6139
+ _hoisted_38,
6140
+ Ue.invoiceNum ? (openBlock(), createElementBlock("span", _hoisted_39, toDisplayString(Ue.invoiceNum), 1)) : (openBlock(), createElementBlock("span", _hoisted_40, "未识别出发票号码,不允许使用,请点击重新验真发票输入号码保存"))
6154
6141
  ]),
6155
- Ue.invalidFlag === "8" ? (openBlock(), createElementBlock("div", _hoisted_41, _hoisted_44)) : createCommentVNode("", !0),
6142
+ createElementVNode("div", _hoisted_41, [
6143
+ _hoisted_42,
6144
+ createElementVNode("span", _hoisted_43, toDisplayString(Ue.invoiceDate), 1)
6145
+ ]),
6146
+ Ue.invalidFlag === "8" ? (openBlock(), createElementBlock("div", _hoisted_44, _hoisted_47)) : createCommentVNode("", !0),
6156
6147
  createElementVNode("div", null, [
6157
- Ue.invalidFlag === "2" ? (openBlock(), createElementBlock("p", _hoisted_45, " 发票已经被作废,无法使用 ")) : createCommentVNode("", !0),
6158
- Ue.invalidFlag === "9" ? (openBlock(), createElementBlock("p", _hoisted_46, " 发票被全额红冲,请联系商家确认 ")) : createCommentVNode("", !0)
6148
+ Ue.invalidFlag === "2" ? (openBlock(), createElementBlock("p", _hoisted_48, " 发票已经被作废,无法使用 ")) : createCommentVNode("", !0),
6149
+ Ue.invalidFlag === "9" ? (openBlock(), createElementBlock("p", _hoisted_49, " 发票被全额红冲,请联系商家确认 ")) : createCommentVNode("", !0)
6159
6150
  ]),
6160
- un(Ue) ? (openBlock(), createElementBlock("div", _hoisted_47, [
6151
+ un(Ue) ? (openBlock(), createElementBlock("div", _hoisted_50, [
6161
6152
  createElementVNode("span", {
6162
6153
  onClick: withModifiers((hn) => Nt(Ue), ["stop"])
6163
- }, " 重新验真发票 ", 8, _hoisted_48)
6154
+ }, " 重新验真发票 ", 8, _hoisted_51)
6164
6155
  ])) : createCommentVNode("", !0)
6165
6156
  ]),
6166
- createElementVNode("div", _hoisted_49, [
6157
+ createElementVNode("div", _hoisted_52, [
6167
6158
  withDirectives(createElementVNode("input", {
6168
6159
  onClick: Re[2] || (Re[2] = withModifiers(() => {
6169
6160
  }, ["stop"])),
@@ -6172,13 +6163,13 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6172
6163
  onChange: $e,
6173
6164
  "onUpdate:modelValue": (hn) => Ue.selected = hn,
6174
6165
  "icon-size": "22px"
6175
- }, null, 40, _hoisted_50), [
6166
+ }, null, 40, _hoisted_53), [
6176
6167
  [vModelCheckbox, Ue.selected]
6177
6168
  ])
6178
6169
  ])
6179
6170
  ])
6180
6171
  ])
6181
- ], 8, _hoisted_7$1)) : Ue.taskStatus === "ocr_doing" || Ue.taskStatus === "ocr_success" ? (openBlock(), createElementBlock("div", _hoisted_51, [
6172
+ ], 8, _hoisted_7$1)) : Ue.taskStatus === "ocr_doing" || Ue.taskStatus === "ocr_success" ? (openBlock(), createElementBlock("div", _hoisted_54, [
6182
6173
  createVNode(Loading, {
6183
6174
  class: "loading",
6184
6175
  style: { "background-color": "rgba(255, 255, 255, 0.5)" },
@@ -6189,7 +6180,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6189
6180
  title: "",
6190
6181
  row: 5
6191
6182
  })
6192
- ])) : (openBlock(), createElementBlock("div", _hoisted_52, [
6183
+ ])) : (openBlock(), createElementBlock("div", _hoisted_55, [
6193
6184
  createElementVNode("div", {
6194
6185
  class: "left-img",
6195
6186
  onClick: (hn) => fn(Ue.fileUrlKey)
@@ -6197,13 +6188,13 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6197
6188
  createElementVNode("img", {
6198
6189
  src: Ue.fileUrlKey,
6199
6190
  alt: ""
6200
- }, null, 8, _hoisted_54)
6201
- ], 8, _hoisted_53),
6202
- createElementVNode("div", _hoisted_55, [
6203
- _hoisted_56,
6204
- createElementVNode("div", _hoisted_57, [
6205
- createElementVNode("div", _hoisted_58, [
6206
- Ue.statusInfo ? (openBlock(), createElementBlock("div", _hoisted_59, toDisplayString(Ue.statusInfo), 1)) : (openBlock(), createElementBlock("div", _hoisted_60, _hoisted_63))
6191
+ }, null, 8, _hoisted_57)
6192
+ ], 8, _hoisted_56),
6193
+ createElementVNode("div", _hoisted_58, [
6194
+ _hoisted_59,
6195
+ createElementVNode("div", _hoisted_60, [
6196
+ createElementVNode("div", _hoisted_61, [
6197
+ Ue.statusInfo ? (openBlock(), createElementBlock("div", _hoisted_62, toDisplayString(Ue.statusInfo), 1)) : (openBlock(), createElementBlock("div", _hoisted_63, _hoisted_66))
6207
6198
  ]),
6208
6199
  createElementVNode("div", null, [
6209
6200
  withDirectives(createElementVNode("input", {
@@ -6212,7 +6203,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6212
6203
  onClick: Re[3] || (Re[3] = withModifiers(() => {
6213
6204
  }, ["stop"])),
6214
6205
  "onUpdate:modelValue": (hn) => Ue.selected = hn
6215
- }, null, 8, _hoisted_64), [
6206
+ }, null, 8, _hoisted_67), [
6216
6207
  [vModelCheckbox, Ue.selected]
6217
6208
  ])
6218
6209
  ])
@@ -6221,13 +6212,13 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6221
6212
  ]))
6222
6213
  ]))), 128))
6223
6214
  ]),
6224
- createElementVNode("div", _hoisted_65, [
6225
- createElementVNode("div", _hoisted_66, [
6215
+ createElementVNode("div", _hoisted_68, [
6216
+ createElementVNode("div", _hoisted_69, [
6226
6217
  createElementVNode("div", {
6227
6218
  class: "delete",
6228
6219
  onClick: Ke
6229
- }, _hoisted_68),
6230
- createElementVNode("div", _hoisted_69, [
6220
+ }, _hoisted_71),
6221
+ createElementVNode("div", _hoisted_72, [
6231
6222
  createElementVNode("span", {
6232
6223
  class: "add",
6233
6224
  onClick: withModifiers(Te, ["stop"])
@@ -6247,7 +6238,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6247
6238
  "onUpdate:modelValue": Re[4] || (Re[4] = (Ue) => u.value = Ue)
6248
6239
  }, {
6249
6240
  "OCR-action-sheet-item": withCtx(({ item: Ue }) => [
6250
- createElementVNode("div", _hoisted_70, [
6241
+ createElementVNode("div", _hoisted_73, [
6251
6242
  createElementVNode("span", {
6252
6243
  class: normalizeClass([Ue.icon])
6253
6244
  }, null, 2),
@@ -6263,7 +6254,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6263
6254
  "onUpdate:modelValue": Re[5] || (Re[5] = (Ue) => U.value = Ue)
6264
6255
  }, {
6265
6256
  "OCR-action-sheet-item": withCtx(({ item: Ue }) => [
6266
- createElementVNode("div", _hoisted_71, [
6257
+ createElementVNode("div", _hoisted_74, [
6267
6258
  createElementVNode("span", null, toDisplayString(Ue.name), 1)
6268
6259
  ])
6269
6260
  ]),
@@ -6276,9 +6267,9 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6276
6267
  title: "重新验真发票"
6277
6268
  }, {
6278
6269
  content: withCtx(() => [
6279
- createElementVNode("div", _hoisted_72, [
6280
- _hoisted_73,
6281
- createElementVNode("div", _hoisted_74, [
6270
+ createElementVNode("div", _hoisted_75, [
6271
+ _hoisted_76,
6272
+ createElementVNode("div", _hoisted_77, [
6282
6273
  withDirectives(createElementVNode("input", {
6283
6274
  type: "text",
6284
6275
  "onUpdate:modelValue": Re[6] || (Re[6] = (Ue) => Yt.value = Ue)
@@ -6296,7 +6287,7 @@ const viewer = "", _withScopeId$3 = (n) => (pushScopeId("data-v-7954928e"), n =
6296
6287
  }, 8, ["modelValue"])
6297
6288
  ]));
6298
6289
  }
6299
- }), index_vue_vue_type_style_index_0_scoped_53ea1556_lang = "", InvoiceList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-53ea1556"]]), _withScopeId = (n) => (pushScopeId("data-v-754186cd"), n = n(), popScopeId(), n), _hoisted_1$1 = { class: "PaymentMode" }, _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, "选择识别方式", -1)), _hoisted_3$1 = { class: "list" }, _hoisted_4$1 = ["onClick"], _hoisted_5 = { class: "left-text" }, _hoisted_6 = { class: "icon-left" }, _hoisted_7 = { class: "text" }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "right-icon" }, [
6290
+ }), index_vue_vue_type_style_index_0_scoped_2c7f4c59_lang = "", InvoiceList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2c7f4c59"]]), _withScopeId = (n) => (pushScopeId("data-v-754186cd"), n = n(), popScopeId(), n), _hoisted_1$1 = { class: "PaymentMode" }, _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, "选择识别方式", -1)), _hoisted_3$1 = { class: "list" }, _hoisted_4$1 = ["onClick"], _hoisted_5 = { class: "left-text" }, _hoisted_6 = { class: "icon-left" }, _hoisted_7 = { class: "text" }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "right-icon" }, [
6300
6291
  /* @__PURE__ */ createElementVNode("i", { class: "gg-chevron-right" })
6301
6292
  ], -1)), _sfc_main$1 = /* @__PURE__ */ defineComponent({
6302
6293
  __name: "index",