xyvcard-paper-buyer 0.0.50 → 0.0.52

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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as ie, ref as U, onActivated as pe, resolveComponent as i, resolveDirective as me, createElementBlock as I, openBlock as m, createElementVNode as c, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as l, withDirectives as S, createCommentVNode as y, createBlock as $, isRef as L } from "vue";
2
2
  import { D as k, C as _ } from "./index-Knr6dYOL.mjs";
3
- import { o as Q } from "./index-BKZPqxLM.mjs";
3
+ import { o as Q } from "./index-BCt6P3MY.mjs";
4
4
  import { vueMetaEnv as fe, useTableHooks as ce } from "jmash-core";
5
5
  import { useI18n as be } from "vue-i18n";
6
6
  import { useRouter as ve } from "vue-router";
@@ -0,0 +1,73 @@
1
+ import { clearEmpty as o, request as e, useUserStore as p } from "jmash-core";
2
+ class r {
3
+ getKey() {
4
+ }
5
+ // 查询列表信息乐企发票
6
+ // findList(query?: LqfpFpReq): AxiosPromise<LqfpFpList> {
7
+ // const tenant = useUserStore().user.tenant;
8
+ // clearEmpty(query);
9
+ // return request({
10
+ // url: "/v1/lqfp/lqfp_fp_detail/list/" + tenant,
11
+ // method: "get",
12
+ // params: query,
13
+ // });
14
+ // }
15
+ // 发送邮箱
16
+ sendEmail(n) {
17
+ return o(n), e({
18
+ url: "/v1/front/lqfp/fp_send",
19
+ method: "post",
20
+ data: n
21
+ });
22
+ }
23
+ // 查看详情里面的发票图片展示接口
24
+ download(n) {
25
+ const t = p().user.tenant;
26
+ return o(n), e({
27
+ url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".jpg",
28
+ method: "get",
29
+ responseType: "blob",
30
+ params: n
31
+ });
32
+ }
33
+ // 下载发票
34
+ downloadXML(n) {
35
+ const t = p().user.tenant;
36
+ return o(n), e({
37
+ url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".xml",
38
+ method: "get",
39
+ params: n,
40
+ responseType: "blob"
41
+ });
42
+ }
43
+ downloadPDF(n) {
44
+ const t = p().user.tenant;
45
+ return o(n), e({
46
+ url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".pdf",
47
+ method: "get",
48
+ params: n,
49
+ responseType: "blob"
50
+ });
51
+ }
52
+ downloadOFD(n) {
53
+ const t = p().user.tenant;
54
+ return o(n), e({
55
+ url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".ofd",
56
+ method: "get",
57
+ params: n,
58
+ responseType: "blob"
59
+ });
60
+ }
61
+ // 换开发票
62
+ reissue(n) {
63
+ return n.tenant = p().user.tenant, o(n), e({
64
+ url: "/v1/front/lqfp/reissue",
65
+ method: "post",
66
+ data: n
67
+ });
68
+ }
69
+ }
70
+ const a = new r();
71
+ export {
72
+ a as l
73
+ };
package/dist/index.mjs CHANGED
@@ -378,7 +378,7 @@ function g(e) {
378
378
  let i = e.global.getLocaleMessage("en");
379
379
  i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
380
380
  }
381
- const R = () => import("./index-CNxs6SEe.mjs"), w = () => import("./orderPaper-DUCuNxKR.mjs"), P = () => import("./orderAddress-BBFS2Jys.mjs"), q = () => import("./orderInfo-mkmFfFuC.mjs"), D = () => import("./payment-C1UwHZy4.mjs"), N = () => import("./invoice-Ca967WuM.mjs"), z = () => import("./invoiceView-BQ20QFpo.mjs"), x = () => import("./applyEdit-Ch-oVoTx.mjs"), C = () => import("./invoiceEdit-CpBEUGPH.mjs"), k = () => import("./info-D61FnBcM.mjs"), t = [
381
+ const R = () => import("./index-CNxs6SEe.mjs"), w = () => import("./orderPaper-DUCuNxKR.mjs"), P = () => import("./orderAddress-BBFS2Jys.mjs"), q = () => import("./orderInfo-BSPKYn7H.mjs"), D = () => import("./payment-C1UwHZy4.mjs"), N = () => import("./invoice-AqP1572z.mjs"), z = () => import("./invoiceView-B80V7jLe.mjs"), x = () => import("./applyEdit-xjYBzFbb.mjs"), C = () => import("./invoiceEdit-BkCY1bqD.mjs"), k = () => import("./info-BmV7cZbD.mjs"), t = [
382
382
  {
383
383
  path: "/buyer",
384
384
  component: r,
@@ -544,7 +544,7 @@ const R = () => import("./index-CNxs6SEe.mjs"), w = () => import("./orderPaper-D
544
544
  scrollBehavior: () => ({ left: 0, top: 0 })
545
545
  });
546
546
  c.value = T;
547
- const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-Ch-oVoTx.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-BPX4Jvt6.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-D61FnBcM.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Ca967WuM.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-CpBEUGPH.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-BQ20QFpo.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-CeY2OdrK.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-B0HE_2cs.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DPxbKmv9.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-BK-aSN_z.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-Omp_CxC3.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-CNxs6SEe.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-CdDAY0YQ.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BBFS2Jys.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-mkmFfFuC.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DUCuNxKR.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-C1UwHZy4.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DFyOnrzr.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-D043eLPj.mjs") }), M = {
547
+ const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-xjYBzFbb.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CFbuS8W8.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BmV7cZbD.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-AqP1572z.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-BkCY1bqD.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-B80V7jLe.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-B4yYlD1K.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-BVaPpA-9.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DPxbKmv9.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-BK-aSN_z.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-Omp_CxC3.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-CNxs6SEe.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-CdDAY0YQ.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BBFS2Jys.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-BSPKYn7H.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DUCuNxKR.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-C1UwHZy4.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DFyOnrzr.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-D043eLPj.mjs") }), M = {
548
548
  install(e) {
549
549
  l(A, 7), f(t), g(h);
550
550
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Y, ref as v, onMounted as Z, resolveComponent as a, createElementBlock as x, openBlock as q, createVNode as t, withCtx as n, createElementVNode as e, unref as _, toDisplayString as i, createTextVNode as m, createBlock as ee, createCommentVNode as oe } from "vue";
2
2
  import { D as h } from "./index-Knr6dYOL.mjs";
3
- import { o as R } from "./index-BKZPqxLM.mjs";
3
+ import { o as R } from "./index-BCt6P3MY.mjs";
4
4
  import { fileApi as M, routerUtil as te } from "jmash-core";
5
5
  import { useRouter as se, useRoute as le } from "vue-router";
6
6
  import { goodsSpuApi as ne } from "xyvcard-paper-goods";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as r, resolveComponent as d, createElementBlock as F, openBlock as $, createElementVNode as t, createVNode as o, withCtx as n, createTextVNode as a, toDisplayString as e } from "vue";
2
2
  import { useRouter as j, useRoute as z } from "vue-router";
3
3
  import { routerUtil as x } from "jmash-core";
4
- import y from "./list-CeY2OdrK.mjs";
4
+ import y from "./list-B4yYlD1K.mjs";
5
5
  import { l as C } from "./index-CokKesIL.mjs";
6
6
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const U = { class: "app-container" }, N = { class: "search-container" }, V = { class: "result" }, w = { class: "result-item" }, B = { class: "result-item-label" }, D = { class: "result-item" }, L = { class: "result-item-label" }, E = { class: "bottom-remark" }, R = { class: "remark-item" }, T = { class: "remark-item-label" }, A = /* @__PURE__ */ k({
@@ -4,7 +4,7 @@ import "element-plus";
4
4
  import { routerUtil as F } from "jmash-core";
5
5
  import { useRouter as X, useRoute as Y } from "vue-router";
6
6
  import { D as U } from "./index-Knr6dYOL.mjs";
7
- import { l as Z } from "./index-DspCttgG.mjs";
7
+ import { l as Z } from "./index-CxY8_Gfa.mjs";
8
8
  import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs";
9
9
  import { E as oe } from "./el-message-VSzNakoG.mjs";
10
10
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -3,8 +3,8 @@ import { useI18n as P } from "vue-i18n";
3
3
  import { useRouter as X, useRoute as G } from "vue-router";
4
4
  import { p as W } from "./index-sU6sAHrn.mjs";
5
5
  import { routerUtil as z } from "jmash-core";
6
- import J from "./sendDialog-B0HE_2cs.mjs";
7
- import { l as g } from "./index-DspCttgG.mjs";
6
+ import J from "./sendDialog-BVaPpA-9.mjs";
7
+ import { l as g } from "./index-CxY8_Gfa.mjs";
8
8
  import { l as Q } from "./index-CokKesIL.mjs";
9
9
  import { c as E } from "./_commonjsHelpers-BVfed4GL.mjs";
10
10
  import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, ref as s, watch as _, resolveComponent as q, createBlock as C, openBlock as w, unref as a } from "vue";
2
2
  import { useI18n as D } from "vue-i18n";
3
3
  import { useTableHooks as F } from "jmash-core";
4
- import { l as S } from "./index-DspCttgG.mjs";
4
+ import { l as S } from "./index-CxY8_Gfa.mjs";
5
5
  import { useRoute as y } from "vue-router";
6
6
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const k = /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as we, ref as _, reactive as h, onMounted as Ke, resolveComponent as c, createElementBlock as Le, openBlock as k, createVNode as r, createBlock as B, createCommentVNode as D, withCtx as m, createElementVNode as t, unref as O, toDisplayString as a, createTextVNode as fe } from "vue";
2
2
  import { useI18n as Ae } from "vue-i18n";
3
3
  import { D as ve } from "./index-Knr6dYOL.mjs";
4
- import { o as be } from "./index-BKZPqxLM.mjs";
4
+ import { o as be } from "./index-BCt6P3MY.mjs";
5
5
  import { fileApi as ye } from "jmash-core";
6
6
  import { useRoute as $e, useRouter as Ue } from "vue-router";
7
7
  import { goodsSpuApi as Me } from "xyvcard-paper-goods";
@@ -3,7 +3,7 @@ import { useRoute as A } from "vue-router";
3
3
  import { useI18n as O } from "vue-i18n";
4
4
  import { ElMessage as T } from "element-plus";
5
5
  import { useUserStore as z, validateEmail as G } from "jmash-core";
6
- import { l as H } from "./index-DspCttgG.mjs";
6
+ import { l as H } from "./index-CxY8_Gfa.mjs";
7
7
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
8
  const L = { class: "dialog-footer" }, P = /* @__PURE__ */ U({
9
9
  __name: "sendDialog",
@@ -1,8 +1,7 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { LqfpFpReq, LqfpFpList, LqfpFpApi, LqfpFpDownloadReq, InvoiceReissueReq } from "./types";
2
+ import type { LqfpFpReq, LqfpFpApi, LqfpFpDownloadReq, InvoiceReissueReq } from "./types";
3
3
  declare class LqfpFpApiImpl implements LqfpFpApi {
4
4
  getKey(): any;
5
- findList(query?: LqfpFpReq): AxiosPromise<LqfpFpList>;
6
5
  sendEmail(query?: LqfpFpReq): AxiosPromise<any>;
7
6
  download(query: LqfpFpDownloadReq): AxiosPromise<any>;
8
7
  downloadXML(query: LqfpFpDownloadReq): AxiosPromise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-paper-buyer",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -1,72 +0,0 @@
1
- import { useUserStore as p, clearEmpty as e, request as o } from "jmash-core";
2
- class r {
3
- getKey() {
4
- }
5
- // 查询列表信息乐企发票
6
- findList(t) {
7
- const n = p().user.tenant;
8
- return e(t), o({
9
- url: "/v1/lqfp/lqfp_fp_detail/list/" + n,
10
- method: "get",
11
- params: t
12
- });
13
- }
14
- // 发送邮箱
15
- sendEmail(t) {
16
- return e(t), o({
17
- url: "/v1/front/lqfp/fp_send",
18
- method: "post",
19
- data: t
20
- });
21
- }
22
- // 查看详情里面的发票图片展示接口
23
- download(t) {
24
- const n = p().user.tenant;
25
- return e(t), o({
26
- url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".jpg",
27
- method: "get",
28
- responseType: "blob",
29
- params: t
30
- });
31
- }
32
- // 下载发票
33
- downloadXML(t) {
34
- const n = p().user.tenant;
35
- return e(t), o({
36
- url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".xml",
37
- method: "get",
38
- params: t,
39
- responseType: "blob"
40
- });
41
- }
42
- downloadPDF(t) {
43
- const n = p().user.tenant;
44
- return e(t), o({
45
- url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".pdf",
46
- method: "get",
47
- params: t,
48
- responseType: "blob"
49
- });
50
- }
51
- downloadOFD(t) {
52
- const n = p().user.tenant;
53
- return e(t), o({
54
- url: "/v1/front/lqfp/fp_down/" + n + "/" + t.organId + "/" + t.fpUuid + ".ofd",
55
- method: "get",
56
- params: t,
57
- responseType: "blob"
58
- });
59
- }
60
- // 换开发票
61
- reissue(t) {
62
- return t.tenant = p().user.tenant, e(t), o({
63
- url: "/v1/front/lqfp/reissue",
64
- method: "post",
65
- data: t
66
- });
67
- }
68
- }
69
- const d = new r();
70
- export {
71
- d as l
72
- };