xyvcard-paper-buyer 0.0.38 → 0.0.39

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.
Files changed (35) hide show
  1. package/README.md +51 -51
  2. package/dist/{applyEdit-Dawg7OOU.mjs → applyEdit-Bcl_bli2.mjs} +14 -14
  3. package/dist/{confirm-2p5e0YTd.mjs → confirm-BIHrk7gs.mjs} +57 -57
  4. package/dist/{edit-D2_W7oIL.mjs → edit-BgQo-uqd.mjs} +1 -1
  5. package/dist/{edit-CgLvvQy2.mjs → edit-DHXk9uMQ.mjs} +9 -9
  6. package/dist/index-B90ZLkZ9.mjs +98 -0
  7. package/dist/{index-cet93VuQ.mjs → index-BEPJuAyP.mjs} +149 -144
  8. package/dist/{index-Ckvv9EJa.mjs → index-BKZPqxLM.mjs} +485 -462
  9. package/dist/{index-VA1xSPHO.mjs → index-BWV5njqv.mjs} +2 -2
  10. package/dist/{index-C8vnqMMv.mjs → index-DISDK9IB.mjs} +1 -1
  11. package/dist/index.mjs +2 -2
  12. package/dist/{info-BbZDNkKB.mjs → info-BLkVF0dz.mjs} +2 -2
  13. package/dist/{invoice-1CME5d68.mjs → invoice-N1lsQHhB.mjs} +2 -2
  14. package/dist/{invoiceEdit-BheiUTbA.mjs → invoiceEdit-CILq1n3W.mjs} +1 -1
  15. package/dist/{invoiceView-BzauDq3v.mjs → invoiceView-ClfMLUV3.mjs} +2 -2
  16. package/dist/{list-Gi-uC47c.mjs → list-BPfP8vsl.mjs} +1 -1
  17. package/dist/onlineBanking-DfzIYOBF.mjs +199 -0
  18. package/dist/{orderAddress-BLmoG7St.mjs → orderAddress-CK22n9R3.mjs} +11 -11
  19. package/dist/orderInfo-DKPnxmRD.mjs +306 -0
  20. package/dist/{orderPaper-CRqHO_qE.mjs → orderPaper-Cscnx-MT.mjs} +2 -2
  21. package/dist/{payment-Bj2wv7Zf.mjs → payment-DD_Lhvf0.mjs} +8 -8
  22. package/dist/{prompt-D3JrKZHk.mjs → prompt-DQX4apPU.mjs} +4 -4
  23. package/dist/{sendDialog-DQhLGAf_.mjs → sendDialog-Bf8rP763.mjs} +4 -4
  24. package/dist/style.css +1 -1
  25. package/dts/api/buyer/order-info/index.d.ts +1 -0
  26. package/dts/api/buyer/order-newspaper/index.d.ts +2 -6
  27. package/dts/api/buyer/order-newspaper/types.d.ts +6 -10
  28. package/dts/utils/momentPlugin.d.ts +5 -0
  29. package/dts/views/buyer/order-newspaper/confirm.vue.d.ts +4 -4
  30. package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +2 -0
  31. package/dts/views/buyer/order-newspaper/prompt.vue.d.ts +4 -4
  32. package/package.json +62 -66
  33. package/dist/index-Dph_ktOL.mjs +0 -9456
  34. package/dist/onlineBanking-D40v8MD7.mjs +0 -208
  35. package/dist/orderInfo-CIOWPF8V.mjs +0 -309
@@ -2,7 +2,7 @@ import { defineComponent as V, ref as z, onMounted as U, onActivated as q, resol
2
2
  import { useTableHooks as F, fileApi as Q } from "jmash-core";
3
3
  import { useI18n as j } from "vue-i18n";
4
4
  import { useRouter as E } from "vue-router";
5
- import { o as H } from "./index-Dph_ktOL.mjs";
5
+ import { o as H } from "./index-B90ZLkZ9.mjs";
6
6
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const M = { class: "app-container" }, T = { class: "search-container" }, G = { class: "subscription-container" }, J = ["onClick"], O = { class: "newspaper-image" }, W = { class: "dummy-text" }, X = { class: "subscription-info" }, Y = { class: "subscription-title" }, Z = { class: "subscription-price" }, ee = /* @__PURE__ */ V({
8
8
  __name: "index",
@@ -129,7 +129,7 @@ const M = { class: "app-container" }, T = { class: "search-container" }, G = { c
129
129
  ]);
130
130
  };
131
131
  }
132
- }), pe = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-82469abd"]]);
132
+ }), pe = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-89b51d55"]]);
133
133
  export {
134
134
  pe as default
135
135
  };
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as C, reactive as T, onActivated as le, reso
2
2
  import { useTableHooks as re } from "jmash-core";
3
3
  import { useI18n as ae } from "vue-i18n";
4
4
  import { o as se } from "./index-BP8zUjOw.mjs";
5
- import de from "./edit-CgLvvQy2.mjs";
5
+ import de from "./edit-DHXk9uMQ.mjs";
6
6
  const ie = { class: "app-container" }, me = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], ke = /* @__PURE__ */ te({
7
7
  __name: "index",
8
8
  setup(ce) {
package/dist/index.mjs CHANGED
@@ -377,7 +377,7 @@ function g(e) {
377
377
  let i = e.global.getLocaleMessage("en");
378
378
  i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
379
379
  }
380
- const R = () => import("./index-VA1xSPHO.mjs"), w = () => import("./orderPaper-CRqHO_qE.mjs"), P = () => import("./orderAddress-BLmoG7St.mjs"), q = () => import("./orderInfo-CIOWPF8V.mjs"), D = () => import("./payment-Bj2wv7Zf.mjs"), N = () => import("./invoice-1CME5d68.mjs"), z = () => import("./invoiceView-BzauDq3v.mjs"), x = () => import("./applyEdit-Dawg7OOU.mjs"), C = () => import("./invoiceEdit-BheiUTbA.mjs"), k = () => import("./info-BbZDNkKB.mjs"), t = [
380
+ const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-Cscnx-MT.mjs"), P = () => import("./orderAddress-CK22n9R3.mjs"), q = () => import("./orderInfo-DKPnxmRD.mjs"), D = () => import("./payment-DD_Lhvf0.mjs"), N = () => import("./invoice-N1lsQHhB.mjs"), z = () => import("./invoiceView-ClfMLUV3.mjs"), x = () => import("./applyEdit-Bcl_bli2.mjs"), C = () => import("./invoiceEdit-CILq1n3W.mjs"), k = () => import("./info-BLkVF0dz.mjs"), t = [
381
381
  {
382
382
  path: "/buyer",
383
383
  component: r,
@@ -547,7 +547,7 @@ const R = () => import("./index-VA1xSPHO.mjs"), w = () => import("./orderPaper-C
547
547
  scrollBehavior: () => ({ left: 0, top: 0 })
548
548
  });
549
549
  c.value = T;
550
- const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-Dawg7OOU.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-cet93VuQ.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BbZDNkKB.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-1CME5d68.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-BheiUTbA.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-BzauDq3v.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-Gi-uC47c.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-DQhLGAf_.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-S09QEhkA.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-2p5e0YTd.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-D2_W7oIL.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-VA1xSPHO.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-D40v8MD7.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BLmoG7St.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-CIOWPF8V.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-CRqHO_qE.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-Bj2wv7Zf.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-D3JrKZHk.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-CgLvvQy2.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-C8vnqMMv.mjs") }), M = {
550
+ const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-Bcl_bli2.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-BEPJuAyP.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BLkVF0dz.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-N1lsQHhB.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-CILq1n3W.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-ClfMLUV3.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-BPfP8vsl.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-Bf8rP763.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-S09QEhkA.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-BIHrk7gs.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-BgQo-uqd.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BWV5njqv.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-DfzIYOBF.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-CK22n9R3.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-DKPnxmRD.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-Cscnx-MT.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-DD_Lhvf0.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DHXk9uMQ.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-DISDK9IB.mjs") }), M = {
551
551
  install(e) {
552
552
  l(A, 7), f(t), g(h);
553
553
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Y, ref as h, onMounted as Z, resolveComponent as r, createElementBlock as x, openBlock as W, createVNode as t, withCtx as s, createElementVNode as e, unref as u, toDisplayString as l, createTextVNode as m, createBlock as ee, createCommentVNode as oe } from "vue";
2
2
  import { D as f } from "./index-BGqp7CRm.mjs";
3
- import { o as q } from "./index-Ckvv9EJa.mjs";
3
+ import { o as q } from "./index-BKZPqxLM.mjs";
4
4
  import { fileApi as R, 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";
@@ -188,7 +188,7 @@ const ae = { class: "app-container" }, re = { class: "subscription-container" },
188
188
  ]);
189
189
  };
190
190
  }
191
- }), Se = /* @__PURE__ */ ie(Pe, [["__scopeId", "data-v-a566eb2f"]]);
191
+ }), Se = /* @__PURE__ */ ie(Pe, [["__scopeId", "data-v-78fa5786"]]);
192
192
  export {
193
193
  Se as default
194
194
  };
@@ -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-Gi-uC47c.mjs";
4
+ import y from "./list-BPfP8vsl.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({
@@ -168,7 +168,7 @@ const U = { class: "app-container" }, N = { class: "search-container" }, V = { c
168
168
  ]);
169
169
  };
170
170
  }
171
- }), M = /* @__PURE__ */ I(A, [["__scopeId", "data-v-978d2b4d"]]);
171
+ }), M = /* @__PURE__ */ I(A, [["__scopeId", "data-v-49b4c362"]]);
172
172
  export {
173
173
  M as default
174
174
  };
@@ -266,7 +266,7 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
266
266
  ]);
267
267
  };
268
268
  }
269
- }), ge = /* @__PURE__ */ oe(se, [["__scopeId", "data-v-e5ebb242"]]);
269
+ }), ge = /* @__PURE__ */ oe(se, [["__scopeId", "data-v-08928d72"]]);
270
270
  export {
271
271
  ge as default
272
272
  };
@@ -3,7 +3,7 @@ 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-DQhLGAf_.mjs";
6
+ import J from "./sendDialog-Bf8rP763.mjs";
7
7
  import { l as g } from "./index-TclOpCe_.mjs";
8
8
  import { l as Q } from "./index-CokKesIL.mjs";
9
9
  import { c as E } from "./_commonjsHelpers-BVfed4GL.mjs";
@@ -250,7 +250,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, oe = {
250
250
  ]);
251
251
  };
252
252
  }
253
- }), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-7706e388"]]);
253
+ }), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-bd96aa7d"]]);
254
254
  export {
255
255
  me as default
256
256
  };
@@ -114,7 +114,7 @@ const j = /* @__PURE__ */ h({
114
114
  }, null, 8, ["list-loading", "data", "table-label"]);
115
115
  };
116
116
  }
117
- }), L = /* @__PURE__ */ S(j, [["__scopeId", "data-v-6cbe22b4"]]);
117
+ }), L = /* @__PURE__ */ S(j, [["__scopeId", "data-v-909fc6c6"]]);
118
118
  export {
119
119
  L as default
120
120
  };
@@ -0,0 +1,199 @@
1
+ import { defineComponent as V, mergeModels as h, useModel as E, reactive as M, onMounted as x, resolveComponent as C, createBlock as S, openBlock as q, withCtx as c, createElementVNode as e, toDisplayString as a, unref as i, createVNode as w, createTextVNode as $ } from "vue";
2
+ import { useI18n as K } from "vue-i18n";
3
+ import { o as k } from "./index-B90ZLkZ9.mjs";
4
+ import { E as m } from "./el-message-VSzNakoG.mjs";
5
+ import { ElMessage as v } from "element-plus";
6
+ import { useRouter as j, useRoute as O } from "vue-router";
7
+ import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ function R(p) {
9
+ if (console.log(navigator.clipboard && window.isSecureContext), navigator.clipboard && window.isSecureContext)
10
+ navigator.clipboard.writeText(p), m({
11
+ message: "复制成功",
12
+ type: "success"
13
+ });
14
+ else {
15
+ let s = document.createElement("input");
16
+ s.style.position = "fixed", s.style.top = "-10000px", s.style.zIndex = "-999", document.body.appendChild(s), s.value = p, s.focus(), s.select();
17
+ try {
18
+ let l = document.execCommand("copy");
19
+ document.body.removeChild(s), l ? m({
20
+ message: "复制成功",
21
+ type: "success"
22
+ }) : m({
23
+ message: "复制失败",
24
+ type: "error"
25
+ });
26
+ } catch {
27
+ document.body.removeChild(s), m({
28
+ message: "当前浏览器不支持复制功能,请检查更新或更换其他浏览器操作",
29
+ type: "error"
30
+ });
31
+ }
32
+ }
33
+ }
34
+ const z = { class: "info-card" }, D = { class: "info-item" }, F = { class: "info-item-item" }, U = { class: "info-item" }, W = { class: "info-item-item" }, G = { class: "info-card-one" }, H = { class: "info-item" }, J = { class: "info-item-item" }, L = { class: "info-item" }, Q = { class: "info-item-item" }, X = { class: "info-item" }, Y = { class: "info-item-item" }, Z = { class: "footer" }, ee = /* @__PURE__ */ V({
35
+ __name: "onlineBanking",
36
+ props: /* @__PURE__ */ h({
37
+ bankKey: {
38
+ type: Object,
39
+ default: () => ({})
40
+ },
41
+ title: {
42
+ type: String,
43
+ default: ""
44
+ },
45
+ width: {
46
+ type: String,
47
+ default: "550px"
48
+ }
49
+ }, {
50
+ modelValue: { type: Boolean, default: !1 },
51
+ modelModifiers: {}
52
+ }),
53
+ emits: /* @__PURE__ */ h(["refresh", "close", "open-prompt"], ["update:modelValue"]),
54
+ setup(p, { emit: s }) {
55
+ const { t: l } = K(), I = j(), b = O(), u = p, y = E(p, "modelValue"), f = s, t = M({});
56
+ function P() {
57
+ k.createPay({
58
+ shopPayInfoId: u.bankKey.shopPayInfoId,
59
+ orderId: b.query.orderId
60
+ }).then(({ data: n }) => {
61
+ Object.assign(t, n);
62
+ }).catch(() => {
63
+ v.error("加载支付信息失败");
64
+ });
65
+ }
66
+ x(P);
67
+ function N() {
68
+ k.completedTransfer({
69
+ shopPayInfoId: u.bankKey.shopPayInfoId,
70
+ orderCode: u.bankKey.orderCode,
71
+ requestId: Math.random() * 10 + ""
72
+ }).then((n) => {
73
+ n.data === "success" ? (v({
74
+ message: l("common.submitSuccess"),
75
+ type: "success"
76
+ }), f("refresh", !0), g(), I.push({
77
+ path: "/buyer/order-info/applyEdit",
78
+ query: { orderId: b.query.orderId }
79
+ })) : f("open-prompt", t);
80
+ }).catch(() => {
81
+ v.error("提交失败,请重试");
82
+ });
83
+ }
84
+ function g() {
85
+ f("close"), y.value = !1;
86
+ }
87
+ function r(n) {
88
+ n && R(n);
89
+ }
90
+ function A() {
91
+ const n = navigator.userAgent.includes("Win") ? `\r
92
+ ` : `
93
+ `, o = [
94
+ "注:切勿遗漏交易附言!",
95
+ `${l("newsPapepr.payableAmount")} ${t.payableAmount || ""}`,
96
+ `${l("newsPapepr.postscript")} ${t.postscript || ""}`,
97
+ `${l("newsPapepr.payeeName")} ${t.payeeName || ""}`,
98
+ `${l("newsPapepr.payeeAccount")} ${t.payeeAccount || ""}`,
99
+ `${l("newsPapepr.payeeBankName")} ${t.payeeBankName || ""}`
100
+ ].join(n);
101
+ r(o);
102
+ }
103
+ return (n, o) => {
104
+ const _ = C("el-button"), B = C("el-dialog");
105
+ return q(), S(B, {
106
+ modelValue: y.value,
107
+ "onUpdate:modelValue": o[5] || (o[5] = (d) => y.value = d),
108
+ title: p.title,
109
+ width: p.width,
110
+ onClose: g,
111
+ "destroy-on-close": ""
112
+ }, {
113
+ footer: c(() => [
114
+ e("div", Z, [
115
+ w(_, { onClick: A }, {
116
+ default: c(() => o[6] || (o[6] = [
117
+ $("一键复制")
118
+ ])),
119
+ _: 1,
120
+ __: [6]
121
+ }),
122
+ w(_, {
123
+ type: "primary",
124
+ onClick: N
125
+ }, {
126
+ default: c(() => o[7] || (o[7] = [
127
+ $("已完成转账")
128
+ ])),
129
+ _: 1,
130
+ __: [7]
131
+ })
132
+ ])
133
+ ]),
134
+ default: c(() => [
135
+ o[8] || (o[8] = e("div", { class: "note" }, "注:切勿遗漏交易附言!", -1)),
136
+ e("div", z, [
137
+ e("div", D, [
138
+ e("div", F, [
139
+ e("span", null, a(n.$t("newsPapepr.payableAmount")), 1),
140
+ e("span", null, a(i(t).payableAmount) + "元", 1)
141
+ ]),
142
+ e("span", {
143
+ class: "copy-btn",
144
+ onClick: o[0] || (o[0] = (d) => r(i(t).payableAmount))
145
+ }, " 复制 ")
146
+ ]),
147
+ e("div", U, [
148
+ e("div", W, [
149
+ e("span", null, a(n.$t("newsPapepr.postscript")), 1),
150
+ e("span", null, a(i(t).postscript), 1)
151
+ ]),
152
+ e("span", {
153
+ class: "copy-btn",
154
+ onClick: o[1] || (o[1] = (d) => r(i(t).postscript))
155
+ }, " 复制 ")
156
+ ])
157
+ ]),
158
+ e("div", G, [
159
+ e("div", H, [
160
+ e("div", J, [
161
+ e("span", null, a(n.$t("newsPapepr.payeeName")), 1),
162
+ e("span", null, a(i(t).payeeName), 1)
163
+ ]),
164
+ e("span", {
165
+ class: "copy-btn",
166
+ onClick: o[2] || (o[2] = (d) => r(i(t).payeeName))
167
+ }, " 复制 ")
168
+ ]),
169
+ e("div", L, [
170
+ e("div", Q, [
171
+ e("span", null, a(n.$t("newsPapepr.payeeAccount")), 1),
172
+ e("span", null, a(i(t).payeeAccount), 1)
173
+ ]),
174
+ e("span", {
175
+ class: "copy-btn",
176
+ onClick: o[3] || (o[3] = (d) => r(i(t).payeeAccount))
177
+ }, " 复制 ")
178
+ ]),
179
+ e("div", X, [
180
+ e("div", Y, [
181
+ e("span", null, a(n.$t("newsPapepr.payeeBankName")), 1),
182
+ e("span", null, a(i(t).payeeBankName), 1)
183
+ ]),
184
+ e("span", {
185
+ class: "copy-btn",
186
+ onClick: o[4] || (o[4] = (d) => r(i(t).payeeBankName))
187
+ }, " 复制 ")
188
+ ])
189
+ ])
190
+ ]),
191
+ _: 1,
192
+ __: [8]
193
+ }, 8, ["modelValue", "title", "width"]);
194
+ };
195
+ }
196
+ }), pe = /* @__PURE__ */ T(ee, [["__scopeId", "data-v-573c8f30"]]);
197
+ export {
198
+ pe as default
199
+ };
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, ref as d, computed as q, resolveComponent as m, createElementBlock as F, openBlock as k, createElementVNode as o, createBlock as E, createCommentVNode as U, toDisplayString as p, createVNode as n, withCtx as i, createTextVNode as g, unref as $ } from "vue";
2
- import { o as D } from "./index-Dph_ktOL.mjs";
2
+ import { o as D } from "./index-B90ZLkZ9.mjs";
3
3
  import { o as M } from "./index-BP8zUjOw.mjs";
4
4
  import { useTableHooks as G } from "jmash-core";
5
5
  import { useI18n as J } from "vue-i18n";
6
6
  import { useRoute as K, useRouter as W } from "vue-router";
7
- import X from "./edit-D2_W7oIL.mjs";
7
+ import X from "./edit-BgQo-uqd.mjs";
8
8
  import { E as y } from "./el-message-VSzNakoG.mjs";
9
9
  import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
10
  const Z = { class: "app-container" }, ee = { class: "search-container" }, te = { class: "address-management-container" }, oe = { class: "subscription-info" }, se = { class: "info-item" }, ne = { class: "value" }, le = { class: "info-item" }, ae = { class: "value" }, de = { class: "info-item" }, re = { class: "value" }, ie = { class: "action-bar" }, ue = { class: "address-table" }, me = { class: "footer" }, pe = /* @__PURE__ */ z({
11
11
  __name: "orderAddress",
12
12
  setup(ce) {
13
- const { t: c } = J(), v = d([]), I = K(), B = W(), f = d(0), x = d(""), r = d({
13
+ const { t: c } = J(), f = d([]), I = K(), B = W(), v = d(0), x = d(""), r = d({
14
14
  title: c("common.edit"),
15
15
  visible: !1
16
16
  });
@@ -22,11 +22,11 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
22
22
  var l, a, _, b;
23
23
  x.value = (a = (l = t.data.orderItemList) == null ? void 0 : l.results[0]) == null ? void 0 : a.itemId;
24
24
  const e = (b = (_ = t.data.orderItemList) == null ? void 0 : _.results[0]) == null ? void 0 : b.quantity;
25
- f.value = typeof e == "number" ? e : 0, C.value = t.data.shopId;
25
+ v.value = typeof e == "number" ? e : 0, C.value = t.data.shopId;
26
26
  });
27
- const h = q(() => v.value.reduce((t, e) => t + (e.goodsNum || 0), 0)), P = q(() => f.value - h.value), V = (t) => {
27
+ const h = q(() => f.value.reduce((t, e) => t + (e.goodsNum || 0), 0)), P = q(() => v.value - h.value), V = (t) => {
28
28
  const e = h.value - (t.goodsNum || 0);
29
- return f.value - e;
29
+ return v.value - e;
30
30
  }, T = (t) => {
31
31
  const e = t.goodsNum ?? 0;
32
32
  e < 0 && (t.goodsNum = 0);
@@ -36,7 +36,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
36
36
  N();
37
37
  function N() {
38
38
  M.findList().then((t) => {
39
- v.value = t.data.results.map((e) => ({
39
+ f.value = t.data.results.map((e) => ({
40
40
  ...e,
41
41
  goodsNum: 0
42
42
  // 初始化为0
@@ -44,7 +44,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
44
44
  });
45
45
  }
46
46
  const R = () => {
47
- const t = v.value.filter((e) => e.goodsNum && e.goodsNum > 0).map((e) => ({
47
+ const t = f.value.filter((e) => e.goodsNum && e.goodsNum > 0).map((e) => ({
48
48
  addressId: e.addressId,
49
49
  goodsNum: e.goodsNum
50
50
  }));
@@ -95,7 +95,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
95
95
  o("div", oe, [
96
96
  o("div", se, [
97
97
  e[5] || (e[5] = o("span", null, "总订阅份数:", -1)),
98
- o("span", ne, p(f.value) + "份", 1)
98
+ o("span", ne, p(v.value) + "份", 1)
99
99
  ]),
100
100
  o("div", le, [
101
101
  e[6] || (e[6] = o("span", null, "已分配:", -1)),
@@ -132,7 +132,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
132
132
  ]),
133
133
  o("div", ue, [
134
134
  n(b, {
135
- data: v.value,
135
+ data: f.value,
136
136
  border: "",
137
137
  style: { width: "100%" },
138
138
  "header-cell-style": { backgroundColor: "#fafafa", color: "#333" }
@@ -227,7 +227,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, te = {
227
227
  ]);
228
228
  };
229
229
  }
230
- }), ke = /* @__PURE__ */ Y(pe, [["__scopeId", "data-v-8b47b541"]]);
230
+ }), ke = /* @__PURE__ */ Y(pe, [["__scopeId", "data-v-fffbc646"]]);
231
231
  export {
232
232
  ke as default
233
233
  };