xyvcard-order 0.0.11 → 0.0.13
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-ZEjolHT6.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs → change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs} +3 -3
- package/dist/{deliver-CgSCkEMe.mjs → deliver-TfrCwaGj.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs} +9 -9
- package/dist/{edit-BgR1glUx.mjs → edit-BdUVrlcn.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs} +16 -17
- package/dist/index-1R3wKfde.mjs +1493 -0
- package/dist/index-B_-apQkW.mjs +62 -0
- package/dist/{index-CDXocrFr.mjs → index-ByufLV6K.mjs} +137 -130
- package/dist/{index-S4jzuvn6.mjs → index-PLezrWfs.mjs} +146 -151
- package/dist/index.mjs +263 -258
- package/dist/{info-3uYTUNzE.mjs → info-DYltAD_A.mjs} +1 -1
- package/dist/{info-DXX50Xfh.mjs → info-DbWhDIS0.mjs} +64 -64
- package/dist/info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs +177 -0
- package/dist/orderList-RTzDSXuR.mjs +4 -0
- package/dist/orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs +612 -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-z7cdFET5.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs} +53 -50
- 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/order-appraises/types.d.ts +2 -0
- package/dts/src/api/order-info/types.d.ts +5 -0
- package/dts/src/api/order-logistics/types.d.ts +3 -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/views/order/order-info/orderList.vue.d.ts +14 -0
- 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/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/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
@@ -1,557 +0,0 @@
|
|
1
|
-
import { defineComponent as ne, getCurrentInstance as de, ref as $, reactive as M, resolveComponent as f, resolveDirective as ue, openBlock as i, createElementBlock as h, createElementVNode as s, createVNode as n, withCtx as a, unref as o, withKeys as _, createTextVNode as u, toDisplayString as r, withDirectives as R, createBlock as y, isRef as Y, createCommentVNode as v, Fragment as se, renderList as ie } from "vue";
|
2
|
-
import { useRouter as me } from "vue-router";
|
3
|
-
import { ElMessageBox as pe, ElMessage as A } from "element-plus";
|
4
|
-
import { useTableHooks as fe } from "jmash-core";
|
5
|
-
import { useI18n as ye } from "vue-i18n";
|
6
|
-
import { o as L } from "./index-CfEKTjAd.mjs";
|
7
|
-
import { _ as ce } from "./change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs";
|
8
|
-
import { D as m, C as g } from "./index-CHzhYqx8.mjs";
|
9
|
-
const ve = { class: "app-container" }, Ie = { class: "search-container" }, we = { class: "item-spuName" }, ge = { class: "item-salesPrice" }, be = { class: "item-specInfo" }, Ce = { class: "item-quantity" }, Se = { class: "orderPrice" }, he = ["onClick"], _e = ["onClick"], Ue = /* @__PURE__ */ ne({
|
10
|
-
__name: "unpay",
|
11
|
-
setup(ke) {
|
12
|
-
const { t: I } = ye(), { proxy: W } = de();
|
13
|
-
m.shopBizDict.useValues();
|
14
|
-
const E = $([]), d = $({
|
15
|
-
curPage: 1,
|
16
|
-
pageSize: 10,
|
17
|
-
orderStatus: g.UNPAY
|
18
|
-
}), q = me(), {
|
19
|
-
tableHooks: p,
|
20
|
-
multipleTableRef: z,
|
21
|
-
queryFormRef: B,
|
22
|
-
listLoading: j,
|
23
|
-
tableData: Q,
|
24
|
-
total: k
|
25
|
-
} = fe(I, L, d);
|
26
|
-
let S = $([
|
27
|
-
{
|
28
|
-
label: "orderInfo.shopName",
|
29
|
-
prop: "shopId",
|
30
|
-
width: "250",
|
31
|
-
slotName: "shopId",
|
32
|
-
columnType: "slot",
|
33
|
-
isColumn: !0
|
34
|
-
},
|
35
|
-
{
|
36
|
-
label: "orderInfo.orderItemList",
|
37
|
-
prop: "orderItemList",
|
38
|
-
width: "300",
|
39
|
-
slotName: "orderItemList",
|
40
|
-
columnType: "slot",
|
41
|
-
isColumn: !0
|
42
|
-
},
|
43
|
-
{
|
44
|
-
label: "orderInfo.orderCodeAndCreateTime",
|
45
|
-
prop: "orderCodeAndCreateTime",
|
46
|
-
width: "200",
|
47
|
-
slotName: "orderCodeAndCreateTime",
|
48
|
-
columnType: "slot",
|
49
|
-
isColumn: !0
|
50
|
-
},
|
51
|
-
{
|
52
|
-
label: "orderInfo.status",
|
53
|
-
prop: "status",
|
54
|
-
width: "180",
|
55
|
-
slotName: "status",
|
56
|
-
columnType: "slot",
|
57
|
-
isColumn: !0
|
58
|
-
},
|
59
|
-
{
|
60
|
-
label: "orderInfo.salesPrice",
|
61
|
-
prop: "salesPrice",
|
62
|
-
width: "200",
|
63
|
-
slotName: "salesPrice",
|
64
|
-
columnType: "slot",
|
65
|
-
isColumn: !0
|
66
|
-
},
|
67
|
-
{
|
68
|
-
label: "orderInfo.paymentWay",
|
69
|
-
prop: "paymentWay",
|
70
|
-
width: "120",
|
71
|
-
slotName: "paymentWay",
|
72
|
-
columnType: "slot",
|
73
|
-
isColumn: !0
|
74
|
-
},
|
75
|
-
{
|
76
|
-
label: "orderInfo.deliveryWay",
|
77
|
-
prop: "deliveryWay",
|
78
|
-
width: "120",
|
79
|
-
slotName: "deliveryWay",
|
80
|
-
columnType: "slot",
|
81
|
-
isColumn: !0
|
82
|
-
},
|
83
|
-
{
|
84
|
-
label: "common.operate",
|
85
|
-
width: "200",
|
86
|
-
slotName: "operation",
|
87
|
-
columnType: "slot",
|
88
|
-
fixed: "right",
|
89
|
-
isColumn: !0
|
90
|
-
}
|
91
|
-
]);
|
92
|
-
const V = $({
|
93
|
-
title: I("orderInfo.changePrice"),
|
94
|
-
visible: !1
|
95
|
-
});
|
96
|
-
let K = M({}), O = M({});
|
97
|
-
function F(l) {
|
98
|
-
d.value.startCreateTime = l[0], d.value.endCreateTime = l[1];
|
99
|
-
}
|
100
|
-
function H() {
|
101
|
-
E.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", p.resetQuery();
|
102
|
-
}
|
103
|
-
function G(l) {
|
104
|
-
q.push({
|
105
|
-
path: "/raworder/order-info/info",
|
106
|
-
query: { orderId: l.orderId }
|
107
|
-
});
|
108
|
-
}
|
109
|
-
const J = async (l) => {
|
110
|
-
pe.confirm(I("orderInfo.confirmCancel"), I("common.cancel"), {
|
111
|
-
confirmButtonText: I("common.confirm"),
|
112
|
-
cancelButtonText: I("common.cancel"),
|
113
|
-
type: "warning"
|
114
|
-
}).then(() => {
|
115
|
-
L.cancel({
|
116
|
-
orderId: l.orderId
|
117
|
-
}).then((t) => {
|
118
|
-
t.status === 200 && (A({
|
119
|
-
message: I("orderInfo.cancelSuccess"),
|
120
|
-
type: "success"
|
121
|
-
}), p.handleQuery());
|
122
|
-
}).catch((t) => {
|
123
|
-
console.error("Error canceling order:", t), A({
|
124
|
-
message: I("orderInfo.cancelFailed"),
|
125
|
-
type: "error"
|
126
|
-
});
|
127
|
-
});
|
128
|
-
}).catch(() => {
|
129
|
-
});
|
130
|
-
};
|
131
|
-
function X(l) {
|
132
|
-
p.selectionRows.value = l;
|
133
|
-
}
|
134
|
-
function Z(l) {
|
135
|
-
l && p.getList();
|
136
|
-
}
|
137
|
-
return p.getList(), (l, t) => {
|
138
|
-
const U = f("jmash-select"), b = f("el-form-item"), w = f("el-col"), P = f("el-input"), T = f("el-row"), x = f("el-date-picker"), N = f("el-button"), ee = f("el-form"), te = f("jmash-column-select"), c = f("el-tag"), ae = f("jmash-table"), oe = f("jmash-pagination"), le = f("el-card"), D = ue("hasPerm");
|
139
|
-
return i(), h("div", ve, [
|
140
|
-
s("div", Ie, [
|
141
|
-
n(ee, {
|
142
|
-
ref_key: "queryFormRef",
|
143
|
-
ref: B,
|
144
|
-
model: d.value,
|
145
|
-
inline: !0
|
146
|
-
}, {
|
147
|
-
default: a(() => [
|
148
|
-
n(T, null, {
|
149
|
-
default: a(() => [
|
150
|
-
n(w, { span: 6 }, {
|
151
|
-
default: a(() => [
|
152
|
-
n(b, {
|
153
|
-
label: l.$t("orderInfo.shopName"),
|
154
|
-
prop: "shopId"
|
155
|
-
}, {
|
156
|
-
default: a(() => [
|
157
|
-
n(U, {
|
158
|
-
modelValue: d.value.shopId,
|
159
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
|
160
|
-
data: o(m).shopBizDict.values,
|
161
|
-
placeholder: l.$t("orderInfo.shopNameRequired"),
|
162
|
-
clearable: "",
|
163
|
-
onKeyup: t[1] || (t[1] = _((e) => o(p).handleQuery(), ["enter"]))
|
164
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
165
|
-
]),
|
166
|
-
_: 1
|
167
|
-
}, 8, ["label"])
|
168
|
-
]),
|
169
|
-
_: 1
|
170
|
-
}),
|
171
|
-
n(w, { span: 6 }, {
|
172
|
-
default: a(() => [
|
173
|
-
n(b, {
|
174
|
-
label: l.$t("orderInfo.orderCode"),
|
175
|
-
prop: "likeOrderCode"
|
176
|
-
}, {
|
177
|
-
default: a(() => [
|
178
|
-
n(P, {
|
179
|
-
modelValue: d.value.likeOrderCode,
|
180
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
|
181
|
-
placeholder: l.$t("orderInfo.orderCodeRequired"),
|
182
|
-
clearable: "",
|
183
|
-
onKeyup: t[3] || (t[3] = _((e) => o(p).handleQuery(), ["enter"])),
|
184
|
-
class: "!w-[203px]"
|
185
|
-
}, null, 8, ["modelValue", "placeholder"])
|
186
|
-
]),
|
187
|
-
_: 1
|
188
|
-
}, 8, ["label"])
|
189
|
-
]),
|
190
|
-
_: 1
|
191
|
-
}),
|
192
|
-
n(w, { span: 6 }, {
|
193
|
-
default: a(() => [
|
194
|
-
n(b, {
|
195
|
-
label: l.$t("orderInfo.spuName"),
|
196
|
-
prop: "likeSpuName"
|
197
|
-
}, {
|
198
|
-
default: a(() => [
|
199
|
-
n(P, {
|
200
|
-
modelValue: d.value.likeSpuName,
|
201
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
|
202
|
-
placeholder: l.$t("orderInfo.spuNameRequired"),
|
203
|
-
clearable: "",
|
204
|
-
onKeyup: t[5] || (t[5] = _((e) => o(p).handleQuery(), ["enter"])),
|
205
|
-
class: "!w-[203px]"
|
206
|
-
}, null, 8, ["modelValue", "placeholder"])
|
207
|
-
]),
|
208
|
-
_: 1
|
209
|
-
}, 8, ["label"])
|
210
|
-
]),
|
211
|
-
_: 1
|
212
|
-
}),
|
213
|
-
n(w, { span: 6 }, {
|
214
|
-
default: a(() => [
|
215
|
-
n(b, {
|
216
|
-
label: l.$t("orderInfo.likeMobile"),
|
217
|
-
prop: "likeMobile"
|
218
|
-
}, {
|
219
|
-
default: a(() => [
|
220
|
-
n(P, {
|
221
|
-
modelValue: d.value.likeMobile,
|
222
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
|
223
|
-
placeholder: l.$t("orderInfo.likeMobileRequired"),
|
224
|
-
clearable: "",
|
225
|
-
onKeyup: t[7] || (t[7] = _((e) => o(p).handleQuery(), ["enter"])),
|
226
|
-
class: "!w-[203px]"
|
227
|
-
}, null, 8, ["modelValue", "placeholder"])
|
228
|
-
]),
|
229
|
-
_: 1
|
230
|
-
}, 8, ["label"])
|
231
|
-
]),
|
232
|
-
_: 1
|
233
|
-
})
|
234
|
-
]),
|
235
|
-
_: 1
|
236
|
-
}),
|
237
|
-
n(T, null, {
|
238
|
-
default: a(() => [
|
239
|
-
n(w, { span: 6 }, {
|
240
|
-
default: a(() => [
|
241
|
-
n(b, {
|
242
|
-
label: l.$t("orderInfo.paymentStatus"),
|
243
|
-
prop: "paymentStatus"
|
244
|
-
}, {
|
245
|
-
default: a(() => [
|
246
|
-
n(U, {
|
247
|
-
modelValue: d.value.paymentStatus,
|
248
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.paymentStatus = e),
|
249
|
-
data: o(m).paymentStatusEnum.values,
|
250
|
-
placeholder: l.$t("orderInfo.paymentStatusRequired"),
|
251
|
-
clearable: "",
|
252
|
-
onKeyup: t[9] || (t[9] = _((e) => o(p).handleQuery(), ["enter"]))
|
253
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
254
|
-
]),
|
255
|
-
_: 1
|
256
|
-
}, 8, ["label"])
|
257
|
-
]),
|
258
|
-
_: 1
|
259
|
-
}),
|
260
|
-
n(w, { span: 6 }, {
|
261
|
-
default: a(() => [
|
262
|
-
n(b, {
|
263
|
-
label: l.$t("orderInfo.orderTime"),
|
264
|
-
prop: "startCreateTime"
|
265
|
-
}, {
|
266
|
-
default: a(() => [
|
267
|
-
n(x, {
|
268
|
-
modelValue: E.value,
|
269
|
-
"onUpdate:modelValue": t[10] || (t[10] = (e) => E.value = e),
|
270
|
-
type: "daterange",
|
271
|
-
"start-placeholder": l.$t("orderInfo.startCreateTime"),
|
272
|
-
"end-placeholder": l.$t("orderInfo.endCreateTime"),
|
273
|
-
format: "YYYY-MM-DD",
|
274
|
-
"value-format": "YYYY-MM-DD",
|
275
|
-
onChange: F
|
276
|
-
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
277
|
-
]),
|
278
|
-
_: 1
|
279
|
-
}, 8, ["label"])
|
280
|
-
]),
|
281
|
-
_: 1
|
282
|
-
}),
|
283
|
-
n(w, { span: 12 }, {
|
284
|
-
default: a(() => [
|
285
|
-
n(b, { class: "search-btn" }, {
|
286
|
-
default: a(() => [
|
287
|
-
n(N, {
|
288
|
-
type: "primary",
|
289
|
-
onClick: t[11] || (t[11] = (e) => o(p).handleQuery())
|
290
|
-
}, {
|
291
|
-
default: a(() => [
|
292
|
-
u(r(l.$t("common.search")), 1)
|
293
|
-
]),
|
294
|
-
_: 1
|
295
|
-
}),
|
296
|
-
n(N, { onClick: H }, {
|
297
|
-
default: a(() => [
|
298
|
-
u(r(l.$t("common.reset")), 1)
|
299
|
-
]),
|
300
|
-
_: 1
|
301
|
-
})
|
302
|
-
]),
|
303
|
-
_: 1
|
304
|
-
})
|
305
|
-
]),
|
306
|
-
_: 1
|
307
|
-
})
|
308
|
-
]),
|
309
|
-
_: 1
|
310
|
-
})
|
311
|
-
]),
|
312
|
-
_: 1
|
313
|
-
}, 8, ["model"]),
|
314
|
-
t[19] || (t[19] = s("div", { class: "clear" }, null, -1))
|
315
|
-
]),
|
316
|
-
n(le, {
|
317
|
-
shadow: "never",
|
318
|
-
class: "table-container"
|
319
|
-
}, {
|
320
|
-
header: a(() => [
|
321
|
-
n(T, null, {
|
322
|
-
default: a(() => [
|
323
|
-
n(w, { span: 17 }),
|
324
|
-
n(w, {
|
325
|
-
span: 7,
|
326
|
-
class: "container-float"
|
327
|
-
}, {
|
328
|
-
default: a(() => [
|
329
|
-
R((i(), y(N, {
|
330
|
-
plain: "",
|
331
|
-
type: "primary",
|
332
|
-
onClick: t[12] || (t[12] = (e) => o(p).handleExport(o(I)("orderInfo.name")))
|
333
|
-
}, {
|
334
|
-
default: a(() => [
|
335
|
-
u(r(l.$t("common.export")), 1)
|
336
|
-
]),
|
337
|
-
_: 1
|
338
|
-
})), [
|
339
|
-
[D, ["order:order_info:export"]]
|
340
|
-
]),
|
341
|
-
n(te, {
|
342
|
-
modelValue: o(S),
|
343
|
-
"onUpdate:modelValue": t[13] || (t[13] = (e) => Y(S) ? S.value = e : S = e),
|
344
|
-
"label-name": "order/order-info"
|
345
|
-
}, null, 8, ["modelValue"])
|
346
|
-
]),
|
347
|
-
_: 1
|
348
|
-
})
|
349
|
-
]),
|
350
|
-
_: 1
|
351
|
-
})
|
352
|
-
]),
|
353
|
-
footer: a(() => [
|
354
|
-
o(k) > 0 ? (i(), y(oe, {
|
355
|
-
key: 0,
|
356
|
-
total: o(k),
|
357
|
-
"onUpdate:total": t[14] || (t[14] = (e) => Y(k) ? k.value = e : null),
|
358
|
-
"current-page": d.value.curPage,
|
359
|
-
"onUpdate:currentPage": t[15] || (t[15] = (e) => d.value.curPage = e),
|
360
|
-
"page-size": d.value.pageSize,
|
361
|
-
"onUpdate:pageSize": t[16] || (t[16] = (e) => d.value.pageSize = e),
|
362
|
-
onPagination: t[17] || (t[17] = (e) => o(p).getList())
|
363
|
-
}, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
|
364
|
-
]),
|
365
|
-
default: a(() => [
|
366
|
-
n(ae, {
|
367
|
-
ref_key: "multipleTableRef",
|
368
|
-
ref: z,
|
369
|
-
"row-key": "orderId",
|
370
|
-
"list-loading": o(j),
|
371
|
-
data: o(Q),
|
372
|
-
"table-label": o(S),
|
373
|
-
onSelectionChange: X
|
374
|
-
}, {
|
375
|
-
shopId: a((e) => [
|
376
|
-
s("span", null, r(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
377
|
-
]),
|
378
|
-
orderItemList: a((e) => [
|
379
|
-
(i(!0), h(se, null, ie(e.data.row.orderItemList.results, (C, re) => (i(), h("div", {
|
380
|
-
key: re,
|
381
|
-
class: "order-item"
|
382
|
-
}, [
|
383
|
-
s("div", we, r(C.spuName), 1),
|
384
|
-
s("div", ge, "¥" + r(C.salesPrice), 1),
|
385
|
-
s("div", be, r(C.specInfo), 1),
|
386
|
-
s("div", Ce, "数量:" + r(C.quantity), 1)
|
387
|
-
]))), 128))
|
388
|
-
]),
|
389
|
-
orderCodeAndCreateTime: a((e) => [
|
390
|
-
s("span", null, [
|
391
|
-
u(r(o(W).$moment.formatDate(
|
392
|
-
e.data.row.createTime,
|
393
|
-
"YYYY-MM-DD HH:mm:ss"
|
394
|
-
)) + " ", 1),
|
395
|
-
t[20] || (t[20] = s("br", null, null, -1)),
|
396
|
-
u(" " + r(e.data.row.orderCode), 1)
|
397
|
-
])
|
398
|
-
]),
|
399
|
-
status: a((e) => [
|
400
|
-
s("div", null, [
|
401
|
-
u(r(l.$t("orderInfo.orderStatus")) + ": ", 1),
|
402
|
-
e.data.row.orderStatus === o(g).UNPAY ? (i(), y(c, {
|
403
|
-
key: 0,
|
404
|
-
type: "danger"
|
405
|
-
}, {
|
406
|
-
default: a(() => [
|
407
|
-
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
408
|
-
]),
|
409
|
-
_: 2
|
410
|
-
}, 1024)) : v("", !0),
|
411
|
-
e.data.row.orderStatus === o(g).UNPOST ? (i(), y(c, {
|
412
|
-
key: 1,
|
413
|
-
type: "warning"
|
414
|
-
}, {
|
415
|
-
default: a(() => [
|
416
|
-
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
417
|
-
]),
|
418
|
-
_: 2
|
419
|
-
}, 1024)) : v("", !0),
|
420
|
-
e.data.row.orderStatus === o(g).UNRECEIVE ? (i(), y(c, {
|
421
|
-
key: 2,
|
422
|
-
type: "primary"
|
423
|
-
}, {
|
424
|
-
default: a(() => [
|
425
|
-
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
426
|
-
]),
|
427
|
-
_: 2
|
428
|
-
}, 1024)) : v("", !0),
|
429
|
-
e.data.row.orderStatus === o(g).COMPLETE ? (i(), y(c, {
|
430
|
-
key: 3,
|
431
|
-
type: "success"
|
432
|
-
}, {
|
433
|
-
default: a(() => [
|
434
|
-
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
435
|
-
]),
|
436
|
-
_: 2
|
437
|
-
}, 1024)) : v("", !0),
|
438
|
-
e.data.row.orderStatus === o(g).CANCEL ? (i(), y(c, {
|
439
|
-
key: 4,
|
440
|
-
type: "info"
|
441
|
-
}, {
|
442
|
-
default: a(() => [
|
443
|
-
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
444
|
-
]),
|
445
|
-
_: 2
|
446
|
-
}, 1024)) : v("", !0)
|
447
|
-
]),
|
448
|
-
s("span", null, [
|
449
|
-
u(r(l.$t("orderInfo.paymentStatus")) + ": ", 1),
|
450
|
-
e.data.row.paymentStatus === o(g).UNPAID ? (i(), y(c, {
|
451
|
-
key: 0,
|
452
|
-
type: "danger"
|
453
|
-
}, {
|
454
|
-
default: a(() => [
|
455
|
-
u(r(o(m).paymentStatusEnum.getEnumValue(
|
456
|
-
e.data.row.paymentStatus
|
457
|
-
)), 1)
|
458
|
-
]),
|
459
|
-
_: 2
|
460
|
-
}, 1024)) : e.data.row.paymentStatus === o(g).PART_PAID ? (i(), y(c, {
|
461
|
-
key: 1,
|
462
|
-
type: "info"
|
463
|
-
}, {
|
464
|
-
default: a(() => [
|
465
|
-
u(r(o(m).paymentStatusEnum.getEnumValue(
|
466
|
-
e.data.row.paymentStatus
|
467
|
-
)), 1)
|
468
|
-
]),
|
469
|
-
_: 2
|
470
|
-
}, 1024)) : e.data.row.paymentStatus === o(g).PAID ? (i(), y(c, {
|
471
|
-
key: 2,
|
472
|
-
type: "success"
|
473
|
-
}, {
|
474
|
-
default: a(() => [
|
475
|
-
u(r(o(m).paymentStatusEnum.getEnumValue(
|
476
|
-
e.data.row.paymentStatus
|
477
|
-
)), 1)
|
478
|
-
]),
|
479
|
-
_: 2
|
480
|
-
}, 1024)) : v("", !0)
|
481
|
-
]),
|
482
|
-
s("div", null, [
|
483
|
-
u(r(l.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
484
|
-
e.data.row.appraisesStatus === !1 ? (i(), y(c, {
|
485
|
-
key: 0,
|
486
|
-
type: "info"
|
487
|
-
}, {
|
488
|
-
default: a(() => [
|
489
|
-
u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
490
|
-
]),
|
491
|
-
_: 2
|
492
|
-
}, 1024)) : v("", !0),
|
493
|
-
e.data.row.appraisesStatus === !0 ? (i(), y(c, {
|
494
|
-
key: 1,
|
495
|
-
type: "success"
|
496
|
-
}, {
|
497
|
-
default: a(() => [
|
498
|
-
u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
499
|
-
]),
|
500
|
-
_: 2
|
501
|
-
}, 1024)) : v("", !0)
|
502
|
-
])
|
503
|
-
]),
|
504
|
-
salesPrice: a((e) => [
|
505
|
-
s("div", null, [
|
506
|
-
s("div", null, r(l.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
|
507
|
-
s("div", null, r(l.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
|
508
|
-
s("div", null, r(l.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
|
509
|
-
s("div", Se, r(l.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
|
510
|
-
])
|
511
|
-
]),
|
512
|
-
paymentWay: a((e) => [
|
513
|
-
s("span", null, r(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
514
|
-
]),
|
515
|
-
deliveryWay: a((e) => [
|
516
|
-
s("span", null, r(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
517
|
-
]),
|
518
|
-
operation: a((e) => [
|
519
|
-
R((i(), h("span", {
|
520
|
-
class: "el-button-color",
|
521
|
-
onClick: (C) => G(e.data.row)
|
522
|
-
}, [
|
523
|
-
u(r(l.$t("common.view")), 1)
|
524
|
-
], 8, he)), [
|
525
|
-
[D, ["order:order_info:view"]]
|
526
|
-
]),
|
527
|
-
R((i(), h("span", {
|
528
|
-
class: "el-button-color dropdown-left",
|
529
|
-
onClick: (C) => J(e.data.row)
|
530
|
-
}, [
|
531
|
-
u(r(l.$t("orderInfo.cancel")), 1)
|
532
|
-
], 8, _e)), [
|
533
|
-
[D, ["order:order_info:cancel"]]
|
534
|
-
])
|
535
|
-
]),
|
536
|
-
_: 1
|
537
|
-
}, 8, ["list-loading", "data", "table-label"])
|
538
|
-
]),
|
539
|
-
_: 1
|
540
|
-
}),
|
541
|
-
V.value.visible ? (i(), y(ce, {
|
542
|
-
key: 0,
|
543
|
-
modelValue: V.value.visible,
|
544
|
-
"onUpdate:modelValue": t[18] || (t[18] = (e) => V.value.visible = e),
|
545
|
-
title: V.value.title,
|
546
|
-
"entity-key": o(K),
|
547
|
-
"entity-model": o(O),
|
548
|
-
onRefresh: Z,
|
549
|
-
width: "500px"
|
550
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : v("", !0)
|
551
|
-
]);
|
552
|
-
};
|
553
|
-
}
|
554
|
-
});
|
555
|
-
export {
|
556
|
-
Ue as _
|
557
|
-
};
|
package/dist/unpost-Bj10_WvZ.mjs
DELETED