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