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