xyvcard-order 0.0.7 → 0.0.8
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/{canceled-DkLaSCTM.mjs → canceled-CTHGNWuB.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs → canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs} +2 -3
- package/dist/{change-D_G7h-Nt.mjs → change-3TnGoLNv.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs → change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs} +30 -26
- package/dist/{completed-D1_MyTO_.mjs → completed-BnD0Wh1K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs → completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs} +2 -3
- package/dist/{deliver-DqqGFB3x.mjs → deliver-DZDmtbHY.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs → deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs} +1 -1
- package/dist/{edit-MJXLcLm4.mjs → edit-BgR1glUx.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs → edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs} +1 -1
- package/dist/{index-ZL41UIHr.mjs → index-BTfCAYQ-.mjs} +76 -78
- package/dist/{index-DDG2eFhK.mjs → index-CaKojOfx.mjs} +228 -241
- package/dist/{index-DyFAVz8t.mjs → index-CfEKTjAd.mjs} +1 -1
- package/dist/{index-Dy-lHz4D.mjs → index-S4jzuvn6.mjs} +148 -144
- package/dist/index.mjs +2 -2
- package/dist/{info-CxZXerj5.mjs → info-3uYTUNzE.mjs} +1 -1
- package/dist/{info-Cl9HaMCm.mjs → info-DiPfhbtx.mjs} +85 -84
- package/dist/{info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs → info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs} +1 -1
- package/dist/{review-Bc-YCZ1X.mjs → review-DY1KQI3U.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs → review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs} +74 -72
- package/dist/style.css +1 -1
- package/dist/{unpay-3tbx6NWV.mjs → unpay-Bc8ekFnl.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs → unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs} +197 -210
- package/dist/{unpost-DOQ_sNYN.mjs → unpost-DE4VcTu2.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs → unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs} +39 -40
- package/dist/{unreceive-WZteM54K.mjs → unreceive-CUiJvXq1.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs → unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs} +2 -3
- package/dist/{viewLogist-lN1KX2qM.mjs → viewLogist-Cxu-IV-d.mjs} +1 -1
- package/dist/{viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs → viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs} +19 -21
- package/package.json +1 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { defineComponent as X, getCurrentInstance as Z, ref as u, reactive as L, onMounted as x, computed as ee, resolveComponent as
|
2
|
-
import { useRouter as
|
1
|
+
import { defineComponent as X, getCurrentInstance as Z, ref as u, reactive as L, 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 E, createBlock as D } from "vue";
|
2
|
+
import { useRouter as le, useRoute as oe } from "vue-router";
|
3
3
|
import { fileApi as $, routerUtil as re } from "jmash-core";
|
4
4
|
import { D as s, C as S } from "./index-CHzhYqx8.mjs";
|
5
|
-
import { o as ne } from "./index-
|
6
|
-
import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-
|
7
|
-
import { _ as ie } from "./deliver.vue_vue_type_script_setup_true_lang-
|
8
|
-
import { _ as de } from "./viewLogist.vue_vue_type_script_setup_true_lang-
|
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-DZ6WdO5i.mjs";
|
8
|
+
import { _ as de } from "./viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs";
|
9
9
|
import { useI18n as se } from "vue-i18n";
|
10
|
-
const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClick"],
|
10
|
+
const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0 }, fe = ["onClick"], ce = ["onClick"], ve = ["onClick"], _e = /* @__PURE__ */ X({
|
11
11
|
__name: "info",
|
12
|
-
setup(
|
13
|
-
const { t: N } = se(), O =
|
12
|
+
setup(Ie) {
|
13
|
+
const { t: N } = se(), O = le(), U = oe(), { proxy: Y } = Z(), g = u([!1]), w = u(), y = u(), P = u(!1), M = u(""), B = u("");
|
14
14
|
s.shopBizDict.useValues(), s.phoneModelDict.useValues();
|
15
15
|
const c = u({
|
16
16
|
title: N("orderInfo.update"),
|
@@ -19,12 +19,12 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
19
19
|
title: N("orderInfo.deliver"),
|
20
20
|
visible: !1
|
21
21
|
});
|
22
|
-
let
|
22
|
+
let h = L({}), T = L({});
|
23
23
|
function A(e) {
|
24
|
-
|
24
|
+
h.orderId = e.orderId, c.value.visible = !0;
|
25
25
|
}
|
26
26
|
function j(e) {
|
27
|
-
T.itemId = e.itemId,
|
27
|
+
T.itemId = e.itemId, h.orderId = e.orderId, v.value.visible = !0;
|
28
28
|
}
|
29
29
|
function z(e) {
|
30
30
|
g.value[e] = !g.value[e];
|
@@ -37,14 +37,14 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
37
37
|
}
|
38
38
|
function R() {
|
39
39
|
ne.findById({ orderId: U.query.orderId }).then(({ data: e }) => {
|
40
|
-
|
40
|
+
y.value = [e], w.value = e.shopId;
|
41
41
|
});
|
42
42
|
}
|
43
43
|
x(() => {
|
44
44
|
R();
|
45
45
|
});
|
46
46
|
const K = ee(
|
47
|
-
() => (
|
47
|
+
() => (y.value || []).flatMap(
|
48
48
|
(e) => {
|
49
49
|
var d;
|
50
50
|
return (((d = e == null ? void 0 : e.orderItemList) == null ? void 0 : d.results) || []).map((k) => ({
|
@@ -61,8 +61,8 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
61
61
|
P.value = !1;
|
62
62
|
}
|
63
63
|
return (e, d) => {
|
64
|
-
const k =
|
65
|
-
return m(),
|
64
|
+
const k = f("el-button"), r = f("el-table-column"), V = f("el-table"), q = f("el-image"), G = f("jmash-mobileIns-component"), J = f("el-card"), C = te("hasPerm");
|
65
|
+
return m(), I("div", ue, [
|
66
66
|
o(J, { shadow: "never" }, {
|
67
67
|
header: i(() => [
|
68
68
|
o(k, {
|
@@ -70,63 +70,63 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
70
70
|
onClick: H
|
71
71
|
}, {
|
72
72
|
default: i(() => [
|
73
|
-
b(
|
73
|
+
b(l(e.$t("common.back")), 1)
|
74
74
|
]),
|
75
75
|
_: 1
|
76
76
|
})
|
77
77
|
]),
|
78
78
|
default: i(() => [
|
79
|
-
d[3] || (d[3] =
|
80
|
-
|
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(w.value)), 1),
|
81
81
|
o(V, {
|
82
|
-
data:
|
82
|
+
data: y.value,
|
83
83
|
border: ""
|
84
84
|
}, {
|
85
85
|
default: i(() => [
|
86
86
|
o(r, {
|
87
87
|
label: e.$t("orderInfo.orderItemList")
|
88
88
|
}, {
|
89
|
-
default: i(({ row:
|
90
|
-
|
91
|
-
|
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
92
|
]),
|
93
93
|
_: 1
|
94
94
|
}, 8, ["label"]),
|
95
95
|
o(r, {
|
96
96
|
label: e.$t("orderInfo.salesPrice")
|
97
97
|
}, {
|
98
|
-
default: i(({ row:
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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
103
|
]),
|
104
104
|
_: 1
|
105
105
|
}, 8, ["label"]),
|
106
106
|
o(r, {
|
107
107
|
label: e.$t("orderInfo.status")
|
108
108
|
}, {
|
109
|
-
default: i(({ row:
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
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
115
|
]),
|
116
116
|
_: 1
|
117
117
|
}, 8, ["label"]),
|
118
118
|
o(r, {
|
119
119
|
label: e.$t("orderInfo.userMessage")
|
120
120
|
}, {
|
121
|
-
default: i(({ row:
|
122
|
-
b(t
|
121
|
+
default: i(({ row: t }) => [
|
122
|
+
b(l(t.userMessage), 1)
|
123
123
|
]),
|
124
124
|
_: 1
|
125
125
|
}, 8, ["label"])
|
126
126
|
]),
|
127
127
|
_: 1
|
128
128
|
}, 8, ["data"]),
|
129
|
-
d[4] || (d[4] =
|
129
|
+
d[4] || (d[4] = a("div", { class: "title-content" }, "商品详情", -1)),
|
130
130
|
o(V, {
|
131
131
|
data: K.value,
|
132
132
|
border: "",
|
@@ -135,16 +135,17 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
135
135
|
default: i(() => [
|
136
136
|
o(r, {
|
137
137
|
prop: "spuName",
|
138
|
-
label: e.$t("orderInfo.spuName")
|
138
|
+
label: e.$t("orderInfo.spuName"),
|
139
|
+
width: "375"
|
139
140
|
}, null, 8, ["label"]),
|
140
141
|
o(r, {
|
141
142
|
label: e.$t("orderInfo.picUrl"),
|
142
143
|
width: "120"
|
143
144
|
}, {
|
144
|
-
default: i(({ row:
|
145
|
+
default: i(({ row: t }) => [
|
145
146
|
o(q, {
|
146
|
-
src:
|
147
|
-
"preview-src-list": [
|
147
|
+
src: n($).imageUrl(t.picUrl, 80, 80),
|
148
|
+
"preview-src-list": [n($).imageUrl(t.picUrl)],
|
148
149
|
"preview-teleported": "",
|
149
150
|
"hide-on-click-modal": "",
|
150
151
|
fit: "contain"
|
@@ -171,8 +172,8 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
171
172
|
label: e.$t("orderInfo.salesPriceAndQuantity"),
|
172
173
|
width: "100"
|
173
174
|
}, {
|
174
|
-
default: i(({ row:
|
175
|
-
|
175
|
+
default: i(({ row: t }) => [
|
176
|
+
a("span", null, l(t.salesPrice * t.quantity), 1)
|
176
177
|
]),
|
177
178
|
_: 1
|
178
179
|
}, 8, ["label"]),
|
@@ -195,19 +196,19 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
195
196
|
label: e.$t("orderInfo.customInfo"),
|
196
197
|
width: "150"
|
197
198
|
}, {
|
198
|
-
default: i(({ row:
|
199
|
-
|
200
|
-
|
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, [
|
201
202
|
o(q, {
|
202
|
-
src:
|
203
|
+
src: n($).imageUrl(t.customInfo.split(",")[1], 50, 50),
|
203
204
|
"preview-src-list": [
|
204
|
-
|
205
|
+
n($).imageUrl(t.customInfo.split(",")[1])
|
205
206
|
],
|
206
207
|
"preview-teleported": "",
|
207
208
|
"hide-on-click-modal": "",
|
208
209
|
fit: "contain"
|
209
210
|
}, null, 8, ["src", "preview-src-list"])
|
210
|
-
])
|
211
|
+
])) : p("", !0)
|
211
212
|
]),
|
212
213
|
_: 1
|
213
214
|
}, 8, ["label"]),
|
@@ -216,34 +217,34 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
216
217
|
fixed: "right",
|
217
218
|
width: "200"
|
218
219
|
}, {
|
219
|
-
default: i(({ row:
|
220
|
-
|
220
|
+
default: i(({ row: t }) => [
|
221
|
+
t.orderStatus === n(S).UNPOST ? E((m(), I("span", {
|
221
222
|
key: 0,
|
222
|
-
class: "el-button-color
|
223
|
-
onClick: (
|
223
|
+
class: "el-button-color",
|
224
|
+
onClick: (_) => j(t)
|
224
225
|
}, [
|
225
|
-
b(
|
226
|
-
], 8,
|
226
|
+
b(l(e.$t("orderInfo.deliver")), 1)
|
227
|
+
], 8, fe)), [
|
227
228
|
[C, ["order:order_info:delivery"]]
|
228
|
-
]) :
|
229
|
-
|
229
|
+
]) : p("", !0),
|
230
|
+
t.orderStatus === n(S).UNRECEIVE ? E((m(), I("span", {
|
230
231
|
key: 1,
|
231
|
-
class: "el-button-color
|
232
|
-
onClick: (
|
232
|
+
class: "el-button-color",
|
233
|
+
onClick: (_) => Q(t)
|
233
234
|
}, [
|
234
|
-
b(
|
235
|
-
], 8,
|
235
|
+
b(l(e.$t("orderInfo.viewLogist")), 1)
|
236
|
+
], 8, ce)), [
|
236
237
|
[C, ["order:order_logistics:list"]]
|
237
|
-
]) :
|
238
|
+
]) : p("", !0)
|
238
239
|
]),
|
239
240
|
_: 1
|
240
241
|
}, 8, ["label"])
|
241
242
|
]),
|
242
243
|
_: 1
|
243
244
|
}, 8, ["data"]),
|
244
|
-
d[5] || (d[5] =
|
245
|
+
d[5] || (d[5] = a("div", { class: "title-content" }, "收货及用户信息", -1)),
|
245
246
|
o(V, {
|
246
|
-
data:
|
247
|
+
data: y.value,
|
247
248
|
border: ""
|
248
249
|
}, {
|
249
250
|
default: i(() => [
|
@@ -260,12 +261,12 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
260
261
|
label: e.$t("orderInfo.mobilePhone"),
|
261
262
|
width: "150"
|
262
263
|
}, {
|
263
|
-
default: i(({ row:
|
264
|
+
default: i(({ row: t }) => [
|
264
265
|
o(G, {
|
265
|
-
mobilePhoneIns:
|
266
|
-
mobilePhone:
|
266
|
+
mobilePhoneIns: t.mobilePhoneIns,
|
267
|
+
mobilePhone: t.mobilePhone,
|
267
268
|
mobileEncrypt: g.value[0],
|
268
|
-
onToggleEncrypt: d[0] || (d[0] = (
|
269
|
+
onToggleEncrypt: d[0] || (d[0] = (_) => z(0))
|
269
270
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt"])
|
270
271
|
]),
|
271
272
|
_: 1
|
@@ -274,16 +275,16 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
274
275
|
label: e.$t("common.operate"),
|
275
276
|
width: "200"
|
276
277
|
}, {
|
277
|
-
default: i(({ row:
|
278
|
-
|
278
|
+
default: i(({ row: t }) => [
|
279
|
+
t.orderStatus === n(S).UNPOST ? E((m(), I("span", {
|
279
280
|
key: 0,
|
280
|
-
class: "el-button-color
|
281
|
-
onClick: (
|
281
|
+
class: "el-button-color",
|
282
|
+
onClick: (_) => A(t)
|
282
283
|
}, [
|
283
|
-
b(
|
284
|
-
], 8,
|
284
|
+
b(l(e.$t("orderInfo.update")), 1)
|
285
|
+
], 8, ve)), [
|
285
286
|
[C, ["order:order_info:update"]]
|
286
|
-
]) :
|
287
|
+
]) : p("", !0)
|
287
288
|
]),
|
288
289
|
_: 1
|
289
290
|
}, 8, ["label"])
|
@@ -296,32 +297,32 @@ const ue = { class: "app-container" }, me = { class: "shopName" }, pe = ["onClic
|
|
296
297
|
c.value.visible ? (m(), D(ae, {
|
297
298
|
key: 0,
|
298
299
|
modelValue: c.value.visible,
|
299
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
300
|
+
"onUpdate:modelValue": d[1] || (d[1] = (t) => c.value.visible = t),
|
300
301
|
title: c.value.title,
|
301
|
-
"entity-key":
|
302
|
+
"entity-key": n(h),
|
302
303
|
onRefresh: W,
|
303
304
|
width: "600px"
|
304
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
305
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : p("", !0),
|
305
306
|
v.value.visible ? (m(), D(ie, {
|
306
307
|
key: 1,
|
307
308
|
modelValue: v.value.visible,
|
308
|
-
"onUpdate:modelValue": d[2] || (d[2] = (
|
309
|
+
"onUpdate:modelValue": d[2] || (d[2] = (t) => v.value.visible = t),
|
309
310
|
title: v.value.title,
|
310
|
-
"entity-key":
|
311
|
-
"entity-model":
|
311
|
+
"entity-key": n(h),
|
312
|
+
"entity-model": n(T),
|
312
313
|
onRefresh: W,
|
313
314
|
width: "500px"
|
314
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) :
|
315
|
+
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
315
316
|
P.value ? (m(), D(de, {
|
316
317
|
key: 2,
|
317
318
|
orderId: M.value,
|
318
319
|
orderItemId: B.value,
|
319
320
|
onClose: F
|
320
|
-
}, null, 8, ["orderId", "orderItemId"])) :
|
321
|
+
}, null, 8, ["orderId", "orderItemId"])) : p("", !0)
|
321
322
|
]);
|
322
323
|
};
|
323
324
|
}
|
324
325
|
});
|
325
326
|
export {
|
326
|
-
|
327
|
+
_e as default
|
327
328
|
};
|
@@ -1,7 +1,7 @@
|
|
1
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
2
|
import { D as j } from "./index-CHzhYqx8.mjs";
|
3
3
|
import { o as K } from "./index-DAb5kkOk.mjs";
|
4
|
-
import { o as L } from "./index-
|
4
|
+
import { o as L } from "./index-CfEKTjAd.mjs";
|
5
5
|
const O = { class: "mobileStyle" }, z = /* @__PURE__ */ N({
|
6
6
|
__name: "info",
|
7
7
|
props: {
|