xyvcard-order 0.0.1

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