xyvcard-paper-buyer 0.0.37 → 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.
- package/dist/{applyEdit-CmeMnep8.mjs → applyEdit-Bcl_bli2.mjs} +1 -1
- package/dist/{confirm-BBtbi4mX.mjs → confirm-BIHrk7gs.mjs} +57 -57
- package/dist/index-B90ZLkZ9.mjs +98 -0
- package/dist/{index-D1h7204v.mjs → index-BEPJuAyP.mjs} +149 -144
- package/dist/{index-CT0KG-ax.mjs → index-BKZPqxLM.mjs} +524 -497
- package/dist/{index-ky8hEDAn.mjs → index-BWV5njqv.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-BsMR6OqZ.mjs → info-BLkVF0dz.mjs} +1 -1
- package/dist/onlineBanking-DfzIYOBF.mjs +199 -0
- package/dist/{orderAddress-CKllpjjU.mjs → orderAddress-CK22n9R3.mjs} +1 -1
- package/dist/orderInfo-DKPnxmRD.mjs +306 -0
- package/dist/{orderPaper-DpSTDYX4.mjs → orderPaper-Cscnx-MT.mjs} +1 -1
- package/dist/{payment-BkxF9Q0m.mjs → payment-DD_Lhvf0.mjs} +1 -1
- package/dist/{prompt-CsoFkmiu.mjs → prompt-DQX4apPU.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/buyer/order-info/index.d.ts +1 -0
- package/dts/api/buyer/order-newspaper/index.d.ts +2 -6
- package/dts/api/buyer/order-newspaper/types.d.ts +6 -10
- package/dts/views/buyer/order-newspaper/confirm.vue.d.ts +4 -4
- package/dts/views/buyer/order-newspaper/prompt.vue.d.ts +4 -4
- package/package.json +62 -66
- package/dist/index-Dph_ktOL.mjs +0 -9456
- package/dist/onlineBanking-Ujhar3LT.mjs +0 -207
- package/dist/orderInfo-DUeij6eN.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-
|
|
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",
|
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-
|
|
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-ky8hEDAn.mjs"), w = () => import("./orderPaper-D
|
|
|
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-
|
|
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-
|
|
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";
|
|
@@ -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,5 +1,5 @@
|
|
|
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-
|
|
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";
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { defineComponent as we, ref as _, reactive as h, onMounted as Ke, resolveComponent as m, createElementBlock as Le, openBlock as k, createVNode as r, createBlock as B, createCommentVNode as D, withCtx as c, createElementVNode as t, unref as O, toDisplayString as a, createTextVNode as fe } from "vue";
|
|
2
|
+
import { useI18n as Ae } from "vue-i18n";
|
|
3
|
+
import { D as ve } from "./index-BGqp7CRm.mjs";
|
|
4
|
+
import { o as be } from "./index-BKZPqxLM.mjs";
|
|
5
|
+
import { fileApi as ye } from "jmash-core";
|
|
6
|
+
import { useRoute as $e, useRouter as Ue } from "vue-router";
|
|
7
|
+
import { goodsSpuApi as Me } from "xyvcard-paper-goods";
|
|
8
|
+
import qe from "./onlineBanking-DfzIYOBF.mjs";
|
|
9
|
+
import Se from "./prompt-DQX4apPU.mjs";
|
|
10
|
+
import Te from "./confirm-BIHrk7gs.mjs";
|
|
11
|
+
import { o as Ie } from "./index-B90ZLkZ9.mjs";
|
|
12
|
+
import { E as _e } from "./el-message-VSzNakoG.mjs";
|
|
13
|
+
import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
14
|
+
const xe = { class: "app-container" }, ze = { class: "subscription-container" }, Re = { class: "newspaper-image" }, Fe = { class: "shanxi-worker-paper" }, We = { class: "subscription-info" }, Ye = { class: "magazine-title" }, Ge = { class: "info-item" }, He = { class: "info-label" }, Je = { class: "info-item" }, Qe = { class: "info-label" }, Xe = { class: "price" }, Ze = { class: "price-value" }, eo = { class: "orderAddresmargin" }, oo = { class: "subscription-container" }, to = { class: "order-container" }, so = { class: "order-info" }, no = { class: "status" }, lo = { class: "order-detail" }, ro = { class: "value" }, io = { class: "order-detail" }, ao = { class: "value" }, po = { class: "payment-section" }, mo = { class: "amount" }, co = { class: "pay-methods" }, uo = /* @__PURE__ */ we({
|
|
15
|
+
__name: "orderInfo",
|
|
16
|
+
setup(fo) {
|
|
17
|
+
const u = $e(), he = Ue(), { t: P } = Ae(), n = _([]), w = _([]), K = _([]), s = h({
|
|
18
|
+
bank: { visible: !1, title: P("orderInfo.onlineBanking") },
|
|
19
|
+
// 网银弹框
|
|
20
|
+
prompt: { visible: !1, title: P("orderInfo.prompt") },
|
|
21
|
+
// 提示弹框
|
|
22
|
+
confirm: { visible: !1, title: P("orderInfo.confirm") }
|
|
23
|
+
// 确认弹框
|
|
24
|
+
}), f = _(null), g = h({}), C = h({}), E = h({});
|
|
25
|
+
ve.goodsCategoryListBizLayDict.useValues();
|
|
26
|
+
function ke(o) {
|
|
27
|
+
return o ? new Date(o).toLocaleString() : "";
|
|
28
|
+
}
|
|
29
|
+
function Pe(o) {
|
|
30
|
+
o.mobileEncrypt = !o.mobileEncrypt;
|
|
31
|
+
}
|
|
32
|
+
function L() {
|
|
33
|
+
be.findById({ orderId: u.query.orderId }).then(({ data: o }) => {
|
|
34
|
+
var e, d, i, y, I;
|
|
35
|
+
n.value = [o], Me.findById({
|
|
36
|
+
spuId: (I = (y = (i = (d = (e = n.value) == null ? void 0 : e[0]) == null ? void 0 : d.orderItemList) == null ? void 0 : i.results) == null ? void 0 : y[0]) == null ? void 0 : I.spuId
|
|
37
|
+
}).then(({ data: V }) => {
|
|
38
|
+
K.value = V.categoryIds;
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function A() {
|
|
43
|
+
be.findOrderAddressList({ orderId: u.query.orderId }).then(({ data: o }) => {
|
|
44
|
+
w.value = o.results;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
Ke(() => {
|
|
48
|
+
L(), A(), U();
|
|
49
|
+
});
|
|
50
|
+
const ge = () => {
|
|
51
|
+
Object.keys(s).forEach((o) => {
|
|
52
|
+
s[o].visible = !1;
|
|
53
|
+
});
|
|
54
|
+
}, v = (o, e) => {
|
|
55
|
+
ge();
|
|
56
|
+
const d = s[o];
|
|
57
|
+
e != null && e.title && (d.title = e.title), e != null && e.key && Object.assign({ bank: g, prompt: C, confirm: E }[o], e.key), d.visible = !0;
|
|
58
|
+
}, N = (o) => {
|
|
59
|
+
s[o].visible = !1;
|
|
60
|
+
};
|
|
61
|
+
function Ce() {
|
|
62
|
+
var o;
|
|
63
|
+
(o = n.value) != null && o[0] && v("bank", {
|
|
64
|
+
key: {
|
|
65
|
+
shopPayInfoId: b,
|
|
66
|
+
orderCode: n.value[0].orderCode
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function Ee() {
|
|
71
|
+
f.value = "bank", v("prompt", {
|
|
72
|
+
key: {
|
|
73
|
+
shopPayInfoId: b,
|
|
74
|
+
orderCode: n.value[0].orderCode
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function Ne() {
|
|
79
|
+
v("confirm", {
|
|
80
|
+
key: {
|
|
81
|
+
shopPayInfoId: b,
|
|
82
|
+
orderCode: n.value[0].orderCode
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function Ve() {
|
|
87
|
+
if (f.value) {
|
|
88
|
+
const o = {
|
|
89
|
+
bank: g,
|
|
90
|
+
prompt: C,
|
|
91
|
+
confirm: E
|
|
92
|
+
};
|
|
93
|
+
v(f.value, {
|
|
94
|
+
key: o[f.value]
|
|
95
|
+
}), f.value = null;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function Be() {
|
|
99
|
+
Ie.createPay({
|
|
100
|
+
shopPayInfoId: $,
|
|
101
|
+
orderId: u.query.orderId
|
|
102
|
+
}).then((o) => {
|
|
103
|
+
o.status === 200 && (_e({ message: "提交成功", type: "success" }), he.push({
|
|
104
|
+
path: "/buyer/order-newspaper/payment",
|
|
105
|
+
query: {
|
|
106
|
+
orderId: u.query.orderId,
|
|
107
|
+
counterUrl: o.data.counterUrl
|
|
108
|
+
}
|
|
109
|
+
}));
|
|
110
|
+
}).catch(() => {
|
|
111
|
+
_e.error("提交失败,请稍后重试");
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
let b = "", $ = "";
|
|
115
|
+
function U() {
|
|
116
|
+
Ie.findPayMode({
|
|
117
|
+
shopId: u.query.shopId
|
|
118
|
+
}).then(({ data: o }) => {
|
|
119
|
+
o.results.forEach((e) => {
|
|
120
|
+
e.payMode === "BANKCOM" ? b = e.shopPayId : e.payMode === "UNKNOWNPAY" && ($ = e.shopPayId);
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function M() {
|
|
125
|
+
L(), A(), U();
|
|
126
|
+
}
|
|
127
|
+
return (o, e) => {
|
|
128
|
+
const d = m("el-image"), i = m("el-table-column"), y = m("jmash-mobileIns-component"), I = m("el-table"), V = m("SuccessFilled"), De = m("el-icon"), Oe = m("el-card");
|
|
129
|
+
return k(), Le("div", xe, [
|
|
130
|
+
r(Oe, { shadow: "never" }, {
|
|
131
|
+
footer: c(() => [
|
|
132
|
+
t("div", co, [
|
|
133
|
+
t("button", {
|
|
134
|
+
class: "pay-btn",
|
|
135
|
+
onClick: e[0] || (e[0] = (l) => Ce())
|
|
136
|
+
}, " 网银转账 "),
|
|
137
|
+
t("button", {
|
|
138
|
+
class: "pay-btn",
|
|
139
|
+
onClick: e[1] || (e[1] = (l) => Be())
|
|
140
|
+
}, "扫码支付")
|
|
141
|
+
])
|
|
142
|
+
]),
|
|
143
|
+
default: c(() => {
|
|
144
|
+
var l, q, S, T, j, x, z, R, F, W, Y, G, H, J, Q, X, Z, ee, oe, te, se, ne, le, re, ie, ae, de, pe, me, ce, ue;
|
|
145
|
+
return [
|
|
146
|
+
e[13] || (e[13] = t("div", { class: "title-content" }, "订单详情", -1)),
|
|
147
|
+
t("div", ze, [
|
|
148
|
+
t("div", Re, [
|
|
149
|
+
t("div", Fe, [
|
|
150
|
+
r(d, {
|
|
151
|
+
src: O(ye).imageUrl(
|
|
152
|
+
(j = (T = (S = (q = (l = n.value) == null ? void 0 : l[0]) == null ? void 0 : q.orderItemList) == null ? void 0 : S.results) == null ? void 0 : T[0]) == null ? void 0 : j.picUrl,
|
|
153
|
+
160,
|
|
154
|
+
160
|
|
155
|
+
),
|
|
156
|
+
"preview-src-list": [
|
|
157
|
+
O(ye).imageUrl(
|
|
158
|
+
(W = (F = (R = (z = (x = n.value) == null ? void 0 : x[0]) == null ? void 0 : z.orderItemList) == null ? void 0 : R.results) == null ? void 0 : F[0]) == null ? void 0 : W.picUrl
|
|
159
|
+
)
|
|
160
|
+
],
|
|
161
|
+
"preview-teleported": "",
|
|
162
|
+
"hide-on-click-modal": "",
|
|
163
|
+
fit: "contain",
|
|
164
|
+
class: "magazine-image"
|
|
165
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
t("div", We, [
|
|
169
|
+
t("span", Ye, "《" + a((Q = (J = (H = (G = (Y = n.value) == null ? void 0 : Y[0]) == null ? void 0 : G.orderItemList) == null ? void 0 : H.results) == null ? void 0 : J[0]) == null ? void 0 : Q.spuName) + "》 ", 1),
|
|
170
|
+
t("div", Ge, [
|
|
171
|
+
t("span", He, [
|
|
172
|
+
e[8] || (e[8] = fe("发行频率: ")),
|
|
173
|
+
t("span", null, a(O(ve).goodsCategoryListBizLayDict.getValue(K.value.join(","))), 1)
|
|
174
|
+
])
|
|
175
|
+
]),
|
|
176
|
+
t("div", Je, [
|
|
177
|
+
t("span", Qe, "订阅周期:" + a((Z = (X = n.value) == null ? void 0 : X[0]) == null ? void 0 : Z.remark), 1)
|
|
178
|
+
]),
|
|
179
|
+
t("div", Xe, [
|
|
180
|
+
t("span", Ze, "¥" + a((ne = (se = (te = (oe = (ee = n.value) == null ? void 0 : ee[0]) == null ? void 0 : oe.orderItemList) == null ? void 0 : te.results) == null ? void 0 : se[0]) == null ? void 0 : ne.salesPrice) + "/年", 1)
|
|
181
|
+
])
|
|
182
|
+
])
|
|
183
|
+
]),
|
|
184
|
+
e[14] || (e[14] = t("div", { class: "title-content" }, "收报地址", -1)),
|
|
185
|
+
t("div", eo, [
|
|
186
|
+
r(I, {
|
|
187
|
+
data: w.value,
|
|
188
|
+
border: ""
|
|
189
|
+
}, {
|
|
190
|
+
default: c(() => [
|
|
191
|
+
r(i, {
|
|
192
|
+
prop: "note",
|
|
193
|
+
label: o.$t("orderInfo.unitNames"),
|
|
194
|
+
width: "250"
|
|
195
|
+
}, null, 8, ["label"]),
|
|
196
|
+
r(i, {
|
|
197
|
+
prop: "userName",
|
|
198
|
+
label: o.$t("orderInfo.userName"),
|
|
199
|
+
width: "120"
|
|
200
|
+
}, null, 8, ["label"]),
|
|
201
|
+
r(i, {
|
|
202
|
+
label: o.$t("orderInfo.mobilePhone"),
|
|
203
|
+
width: "170"
|
|
204
|
+
}, {
|
|
205
|
+
default: c(({ row: p }) => [
|
|
206
|
+
r(y, {
|
|
207
|
+
mobileEncrypt: p.mobileEncrypt,
|
|
208
|
+
mobilePhoneIns: p.mobilePhoneIns,
|
|
209
|
+
mobilePhone: p.mobilePhone,
|
|
210
|
+
onToggleEncrypt: (vo) => Pe(p)
|
|
211
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 8, ["label"]),
|
|
215
|
+
r(i, {
|
|
216
|
+
prop: "detailInfo",
|
|
217
|
+
label: o.$t("orderInfo.address")
|
|
218
|
+
}, {
|
|
219
|
+
default: c(({ row: p }) => [
|
|
220
|
+
fe(a(p.cityName) + a(p.detailInfo), 1)
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}, 8, ["label"]),
|
|
224
|
+
r(i, {
|
|
225
|
+
prop: "goodsNum",
|
|
226
|
+
label: o.$t("orderInfo.paperNumber"),
|
|
227
|
+
width: "100"
|
|
228
|
+
}, null, 8, ["label"])
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["data"])
|
|
232
|
+
]),
|
|
233
|
+
t("div", oo, [
|
|
234
|
+
t("div", to, [
|
|
235
|
+
t("div", so, [
|
|
236
|
+
t("div", no, [
|
|
237
|
+
r(De, {
|
|
238
|
+
color: "#42b983",
|
|
239
|
+
class: "status-icon"
|
|
240
|
+
}, {
|
|
241
|
+
default: c(() => [
|
|
242
|
+
r(V)
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}),
|
|
246
|
+
e[9] || (e[9] = t("div", { class: "status-text" }, "订购订单提交成功,请尽快完成付款!", -1))
|
|
247
|
+
]),
|
|
248
|
+
t("div", lo, [
|
|
249
|
+
e[10] || (e[10] = t("div", { class: "label" }, "订单号", -1)),
|
|
250
|
+
t("div", ro, a((re = (le = n.value) == null ? void 0 : le[0]) == null ? void 0 : re.orderCode), 1)
|
|
251
|
+
]),
|
|
252
|
+
t("div", io, [
|
|
253
|
+
e[11] || (e[11] = t("div", { class: "label" }, "创建时间", -1)),
|
|
254
|
+
t("div", ao, a(ke((ae = (ie = n.value) == null ? void 0 : ie[0]) == null ? void 0 : ae.createTime)), 1)
|
|
255
|
+
])
|
|
256
|
+
]),
|
|
257
|
+
t("div", po, [
|
|
258
|
+
e[12] || (e[12] = t("div", { class: "label" }, "支付金额", -1)),
|
|
259
|
+
t("div", mo, " ¥" + a((ue = (ce = (me = (pe = (de = n.value) == null ? void 0 : de[0]) == null ? void 0 : pe.orderItemList) == null ? void 0 : me.results) == null ? void 0 : ce[0]) == null ? void 0 : ue.paymentPrice), 1)
|
|
260
|
+
])
|
|
261
|
+
])
|
|
262
|
+
])
|
|
263
|
+
];
|
|
264
|
+
}),
|
|
265
|
+
_: 1,
|
|
266
|
+
__: [13, 14]
|
|
267
|
+
}),
|
|
268
|
+
s.bank.visible ? (k(), B(qe, {
|
|
269
|
+
key: 0,
|
|
270
|
+
modelValue: s.bank.visible,
|
|
271
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => s.bank.visible = l),
|
|
272
|
+
title: s.bank.title,
|
|
273
|
+
"bank-Key": g,
|
|
274
|
+
onRefresh: M,
|
|
275
|
+
onClose: e[3] || (e[3] = (l) => N("bank")),
|
|
276
|
+
width: "550px",
|
|
277
|
+
onOpenPrompt: Ee
|
|
278
|
+
}, null, 8, ["modelValue", "title", "bank-Key"])) : D("", !0),
|
|
279
|
+
s.prompt.visible ? (k(), B(Se, {
|
|
280
|
+
key: 1,
|
|
281
|
+
modelValue: s.prompt.visible,
|
|
282
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => s.prompt.visible = l),
|
|
283
|
+
title: s.prompt.title,
|
|
284
|
+
"prompt-Key": C,
|
|
285
|
+
onRefresh: M,
|
|
286
|
+
onClose: e[5] || (e[5] = (l) => N("prompt")),
|
|
287
|
+
onOpenConfirm: Ne,
|
|
288
|
+
onBack: Ve,
|
|
289
|
+
width: "550px"
|
|
290
|
+
}, null, 8, ["modelValue", "title", "prompt-Key"])) : D("", !0),
|
|
291
|
+
s.confirm.visible ? (k(), B(Te, {
|
|
292
|
+
key: 2,
|
|
293
|
+
modelValue: s.confirm.visible,
|
|
294
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => s.confirm.visible = l),
|
|
295
|
+
title: s.confirm.title,
|
|
296
|
+
"confirm-Key": E,
|
|
297
|
+
onClose: e[7] || (e[7] = (l) => N("confirm")),
|
|
298
|
+
width: "550px"
|
|
299
|
+
}, null, 8, ["modelValue", "title", "confirm-Key"])) : D("", !0)
|
|
300
|
+
]);
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
}), Do = /* @__PURE__ */ je(uo, [["__scopeId", "data-v-61c21712"]]);
|
|
304
|
+
export {
|
|
305
|
+
Do as default
|
|
306
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as E, ref as p, computed as y, resolveComponent as C, createElementBlock as B, openBlock as L, createElementVNode as t, createVNode as A, unref as h, toDisplayString as l, withDirectives as M, vModelText as V } from "vue";
|
|
2
2
|
import { useRouter as $, useRoute as z } from "vue-router";
|
|
3
|
-
import { o as v } from "./index-
|
|
3
|
+
import { o as v } from "./index-B90ZLkZ9.mjs";
|
|
4
4
|
import { useUserStore as F, fileApi as k } from "jmash-core";
|
|
5
5
|
import { E as d } from "./el-message-VSzNakoG.mjs";
|
|
6
6
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, ref as a, onMounted as L, onUnmounted as P, resolveComponent as _, createElementBlock as s, openBlock as l, createElementVNode as c, createCommentVNode as v, createVNode as u, withCtx as b, unref as C } from "vue";
|
|
2
2
|
import { l as N } from "./index-sU6sAHrn.mjs";
|
|
3
3
|
import { useRoute as U, useRouter as M } from "vue-router";
|
|
4
|
-
import { o as R } from "./index-
|
|
4
|
+
import { o as R } from "./index-B90ZLkZ9.mjs";
|
|
5
5
|
import { ElMessage as V } from "element-plus";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
@@ -70,7 +70,7 @@ const g = { class: "footer" }, w = /* @__PURE__ */ C({
|
|
|
70
70
|
}, 8, ["modelValue", "title", "width"]);
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
}), N = /* @__PURE__ */ b(w, [["__scopeId", "data-v-
|
|
73
|
+
}), N = /* @__PURE__ */ b(w, [["__scopeId", "data-v-360e02ed"]]);
|
|
74
74
|
export {
|
|
75
75
|
N as default
|
|
76
76
|
};
|