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