xyvcard-paper-buyer 0.0.52 → 0.0.53
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/README.md +51 -51
- package/dist/{applyEdit-xjYBzFbb.mjs → applyEdit-CVBHWTtq.mjs} +14 -14
- package/dist/{confirm-BK-aSN_z.mjs → confirm-Be02OkOA.mjs} +16 -16
- package/dist/{edit-DFyOnrzr.mjs → edit-1PaZ9XLl.mjs} +12 -12
- package/dist/{edit-Omp_CxC3.mjs → edit-B3vIbXsy.mjs} +1 -1
- package/dist/{index-D043eLPj.mjs → index-BuhpHQLA.mjs} +1 -1
- package/dist/{index-CNxs6SEe.mjs → index-jeaiOykS.mjs} +13 -13
- package/dist/index.mjs +2 -2
- package/dist/info-nXaW5Goc.mjs +185 -0
- package/dist/{invoice-AqP1572z.mjs → invoice-Dfe-E7as.mjs} +2 -2
- package/dist/{invoiceEdit-BkCY1bqD.mjs → invoiceEdit-DEBzo40D.mjs} +2 -2
- package/dist/{invoiceView-B80V7jLe.mjs → invoiceView-CbwAZO70.mjs} +2 -2
- package/dist/{list-B4yYlD1K.mjs → list-no3QEI5P.mjs} +1 -1
- package/dist/{onlineBanking-CdDAY0YQ.mjs → onlineBanking-e57OBfmj.mjs} +1 -1
- package/dist/{orderAddress-BBFS2Jys.mjs → orderAddress-CqIRyskd.mjs} +2 -2
- package/dist/orderInfo-DxGqjCbr.mjs +309 -0
- package/dist/{orderPaper-DUCuNxKR.mjs → orderPaper-af69zWms.mjs} +1 -1
- package/dist/{payment-C1UwHZy4.mjs → payment-BWhe3mhK.mjs} +7 -7
- package/dist/{prompt-DQX4apPU.mjs → prompt-CF5J3V95.mjs} +1 -1
- package/dist/{sendDialog-BVaPpA-9.mjs → sendDialog-yCtEkv8S.mjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{userInvoice-DPxbKmv9.mjs → userInvoice-CDsynyWz.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs → userInvoice.vue_vue_type_script_setup_true_lang-Bzqz4vIJ.mjs} +48 -48
- package/package.json +60 -60
- package/dist/info-BmV7cZbD.mjs +0 -185
- package/dist/orderInfo-BSPKYn7H.mjs +0 -309
- package/dts/utils/momentPlugin.d.ts +0 -5
- package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +0 -2
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { defineComponent as ne, ref as v, onMounted as re, resolveComponent as a, createElementBlock as ie, openBlock as Q, createVNode as s, withCtx as r, createElementVNode as e, unref as _, toDisplayString as l, createTextVNode as u, createBlock as ae, createCommentVNode as de } from "vue";
|
|
2
|
+
import { D as h } from "./index-Knr6dYOL.mjs";
|
|
3
|
+
import { o as W } from "./index-BCt6P3MY.mjs";
|
|
4
|
+
import { fileApi as X, routerUtil as ce } from "jmash-core";
|
|
5
|
+
import { useRouter as ue, useRoute as me } from "vue-router";
|
|
6
|
+
import { goodsSpuApi as pe } from "xyvcard-paper-goods";
|
|
7
|
+
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const fe = { class: "app-container" }, be = { class: "subscription-container" }, ve = { class: "newspaper-image" }, he = { class: "shanxi-worker-paper" }, Ie = { class: "subscription-info" }, ge = { class: "magazine-title" }, ye = { class: "info-item" }, Ee = { class: "info-label" }, Le = { class: "info-item" }, Ne = { class: "info-label" }, Pe = { class: "price" }, ke = { class: "price-value" }, $e = { class: "subscription-containers" }, we = { class: "cell-item" }, Be = { class: "cell-item" }, Ve = { class: "dialog-footer" }, Ce = /* @__PURE__ */ ne({
|
|
9
|
+
__name: "info",
|
|
10
|
+
setup(De) {
|
|
11
|
+
const Y = ue(), f = me(), I = v([]);
|
|
12
|
+
h.goodsCategoryListBizLayDict.useValues();
|
|
13
|
+
function Z(o) {
|
|
14
|
+
o.mobileEncrypt = !o.mobileEncrypt;
|
|
15
|
+
}
|
|
16
|
+
function x() {
|
|
17
|
+
ce.closeTagView(f.fullPath, Y, !1);
|
|
18
|
+
}
|
|
19
|
+
const t = v(), g = v([]);
|
|
20
|
+
function ee() {
|
|
21
|
+
W.findById({ orderId: f.query.orderId }).then(({ data: o }) => {
|
|
22
|
+
var n, m, c, p, i;
|
|
23
|
+
t.value = [o], pe.findById({
|
|
24
|
+
spuId: (i = (p = (c = (m = (n = t.value) == null ? void 0 : n[0]) == null ? void 0 : m.orderItemList) == null ? void 0 : c.results) == null ? void 0 : p[0]) == null ? void 0 : i.spuId
|
|
25
|
+
}).then(({ data: b }) => {
|
|
26
|
+
g.value = b.categoryIds;
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function oe() {
|
|
31
|
+
W.findOrderAddressList({ orderId: f.query.orderId }).then(({ data: o }) => {
|
|
32
|
+
I.value = o.results;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return re(() => {
|
|
36
|
+
ee(), oe();
|
|
37
|
+
}), (o, n) => {
|
|
38
|
+
const m = a("el-image"), c = a("el-descriptions-item"), p = a("el-descriptions"), i = a("el-table-column"), b = a("jmash-mobileIns-component"), te = a("el-table"), se = a("el-button"), le = a("el-card");
|
|
39
|
+
return Q(), ie("div", fe, [
|
|
40
|
+
s(le, { shadow: "never" }, {
|
|
41
|
+
footer: r(() => [
|
|
42
|
+
e("div", Ve, [
|
|
43
|
+
s(se, {
|
|
44
|
+
type: "primary",
|
|
45
|
+
onClick: x
|
|
46
|
+
}, {
|
|
47
|
+
default: r(() => [
|
|
48
|
+
u(l(o.$t("common.back")), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
})
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
default: r(() => {
|
|
55
|
+
var y, E, L, N, P, k, $, w, B, V, C, D, A, S, U, z, T, j, q, O, R, M, F, G, H, J, K;
|
|
56
|
+
return [
|
|
57
|
+
n[1] || (n[1] = e("div", { class: "title-content" }, "订单详情", -1)),
|
|
58
|
+
e("div", be, [
|
|
59
|
+
e("div", ve, [
|
|
60
|
+
e("div", he, [
|
|
61
|
+
s(m, {
|
|
62
|
+
src: _(X).imageUrl(
|
|
63
|
+
(P = (N = (L = (E = (y = t.value) == null ? void 0 : y[0]) == null ? void 0 : E.orderItemList) == null ? void 0 : L.results) == null ? void 0 : N[0]) == null ? void 0 : P.picUrl,
|
|
64
|
+
160,
|
|
65
|
+
160
|
|
66
|
+
),
|
|
67
|
+
"preview-src-list": [
|
|
68
|
+
_(X).imageUrl(
|
|
69
|
+
(V = (B = (w = ($ = (k = t.value) == null ? void 0 : k[0]) == null ? void 0 : $.orderItemList) == null ? void 0 : w.results) == null ? void 0 : B[0]) == null ? void 0 : V.picUrl
|
|
70
|
+
)
|
|
71
|
+
],
|
|
72
|
+
"preview-teleported": "",
|
|
73
|
+
"hide-on-click-modal": "",
|
|
74
|
+
fit: "contain",
|
|
75
|
+
class: "magazine-image"
|
|
76
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
77
|
+
])
|
|
78
|
+
]),
|
|
79
|
+
e("div", Ie, [
|
|
80
|
+
e("span", ge, "《" + l((U = (S = (A = (D = (C = t.value) == null ? void 0 : C[0]) == null ? void 0 : D.orderItemList) == null ? void 0 : A.results) == null ? void 0 : S[0]) == null ? void 0 : U.spuName) + "》 ", 1),
|
|
81
|
+
e("div", ye, [
|
|
82
|
+
e("span", Ee, [
|
|
83
|
+
n[0] || (n[0] = u("发行频率: ")),
|
|
84
|
+
e("span", null, l(_(h).goodsCategoryListBizLayDict.getValue(g.value.join(","))), 1)
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
e("div", Le, [
|
|
88
|
+
e("span", Ne, "订阅周期:" + l((T = (z = t.value) == null ? void 0 : z[0]) == null ? void 0 : T.remark), 1)
|
|
89
|
+
]),
|
|
90
|
+
e("div", Pe, [
|
|
91
|
+
e("span", ke, "¥" + l((M = (R = (O = (q = (j = t.value) == null ? void 0 : j[0]) == null ? void 0 : q.orderItemList) == null ? void 0 : O.results) == null ? void 0 : R[0]) == null ? void 0 : M.salesPrice) + "/年 ×" + l((K = (J = (H = (G = (F = t.value) == null ? void 0 : F[0]) == null ? void 0 : G.orderItemList) == null ? void 0 : H.results) == null ? void 0 : J[0]) == null ? void 0 : K.quantity), 1)
|
|
92
|
+
])
|
|
93
|
+
])
|
|
94
|
+
]),
|
|
95
|
+
n[2] || (n[2] = e("div", { class: "title-content" }, "付款信息", -1)),
|
|
96
|
+
e("div", $e, [
|
|
97
|
+
t.value && t.value.length > 0 ? (Q(), ae(p, {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: "margin-top",
|
|
100
|
+
"label-width": 420,
|
|
101
|
+
"label-align": "left",
|
|
102
|
+
column: 1
|
|
103
|
+
}, {
|
|
104
|
+
default: r(() => [
|
|
105
|
+
s(c, null, {
|
|
106
|
+
label: r(() => [
|
|
107
|
+
e("div", we, l(o.$t("orderInfo.salesPrices")), 1)
|
|
108
|
+
]),
|
|
109
|
+
default: r(() => [
|
|
110
|
+
u(" ¥" + l(t.value[0].salesPrice), 1)
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}),
|
|
114
|
+
s(c, null, {
|
|
115
|
+
label: r(() => [
|
|
116
|
+
e("div", Be, l(o.$t("orderInfo.orderStatus")), 1)
|
|
117
|
+
]),
|
|
118
|
+
default: r(() => [
|
|
119
|
+
u(" " + l(_(h).orderStatusEnum.getValue(t.value[0].orderStatus)), 1)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})) : de("", !0)
|
|
126
|
+
]),
|
|
127
|
+
n[3] || (n[3] = e("div", { class: "title-content" }, "收报地址", -1)),
|
|
128
|
+
s(te, {
|
|
129
|
+
data: I.value,
|
|
130
|
+
border: ""
|
|
131
|
+
}, {
|
|
132
|
+
default: r(() => [
|
|
133
|
+
s(i, {
|
|
134
|
+
prop: "note",
|
|
135
|
+
label: o.$t("orderInfo.unitNames"),
|
|
136
|
+
width: "250"
|
|
137
|
+
}, null, 8, ["label"]),
|
|
138
|
+
s(i, {
|
|
139
|
+
prop: "userName",
|
|
140
|
+
label: o.$t("orderInfo.userName"),
|
|
141
|
+
width: "120"
|
|
142
|
+
}, null, 8, ["label"]),
|
|
143
|
+
s(i, {
|
|
144
|
+
label: o.$t("orderInfo.mobilePhone"),
|
|
145
|
+
width: "170"
|
|
146
|
+
}, {
|
|
147
|
+
default: r(({ row: d }) => [
|
|
148
|
+
s(b, {
|
|
149
|
+
mobileEncrypt: d.mobileEncrypt,
|
|
150
|
+
mobilePhoneIns: d.mobilePhoneIns,
|
|
151
|
+
mobilePhone: d.mobilePhone,
|
|
152
|
+
onToggleEncrypt: (Ae) => Z(d)
|
|
153
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["label"]),
|
|
157
|
+
s(i, {
|
|
158
|
+
prop: "detailInfo",
|
|
159
|
+
label: o.$t("orderInfo.address")
|
|
160
|
+
}, {
|
|
161
|
+
default: r(({ row: d }) => [
|
|
162
|
+
u(l(d.cityName) + l(d.detailInfo), 1)
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["label"]),
|
|
166
|
+
s(i, {
|
|
167
|
+
prop: "goodsNum",
|
|
168
|
+
label: o.$t("orderInfo.paperNumber"),
|
|
169
|
+
width: "100"
|
|
170
|
+
}, null, 8, ["label"])
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["data"])
|
|
174
|
+
];
|
|
175
|
+
}),
|
|
176
|
+
_: 1,
|
|
177
|
+
__: [1, 2, 3]
|
|
178
|
+
})
|
|
179
|
+
]);
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
}), Re = /* @__PURE__ */ _e(Ce, [["__scopeId", "data-v-ff738b60"]]);
|
|
183
|
+
export {
|
|
184
|
+
Re as default
|
|
185
|
+
};
|
|
@@ -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-
|
|
4
|
+
import y from "./list-no3QEI5P.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-
|
|
171
|
+
}), M = /* @__PURE__ */ I(A, [["__scopeId", "data-v-978d2b4d"]]);
|
|
172
172
|
export {
|
|
173
173
|
M as default
|
|
174
174
|
};
|
|
@@ -5,7 +5,7 @@ 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
7
|
import { l as Z } from "./index-CxY8_Gfa.mjs";
|
|
8
|
-
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-Bzqz4vIJ.mjs";
|
|
9
9
|
import { E as oe } from "./el-message-VSzNakoG.mjs";
|
|
10
10
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const ae = { class: "app-container" }, ne = { class: "search-container" }, se = { class: "form-footer" }, re = /* @__PURE__ */ O({
|
|
@@ -267,7 +267,7 @@ const ae = { class: "app-container" }, ne = { class: "search-container" }, se =
|
|
|
267
267
|
]);
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
|
-
}), he = /* @__PURE__ */ te(re, [["__scopeId", "data-v-
|
|
270
|
+
}), he = /* @__PURE__ */ te(re, [["__scopeId", "data-v-948251c9"]]);
|
|
271
271
|
export {
|
|
272
272
|
he as default
|
|
273
273
|
};
|
|
@@ -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-
|
|
6
|
+
import J from "./sendDialog-yCtEkv8S.mjs";
|
|
7
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";
|
|
@@ -251,7 +251,7 @@ const Z = { class: "app-container" }, ee = { class: "search-container" }, oe = {
|
|
|
251
251
|
]);
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
|
-
}), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-
|
|
254
|
+
}), me = /* @__PURE__ */ Y(ne, [["__scopeId", "data-v-b6754180"]]);
|
|
255
255
|
export {
|
|
256
256
|
me as default
|
|
257
257
|
};
|
|
@@ -117,7 +117,7 @@ const k = /* @__PURE__ */ g({
|
|
|
117
117
|
}, null, 8, ["list-loading", "data", "table-label"]);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}), T = /* @__PURE__ */ j(k, [["__scopeId", "data-v-
|
|
120
|
+
}), T = /* @__PURE__ */ j(k, [["__scopeId", "data-v-845f4f51"]]);
|
|
121
121
|
export {
|
|
122
122
|
T as default
|
|
123
123
|
};
|
|
@@ -196,7 +196,7 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
|
|
|
196
196
|
}, 8, ["modelValue", "title", "width"]);
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
|
-
}), re = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-
|
|
199
|
+
}), re = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-6108556b"]]);
|
|
200
200
|
export {
|
|
201
201
|
re as default
|
|
202
202
|
};
|
|
@@ -4,7 +4,7 @@ import { o as M } from "./index-BP8zUjOw.mjs";
|
|
|
4
4
|
import { useTableHooks as K } from "jmash-core";
|
|
5
5
|
import { useI18n as W } from "vue-i18n";
|
|
6
6
|
import { useRoute as X, useRouter as Y } from "vue-router";
|
|
7
|
-
import Z from "./edit-
|
|
7
|
+
import Z from "./edit-B3vIbXsy.mjs";
|
|
8
8
|
import { E as _ } from "./el-message-VSzNakoG.mjs";
|
|
9
9
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
10
10
|
const te = { class: "app-container" }, oe = { class: "search-container" }, se = { class: "address-management-container" }, le = { class: "subscription-info" }, ne = { class: "info-item" }, ae = { class: "value" }, de = { class: "info-item" }, re = { class: "value" }, ie = { class: "info-item" }, ue = { class: "value" }, me = { class: "action-bar" }, pe = { class: "address-table" }, ce = { class: "footer" }, fe = /* @__PURE__ */ F({
|
|
@@ -243,7 +243,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, se =
|
|
|
243
243
|
]);
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
}), xe = /* @__PURE__ */ ee(fe, [["__scopeId", "data-v-
|
|
246
|
+
}), xe = /* @__PURE__ */ ee(fe, [["__scopeId", "data-v-06ec210b"]]);
|
|
247
247
|
export {
|
|
248
248
|
xe as default
|
|
249
249
|
};
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import { defineComponent as Ue, ref as _, reactive as h, onMounted as Me, resolveComponent as m, createElementBlock as qe, openBlock as k, createVNode as r, createBlock as D, createCommentVNode as B, withCtx as c, createElementVNode as t, unref as L, toDisplayString as i, createTextVNode as _e } from "vue";
|
|
2
|
+
import { useI18n as Se } from "vue-i18n";
|
|
3
|
+
import { D as he } from "./index-Knr6dYOL.mjs";
|
|
4
|
+
import { o as ke } from "./index-BCt6P3MY.mjs";
|
|
5
|
+
import { fileApi as Pe } from "jmash-core";
|
|
6
|
+
import { useRoute as Te, useRouter as je } from "vue-router";
|
|
7
|
+
import { goodsSpuApi as xe } from "xyvcard-paper-goods";
|
|
8
|
+
import ze from "./onlineBanking-e57OBfmj.mjs";
|
|
9
|
+
import Re from "./prompt-CF5J3V95.mjs";
|
|
10
|
+
import Fe from "./confirm-Be02OkOA.mjs";
|
|
11
|
+
import { o as ge } from "./index-B90ZLkZ9.mjs";
|
|
12
|
+
import { E as Ce } from "./el-message-VSzNakoG.mjs";
|
|
13
|
+
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
14
|
+
const Ye = { class: "app-container" }, Ge = { class: "subscription-container" }, He = { class: "newspaper-image" }, Je = { class: "shanxi-worker-paper" }, Qe = { class: "subscription-info" }, Xe = { class: "magazine-title" }, Ze = { class: "info-item" }, eo = { class: "info-label" }, oo = { class: "info-item" }, to = { class: "info-label" }, so = { class: "price" }, no = { class: "price-value" }, lo = { class: "orderAddresmargin" }, ro = { class: "subscription-container" }, io = { class: "order-container" }, ao = { class: "order-info" }, po = { class: "status" }, mo = { class: "order-detail" }, co = { class: "value" }, uo = { class: "order-detail" }, fo = { class: "value" }, vo = { class: "payment-section" }, bo = { class: "amount" }, yo = { class: "pay-methods" }, Io = /* @__PURE__ */ Ue({
|
|
15
|
+
__name: "orderInfo",
|
|
16
|
+
setup(_o) {
|
|
17
|
+
const u = Te(), Ee = je(), { t: P } = Se(), s = _([]), O = _([]), w = _([]), n = 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
|
+
he.goodsCategoryListBizLayDict.useValues();
|
|
26
|
+
function Ne(o) {
|
|
27
|
+
return o ? new Date(o).toLocaleString() : "";
|
|
28
|
+
}
|
|
29
|
+
function Ve(o) {
|
|
30
|
+
o.mobileEncrypt = !o.mobileEncrypt;
|
|
31
|
+
}
|
|
32
|
+
function K() {
|
|
33
|
+
ke.findById({ orderId: u.query.orderId }).then(({ data: o }) => {
|
|
34
|
+
var e, d, a, y, I;
|
|
35
|
+
s.value = [o], console.log("orderInfoData", s.value), xe.findById({
|
|
36
|
+
spuId: (I = (y = (a = (d = (e = s.value) == null ? void 0 : e[0]) == null ? void 0 : d.orderItemList) == null ? void 0 : a.results) == null ? void 0 : y[0]) == null ? void 0 : I.spuId
|
|
37
|
+
}).then(({ data: V }) => {
|
|
38
|
+
w.value = V.categoryIds;
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function A() {
|
|
43
|
+
ke.findOrderAddressList({ orderId: u.query.orderId }).then(({ data: o }) => {
|
|
44
|
+
O.value = o.results;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
Me(() => {
|
|
48
|
+
K(), A(), U();
|
|
49
|
+
});
|
|
50
|
+
const De = () => {
|
|
51
|
+
Object.keys(n).forEach((o) => {
|
|
52
|
+
n[o].visible = !1;
|
|
53
|
+
});
|
|
54
|
+
}, v = (o, e) => {
|
|
55
|
+
De();
|
|
56
|
+
const d = n[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
|
+
n[o].visible = !1;
|
|
60
|
+
};
|
|
61
|
+
function Be() {
|
|
62
|
+
var o;
|
|
63
|
+
(o = s.value) != null && o[0] && v("bank", {
|
|
64
|
+
key: {
|
|
65
|
+
shopPayInfoId: b,
|
|
66
|
+
orderCode: s.value[0].orderCode
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function Le() {
|
|
71
|
+
f.value = "bank", v("prompt", {
|
|
72
|
+
key: {
|
|
73
|
+
shopPayInfoId: b,
|
|
74
|
+
orderCode: s.value[0].orderCode
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function Oe() {
|
|
79
|
+
v("confirm", {
|
|
80
|
+
key: {
|
|
81
|
+
shopPayInfoId: b,
|
|
82
|
+
orderCode: s.value[0].orderCode
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function we() {
|
|
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 Ke() {
|
|
99
|
+
ge.createPay({
|
|
100
|
+
shopPayInfoId: $,
|
|
101
|
+
orderId: u.query.orderId
|
|
102
|
+
}).then((o) => {
|
|
103
|
+
o.status === 200 && (Ce({ message: "提交成功", type: "success" }), Ee.push({
|
|
104
|
+
path: "/buyer/order-newspaper/payment",
|
|
105
|
+
query: {
|
|
106
|
+
orderId: u.query.orderId,
|
|
107
|
+
counterUrl: o.data.counterUrl
|
|
108
|
+
}
|
|
109
|
+
}));
|
|
110
|
+
}).catch(() => {
|
|
111
|
+
Ce.error("提交失败,请稍后重试");
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
let b = "", $ = "";
|
|
115
|
+
function U() {
|
|
116
|
+
ge.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
|
+
K(), A(), U();
|
|
126
|
+
}
|
|
127
|
+
return (o, e) => {
|
|
128
|
+
const d = m("el-image"), a = m("el-table-column"), y = m("jmash-mobileIns-component"), I = m("el-table"), V = m("SuccessFilled"), Ae = m("el-icon"), $e = m("el-card");
|
|
129
|
+
return k(), qe("div", Ye, [
|
|
130
|
+
r($e, { shadow: "never" }, {
|
|
131
|
+
footer: c(() => [
|
|
132
|
+
t("div", yo, [
|
|
133
|
+
t("button", {
|
|
134
|
+
class: "pay-btn",
|
|
135
|
+
onClick: e[0] || (e[0] = (l) => Be())
|
|
136
|
+
}, " 网银转账 "),
|
|
137
|
+
t("button", {
|
|
138
|
+
class: "pay-btn",
|
|
139
|
+
onClick: e[1] || (e[1] = (l) => Ke())
|
|
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, fe, ve, be, ye, Ie;
|
|
145
|
+
return [
|
|
146
|
+
e[13] || (e[13] = t("div", { class: "title-content" }, "订单详情", -1)),
|
|
147
|
+
t("div", Ge, [
|
|
148
|
+
t("div", He, [
|
|
149
|
+
t("div", Je, [
|
|
150
|
+
r(d, {
|
|
151
|
+
src: L(Pe).imageUrl(
|
|
152
|
+
(j = (T = (S = (q = (l = s.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
|
+
L(Pe).imageUrl(
|
|
158
|
+
(W = (F = (R = (z = (x = s.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", Qe, [
|
|
169
|
+
t("span", Xe, "《" + i((Q = (J = (H = (G = (Y = s.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", Ze, [
|
|
171
|
+
t("span", eo, [
|
|
172
|
+
e[8] || (e[8] = _e("发行频率: ")),
|
|
173
|
+
t("span", null, i(L(he).goodsCategoryListBizLayDict.getValue(w.value.join(","))), 1)
|
|
174
|
+
])
|
|
175
|
+
]),
|
|
176
|
+
t("div", oo, [
|
|
177
|
+
t("span", to, "订阅周期:" + i((Z = (X = s.value) == null ? void 0 : X[0]) == null ? void 0 : Z.remark), 1)
|
|
178
|
+
]),
|
|
179
|
+
t("div", so, [
|
|
180
|
+
t("span", no, "¥" + i((ne = (se = (te = (oe = (ee = s.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) + "/年 ×" + i((de = (ae = (ie = (re = (le = s.value) == null ? void 0 : le[0]) == null ? void 0 : re.orderItemList) == null ? void 0 : ie.results) == null ? void 0 : ae[0]) == null ? void 0 : de.quantity), 1)
|
|
181
|
+
])
|
|
182
|
+
])
|
|
183
|
+
]),
|
|
184
|
+
e[14] || (e[14] = t("div", { class: "title-content" }, "收报地址", -1)),
|
|
185
|
+
t("div", lo, [
|
|
186
|
+
r(I, {
|
|
187
|
+
data: O.value,
|
|
188
|
+
border: ""
|
|
189
|
+
}, {
|
|
190
|
+
default: c(() => [
|
|
191
|
+
r(a, {
|
|
192
|
+
prop: "note",
|
|
193
|
+
label: o.$t("orderInfo.unitNames"),
|
|
194
|
+
width: "250"
|
|
195
|
+
}, null, 8, ["label"]),
|
|
196
|
+
r(a, {
|
|
197
|
+
prop: "userName",
|
|
198
|
+
label: o.$t("orderInfo.userName"),
|
|
199
|
+
width: "120"
|
|
200
|
+
}, null, 8, ["label"]),
|
|
201
|
+
r(a, {
|
|
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: (ho) => Ve(p)
|
|
211
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 8, ["label"]),
|
|
215
|
+
r(a, {
|
|
216
|
+
prop: "detailInfo",
|
|
217
|
+
label: o.$t("orderInfo.address")
|
|
218
|
+
}, {
|
|
219
|
+
default: c(({ row: p }) => [
|
|
220
|
+
_e(i(p.cityName) + i(p.detailInfo), 1)
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}, 8, ["label"]),
|
|
224
|
+
r(a, {
|
|
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", ro, [
|
|
234
|
+
t("div", io, [
|
|
235
|
+
t("div", ao, [
|
|
236
|
+
t("div", po, [
|
|
237
|
+
r(Ae, {
|
|
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", mo, [
|
|
249
|
+
e[10] || (e[10] = t("div", { class: "label" }, "订单号", -1)),
|
|
250
|
+
t("div", co, i((me = (pe = s.value) == null ? void 0 : pe[0]) == null ? void 0 : me.orderCode), 1)
|
|
251
|
+
]),
|
|
252
|
+
t("div", uo, [
|
|
253
|
+
e[11] || (e[11] = t("div", { class: "label" }, "创建时间", -1)),
|
|
254
|
+
t("div", fo, i(Ne((ue = (ce = s.value) == null ? void 0 : ce[0]) == null ? void 0 : ue.createTime)), 1)
|
|
255
|
+
])
|
|
256
|
+
]),
|
|
257
|
+
t("div", vo, [
|
|
258
|
+
e[12] || (e[12] = t("div", { class: "label" }, "支付金额", -1)),
|
|
259
|
+
t("div", bo, " ¥" + i((Ie = (ye = (be = (ve = (fe = s.value) == null ? void 0 : fe[0]) == null ? void 0 : ve.orderItemList) == null ? void 0 : be.results) == null ? void 0 : ye[0]) == null ? void 0 : Ie.paymentPrice), 1)
|
|
260
|
+
])
|
|
261
|
+
])
|
|
262
|
+
])
|
|
263
|
+
];
|
|
264
|
+
}),
|
|
265
|
+
_: 1,
|
|
266
|
+
__: [13, 14]
|
|
267
|
+
}),
|
|
268
|
+
n.bank.visible ? (k(), D(ze, {
|
|
269
|
+
key: 0,
|
|
270
|
+
modelValue: n.bank.visible,
|
|
271
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => n.bank.visible = l),
|
|
272
|
+
title: n.bank.title,
|
|
273
|
+
"bank-Key": g,
|
|
274
|
+
onRefresh: M,
|
|
275
|
+
onClose: e[3] || (e[3] = (l) => N("bank")),
|
|
276
|
+
width: "550px",
|
|
277
|
+
onOpenPrompt: Le,
|
|
278
|
+
"close-on-click-modal": !1
|
|
279
|
+
}, null, 8, ["modelValue", "title", "bank-Key"])) : B("", !0),
|
|
280
|
+
n.prompt.visible ? (k(), D(Re, {
|
|
281
|
+
key: 1,
|
|
282
|
+
modelValue: n.prompt.visible,
|
|
283
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => n.prompt.visible = l),
|
|
284
|
+
title: n.prompt.title,
|
|
285
|
+
"prompt-Key": C,
|
|
286
|
+
onRefresh: M,
|
|
287
|
+
onClose: e[5] || (e[5] = (l) => N("prompt")),
|
|
288
|
+
onOpenConfirm: Oe,
|
|
289
|
+
onBack: we,
|
|
290
|
+
width: "550px",
|
|
291
|
+
"close-on-click-modal": !1
|
|
292
|
+
}, null, 8, ["modelValue", "title", "prompt-Key"])) : B("", !0),
|
|
293
|
+
n.confirm.visible ? (k(), D(Fe, {
|
|
294
|
+
key: 2,
|
|
295
|
+
modelValue: n.confirm.visible,
|
|
296
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => n.confirm.visible = l),
|
|
297
|
+
title: n.confirm.title,
|
|
298
|
+
"confirm-Key": E,
|
|
299
|
+
onClose: e[7] || (e[7] = (l) => N("confirm")),
|
|
300
|
+
width: "550px",
|
|
301
|
+
"close-on-click-modal": !1
|
|
302
|
+
}, null, 8, ["modelValue", "title", "confirm-Key"])) : B("", !0)
|
|
303
|
+
]);
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
}), Ao = /* @__PURE__ */ We(Io, [["__scopeId", "data-v-0aee5404"]]);
|
|
307
|
+
export {
|
|
308
|
+
Ao as default
|
|
309
|
+
};
|
|
@@ -143,7 +143,7 @@ const T = { class: "app-container" }, W = { class: "search-container" }, j = { c
|
|
|
143
143
|
]);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
}), me = /* @__PURE__ */ J(ae, [["__scopeId", "data-v-
|
|
146
|
+
}), me = /* @__PURE__ */ J(ae, [["__scopeId", "data-v-a44637e5"]]);
|
|
147
147
|
export {
|
|
148
148
|
me as default
|
|
149
149
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
2
|
-
import { l as
|
|
3
|
-
import { useRoute as
|
|
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 C, unref as N } from "vue";
|
|
2
|
+
import { l as U } from "./index-sU6sAHrn.mjs";
|
|
3
|
+
import { useRoute as b, useRouter as M } from "vue-router";
|
|
4
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";
|
|
@@ -13,7 +13,7 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
13
13
|
}, F = /* @__PURE__ */ x({
|
|
14
14
|
__name: "payment",
|
|
15
15
|
setup(G) {
|
|
16
|
-
const n =
|
|
16
|
+
const n = b(), y = M(), h = n.query.counterUrl, i = n.query.orderId, k = n.params.tenant, m = a(""), o = a(!0), r = a(""), I = a(null), t = a();
|
|
17
17
|
L(() => {
|
|
18
18
|
g();
|
|
19
19
|
});
|
|
@@ -66,8 +66,8 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
66
66
|
class: "loading-icon",
|
|
67
67
|
size: 30
|
|
68
68
|
}, {
|
|
69
|
-
default:
|
|
70
|
-
u(
|
|
69
|
+
default: C(() => [
|
|
70
|
+
u(N(U))
|
|
71
71
|
]),
|
|
72
72
|
_: 1
|
|
73
73
|
}),
|
|
@@ -85,7 +85,7 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
|
|
|
85
85
|
]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-
|
|
88
|
+
}), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-34397666"]]);
|
|
89
89
|
export {
|
|
90
90
|
W as default
|
|
91
91
|
};
|
|
@@ -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-b4e068ed"]]);
|
|
74
74
|
export {
|
|
75
75
|
N as default
|
|
76
76
|
};
|