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
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { defineComponent as J, ref as v, reactive as $, resolveComponent as r, createElementBlock as
|
|
1
|
+
import { defineComponent as J, ref as v, reactive as $, resolveComponent as r, createElementBlock as q, openBlock as i, createElementVNode as C, createBlock as y, createCommentVNode as K, createVNode as t, unref as s, withCtx as a, Fragment as R, renderList as z, createTextVNode as g, toDisplayString as h } from "vue";
|
|
2
2
|
import { useI18n as O } from "vue-i18n";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as D } from "jmash-core";
|
|
5
5
|
import { useRouter as Q, useRoute as W } from "vue-router";
|
|
6
|
-
import { D as
|
|
7
|
-
import {
|
|
8
|
-
import { o as
|
|
9
|
-
import { _ as Z } from "./userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs";
|
|
6
|
+
import { D as U } from "./index-BGqp7CRm.mjs";
|
|
7
|
+
import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs";
|
|
8
|
+
import { o as Z } from "./index-DyTbbNUO.mjs";
|
|
10
9
|
import { E as x } from "./el-message-VSzNakoG.mjs";
|
|
11
10
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
12
11
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
|
|
13
12
|
__name: "applyEdit",
|
|
14
13
|
setup(ne) {
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
14
|
+
const I = Q(), _ = W(), { t: u } = O(), b = v(""), m = v([]);
|
|
15
|
+
function F() {
|
|
16
|
+
Y.findMyUserInvoiceList({}).then((e) => {
|
|
18
17
|
m.value = e.data.results;
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
F();
|
|
22
21
|
const k = v();
|
|
23
|
-
|
|
22
|
+
U.fppzDict.useDictValues();
|
|
24
23
|
let n = $({
|
|
25
24
|
requestId: Math.random() * 10 + "",
|
|
26
25
|
orderId: _.query.orderId,
|
|
27
26
|
tenant: _.query.tenant
|
|
28
27
|
});
|
|
29
|
-
const
|
|
28
|
+
const E = $({
|
|
30
29
|
fppz: [{ required: !0, message: u("lqfpFps.fplxRead"), trigger: "blur" }],
|
|
31
30
|
infoId: [{ required: !0, message: u("lqfpFps.dwmcRead"), trigger: "blur" }]
|
|
32
31
|
}), N = (e) => {
|
|
@@ -52,30 +51,30 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
52
51
|
const L = async () => {
|
|
53
52
|
var e;
|
|
54
53
|
await ((e = k.value) == null ? void 0 : e.validate((l) => {
|
|
55
|
-
l &&
|
|
54
|
+
l && Z.lqfpApply(n).then((d) => {
|
|
56
55
|
d.status === 200 && (x({
|
|
57
56
|
message: u("common.submitSuccess"),
|
|
58
57
|
type: "success"
|
|
59
|
-
}), D.closeTagView(_.fullPath,
|
|
58
|
+
}), D.closeTagView(_.fullPath, I, !1));
|
|
60
59
|
});
|
|
61
60
|
}));
|
|
62
61
|
};
|
|
63
62
|
function B(e) {
|
|
64
|
-
e &&
|
|
63
|
+
e && F();
|
|
65
64
|
}
|
|
66
65
|
function M() {
|
|
67
|
-
D.closeTagView(_.fullPath,
|
|
66
|
+
D.closeTagView(_.fullPath, I, !1);
|
|
68
67
|
}
|
|
69
68
|
return (e, l) => {
|
|
70
|
-
const d = r("el-radio"), P = r("el-radio-group"), f = r("el-form-item"), c = r("el-col"), S = r("el-option"), j = r("el-select"), V = r("el-button"),
|
|
71
|
-
return i(),
|
|
69
|
+
const d = r("el-radio"), P = r("el-radio-group"), f = r("el-form-item"), c = r("el-col"), S = r("el-option"), j = r("el-select"), V = r("el-button"), w = r("el-input"), G = r("el-row"), H = r("el-form");
|
|
70
|
+
return i(), q("div", le, [
|
|
72
71
|
C("div", oe, [
|
|
73
72
|
t(H, {
|
|
74
73
|
ref_key: "lqfpFpsFormRef",
|
|
75
74
|
ref: k,
|
|
76
75
|
model: s(n),
|
|
77
76
|
"label-width": "120px",
|
|
78
|
-
rules:
|
|
77
|
+
rules: E,
|
|
79
78
|
class: "centered-form"
|
|
80
79
|
}, {
|
|
81
80
|
default: a(() => [
|
|
@@ -94,7 +93,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
94
93
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => s(n).fppz = o)
|
|
95
94
|
}, {
|
|
96
95
|
default: a(() => [
|
|
97
|
-
(i(!0),
|
|
96
|
+
(i(!0), q(R, null, z(s(U).fppzDict.values, (o) => (i(), y(d, {
|
|
98
97
|
key: o.dictCode,
|
|
99
98
|
value: o.dictCode,
|
|
100
99
|
disabled: N(o),
|
|
@@ -132,7 +131,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
132
131
|
style: { width: "calc(100% - 100px)", "margin-right": "38px" }
|
|
133
132
|
}, {
|
|
134
133
|
default: a(() => [
|
|
135
|
-
(i(!0),
|
|
134
|
+
(i(!0), q(R, null, z(m.value, (o) => (i(), y(S, {
|
|
136
135
|
key: o.infoId,
|
|
137
136
|
label: o.gmfmc,
|
|
138
137
|
value: o.infoId
|
|
@@ -163,7 +162,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
163
162
|
prop: "nsrsbh"
|
|
164
163
|
}, {
|
|
165
164
|
default: a(() => [
|
|
166
|
-
t(
|
|
165
|
+
t(w, {
|
|
167
166
|
modelValue: b.value,
|
|
168
167
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => b.value = o),
|
|
169
168
|
placeholder: e.$t("lqfpFps.nsrsbhRead"),
|
|
@@ -183,7 +182,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
183
182
|
prop: "email"
|
|
184
183
|
}, {
|
|
185
184
|
default: a(() => [
|
|
186
|
-
t(
|
|
185
|
+
t(w, {
|
|
187
186
|
modelValue: s(n).email,
|
|
188
187
|
"onUpdate:modelValue": l[3] || (l[3] = (o) => s(n).email = o),
|
|
189
188
|
placeholder: e.$t("lqfpFps.emailRead"),
|
|
@@ -203,7 +202,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
203
202
|
prop: "remark"
|
|
204
203
|
}, {
|
|
205
204
|
default: a(() => [
|
|
206
|
-
t(
|
|
205
|
+
t(w, {
|
|
207
206
|
modelValue: s(n).note,
|
|
208
207
|
"onUpdate:modelValue": l[4] || (l[4] = (o) => s(n).note = o),
|
|
209
208
|
placeholder: e.$t("lqfpFps.remakrRead"),
|
|
@@ -240,7 +239,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
240
239
|
_: 1
|
|
241
240
|
}, 8, ["model", "rules"])
|
|
242
241
|
]),
|
|
243
|
-
p.value.visible ? (i(), y(
|
|
242
|
+
p.value.visible ? (i(), y(X, {
|
|
244
243
|
key: 0,
|
|
245
244
|
modelValue: p.value.visible,
|
|
246
245
|
"onUpdate:modelValue": l[5] || (l[5] = (o) => p.value.visible = o),
|
|
@@ -251,7 +250,7 @@ const le = { class: "app-container" }, oe = { class: "search-container" }, te =
|
|
|
251
250
|
]);
|
|
252
251
|
};
|
|
253
252
|
}
|
|
254
|
-
}),
|
|
253
|
+
}), be = /* @__PURE__ */ ee(ae, [["__scopeId", "data-v-07a198b3"]]);
|
|
255
254
|
export {
|
|
256
|
-
|
|
255
|
+
be as default
|
|
257
256
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, mergeModels as h, useModel as U, ref as E, reactive as y, resolveComponent as n, createBlock as H, openBlock as B, withCtx as o, createVNode as e, unref as a, createElementVNode as F, createTextVNode as V, toDisplayString as g } from "vue";
|
|
2
2
|
import { useI18n as K } from "vue-i18n";
|
|
3
3
|
import { useRouter as j, useRoute as O } from "vue-router";
|
|
4
|
-
import { ElMessage as
|
|
5
|
-
import { o as z } from "./index-
|
|
6
|
-
import
|
|
4
|
+
import { ElMessage as k } from "element-plus";
|
|
5
|
+
import { o as z } from "./index-B90ZLkZ9.mjs";
|
|
6
|
+
import N from "./assets/3a1c0fd6fbc19dd2.png";
|
|
7
7
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
-
const J = { class: "footer" }, L = /* @__PURE__ */
|
|
8
|
+
const J = { class: "footer" }, L = /* @__PURE__ */ Y({
|
|
9
9
|
__name: "confirm",
|
|
10
10
|
props: /* @__PURE__ */ h({
|
|
11
11
|
confirmKey: {
|
|
@@ -26,7 +26,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
26
26
|
}),
|
|
27
27
|
emits: /* @__PURE__ */ h(["close"], ["update:modelValue"]),
|
|
28
28
|
setup(i, { emit: v }) {
|
|
29
|
-
const _ = i, u =
|
|
29
|
+
const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), r = y({
|
|
30
30
|
requestId: Math.random() * 10 + "",
|
|
31
31
|
opponentAccountNo: "",
|
|
32
32
|
bankSerialNo: ""
|
|
@@ -46,31 +46,31 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}), $ = async () => {
|
|
49
|
-
var
|
|
50
|
-
await ((
|
|
51
|
-
if (
|
|
49
|
+
var l;
|
|
50
|
+
await ((l = w.value) == null ? void 0 : l.validate(async (t) => {
|
|
51
|
+
if (t)
|
|
52
52
|
try {
|
|
53
53
|
(await z.completedTransfer({
|
|
54
|
-
...
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
})).data === "success" && (
|
|
54
|
+
...r,
|
|
55
|
+
shopPayInfoId: _.confirmKey.shopPayInfoId,
|
|
56
|
+
orderCode: _.confirmKey.orderCode
|
|
57
|
+
})).data === "success" && (k.success(c("common.submitSuccess")), f(), P.push({
|
|
58
58
|
path: "/buyer/order-info/applyEdit",
|
|
59
|
-
query: { orderId:
|
|
59
|
+
query: { orderId: D.query.orderId }
|
|
60
60
|
}));
|
|
61
61
|
} catch {
|
|
62
|
-
|
|
62
|
+
k.error("提交失败,请重试");
|
|
63
63
|
}
|
|
64
64
|
}));
|
|
65
65
|
};
|
|
66
66
|
function f() {
|
|
67
67
|
R("close"), u.value = !1;
|
|
68
68
|
}
|
|
69
|
-
return (
|
|
70
|
-
const p = n("el-input"),
|
|
71
|
-
return B(), H(
|
|
69
|
+
return (l, t) => {
|
|
70
|
+
const p = n("el-input"), s = n("el-form-item"), m = n("el-col"), S = n("el-date-picker"), A = n("el-divider"), C = n("el-image"), I = n("el-row"), M = n("el-form"), b = n("el-button"), T = n("el-dialog");
|
|
71
|
+
return B(), H(T, {
|
|
72
72
|
modelValue: u.value,
|
|
73
|
-
"onUpdate:modelValue":
|
|
73
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => u.value = d),
|
|
74
74
|
title: i.title,
|
|
75
75
|
width: i.width,
|
|
76
76
|
onClose: f,
|
|
@@ -80,7 +80,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
80
80
|
F("div", J, [
|
|
81
81
|
e(b, { onClick: f }, {
|
|
82
82
|
default: o(() => [
|
|
83
|
-
|
|
83
|
+
V(g(l.$t("common.cancel")), 1)
|
|
84
84
|
]),
|
|
85
85
|
_: 1
|
|
86
86
|
}),
|
|
@@ -89,35 +89,35 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
89
89
|
onClick: $
|
|
90
90
|
}, {
|
|
91
91
|
default: o(() => [
|
|
92
|
-
|
|
92
|
+
V(g(l.$t("common.confirm")), 1)
|
|
93
93
|
]),
|
|
94
94
|
_: 1
|
|
95
95
|
})
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
98
98
|
default: o(() => [
|
|
99
|
-
e(
|
|
99
|
+
e(M, {
|
|
100
100
|
ref_key: "confirmFormRef",
|
|
101
101
|
ref: w,
|
|
102
|
-
model: r
|
|
102
|
+
model: a(r),
|
|
103
103
|
"label-width": "120px",
|
|
104
|
-
rules:
|
|
104
|
+
rules: a(q),
|
|
105
105
|
style: { "margin-top": "20px" }
|
|
106
106
|
}, {
|
|
107
107
|
default: o(() => [
|
|
108
|
-
e(
|
|
108
|
+
e(I, { gutter: 20 }, {
|
|
109
109
|
default: o(() => [
|
|
110
|
-
e(
|
|
110
|
+
e(m, { span: 20 }, {
|
|
111
111
|
default: o(() => [
|
|
112
|
-
e(
|
|
113
|
-
label:
|
|
112
|
+
e(s, {
|
|
113
|
+
label: l.$t("newsPapepr.opponentAccountNo"),
|
|
114
114
|
prop: "opponentAccountNo"
|
|
115
115
|
}, {
|
|
116
116
|
default: o(() => [
|
|
117
117
|
e(p, {
|
|
118
|
-
modelValue: r
|
|
119
|
-
"onUpdate:modelValue":
|
|
120
|
-
placeholder:
|
|
118
|
+
modelValue: a(r).opponentAccountNo,
|
|
119
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => a(r).opponentAccountNo = d),
|
|
120
|
+
placeholder: l.$t("newsPapepr.opponentAccountNoRequired"),
|
|
121
121
|
"show-word-limit": "",
|
|
122
122
|
clearable: ""
|
|
123
123
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -127,18 +127,18 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
129
|
}),
|
|
130
|
-
e(
|
|
130
|
+
e(m, { span: 20 }, {
|
|
131
131
|
default: o(() => [
|
|
132
|
-
e(
|
|
133
|
-
label:
|
|
132
|
+
e(s, {
|
|
133
|
+
label: l.$t("newsPapepr.tradeDateTime"),
|
|
134
134
|
prop: "tradeDateTime"
|
|
135
135
|
}, {
|
|
136
136
|
default: o(() => [
|
|
137
137
|
e(S, {
|
|
138
|
-
modelValue: r
|
|
139
|
-
"onUpdate:modelValue":
|
|
138
|
+
modelValue: a(r).tradeDateTime,
|
|
139
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => a(r).tradeDateTime = d),
|
|
140
140
|
type: "datetime",
|
|
141
|
-
placeholder:
|
|
141
|
+
placeholder: l.$t("newsPapepr.tradeDateTimeRequired"),
|
|
142
142
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
143
143
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
144
144
|
class: "w-full"
|
|
@@ -149,17 +149,17 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
151
151
|
}),
|
|
152
|
-
e(
|
|
152
|
+
e(m, { span: 20 }, {
|
|
153
153
|
default: o(() => [
|
|
154
|
-
e(
|
|
155
|
-
label:
|
|
154
|
+
e(s, {
|
|
155
|
+
label: l.$t("newsPapepr.bankSerialNo"),
|
|
156
156
|
prop: "bankSerialNo"
|
|
157
157
|
}, {
|
|
158
158
|
default: o(() => [
|
|
159
159
|
e(p, {
|
|
160
|
-
modelValue: r
|
|
161
|
-
"onUpdate:modelValue":
|
|
162
|
-
placeholder:
|
|
160
|
+
modelValue: a(r).bankSerialNo,
|
|
161
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => a(r).bankSerialNo = d),
|
|
162
|
+
placeholder: l.$t("newsPapepr.bankSerialNoRequired"),
|
|
163
163
|
"show-word-limit": "",
|
|
164
164
|
clearable: ""
|
|
165
165
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -169,17 +169,17 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
169
169
|
]),
|
|
170
170
|
_: 1
|
|
171
171
|
}),
|
|
172
|
-
e(
|
|
172
|
+
e(m, { span: 20 }, {
|
|
173
173
|
default: o(() => [
|
|
174
|
-
e(
|
|
175
|
-
label:
|
|
174
|
+
e(s, {
|
|
175
|
+
label: l.$t("newsPapepr.handleRemark"),
|
|
176
176
|
prop: "handleRemark"
|
|
177
177
|
}, {
|
|
178
178
|
default: o(() => [
|
|
179
179
|
e(p, {
|
|
180
|
-
modelValue: r
|
|
181
|
-
"onUpdate:modelValue":
|
|
182
|
-
placeholder:
|
|
180
|
+
modelValue: a(r).handleRemark,
|
|
181
|
+
"onUpdate:modelValue": t[3] || (t[3] = (d) => a(r).handleRemark = d),
|
|
182
|
+
placeholder: l.$t("newsPapepr.handleRemarkRequired"),
|
|
183
183
|
"show-word-limit": "",
|
|
184
184
|
clearable: ""
|
|
185
185
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -190,15 +190,15 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
190
190
|
_: 1
|
|
191
191
|
}),
|
|
192
192
|
e(A),
|
|
193
|
-
e(
|
|
193
|
+
e(m, { span: 24 }, {
|
|
194
194
|
default: o(() => [
|
|
195
|
-
e(
|
|
196
|
-
label:
|
|
195
|
+
e(s, {
|
|
196
|
+
label: l.$t("newsPapepr.image")
|
|
197
197
|
}, {
|
|
198
198
|
default: o(() => [
|
|
199
|
-
e(
|
|
200
|
-
src:
|
|
201
|
-
"preview-src-list": [
|
|
199
|
+
e(C, {
|
|
200
|
+
src: a(N),
|
|
201
|
+
"preview-src-list": [a(N)],
|
|
202
202
|
"preview-teleported": "",
|
|
203
203
|
"hide-on-click-modal": "",
|
|
204
204
|
fit: "contain",
|
|
@@ -221,7 +221,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ U({
|
|
|
221
221
|
}, 8, ["modelValue", "title", "width"]);
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
}),
|
|
224
|
+
}), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-09dc4f32"]]);
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
le as default
|
|
227
227
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { useUserStore as r, clearEmpty as t, request as n } from "jmash-core";
|
|
2
|
+
class s {
|
|
3
|
+
getKey(e) {
|
|
4
|
+
return {};
|
|
5
|
+
}
|
|
6
|
+
// 查询翻页信息用户地址
|
|
7
|
+
findPage(e) {
|
|
8
|
+
e.curPage || (e.curPage = 1);
|
|
9
|
+
const o = r().user.tenant;
|
|
10
|
+
return t(e), n({
|
|
11
|
+
url: "/v1/front/goods/goods_page/" + o,
|
|
12
|
+
method: "get",
|
|
13
|
+
params: e
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 根据商品SPU的ID进行查询
|
|
18
|
+
* @param query 商品SPU的查询键,包含需要查询的SPU ID
|
|
19
|
+
* @returns 返回一个AxiosPromise对象,解析为商品SPU模型
|
|
20
|
+
*/
|
|
21
|
+
findById(e) {
|
|
22
|
+
const o = r().user.tenant;
|
|
23
|
+
return t(e), n({
|
|
24
|
+
url: "/v1/goods/goods_spu/id/" + o + "/" + e.spuId,
|
|
25
|
+
method: "get"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
// 创建报刊订单
|
|
29
|
+
create(e) {
|
|
30
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
31
|
+
url: "/v1/front/order/order_info",
|
|
32
|
+
method: "post",
|
|
33
|
+
data: e
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
// 订单支付结果查询
|
|
37
|
+
queryPayResult(e) {
|
|
38
|
+
const o = r().user.tenant;
|
|
39
|
+
return t(e), n({
|
|
40
|
+
url: "/v1/front/order/pay_query/" + o,
|
|
41
|
+
method: "get",
|
|
42
|
+
params: e
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
// 查询订单管理
|
|
46
|
+
findOrderInfoById(e) {
|
|
47
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
48
|
+
url: "/v1/front/order/order_info/id/" + e.tenant + "/" + e.orderId,
|
|
49
|
+
method: "GET"
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
// 创建实体订单收货地址
|
|
53
|
+
createOrderAddress(e) {
|
|
54
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
55
|
+
url: "/v1/order/order_address",
|
|
56
|
+
method: "post",
|
|
57
|
+
data: e
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
// 查工会名称
|
|
61
|
+
findUnionName(e) {
|
|
62
|
+
const o = r().user.tenant;
|
|
63
|
+
return t(e), n({
|
|
64
|
+
url: "/v1/union/union_org/user/" + o,
|
|
65
|
+
method: "get",
|
|
66
|
+
params: e
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
// 已完成转账接口
|
|
70
|
+
completedTransfer(e) {
|
|
71
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
72
|
+
url: "/v1/order/complete_pay",
|
|
73
|
+
method: "post",
|
|
74
|
+
data: e
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
// 支付接口
|
|
78
|
+
createPay(e) {
|
|
79
|
+
return e.tenant = r().user.tenant, t(e), n({
|
|
80
|
+
url: "/v1/order/order_pay",
|
|
81
|
+
method: "post",
|
|
82
|
+
data: e
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
// 查支付方式
|
|
86
|
+
findPayMode(e) {
|
|
87
|
+
const o = r().user.tenant;
|
|
88
|
+
return t(e), n({
|
|
89
|
+
url: "/v1/shop/pay_info/page/" + o,
|
|
90
|
+
method: "get",
|
|
91
|
+
params: e
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const a = new s();
|
|
96
|
+
export {
|
|
97
|
+
a as o
|
|
98
|
+
};
|
|
@@ -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",
|