xyvcard-paper-buyer 0.0.38 → 0.0.40
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-Dawg7OOU.mjs → applyEdit-B0CKdbR2.mjs} +25 -26
- package/dist/{confirm-2p5e0YTd.mjs → confirm-HoPA9uSr.mjs} +57 -57
- package/dist/index-B90ZLkZ9.mjs +98 -0
- package/dist/{index-VA1xSPHO.mjs → index-BqwYBqQF.mjs} +1 -1
- package/dist/{index-cet93VuQ.mjs → index-CX-7x1SL.mjs} +149 -144
- package/dist/{index-TclOpCe_.mjs → index-DspCttgG.mjs} +10 -27
- package/dist/{index-Ckvv9EJa.mjs → index-DyTbbNUO.mjs} +410 -405
- package/dist/index.mjs +2 -2
- package/dist/{info-BbZDNkKB.mjs → info-BhjWwF6z.mjs} +1 -1
- package/dist/{invoice-1CME5d68.mjs → invoice-DppfMFDj.mjs} +1 -1
- package/dist/{invoiceEdit-BheiUTbA.mjs → invoiceEdit-BKEb7oNj.mjs} +51 -51
- package/dist/{invoiceView-BzauDq3v.mjs → invoiceView-41EDyu0B.mjs} +2 -2
- package/dist/{list-Gi-uC47c.mjs → list-DNIbCic-.mjs} +1 -1
- package/dist/onlineBanking-BIjxFuQ5.mjs +199 -0
- package/dist/{orderAddress-BLmoG7St.mjs → orderAddress-BHmLnG9Z.mjs} +1 -1
- package/dist/orderInfo-CiPVCQxz.mjs +306 -0
- package/dist/{orderPaper-CRqHO_qE.mjs → orderPaper-DLv8c7Hi.mjs} +1 -1
- package/dist/{payment-Bj2wv7Zf.mjs → payment-B8q1Mpiy.mjs} +1 -1
- package/dist/{prompt-D3JrKZHk.mjs → prompt-CF5J3V95.mjs} +4 -4
- package/dist/{sendDialog-DQhLGAf_.mjs → sendDialog-D50t3cjw.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{userInvoice-S09QEhkA.mjs → userInvoice-DhoqnQE4.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs → userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs} +119 -100
- package/dts/api/buyer/lqfp-fp/index.d.ts +1 -3
- package/dts/api/buyer/lqfp-fp/types.d.ts +0 -32
- 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/api/buyer/user_invoice/index.d.ts +9 -0
- package/dts/api/buyer/user_invoice/types.d.ts +38 -0
- 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 +3 -7
- package/dist/index-Dph_ktOL.mjs +0 -9456
- package/dist/onlineBanking-D40v8MD7.mjs +0 -208
- package/dist/orderInfo-CIOWPF8V.mjs +0 -309
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-BqwYBqQF.mjs"), w = () => import("./orderPaper-DLv8c7Hi.mjs"), P = () => import("./orderAddress-BHmLnG9Z.mjs"), q = () => import("./orderInfo-CiPVCQxz.mjs"), D = () => import("./payment-B8q1Mpiy.mjs"), N = () => import("./invoice-DppfMFDj.mjs"), z = () => import("./invoiceView-41EDyu0B.mjs"), x = () => import("./applyEdit-B0CKdbR2.mjs"), C = () => import("./invoiceEdit-BKEb7oNj.mjs"), k = () => import("./info-BhjWwF6z.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-
|
|
550
|
+
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-B0CKdbR2.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CX-7x1SL.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BhjWwF6z.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-DppfMFDj.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-BKEb7oNj.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-41EDyu0B.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-DNIbCic-.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-D50t3cjw.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DhoqnQE4.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-HoPA9uSr.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-D2_W7oIL.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BqwYBqQF.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-BIjxFuQ5.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BHmLnG9Z.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-CiPVCQxz.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DLv8c7Hi.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-B8q1Mpiy.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-CF5J3V95.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-CgLvvQy2.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-C8vnqMMv.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-DyTbbNUO.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";
|
|
@@ -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-DNIbCic-.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({
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as O, ref as I, reactive as D, resolveComponent as s, createElementBlock as w, openBlock as f, createElementVNode as $, createBlock as y, createCommentVNode as Q, createVNode as o, unref as r, withCtx as t, Fragment as R, renderList as E, createTextVNode as v, toDisplayString as V } from "vue";
|
|
2
|
+
import { useI18n as W } from "vue-i18n";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as F } from "jmash-core";
|
|
5
|
-
import { useRouter as
|
|
6
|
-
import { D as
|
|
7
|
-
import { l as
|
|
8
|
-
import { _ as ee } from "./userInvoice.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { E as
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
5
|
+
import { useRouter as X, useRoute as Y } from "vue-router";
|
|
6
|
+
import { D as U } from "./index-BGqp7CRm.mjs";
|
|
7
|
+
import { l as Z } from "./index-DspCttgG.mjs";
|
|
8
|
+
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs";
|
|
9
|
+
import { E as oe } from "./el-message-VSzNakoG.mjs";
|
|
10
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
|
+
const ae = { class: "app-container" }, ne = { class: "search-container" }, se = { class: "form-footer" }, re = /* @__PURE__ */ O({
|
|
12
12
|
__name: "invoiceEdit",
|
|
13
|
-
setup(
|
|
14
|
-
const b =
|
|
13
|
+
setup(de) {
|
|
14
|
+
const b = X(), m = Y(), { t: c } = W(), N = m.query.orderCode, T = m.query.organId, g = I(""), _ = I([]);
|
|
15
15
|
function C() {
|
|
16
|
-
|
|
16
|
+
le.findMyUserInvoiceList({}).then((e) => {
|
|
17
17
|
_.value = e.data.results;
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
C();
|
|
21
|
-
const z =
|
|
22
|
-
|
|
21
|
+
const z = I();
|
|
22
|
+
U.fppzDict.useDictValues();
|
|
23
23
|
let n = D({
|
|
24
24
|
requestId: Math.random() * 10 + ""
|
|
25
25
|
});
|
|
26
|
-
const
|
|
26
|
+
const L = D({
|
|
27
27
|
fppz: [{ required: !0, message: c("lqfpFps.fplxRead"), trigger: "blur" }],
|
|
28
28
|
infoId: [{ required: !0, message: c("lqfpFps.dwmcRead"), trigger: "blur" }]
|
|
29
|
-
}),
|
|
29
|
+
}), M = (e) => {
|
|
30
30
|
const l = _.value.find(
|
|
31
31
|
(d) => d.infoId === n.infoId
|
|
32
32
|
);
|
|
33
33
|
return !l || l.gmfType !== "person" ? !1 : e.dictCode !== "02";
|
|
34
34
|
};
|
|
35
|
-
function
|
|
35
|
+
function A(e) {
|
|
36
36
|
if (e) {
|
|
37
37
|
const l = _.value.find((d) => d.infoId === e);
|
|
38
38
|
l && (g.value = l.nsrsbh || "", n.email = l.sendEmail || "", l.gmfType === "person" && (n.fppz = "02"));
|
|
39
39
|
} else
|
|
40
40
|
g.value = "", n.email = "", n.fppz = "";
|
|
41
41
|
}
|
|
42
|
-
const p =
|
|
42
|
+
const p = I({
|
|
43
43
|
title: c("common.add"),
|
|
44
44
|
visible: !1
|
|
45
45
|
});
|
|
46
|
-
function
|
|
46
|
+
function B() {
|
|
47
47
|
p.value.title = c("common.add"), p.value.visible = !0;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function P() {
|
|
50
50
|
b.push({
|
|
51
51
|
path: "/union-information/invoice"
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const S = async () => {
|
|
55
55
|
var e;
|
|
56
56
|
await ((e = z.value) == null ? void 0 : e.validate((l) => {
|
|
57
57
|
if (l) {
|
|
58
58
|
const d = {
|
|
59
59
|
requestId: n.requestId,
|
|
60
|
-
organId:
|
|
61
|
-
orderNo:
|
|
60
|
+
organId: T,
|
|
61
|
+
orderNo: N,
|
|
62
62
|
infoId: n.infoId,
|
|
63
63
|
fppz: n.fppz
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
Z.reissue(d).then((q) => {
|
|
66
66
|
if (q.status === 200) {
|
|
67
|
-
|
|
67
|
+
oe({
|
|
68
68
|
message: c("common.submitSuccess"),
|
|
69
69
|
type: "success"
|
|
70
70
|
}), F.closeTagView(m.fullPath, b, !1);
|
|
@@ -75,26 +75,26 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
75
75
|
}
|
|
76
76
|
}));
|
|
77
77
|
};
|
|
78
|
-
function
|
|
78
|
+
function j(e) {
|
|
79
79
|
e && C();
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function x() {
|
|
82
82
|
F.closeTagView(m.fullPath, b, !1);
|
|
83
83
|
}
|
|
84
84
|
return (e, l) => {
|
|
85
|
-
const d = s("el-radio"), q = s("el-radio-group"), i = s("el-form-item"), u = s("el-col"),
|
|
86
|
-
return f(), w("div",
|
|
87
|
-
$("div",
|
|
88
|
-
o(
|
|
85
|
+
const d = s("el-radio"), q = s("el-radio-group"), i = s("el-form-item"), u = s("el-col"), G = s("el-option"), H = s("el-select"), h = s("el-button"), k = s("el-input"), J = s("el-row"), K = s("el-form");
|
|
86
|
+
return f(), w("div", ae, [
|
|
87
|
+
$("div", ne, [
|
|
88
|
+
o(K, {
|
|
89
89
|
ref_key: "lqfpFpsInvoiceFormRef",
|
|
90
90
|
ref: z,
|
|
91
91
|
model: r(n),
|
|
92
92
|
"label-width": "120px",
|
|
93
|
-
rules:
|
|
93
|
+
rules: L,
|
|
94
94
|
class: "centered-form"
|
|
95
95
|
}, {
|
|
96
96
|
default: t(() => [
|
|
97
|
-
o(
|
|
97
|
+
o(J, null, {
|
|
98
98
|
default: t(() => [
|
|
99
99
|
o(u, { span: 18 }, {
|
|
100
100
|
default: t(() => [
|
|
@@ -109,14 +109,14 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
109
109
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => r(n).fppz = a)
|
|
110
110
|
}, {
|
|
111
111
|
default: t(() => [
|
|
112
|
-
(f(!0), w(R, null, E(r(
|
|
112
|
+
(f(!0), w(R, null, E(r(U).fppzDict.values, (a) => (f(), y(d, {
|
|
113
113
|
key: a.dictCode,
|
|
114
114
|
value: a.dictCode,
|
|
115
|
-
disabled:
|
|
115
|
+
disabled: M(a),
|
|
116
116
|
size: "large"
|
|
117
117
|
}, {
|
|
118
118
|
default: t(() => [
|
|
119
|
-
v(
|
|
119
|
+
v(V(a.dictName), 1)
|
|
120
120
|
]),
|
|
121
121
|
_: 2
|
|
122
122
|
}, 1032, ["value", "disabled"]))), 128))
|
|
@@ -136,17 +136,17 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
136
136
|
prop: "infoId"
|
|
137
137
|
}, {
|
|
138
138
|
default: t(() => [
|
|
139
|
-
o(
|
|
139
|
+
o(H, {
|
|
140
140
|
modelValue: r(n).infoId,
|
|
141
141
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => r(n).infoId = a),
|
|
142
142
|
placeholder: e.$t("lqfpFps.dwmcRead"),
|
|
143
143
|
data: _.value,
|
|
144
144
|
clearable: "",
|
|
145
145
|
filterable: "",
|
|
146
|
-
onChange:
|
|
146
|
+
onChange: A
|
|
147
147
|
}, {
|
|
148
148
|
default: t(() => [
|
|
149
|
-
(f(!0), w(R, null, E(_.value, (a) => (f(), y(
|
|
149
|
+
(f(!0), w(R, null, E(_.value, (a) => (f(), y(G, {
|
|
150
150
|
key: a.infoId,
|
|
151
151
|
label: a.gmfmc,
|
|
152
152
|
value: a.infoId
|
|
@@ -165,11 +165,11 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
165
165
|
o(h, {
|
|
166
166
|
type: "danger",
|
|
167
167
|
plain: "",
|
|
168
|
-
onClick:
|
|
168
|
+
onClick: B,
|
|
169
169
|
style: { "margin-left": "12px" }
|
|
170
170
|
}, {
|
|
171
171
|
default: t(() => [
|
|
172
|
-
v(
|
|
172
|
+
v(V(e.$t("common.add")), 1)
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
175
|
})
|
|
@@ -180,7 +180,7 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
180
180
|
default: t(() => [
|
|
181
181
|
o(h, {
|
|
182
182
|
type: "danger",
|
|
183
|
-
onClick:
|
|
183
|
+
onClick: P
|
|
184
184
|
}, {
|
|
185
185
|
default: t(() => l[5] || (l[5] = [
|
|
186
186
|
v(" 管理")
|
|
@@ -234,19 +234,19 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
234
234
|
]),
|
|
235
235
|
_: 1
|
|
236
236
|
}),
|
|
237
|
-
$("div",
|
|
238
|
-
o(h, { onClick:
|
|
237
|
+
$("div", se, [
|
|
238
|
+
o(h, { onClick: x }, {
|
|
239
239
|
default: t(() => [
|
|
240
|
-
v(
|
|
240
|
+
v(V(e.$t("common.cancel")), 1)
|
|
241
241
|
]),
|
|
242
242
|
_: 1
|
|
243
243
|
}),
|
|
244
244
|
o(h, {
|
|
245
245
|
type: "primary",
|
|
246
|
-
onClick:
|
|
246
|
+
onClick: S
|
|
247
247
|
}, {
|
|
248
248
|
default: t(() => [
|
|
249
|
-
v(
|
|
249
|
+
v(V(e.$t("common.confirm")), 1)
|
|
250
250
|
]),
|
|
251
251
|
_: 1
|
|
252
252
|
})
|
|
@@ -260,13 +260,13 @@ const te = { class: "app-container" }, ae = { class: "search-container" }, ne =
|
|
|
260
260
|
modelValue: p.value.visible,
|
|
261
261
|
"onUpdate:modelValue": l[4] || (l[4] = (a) => p.value.visible = a),
|
|
262
262
|
title: p.value.title,
|
|
263
|
-
onRefresh:
|
|
263
|
+
onRefresh: j,
|
|
264
264
|
width: "900px"
|
|
265
|
-
}, null, 8, ["modelValue", "title"])) :
|
|
265
|
+
}, null, 8, ["modelValue", "title"])) : Q("", !0)
|
|
266
266
|
]);
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
}),
|
|
269
|
+
}), he = /* @__PURE__ */ te(re, [["__scopeId", "data-v-3a01048a"]]);
|
|
270
270
|
export {
|
|
271
|
-
|
|
271
|
+
he as default
|
|
272
272
|
};
|
|
@@ -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-
|
|
7
|
-
import { l as g } from "./index-
|
|
6
|
+
import J from "./sendDialog-D50t3cjw.mjs";
|
|
7
|
+
import { l as g } from "./index-DspCttgG.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 h, ref as s, watch as _, resolveComponent as g, createBlock as C, openBlock as q, unref as a } from "vue";
|
|
2
2
|
import { useI18n as w } from "vue-i18n";
|
|
3
3
|
import { useTableHooks as D } from "jmash-core";
|
|
4
|
-
import { l as F } from "./index-
|
|
4
|
+
import { l as F } from "./index-DspCttgG.mjs";
|
|
5
5
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const j = /* @__PURE__ */ h({
|
|
7
7
|
__name: "list",
|
|
@@ -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-ec10fc32"]]);
|
|
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";
|