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