xyvcard-order 0.0.12 → 0.0.14
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/{change-3TnGoLNv.mjs → change-DGamLhRi.mjs} +1 -1
- package/dist/change.vue_vue_type_script_setup_true_lang-C8lf4PIw.mjs +170 -0
- package/dist/{deliver-CgSCkEMe.mjs → deliver-c_zzsilY.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-DAoCkmOi.mjs} +35 -35
- package/dist/{edit-BgR1glUx.mjs → edit-mVQUFq0q.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-AHBcvcRn.mjs} +31 -31
- package/dist/{index-BLTeDGPq.mjs → index-BlR9fPfK.mjs} +127 -131
- package/dist/index-CxzT_Hk2.mjs +62 -0
- package/dist/index-D3YsBDBM.mjs +373 -0
- package/dist/index-IiHp9Y40.mjs +1475 -0
- package/dist/index.mjs +263 -258
- package/dist/info-BgzKwnii.mjs +328 -0
- package/dist/{info-3uYTUNzE.mjs → info-BpYW4SHu.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-BioQaXDt.mjs +177 -0
- package/dist/orderList-CNj8AcQQ.mjs +4 -0
- package/dist/orderList.vue_vue_type_script_setup_true_lang-C0EyjiIS.mjs +609 -0
- package/dist/{reply-9iq8g6ah.mjs → reply-BWKE7lzJ.mjs} +1 -1
- package/dist/{reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs → reply.vue_vue_type_script_setup_true_lang-AnsyNIM8.mjs} +15 -13
- package/dist/{review-DY1KQI3U.mjs → review-DH5466Un.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-C5Fb8wnP.mjs} +81 -77
- package/dist/style.css +1 -1
- package/dist/{viewLogist-Cxu-IV-d.mjs → viewLogist-CHiDaaZx.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs +93 -0
- package/dts/src/api/dict.d.ts +0 -6
- package/dts/src/api/order-appraises/types.d.ts +3 -3
- package/dts/src/api/order-info/types.d.ts +8 -1
- package/dts/src/api/order-logistics/types.d.ts +2 -0
- package/dts/src/api/order-refunds/types.d.ts +3 -0
- package/dts/src/lang/order/zh-cn.d.ts +6 -1
- package/dts/src/router/orderRouter.d.ts +0 -1
- package/dts/src/views/order/order-info/change.vue.d.ts +1 -10
- package/dts/src/{components/EnumRadio/index.vue.d.ts → views/order/order-info/orderList.vue.d.ts} +7 -11
- package/dts/src/views/order/order-info/viewLogist.vue.d.ts +1 -1
- package/package.json +6 -9
- package/dist/canceled-CTHGNWuB.mjs +0 -4
- package/dist/canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs +0 -507
- package/dist/change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs +0 -190
- package/dist/completed-BnD0Wh1K.mjs +0 -4
- package/dist/completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs +0 -507
- package/dist/index-CfEKTjAd.mjs +0 -1361
- package/dist/index-DaOMDld4.mjs +0 -668
- package/dist/index-S4jzuvn6.mjs +0 -375
- package/dist/info-DXX50Xfh.mjs +0 -328
- package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +0 -178
- package/dist/unpay-Bc8ekFnl.mjs +0 -4
- package/dist/unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs +0 -557
- package/dist/unpost-Bj10_WvZ.mjs +0 -4
- package/dist/unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs +0 -538
- package/dist/unreceive-CUiJvXq1.mjs +0 -4
- package/dist/unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs +0 -507
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +0 -91
- package/dts/src/views/order/order-info/canceled.vue.d.ts +0 -2
- package/dts/src/views/order/order-info/completed.vue.d.ts +0 -2
- package/dts/src/views/order/order-info/unpay.vue.d.ts +0 -2
- package/dts/src/views/order/order-info/unpost.vue.d.ts +0 -2
- package/dts/src/views/order/order-info/unreceive.vue.d.ts +0 -2
- package/dist/{index-CHzhYqx8.mjs → index-CIvF2jlB.mjs} +1 -1
package/dist/info-DXX50Xfh.mjs
DELETED
@@ -1,328 +0,0 @@
|
|
1
|
-
import { defineComponent as X, getCurrentInstance as Z, ref as u, reactive as R, onMounted as x, computed as ee, resolveComponent as f, resolveDirective as te, openBlock as m, createElementBlock as I, createVNode as o, withCtx as i, createTextVNode as b, toDisplayString as l, createElementVNode as a, unref as n, createCommentVNode as p, withDirectives as S, createBlock as D } from "vue";
|
2
|
-
import { useRouter as le, useRoute as oe } from "vue-router";
|
3
|
-
import { fileApi as $, routerUtil as re } from "jmash-core";
|
4
|
-
import { D as s, C as P } from "./index-CHzhYqx8.mjs";
|
5
|
-
import { o as ne } from "./index-CfEKTjAd.mjs";
|
6
|
-
import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs";
|
7
|
-
import { _ as ie } from "./deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs";
|
8
|
-
import { _ as de } from "./viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs";
|
9
|
-
import { useI18n as se } from "vue-i18n";
|
10
|
-
const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0 }, fe = ["onClick"], ce = ["onClick"], ve = ["onClick"], Ee = /* @__PURE__ */ X({
|
11
|
-
__name: "info",
|
12
|
-
setup(Ie) {
|
13
|
-
const { t: N } = se(), q = le(), U = oe(), { proxy: Y } = Z(), g = u([!1]), M = u(), y = u(), k = u(!1), w = u(""), T = u("");
|
14
|
-
s.shopBizDict.useValues(), s.phoneModelDict.useValues();
|
15
|
-
const c = u({
|
16
|
-
title: N("orderInfo.update"),
|
17
|
-
visible: !1
|
18
|
-
}), v = u({
|
19
|
-
title: N("orderInfo.deliver"),
|
20
|
-
visible: !1
|
21
|
-
});
|
22
|
-
let h = R({}), B = R({});
|
23
|
-
function A(e) {
|
24
|
-
h.orderId = e.orderId, c.value.visible = !0;
|
25
|
-
}
|
26
|
-
function j(e) {
|
27
|
-
B.itemId = e.itemId, h.orderId = e.orderId, v.value.visible = !0;
|
28
|
-
}
|
29
|
-
function z(e) {
|
30
|
-
g.value[e] = !g.value[e];
|
31
|
-
}
|
32
|
-
function H() {
|
33
|
-
re.closeTagView(U.fullPath, q, !1);
|
34
|
-
}
|
35
|
-
function W(e) {
|
36
|
-
e && L();
|
37
|
-
}
|
38
|
-
function L() {
|
39
|
-
ne.findById({ orderId: U.query.orderId }).then(({ data: e }) => {
|
40
|
-
y.value = [e], M.value = e.shopId;
|
41
|
-
});
|
42
|
-
}
|
43
|
-
x(() => {
|
44
|
-
L();
|
45
|
-
});
|
46
|
-
const K = ee(
|
47
|
-
() => (y.value || []).flatMap(
|
48
|
-
(e) => {
|
49
|
-
var d;
|
50
|
-
return (((d = e == null ? void 0 : e.orderItemList) == null ? void 0 : d.results) || []).map((C) => ({
|
51
|
-
orderStatus: e.orderStatus,
|
52
|
-
...C
|
53
|
-
}));
|
54
|
-
}
|
55
|
-
)
|
56
|
-
);
|
57
|
-
function Q(e) {
|
58
|
-
w.value = e.orderId, T.value = e.itemId, k.value = !0;
|
59
|
-
}
|
60
|
-
function F() {
|
61
|
-
k.value = !1;
|
62
|
-
}
|
63
|
-
return (e, d) => {
|
64
|
-
const C = f("el-button"), r = f("el-table-column"), V = f("el-table"), O = f("el-image"), G = f("jmash-mobileIns-component"), J = f("el-card"), E = te("hasPerm");
|
65
|
-
return m(), I("div", ue, [
|
66
|
-
o(J, { shadow: "never" }, {
|
67
|
-
header: i(() => [
|
68
|
-
o(C, {
|
69
|
-
type: "primary",
|
70
|
-
onClick: H
|
71
|
-
}, {
|
72
|
-
default: i(() => [
|
73
|
-
b(l(e.$t("common.back")), 1)
|
74
|
-
]),
|
75
|
-
_: 1
|
76
|
-
})
|
77
|
-
]),
|
78
|
-
default: i(() => [
|
79
|
-
d[3] || (d[3] = a("div", { class: "title-content" }, "基本信息", -1)),
|
80
|
-
a("div", me, l(e.$t("orderInfo.shopName")) + ":" + l(n(s).shopBizDict.getValue(M.value)), 1),
|
81
|
-
o(V, {
|
82
|
-
data: y.value,
|
83
|
-
border: ""
|
84
|
-
}, {
|
85
|
-
default: i(() => [
|
86
|
-
o(r, {
|
87
|
-
label: e.$t("orderInfo.orderItemList")
|
88
|
-
}, {
|
89
|
-
default: i(({ row: t }) => [
|
90
|
-
a("div", null, l(e.$t("orderInfo.orderCode")) + ": " + l(t.orderCode), 1),
|
91
|
-
a("div", null, l(e.$t("orderInfo.createTime")) + ": " + l(n(Y).$moment.formatDate(t.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
|
92
|
-
]),
|
93
|
-
_: 1
|
94
|
-
}, 8, ["label"]),
|
95
|
-
o(r, {
|
96
|
-
label: e.$t("orderInfo.salesPrice")
|
97
|
-
}, {
|
98
|
-
default: i(({ row: t }) => [
|
99
|
-
a("div", null, l(e.$t("orderInfo.salesPrice")) + ": ¥" + l(t.salesPrice), 1),
|
100
|
-
a("div", null, l(e.$t("orderInfo.freightPrice")) + ": +¥" + l(t.freightPrice), 1),
|
101
|
-
a("div", null, l(e.$t("orderInfo.paymentCouponPrice")) + ": -¥" + l(t.paymentCouponPrice), 1),
|
102
|
-
a("div", null, l(e.$t("orderInfo.orderPrice")) + ": ¥" + l(t.orderPrice), 1)
|
103
|
-
]),
|
104
|
-
_: 1
|
105
|
-
}, 8, ["label"]),
|
106
|
-
o(r, {
|
107
|
-
label: e.$t("orderInfo.status")
|
108
|
-
}, {
|
109
|
-
default: i(({ row: t }) => [
|
110
|
-
a("div", null, l(e.$t("orderInfo.orderStatus")) + ": " + l(n(s).orderStatusEnum.getEnumValue(t.orderStatus)), 1),
|
111
|
-
a("div", null, l(e.$t("orderInfo.paymentStatus")) + ": " + l(n(s).paymentStatusEnum.getEnumValue(t.paymentStatus)), 1),
|
112
|
-
a("div", null, l(e.$t("orderInfo.appraisesStatus")) + ": " + l(n(s).appraisesStatus.getValue(t.appraisesStatus)), 1),
|
113
|
-
a("div", null, l(e.$t("orderInfo.deliveryWay")) + ": " + l(n(s).deliveryWayEnum.getEnumValue(t.deliveryWay)), 1),
|
114
|
-
a("div", null, l(e.$t("orderInfo.paymentWay")) + ": " + l(n(s).paymentWayEnum.getEnumValue(t.paymentWay)), 1)
|
115
|
-
]),
|
116
|
-
_: 1
|
117
|
-
}, 8, ["label"]),
|
118
|
-
o(r, {
|
119
|
-
label: e.$t("orderInfo.userMessage")
|
120
|
-
}, {
|
121
|
-
default: i(({ row: t }) => [
|
122
|
-
b(l(t.userMessage), 1)
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
}, 8, ["label"])
|
126
|
-
]),
|
127
|
-
_: 1
|
128
|
-
}, 8, ["data"]),
|
129
|
-
d[4] || (d[4] = a("div", { class: "title-content" }, "商品详情", -1)),
|
130
|
-
o(V, {
|
131
|
-
data: K.value,
|
132
|
-
border: "",
|
133
|
-
style: { width: "100%" }
|
134
|
-
}, {
|
135
|
-
default: i(() => [
|
136
|
-
o(r, {
|
137
|
-
prop: "spuName",
|
138
|
-
label: e.$t("orderInfo.spuName"),
|
139
|
-
width: "375"
|
140
|
-
}, null, 8, ["label"]),
|
141
|
-
o(r, {
|
142
|
-
label: e.$t("orderInfo.picUrl"),
|
143
|
-
width: "120"
|
144
|
-
}, {
|
145
|
-
default: i(({ row: t }) => [
|
146
|
-
o(O, {
|
147
|
-
src: n($).imageUrl(t.picUrl, 80, 80),
|
148
|
-
"preview-src-list": [n($).imageUrl(t.picUrl)],
|
149
|
-
"preview-teleported": "",
|
150
|
-
"hide-on-click-modal": "",
|
151
|
-
fit: "contain"
|
152
|
-
}, null, 8, ["src", "preview-src-list"])
|
153
|
-
]),
|
154
|
-
_: 1
|
155
|
-
}, 8, ["label"]),
|
156
|
-
o(r, {
|
157
|
-
prop: "specInfo",
|
158
|
-
label: e.$t("orderInfo.specInfo"),
|
159
|
-
width: "150"
|
160
|
-
}, null, 8, ["label"]),
|
161
|
-
o(r, {
|
162
|
-
prop: "goodsPrice",
|
163
|
-
label: e.$t("orderInfo.goodsPrice"),
|
164
|
-
width: "100"
|
165
|
-
}, null, 8, ["label"]),
|
166
|
-
o(r, {
|
167
|
-
prop: "quantity",
|
168
|
-
label: e.$t("orderInfo.quantity"),
|
169
|
-
width: "100"
|
170
|
-
}, null, 8, ["label"]),
|
171
|
-
o(r, {
|
172
|
-
label: e.$t("orderInfo.salesPriceAndQuantity"),
|
173
|
-
width: "100"
|
174
|
-
}, {
|
175
|
-
default: i(({ row: t }) => [
|
176
|
-
a("span", null, l(t.salesPrice * t.quantity), 1)
|
177
|
-
]),
|
178
|
-
_: 1
|
179
|
-
}, 8, ["label"]),
|
180
|
-
o(r, {
|
181
|
-
prop: "freightPrice",
|
182
|
-
label: e.$t("orderInfo.freightPrice"),
|
183
|
-
width: "100"
|
184
|
-
}, null, 8, ["label"]),
|
185
|
-
o(r, {
|
186
|
-
prop: "paymentCouponPrice",
|
187
|
-
label: e.$t("orderInfo.paymentCouponPrice"),
|
188
|
-
width: "130"
|
189
|
-
}, null, 8, ["label"]),
|
190
|
-
o(r, {
|
191
|
-
prop: "paymentPrice",
|
192
|
-
label: e.$t("orderInfo.paymentPrice"),
|
193
|
-
width: "100"
|
194
|
-
}, null, 8, ["label"]),
|
195
|
-
o(r, {
|
196
|
-
label: e.$t("orderInfo.customInfo"),
|
197
|
-
width: "150"
|
198
|
-
}, {
|
199
|
-
default: i(({ row: t }) => [
|
200
|
-
a("div", null, l(n(s).phoneModelDict.getValue(t.customInfo.split(",")[0])), 1),
|
201
|
-
t.customInfo ? (m(), I("div", pe, [
|
202
|
-
o(O, {
|
203
|
-
src: n($).imageUrl(t.customInfo.split(",")[1], 50, 50),
|
204
|
-
"preview-src-list": [
|
205
|
-
n($).imageUrl(t.customInfo.split(",")[1])
|
206
|
-
],
|
207
|
-
"preview-teleported": "",
|
208
|
-
"hide-on-click-modal": "",
|
209
|
-
fit: "contain"
|
210
|
-
}, null, 8, ["src", "preview-src-list"])
|
211
|
-
])) : p("", !0)
|
212
|
-
]),
|
213
|
-
_: 1
|
214
|
-
}, 8, ["label"]),
|
215
|
-
o(r, {
|
216
|
-
label: e.$t("common.operate"),
|
217
|
-
fixed: "right",
|
218
|
-
width: "200"
|
219
|
-
}, {
|
220
|
-
default: i(({ row: t }) => [
|
221
|
-
t.orderStatus === n(P).UNPOST ? S((m(), I("span", {
|
222
|
-
key: 0,
|
223
|
-
class: "el-button-color",
|
224
|
-
onClick: (_) => j(t)
|
225
|
-
}, [
|
226
|
-
b(l(e.$t("orderInfo.deliver")), 1)
|
227
|
-
], 8, fe)), [
|
228
|
-
[E, ["order:order_info:delivery"]]
|
229
|
-
]) : p("", !0),
|
230
|
-
t.orderStatus === n(P).UNRECEIVE || t.orderStatus === n(P).COMPLETE ? S((m(), I("span", {
|
231
|
-
key: 1,
|
232
|
-
class: "el-button-color",
|
233
|
-
onClick: (_) => Q(t)
|
234
|
-
}, [
|
235
|
-
b(l(e.$t("orderInfo.viewLogist")), 1)
|
236
|
-
], 8, ce)), [
|
237
|
-
[E, ["order:order_logistics:list"]]
|
238
|
-
]) : p("", !0)
|
239
|
-
]),
|
240
|
-
_: 1
|
241
|
-
}, 8, ["label"])
|
242
|
-
]),
|
243
|
-
_: 1
|
244
|
-
}, 8, ["data"]),
|
245
|
-
d[5] || (d[5] = a("div", { class: "title-content" }, "收货及用户信息", -1)),
|
246
|
-
o(V, {
|
247
|
-
data: y.value,
|
248
|
-
border: ""
|
249
|
-
}, {
|
250
|
-
default: i(() => [
|
251
|
-
o(r, {
|
252
|
-
prop: "userName",
|
253
|
-
label: e.$t("orderInfo.userName"),
|
254
|
-
width: "100"
|
255
|
-
}, null, 8, ["label"]),
|
256
|
-
o(r, {
|
257
|
-
prop: "address",
|
258
|
-
label: e.$t("orderInfo.address")
|
259
|
-
}, null, 8, ["label"]),
|
260
|
-
o(r, {
|
261
|
-
label: e.$t("orderInfo.mobilePhone"),
|
262
|
-
width: "150"
|
263
|
-
}, {
|
264
|
-
default: i(({ row: t }) => [
|
265
|
-
o(G, {
|
266
|
-
mobilePhoneIns: t.mobilePhoneIns,
|
267
|
-
mobilePhone: t.mobilePhone,
|
268
|
-
mobileEncrypt: g.value[0],
|
269
|
-
onToggleEncrypt: d[0] || (d[0] = (_) => z(0))
|
270
|
-
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
271
|
-
]),
|
272
|
-
_: 1
|
273
|
-
}, 8, ["label"]),
|
274
|
-
o(r, {
|
275
|
-
label: e.$t("common.operate"),
|
276
|
-
width: "200"
|
277
|
-
}, {
|
278
|
-
default: i(({ row: t }) => [
|
279
|
-
t.orderStatus === n(P).UNPOST ? S((m(), I("span", {
|
280
|
-
key: 0,
|
281
|
-
class: "el-button-color",
|
282
|
-
onClick: (_) => A(t)
|
283
|
-
}, [
|
284
|
-
b(l(e.$t("orderInfo.update")), 1)
|
285
|
-
], 8, ve)), [
|
286
|
-
[E, ["order:order_info:update"]]
|
287
|
-
]) : p("", !0)
|
288
|
-
]),
|
289
|
-
_: 1
|
290
|
-
}, 8, ["label"])
|
291
|
-
]),
|
292
|
-
_: 1
|
293
|
-
}, 8, ["data"])
|
294
|
-
]),
|
295
|
-
_: 1
|
296
|
-
}),
|
297
|
-
c.value.visible ? (m(), D(ae, {
|
298
|
-
key: 0,
|
299
|
-
modelValue: c.value.visible,
|
300
|
-
"onUpdate:modelValue": d[1] || (d[1] = (t) => c.value.visible = t),
|
301
|
-
title: c.value.title,
|
302
|
-
"entity-key": n(h),
|
303
|
-
onRefresh: W,
|
304
|
-
width: "600px"
|
305
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) : p("", !0),
|
306
|
-
v.value.visible ? (m(), D(ie, {
|
307
|
-
key: 1,
|
308
|
-
modelValue: v.value.visible,
|
309
|
-
"onUpdate:modelValue": d[2] || (d[2] = (t) => v.value.visible = t),
|
310
|
-
title: v.value.title,
|
311
|
-
"entity-key": n(h),
|
312
|
-
"entity-model": n(B),
|
313
|
-
onRefresh: W,
|
314
|
-
width: "500px"
|
315
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
316
|
-
k.value ? (m(), D(de, {
|
317
|
-
key: 2,
|
318
|
-
orderId: w.value,
|
319
|
-
orderItemId: T.value,
|
320
|
-
onClose: F
|
321
|
-
}, null, 8, ["orderId", "orderItemId"])) : p("", !0)
|
322
|
-
]);
|
323
|
-
};
|
324
|
-
}
|
325
|
-
});
|
326
|
-
export {
|
327
|
-
Ee as default
|
328
|
-
};
|
@@ -1,178 +0,0 @@
|
|
1
|
-
import { defineComponent as N, ref as p, onBeforeMount as k, resolveComponent as m, openBlock as y, createBlock as A, withCtx as o, createElementVNode as r, createVNode as t, createElementBlock as b, Fragment as C, renderList as V, toDisplayString as n, createTextVNode as d } from "vue";
|
2
|
-
import { D as j } from "./index-CHzhYqx8.mjs";
|
3
|
-
import { o as K } from "./index-DAb5kkOk.mjs";
|
4
|
-
import { o as L } from "./index-CfEKTjAd.mjs";
|
5
|
-
const O = { class: "mobileStyle" }, z = /* @__PURE__ */ N({
|
6
|
-
__name: "info",
|
7
|
-
props: {
|
8
|
-
entityKey: {
|
9
|
-
type: Object,
|
10
|
-
default: () => {
|
11
|
-
}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
setup(P) {
|
15
|
-
const c = p(), s = p(), _ = p(""), v = p([!1]);
|
16
|
-
j.shopBizDict.useValues();
|
17
|
-
const h = P;
|
18
|
-
function R(l) {
|
19
|
-
v.value[l] = !v.value[l];
|
20
|
-
}
|
21
|
-
k(() => {
|
22
|
-
K.findById({ refundId: h.entityKey.refundId }).then(({ data: l }) => {
|
23
|
-
c.value = l, _.value = l.orderId, g();
|
24
|
-
});
|
25
|
-
});
|
26
|
-
function g() {
|
27
|
-
_.value && L.findById({ orderId: _.value }).then(({ data: l }) => {
|
28
|
-
s.value = l;
|
29
|
-
});
|
30
|
-
}
|
31
|
-
function $() {
|
32
|
-
}
|
33
|
-
return (l, a) => {
|
34
|
-
const u = m("el-descriptions-item"), I = m("el-descriptions"), E = m("jmash-mobileIns-component"), B = m("el-dialog");
|
35
|
-
return y(), A(B, { onClose: $ }, {
|
36
|
-
default: o(() => [
|
37
|
-
a[1] || (a[1] = r("div", { class: "title-content" }, "退款信息", -1)),
|
38
|
-
t(I, { column: 4 }, {
|
39
|
-
default: o(() => {
|
40
|
-
var e, i;
|
41
|
-
return [
|
42
|
-
(y(!0), b(C, null, V((i = (e = s.value) == null ? void 0 : e.orderItemList) == null ? void 0 : i.results, (f, D) => (y(), b("span", { key: D }, [
|
43
|
-
t(u, null, {
|
44
|
-
default: o(() => [
|
45
|
-
r("span", null, n(f.spuName), 1)
|
46
|
-
]),
|
47
|
-
_: 2
|
48
|
-
}, 1024),
|
49
|
-
t(u, null, {
|
50
|
-
default: o(() => [
|
51
|
-
r("span", null, n(f.specInfo), 1)
|
52
|
-
]),
|
53
|
-
_: 2
|
54
|
-
}, 1024),
|
55
|
-
t(u, null, {
|
56
|
-
default: o(() => [
|
57
|
-
r("span", null, n(f.salesPrice), 1)
|
58
|
-
]),
|
59
|
-
_: 2
|
60
|
-
}, 1024),
|
61
|
-
t(u, null, {
|
62
|
-
default: o(() => [
|
63
|
-
r("span", null, "数量:" + n(f.quantity), 1)
|
64
|
-
]),
|
65
|
-
_: 2
|
66
|
-
}, 1024)
|
67
|
-
]))), 128))
|
68
|
-
];
|
69
|
-
}),
|
70
|
-
_: 1
|
71
|
-
}),
|
72
|
-
t(I, { column: 4 }, {
|
73
|
-
default: o(() => [
|
74
|
-
t(u, null, {
|
75
|
-
default: o(() => {
|
76
|
-
var e;
|
77
|
-
return [
|
78
|
-
d(n(l.$t("orderRefunds.orderPrice")) + ": ", 1),
|
79
|
-
r("span", null, n((e = s.value) == null ? void 0 : e.orderPrice), 1)
|
80
|
-
];
|
81
|
-
}),
|
82
|
-
_: 1
|
83
|
-
}),
|
84
|
-
t(u, null, {
|
85
|
-
default: o(() => {
|
86
|
-
var e;
|
87
|
-
return [
|
88
|
-
d(n(l.$t("orderRefunds.paidPrice")) + ": ", 1),
|
89
|
-
r("span", null, n((e = s.value) == null ? void 0 : e.paidPrice), 1)
|
90
|
-
];
|
91
|
-
}),
|
92
|
-
_: 1
|
93
|
-
}),
|
94
|
-
t(u, null, {
|
95
|
-
default: o(() => {
|
96
|
-
var e;
|
97
|
-
return [
|
98
|
-
d(n(l.$t("orderRefunds.freightPrice")) + ": ", 1),
|
99
|
-
r("span", null, n((e = s.value) == null ? void 0 : e.freightPrice), 1)
|
100
|
-
];
|
101
|
-
}),
|
102
|
-
_: 1
|
103
|
-
}),
|
104
|
-
t(u, null, {
|
105
|
-
default: o(() => {
|
106
|
-
var e;
|
107
|
-
return [
|
108
|
-
d(n(l.$t("orderRefunds.refundAmount")) + ": ", 1),
|
109
|
-
r("span", null, n((e = c.value) == null ? void 0 : e.refundAmount), 1)
|
110
|
-
];
|
111
|
-
}),
|
112
|
-
_: 1
|
113
|
-
}),
|
114
|
-
t(u, { span: 4 }, {
|
115
|
-
default: o(() => {
|
116
|
-
var e;
|
117
|
-
return [
|
118
|
-
d(n(l.$t("orderRefunds.refundReson")) + ": ", 1),
|
119
|
-
r("span", null, n((e = c.value) == null ? void 0 : e.refundReson), 1)
|
120
|
-
];
|
121
|
-
}),
|
122
|
-
_: 1
|
123
|
-
})
|
124
|
-
]),
|
125
|
-
_: 1
|
126
|
-
}),
|
127
|
-
a[2] || (a[2] = r("div", { class: "title-content" }, "退货信息", -1)),
|
128
|
-
t(I, { column: 2 }, {
|
129
|
-
default: o(() => [
|
130
|
-
t(u, null, {
|
131
|
-
default: o(() => {
|
132
|
-
var e;
|
133
|
-
return [
|
134
|
-
d(n(l.$t("orderRefunds.userName")) + ": ", 1),
|
135
|
-
r("span", null, n((e = s.value) == null ? void 0 : e.userName), 1)
|
136
|
-
];
|
137
|
-
}),
|
138
|
-
_: 1
|
139
|
-
}),
|
140
|
-
t(u, null, {
|
141
|
-
default: o(() => {
|
142
|
-
var e, i;
|
143
|
-
return [
|
144
|
-
r("div", O, [
|
145
|
-
d(n(l.$t("orderRefunds.mobilePhone")) + ": ", 1),
|
146
|
-
t(E, {
|
147
|
-
mobilePhoneIns: (e = s.value) == null ? void 0 : e.mobilePhoneIns,
|
148
|
-
mobilePhone: (i = s.value) == null ? void 0 : i.mobilePhone,
|
149
|
-
mobileEncrypt: v.value[0],
|
150
|
-
onToggleEncrypt: a[0] || (a[0] = (f) => R(0))
|
151
|
-
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
152
|
-
])
|
153
|
-
];
|
154
|
-
}),
|
155
|
-
_: 1
|
156
|
-
}),
|
157
|
-
t(u, null, {
|
158
|
-
default: o(() => {
|
159
|
-
var e;
|
160
|
-
return [
|
161
|
-
d(n(l.$t("orderRefunds.address")) + ": ", 1),
|
162
|
-
r("span", null, n((e = s.value) == null ? void 0 : e.address), 1)
|
163
|
-
];
|
164
|
-
}),
|
165
|
-
_: 1
|
166
|
-
})
|
167
|
-
]),
|
168
|
-
_: 1
|
169
|
-
})
|
170
|
-
]),
|
171
|
-
_: 1
|
172
|
-
});
|
173
|
-
};
|
174
|
-
}
|
175
|
-
});
|
176
|
-
export {
|
177
|
-
z as _
|
178
|
-
};
|
package/dist/unpay-Bc8ekFnl.mjs
DELETED