mg-ocr-invoice 0.2.8 → 0.2.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 CHANGED
@@ -4678,8 +4678,6 @@ const getToken = () => api.get("token"), __uploadInvoice = (n, r) => instance({
4678
4678
  return "error";
4679
4679
  case "abnormal":
4680
4680
  return "error";
4681
- case "invalid":
4682
- return "error";
4683
4681
  default:
4684
4682
  return "ok";
4685
4683
  }
@@ -5800,7 +5798,7 @@ P[Symbol.toStringTag] = "Decimal";
5800
5798
  var Decimal = P.constructor = clone(DEFAULTS);
5801
5799
  LN10 = new Decimal(LN10);
5802
5800
  PI = new Decimal(PI);
5803
- const _withScopeId$2 = (n) => (pushScopeId("data-v-a355bbf7"), n = n(), popScopeId(), n), _hoisted_1$3 = { class: "Invoice" }, _hoisted_2$3 = { class: "top" }, _hoisted_3$3 = ["src", "onClick"], _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "Field-title" }, [
5801
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-85422d22"), n = n(), popScopeId(), n), _hoisted_1$3 = { class: "Invoice" }, _hoisted_2$3 = { class: "top" }, _hoisted_3$3 = ["src", "onClick"], _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "Field-title" }, [
5804
5802
  /* @__PURE__ */ createElementVNode("span", { class: "titleLeft" }, "公司信息")
5805
5803
  ], -1)), _hoisted_5$2 = { class: "marPX" }, _hoisted_6$2 = { class: "marPX" }, _hoisted_7$2 = { class: "marPX" }, _hoisted_8$2 = { class: "marPX" }, _hoisted_9$1 = { style: { color: "#333", "font-weight": "400", "font-size": "16px", "margin-right": "12px" } }, _hoisted_10$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("thead", null, [
5806
5804
  /* @__PURE__ */ createElementVNode("tr", null, [
@@ -5847,7 +5845,7 @@ const _withScopeId$2 = (n) => (pushScopeId("data-v-a355bbf7"), n = n(), popScope
5847
5845
  r("saveSuccess");
5848
5846
  }, v = () => {
5849
5847
  showImagePreview([o.invoiceData.attachmentLink]);
5850
- }, b = computed(() => o.invoiceData.realStatus === "noNeed" || o.invoiceData.invoiceExceptionInfo === "abnormal" || o.invoiceData.manualModify || o.invoiceData.rerealStatus === "checkFail"), _ = async () => {
5848
+ }, b = computed(() => o.invoiceData.realStatus === "noNeed" || o.invoiceData.invoiceExceptionInfo === "abnormal" || o.invoiceData.manualModify || o.invoiceData.realStatus === "checkFail" || o.invoiceData.realStatus === "notCheck"), _ = async () => {
5851
5849
  f.value = !0;
5852
5850
  try {
5853
5851
  (await __updateInvoiceData(a.value)).code === 200 && (showToast({
@@ -6221,12 +6219,12 @@ const _withScopeId$2 = (n) => (pushScopeId("data-v-a355bbf7"), n = n(), popScope
6221
6219
  }, 8, ["show"])
6222
6220
  ], 64));
6223
6221
  }
6224
- }), index_vue_vue_type_style_index_0_scoped_a355bbf7_lang = "", _export_sfc = (n, r) => {
6222
+ }), index_vue_vue_type_style_index_0_scoped_85422d22_lang = "", _export_sfc = (n, r) => {
6225
6223
  const o = n.__vccOpts || n;
6226
6224
  for (const [a, u] of r)
6227
6225
  o[a] = u;
6228
6226
  return o;
6229
- }, Invoice = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a355bbf7"]]), index$2 = "";
6227
+ }, Invoice = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-85422d22"]]), index$2 = "";
6230
6228
  /*!
6231
6229
  * Compressor.js v1.2.1
6232
6230
  * https://fengyuanchen.github.io/compressorjs