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