xyvcard-paper-buyer 0.0.47 → 0.0.49
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-CZsU0uYe.mjs → applyEdit-Ch-oVoTx.mjs} +1 -1
- package/dist/{confirm-CLQHmyNq.mjs → confirm-BK-aSN_z.mjs} +28 -29
- package/dist/{edit-DwsTiwF8.mjs → edit-DFyOnrzr.mjs} +23 -23
- package/dist/{index-DyTbbNUO.mjs → index-BKZPqxLM.mjs} +518 -500
- package/dist/{index-Bwcd1jCz.mjs → index-CBj9jO6o.mjs} +36 -37
- package/dist/{index-MoEV6c7S.mjs → index-D043eLPj.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-D1TgjVdG.mjs → info-D61FnBcM.mjs} +3 -3
- package/dist/{onlineBanking-5anhjN7y.mjs → onlineBanking-CdDAY0YQ.mjs} +24 -23
- package/dist/{orderAddress-DMeZ9ynO.mjs → orderAddress-BBFS2Jys.mjs} +2 -2
- package/dist/{orderInfo-sDrLIKdZ.mjs → orderInfo-mkmFfFuC.mjs} +3 -3
- package/dist/{payment-D2PWs1qD.mjs → payment-C1UwHZy4.mjs} +26 -25
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { routerUtil as D } from "jmash-core";
|
|
|
5
5
|
import { useRouter as Q, useRoute as W } from "vue-router";
|
|
6
6
|
import { D as U } from "./index-Knr6dYOL.mjs";
|
|
7
7
|
import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs";
|
|
8
|
-
import { o as Z } from "./index-
|
|
8
|
+
import { o as Z } from "./index-BKZPqxLM.mjs";
|
|
9
9
|
import { E as x } from "./el-message-VSzNakoG.mjs";
|
|
10
10
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Y, mergeModels as h, useModel as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRouter 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
|
+
import { useI18n as K } from "vue-i18n";
|
|
3
|
+
import { useRouter as j, useRoute as O } from "vue-router";
|
|
4
4
|
import { ElMessage as k } from "element-plus";
|
|
5
|
-
import { o as
|
|
5
|
+
import { o as z } from "./index-B90ZLkZ9.mjs";
|
|
6
6
|
import N from "./assets/3a1c0fd6fbc19dd2.png";
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
7
|
+
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const J = { class: "footer" }, L = /* @__PURE__ */ Y({
|
|
9
9
|
__name: "confirm",
|
|
10
10
|
props: /* @__PURE__ */ h({
|
|
11
11
|
confirmKey: {
|
|
@@ -26,11 +26,9 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
26
26
|
}),
|
|
27
27
|
emits: /* @__PURE__ */ h(["close"], ["update:modelValue"]),
|
|
28
28
|
setup(i, { emit: v }) {
|
|
29
|
-
const _ = i, u =
|
|
30
|
-
j();
|
|
31
|
-
const w = U(), r = y({
|
|
29
|
+
const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), r = y({
|
|
32
30
|
requestId: Math.random() * 10 + ""
|
|
33
|
-
}),
|
|
31
|
+
}), q = y({
|
|
34
32
|
opponentAccountNo: [
|
|
35
33
|
{
|
|
36
34
|
required: !0,
|
|
@@ -50,12 +48,13 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
50
48
|
await ((l = w.value) == null ? void 0 : l.validate(async (t) => {
|
|
51
49
|
if (t)
|
|
52
50
|
try {
|
|
53
|
-
(await
|
|
51
|
+
(await z.completedTransfer({
|
|
54
52
|
...r,
|
|
55
53
|
shopPayInfoId: _.confirmKey.shopPayInfoId,
|
|
56
54
|
orderCode: _.confirmKey.orderCode
|
|
57
55
|
})).data === "success" && (k.success(c("common.submitSuccess")), f(), P.push({
|
|
58
|
-
path: "/buyer/order-info"
|
|
56
|
+
path: "/buyer/order-info/applyEdit",
|
|
57
|
+
query: { orderId: D.query.orderId }
|
|
59
58
|
}));
|
|
60
59
|
} catch {
|
|
61
60
|
k.error("提交失败,请重试");
|
|
@@ -66,7 +65,7 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
66
65
|
R("close"), u.value = !1;
|
|
67
66
|
}
|
|
68
67
|
return (l, t) => {
|
|
69
|
-
const p = n("el-input"),
|
|
68
|
+
const p = n("el-input"), s = n("el-form-item"), m = n("el-col"), C = n("el-date-picker"), I = n("el-divider"), M = n("el-image"), S = n("el-row"), T = n("el-form"), b = n("el-button"), A = n("el-dialog");
|
|
70
69
|
return B(), H(A, {
|
|
71
70
|
modelValue: u.value,
|
|
72
71
|
"onUpdate:modelValue": t[4] || (t[4] = (d) => u.value = d),
|
|
@@ -76,7 +75,7 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
76
75
|
"destroy-on-close": ""
|
|
77
76
|
}, {
|
|
78
77
|
footer: o(() => [
|
|
79
|
-
|
|
78
|
+
F("div", J, [
|
|
80
79
|
e(b, { onClick: f }, {
|
|
81
80
|
default: o(() => [
|
|
82
81
|
V(g(l.$t("common.cancel")), 1)
|
|
@@ -100,15 +99,15 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
100
99
|
ref: w,
|
|
101
100
|
model: a(r),
|
|
102
101
|
"label-width": "120px",
|
|
103
|
-
rules: a(
|
|
102
|
+
rules: a(q),
|
|
104
103
|
style: { "margin-top": "20px" }
|
|
105
104
|
}, {
|
|
106
105
|
default: o(() => [
|
|
107
106
|
e(S, { gutter: 20 }, {
|
|
108
107
|
default: o(() => [
|
|
109
|
-
e(
|
|
108
|
+
e(m, { span: 20 }, {
|
|
110
109
|
default: o(() => [
|
|
111
|
-
e(
|
|
110
|
+
e(s, {
|
|
112
111
|
label: l.$t("newsPapepr.opponentAccountNo"),
|
|
113
112
|
prop: "opponentAccountNo"
|
|
114
113
|
}, {
|
|
@@ -126,14 +125,14 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
126
125
|
]),
|
|
127
126
|
_: 1
|
|
128
127
|
}),
|
|
129
|
-
e(
|
|
128
|
+
e(m, { span: 20 }, {
|
|
130
129
|
default: o(() => [
|
|
131
|
-
e(
|
|
130
|
+
e(s, {
|
|
132
131
|
label: l.$t("newsPapepr.tradeDateTime"),
|
|
133
132
|
prop: "tradeDateTime"
|
|
134
133
|
}, {
|
|
135
134
|
default: o(() => [
|
|
136
|
-
e(
|
|
135
|
+
e(C, {
|
|
137
136
|
modelValue: a(r).tradeDateTime,
|
|
138
137
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => a(r).tradeDateTime = d),
|
|
139
138
|
type: "datetime",
|
|
@@ -148,9 +147,9 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
148
147
|
]),
|
|
149
148
|
_: 1
|
|
150
149
|
}),
|
|
151
|
-
e(
|
|
150
|
+
e(m, { span: 20 }, {
|
|
152
151
|
default: o(() => [
|
|
153
|
-
e(
|
|
152
|
+
e(s, {
|
|
154
153
|
label: l.$t("newsPapepr.bankSerialNo"),
|
|
155
154
|
prop: "bankSerialNo"
|
|
156
155
|
}, {
|
|
@@ -168,9 +167,9 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
168
167
|
]),
|
|
169
168
|
_: 1
|
|
170
169
|
}),
|
|
171
|
-
e(
|
|
170
|
+
e(m, { span: 20 }, {
|
|
172
171
|
default: o(() => [
|
|
173
|
-
e(
|
|
172
|
+
e(s, {
|
|
174
173
|
label: l.$t("newsPapepr.handleRemark"),
|
|
175
174
|
prop: "handleRemark"
|
|
176
175
|
}, {
|
|
@@ -188,10 +187,10 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
188
187
|
]),
|
|
189
188
|
_: 1
|
|
190
189
|
}),
|
|
191
|
-
e(
|
|
192
|
-
e(
|
|
190
|
+
e(I),
|
|
191
|
+
e(m, { span: 24 }, {
|
|
193
192
|
default: o(() => [
|
|
194
|
-
e(
|
|
193
|
+
e(s, {
|
|
195
194
|
label: l.$t("newsPapepr.image")
|
|
196
195
|
}, {
|
|
197
196
|
default: o(() => [
|
|
@@ -220,7 +219,7 @@ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
|
|
|
220
219
|
}, 8, ["modelValue", "title", "width"]);
|
|
221
220
|
};
|
|
222
221
|
}
|
|
223
|
-
}),
|
|
222
|
+
}), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-fa1e2eb5"]]);
|
|
224
223
|
export {
|
|
225
|
-
|
|
224
|
+
le as default
|
|
226
225
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, mergeModels as
|
|
1
|
+
import { defineComponent as S, mergeModels as V, ref as f, reactive as A, useModel as T, resolveComponent as m, createBlock as D, openBlock as J, withCtx as a, createVNode as l, unref as d, createElementVNode as L, createTextVNode as R, toDisplayString as q } from "vue";
|
|
2
2
|
import { ElMessage as w } from "element-plus";
|
|
3
3
|
import { JmashRegionTree as z, dictRegionApi as C } from "jmash-region";
|
|
4
4
|
import { useI18n as G } from "vue-i18n";
|
|
@@ -7,7 +7,7 @@ import { validatePhoneOrLandline as H } from "jmash-core";
|
|
|
7
7
|
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
8
|
const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
9
9
|
__name: "edit",
|
|
10
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ V({
|
|
11
11
|
entityKey: {
|
|
12
12
|
type: Object,
|
|
13
13
|
default: () => {
|
|
@@ -17,12 +17,12 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
17
17
|
modelValue: { type: Boolean },
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
|
-
emits: /* @__PURE__ */
|
|
20
|
+
emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
|
|
21
21
|
setup(g, { emit: I }) {
|
|
22
|
-
const { t: i } = G(), v =
|
|
22
|
+
const { t: i } = G(), v = f();
|
|
23
23
|
let t = A({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
|
-
updateMask: "note,userName,mobilePhone,provinceName,detailInfo"
|
|
25
|
+
updateMask: "note,userName,mobilePhone,provinceName,detailInfo,cityName"
|
|
26
26
|
});
|
|
27
27
|
const P = (e, r, o) => {
|
|
28
28
|
r && (H(r) || o(new Error(i("orderUserAddress.mobilePhoneTrueRequired")))), o();
|
|
@@ -61,32 +61,32 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
61
61
|
trigger: "change"
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
|
-
}), u = T(g, "modelValue"), b = g, N = I, M = Object.keys(b.entityKey), _ =
|
|
64
|
+
}), u = T(g, "modelValue"), b = g, N = I, M = Object.keys(b.entityKey), _ = f(M.length >= 1);
|
|
65
65
|
_.value && h.findById(b.entityKey).then(({ data: e }) => {
|
|
66
|
-
Object.assign(t, e);
|
|
66
|
+
Object.assign(t, e), t.provinceName = e.cityName;
|
|
67
67
|
});
|
|
68
68
|
function k() {
|
|
69
69
|
t.provinceName && B(t.provinceName).then((e) => {
|
|
70
70
|
t.cityName = e;
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const p = f(/* @__PURE__ */ new Map());
|
|
74
74
|
async function B(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return "";
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
77
|
+
if (p.value.has(e))
|
|
78
|
+
return p.value.get(e) || e;
|
|
79
79
|
try {
|
|
80
80
|
const r = await C.findByCode({
|
|
81
81
|
regionCode: e
|
|
82
82
|
});
|
|
83
83
|
if (r.data) {
|
|
84
84
|
const o = F(r.data);
|
|
85
|
-
return
|
|
85
|
+
return p.value.set(e, o), o;
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
} catch {
|
|
89
|
-
return
|
|
89
|
+
return p.value.set(e, e), e;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
function F(e) {
|
|
@@ -112,25 +112,25 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
112
112
|
}));
|
|
113
113
|
}));
|
|
114
114
|
};
|
|
115
|
-
function
|
|
115
|
+
function y() {
|
|
116
116
|
u.value && (u.value = !1);
|
|
117
117
|
}
|
|
118
118
|
return (e, r) => {
|
|
119
|
-
const o = m("el-input"), s = m("el-form-item"),
|
|
119
|
+
const o = m("el-input"), s = m("el-form-item"), c = m("el-col"), E = m("el-row"), O = m("el-form"), U = m("el-button"), K = m("el-dialog");
|
|
120
120
|
return J(), D(K, {
|
|
121
121
|
modelValue: u.value,
|
|
122
122
|
"onUpdate:modelValue": r[5] || (r[5] = (n) => u.value = n),
|
|
123
|
-
onClose:
|
|
123
|
+
onClose: y
|
|
124
124
|
}, {
|
|
125
125
|
footer: a(() => [
|
|
126
126
|
L("div", W, [
|
|
127
|
-
l(
|
|
127
|
+
l(U, { onClick: y }, {
|
|
128
128
|
default: a(() => [
|
|
129
129
|
R(q(e.$t("common.cancel")), 1)
|
|
130
130
|
]),
|
|
131
131
|
_: 1
|
|
132
132
|
}),
|
|
133
|
-
l(
|
|
133
|
+
l(U, {
|
|
134
134
|
type: "primary",
|
|
135
135
|
onClick: j
|
|
136
136
|
}, {
|
|
@@ -152,7 +152,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
152
152
|
default: a(() => [
|
|
153
153
|
l(E, { gutter: 20 }, {
|
|
154
154
|
default: a(() => [
|
|
155
|
-
l(
|
|
155
|
+
l(c, { span: 24 }, {
|
|
156
156
|
default: a(() => [
|
|
157
157
|
l(s, {
|
|
158
158
|
label: e.$t("orderUserAddress.note"),
|
|
@@ -172,7 +172,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
172
172
|
]),
|
|
173
173
|
_: 1
|
|
174
174
|
}),
|
|
175
|
-
l(
|
|
175
|
+
l(c, { span: 24 }, {
|
|
176
176
|
default: a(() => [
|
|
177
177
|
l(s, {
|
|
178
178
|
label: e.$t("orderUserAddress.userName"),
|
|
@@ -192,7 +192,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
194
194
|
}),
|
|
195
|
-
l(
|
|
195
|
+
l(c, { span: 24 }, {
|
|
196
196
|
default: a(() => [
|
|
197
197
|
l(s, {
|
|
198
198
|
label: e.$t("orderUserAddress.mobilePhone"),
|
|
@@ -212,7 +212,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
212
212
|
]),
|
|
213
213
|
_: 1
|
|
214
214
|
}),
|
|
215
|
-
l(
|
|
215
|
+
l(c, { span: 24 }, {
|
|
216
216
|
default: a(() => [
|
|
217
217
|
l(s, {
|
|
218
218
|
prop: "provinceName",
|
|
@@ -233,7 +233,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
233
233
|
]),
|
|
234
234
|
_: 1
|
|
235
235
|
}),
|
|
236
|
-
l(
|
|
236
|
+
l(c, { span: 24 }, {
|
|
237
237
|
default: a(() => [
|
|
238
238
|
l(s, { prop: "detailInfo" }, {
|
|
239
239
|
default: a(() => [
|
|
@@ -262,7 +262,7 @@ const W = { class: "dialog-footer" }, X = /* @__PURE__ */ S({
|
|
|
262
262
|
}, 8, ["modelValue"]);
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
}), te = /* @__PURE__ */ Q(X, [["__scopeId", "data-v-
|
|
265
|
+
}), te = /* @__PURE__ */ Q(X, [["__scopeId", "data-v-a53cccfe"]]);
|
|
266
266
|
export {
|
|
267
267
|
te as default
|
|
268
268
|
};
|