xyvcard-order 0.0.1 → 0.0.4

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 (89) hide show
  1. package/dist/{canceled-CUME6Usz.mjs → canceled-CAEulpM1.mjs} +1 -1
  2. package/dist/{canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs → canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs} +63 -64
  3. package/dist/{change-CK1I7hL9.mjs → change-CH-CF_q-.mjs} +1 -1
  4. package/dist/{change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs → change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs} +1 -1
  5. package/dist/{completed-Cf86bOvD.mjs → completed-B70yQ6oI.mjs} +1 -1
  6. package/dist/{completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs → completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs} +72 -73
  7. package/dist/{deliver-BQIcivCV.mjs → deliver-Bp2Ckw4g.mjs} +1 -1
  8. package/dist/deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs +185 -0
  9. package/dist/{edit-CXp819Cl.mjs → edit-DyFqRxsE.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs → edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs} +1 -1
  11. package/dist/{index-DMD0_mKi.mjs → index-BwyO6Vdb.mjs} +82 -83
  12. package/dist/index-CL3mlOnd.mjs +407 -0
  13. package/dist/{index-xagR65a1.mjs → index-Dvf0V5EP.mjs} +11 -3
  14. package/dist/{index-CUO59YzZ.mjs → index-DyFAVz8t.mjs} +525 -439
  15. package/dist/index-suIgymdy.mjs +93 -0
  16. package/dist/index.mjs +594 -592
  17. package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +41 -0
  18. package/dist/{info-6G1vmk51.mjs → info-Ba-BgJkw.mjs} +76 -77
  19. package/dist/info-DtOaZ-hg.mjs +4 -0
  20. package/dist/info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs +188 -0
  21. package/dist/review-DjGDxyqZ.mjs +4 -0
  22. package/dist/review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs +309 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{unpay-CqebDQ24.mjs → unpay-nfOgE6CJ.mjs} +1 -1
  25. package/dist/{unpay.vue_vue_type_script_setup_true_lang-Cq-l3JEe.mjs → unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs} +1335 -1349
  26. package/dist/{unpost-vRTZyaW0.mjs → unpost-BocJwYcE.mjs} +1 -1
  27. package/dist/{unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs → unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs} +147 -148
  28. package/dist/{unreceive-DUyGNC5h.mjs → unreceive-BLcvdJxY.mjs} +1 -1
  29. package/dist/{unreceive.vue_vue_type_script_setup_true_lang-DK1USH8c.mjs → unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs} +72 -73
  30. package/dist/{viewLogist-DdG4dbmo.mjs → viewLogist-D9-zqepw.mjs} +1 -1
  31. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +127 -0
  32. package/dts/src/api/index.d.ts +3 -1
  33. package/dts/src/api/{order/order-info → order-info}/index.d.ts +1 -1
  34. package/dts/src/api/{order/order-info → order-info}/types.d.ts +8 -8
  35. package/dts/src/api/{order/order-refunds → order-refunds}/index.d.ts +5 -4
  36. package/dts/src/api/{order/order-refunds → order-refunds}/types.d.ts +26 -5
  37. package/dts/src/constant.d.ts +14 -1
  38. package/dts/src/lang/order/zh-cn.d.ts +14 -2
  39. package/dts/src/views/order/order-info/change.vue.d.ts +1 -1
  40. package/dts/src/views/order/order-info/deliver.vue.d.ts +1 -1
  41. package/dts/src/views/order/order-info/edit.vue.d.ts +1 -1
  42. package/dts/src/views/order/order-refunds/info.vue.d.ts +14 -1
  43. package/dts/src/views/order/order-refunds/{edit.vue.d.ts → review.vue.d.ts} +1 -1
  44. package/package.json +7 -5
  45. package/dist/constant-CWTD7ap0.mjs +0 -24
  46. package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +0 -221
  47. package/dist/edit-BtY-5_aq.mjs +0 -4
  48. package/dist/edit-CagPAsCc.mjs +0 -4
  49. package/dist/edit-DSlSQclm.mjs +0 -4
  50. package/dist/edit-DZTWE770.mjs +0 -4
  51. package/dist/edit-kb9Vbd0O.mjs +0 -553
  52. package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +0 -382
  53. package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +0 -488
  54. package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +0 -516
  55. package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +0 -684
  56. package/dist/index-67kgHrd-.mjs +0 -370
  57. package/dist/index-BYkU3LYC.mjs +0 -343
  58. package/dist/index-D-PNIrrr.mjs +0 -55
  59. package/dist/index-Dbp38ozL.mjs +0 -350
  60. package/dist/index-L15OdEOS.mjs +0 -370
  61. package/dist/index-Nw_g6g3T.mjs +0 -80
  62. package/dist/index-ZpOHqjUk.mjs +0 -344
  63. package/dist/index-w8CmEAxD.mjs +0 -90
  64. package/dist/index-zsqXCqfG.mjs +0 -385
  65. package/dist/info-BWqDP7Q1.mjs +0 -106
  66. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +0 -77
  67. package/dts/src/api/order/order-bill/index.d.ts +0 -20
  68. package/dts/src/api/order/order-bill/types.d.ts +0 -75
  69. package/dts/src/api/order/order-item/index.d.ts +0 -20
  70. package/dts/src/api/order/order-item/types.d.ts +0 -95
  71. package/dts/src/api/order/order-pay-record/index.d.ts +0 -20
  72. package/dts/src/api/order/order-pay-record/types.d.ts +0 -77
  73. package/dts/src/api/order/order-refund-record/index.d.ts +0 -20
  74. package/dts/src/api/order/order-refund-record/types.d.ts +0 -80
  75. package/dts/src/api/shop/shop-info/index.d.ts +0 -8
  76. package/dts/src/api/shop/shop-info/types.d.ts +0 -16
  77. package/dts/src/utils/commons.d.ts +0 -10
  78. package/dts/src/views/order/order-bill/edit.vue.d.ts +0 -22
  79. package/dts/src/views/order/order-bill/index.vue.d.ts +0 -2
  80. package/dts/src/views/order/order-item/edit.vue.d.ts +0 -22
  81. package/dts/src/views/order/order-item/index.vue.d.ts +0 -2
  82. package/dts/src/views/order/order-logistics/edit.vue.d.ts +0 -22
  83. package/dts/src/views/order/order-logistics/index.vue.d.ts +0 -2
  84. package/dts/src/views/order/order-pay-record/edit.vue.d.ts +0 -22
  85. package/dts/src/views/order/order-pay-record/index.vue.d.ts +0 -2
  86. package/dts/src/views/order/order-refund-record/edit.vue.d.ts +0 -22
  87. package/dts/src/views/order/order-refund-record/index.vue.d.ts +0 -2
  88. /package/dts/src/api/{order/order-logistics → order-logistics}/index.d.ts +0 -0
  89. /package/dts/src/api/{order/order-logistics → order-logistics}/types.d.ts +0 -0
@@ -1,385 +0,0 @@
1
- import { defineComponent as W, ref as w, reactive as R, resolveComponent as i, resolveDirective as X, openBlock as m, createElementBlock as g, createElementVNode as U, createVNode as a, withCtx as l, withKeys as Y, unref as r, createTextVNode as s, toDisplayString as d, withDirectives as I, createBlock as c, isRef as S, createCommentVNode as $ } from "vue";
2
- import { useTableHooks as Z } from "jmash-core";
3
- import { useI18n as ee } from "vue-i18n";
4
- import { o as te, _ as oe } from "./edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs";
5
- const le = { class: "app-container" }, re = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], pe = /* @__PURE__ */ W({
6
- __name: "index",
7
- setup(ie) {
8
- const { t: b } = ee(), u = w({}), {
9
- tableHooks: n,
10
- multipleTableRef: j,
11
- queryFormRef: D,
12
- listLoading: E,
13
- tableData: N,
14
- total: C
15
- } = Z(b, te, u);
16
- let y = w([
17
- {
18
- label: "orderItem.itemId",
19
- prop: "itemId",
20
- width: "150",
21
- sortable: "custom",
22
- isColumn: !0
23
- },
24
- {
25
- label: "orderItem.orderId",
26
- prop: "orderId",
27
- width: "150",
28
- sortable: "custom",
29
- isColumn: !0
30
- },
31
- {
32
- label: "orderItem.spuId",
33
- prop: "spuId",
34
- width: "150",
35
- sortable: "custom",
36
- isColumn: !0
37
- },
38
- {
39
- label: "orderItem.skuId",
40
- prop: "skuId",
41
- width: "150",
42
- sortable: "custom",
43
- isColumn: !0
44
- },
45
- {
46
- label: "orderItem.spuName",
47
- prop: "spuName",
48
- width: "150",
49
- sortable: "custom",
50
- isColumn: !0
51
- },
52
- {
53
- label: "orderItem.picUrl",
54
- prop: "picUrl",
55
- width: "150",
56
- sortable: "custom",
57
- isColumn: !0
58
- },
59
- {
60
- label: "orderItem.specInfo",
61
- prop: "specInfo",
62
- width: "150",
63
- sortable: "custom",
64
- isColumn: !0
65
- },
66
- {
67
- label: "orderItem.customInfo",
68
- prop: "customInfo",
69
- width: "150",
70
- sortable: "custom",
71
- isColumn: !0
72
- },
73
- {
74
- label: "orderItem.quantity",
75
- prop: "quantity",
76
- width: "150",
77
- sortable: "custom",
78
- isColumn: !0
79
- },
80
- {
81
- label: "orderItem.salesPrice",
82
- prop: "salesPrice",
83
- width: "150",
84
- sortable: "custom",
85
- isColumn: !0
86
- },
87
- {
88
- label: "orderItem.freightPrice",
89
- prop: "freightPrice",
90
- width: "150",
91
- sortable: "custom",
92
- isColumn: !0
93
- },
94
- {
95
- label: "orderItem.paymentCouponPrice",
96
- prop: "paymentCouponPrice",
97
- width: "150",
98
- sortable: "custom",
99
- isColumn: !0
100
- },
101
- {
102
- label: "orderItem.paymentPrice",
103
- prop: "paymentPrice",
104
- width: "150",
105
- sortable: "custom",
106
- isColumn: !0
107
- },
108
- {
109
- label: "orderItem.remark",
110
- prop: "remark",
111
- width: "150",
112
- sortable: "custom",
113
- isColumn: !0
114
- },
115
- {
116
- label: "orderItem.status",
117
- prop: "status",
118
- width: "150",
119
- sortable: "custom",
120
- isColumn: !0
121
- },
122
- {
123
- label: "orderItem.isRefund",
124
- prop: "isRefund",
125
- width: "150",
126
- sortable: "custom",
127
- isColumn: !0
128
- },
129
- {
130
- label: "common.operate",
131
- width: "200",
132
- slotName: "operation",
133
- columnType: "slot",
134
- fixed: "right",
135
- isColumn: !0
136
- }
137
- ]);
138
- const p = w({
139
- title: b("common.edit"),
140
- visible: !1
141
- }), _ = w(!1);
142
- let k = R({});
143
- function T() {
144
- k = R({}), p.value.title = b("common.add"), p.value.visible = !0;
145
- }
146
- function q(t) {
147
- k.itemId = t.itemId, p.value.title = b("common.edit"), p.value.visible = !0;
148
- }
149
- function z(t) {
150
- n.selectionRows.value = t;
151
- }
152
- function L(t) {
153
- n.handleSort(t.prop, t.order);
154
- }
155
- function B(t) {
156
- t && n.getList();
157
- }
158
- function K() {
159
- _.value = !1;
160
- }
161
- function Q(t) {
162
- t.updateMask = "", n.importExcel(t).then((e) => {
163
- _.value = !1;
164
- });
165
- }
166
- return n.getList(), (t, e) => {
167
- const x = i("el-input"), P = i("el-form-item"), h = i("el-col"), V = i("el-row"), f = i("el-button"), A = i("el-form"), F = i("jmash-column-select"), H = i("jmash-table"), M = i("jmash-pagination"), G = i("el-card"), J = i("jmash-import-upload"), v = X("hasPerm");
168
- return m(), g("div", le, [
169
- U("div", re, [
170
- a(A, {
171
- ref_key: "queryFormRef",
172
- ref: D,
173
- model: u.value,
174
- inline: !0
175
- }, {
176
- default: l(() => [
177
- a(V, null, {
178
- default: l(() => [
179
- a(h, { span: 6 }, {
180
- default: l(() => [
181
- a(P, {
182
- label: t.$t("orderItem.itemId"),
183
- prop: "itemId"
184
- }, {
185
- default: l(() => [
186
- a(x, {
187
- modelValue: u.value.itemId,
188
- "onUpdate:modelValue": e[0] || (e[0] = (o) => u.value.itemId = o),
189
- placeholder: t.$t("orderItem.itemId"),
190
- onKeyup: e[1] || (e[1] = Y((o) => r(n).handleQuery(), ["enter"])),
191
- class: "!w-[203px]"
192
- }, null, 8, ["modelValue", "placeholder"])
193
- ]),
194
- _: 1
195
- }, 8, ["label"])
196
- ]),
197
- _: 1
198
- })
199
- ]),
200
- _: 1
201
- }),
202
- a(P, { class: "search-btn" }, {
203
- default: l(() => [
204
- a(f, {
205
- type: "primary",
206
- onClick: e[2] || (e[2] = (o) => r(n).handleQuery())
207
- }, {
208
- default: l(() => [
209
- s(d(t.$t("common.search")), 1)
210
- ]),
211
- _: 1
212
- }),
213
- a(f, {
214
- onClick: e[3] || (e[3] = (o) => r(n).resetQuery())
215
- }, {
216
- default: l(() => [
217
- s(d(t.$t("common.reset")), 1)
218
- ]),
219
- _: 1
220
- })
221
- ]),
222
- _: 1
223
- })
224
- ]),
225
- _: 1
226
- }, 8, ["model"]),
227
- e[15] || (e[15] = U("div", { class: "clear" }, null, -1))
228
- ]),
229
- a(G, {
230
- shadow: "never",
231
- class: "table-container"
232
- }, {
233
- header: l(() => [
234
- a(V, null, {
235
- default: l(() => [
236
- a(h, { span: 17 }, {
237
- default: l(() => [
238
- I((m(), c(f, {
239
- type: "primary",
240
- onClick: T
241
- }, {
242
- default: l(() => [
243
- s(d(t.$t("common.add")), 1)
244
- ]),
245
- _: 1
246
- })), [
247
- [v, ["order:order_item:add"]]
248
- ]),
249
- I((m(), c(f, {
250
- type: "primary",
251
- onClick: e[4] || (e[4] = (o) => r(n).deleteRecords())
252
- }, {
253
- default: l(() => [
254
- s(d(t.$t("common.batchDelete")), 1)
255
- ]),
256
- _: 1
257
- })), [
258
- [v, ["order:order_item:delete"]]
259
- ])
260
- ]),
261
- _: 1
262
- }),
263
- a(h, {
264
- span: 7,
265
- class: "container-float"
266
- }, {
267
- default: l(() => [
268
- I((m(), c(f, {
269
- plain: "",
270
- type: "primary",
271
- onClick: e[5] || (e[5] = (o) => _.value = !0)
272
- }, {
273
- default: l(() => [
274
- s(d(t.$t("common.import")), 1)
275
- ]),
276
- _: 1
277
- })), [
278
- [v, ["order:order_item:import"]]
279
- ]),
280
- I((m(), c(f, {
281
- plain: "",
282
- type: "primary",
283
- onClick: e[6] || (e[6] = (o) => r(n).handleExport(r(b)("order.orderItem.name")))
284
- }, {
285
- default: l(() => [
286
- s(d(t.$t("common.export")), 1)
287
- ]),
288
- _: 1
289
- })), [
290
- [v, ["order:order_item:export"]]
291
- ]),
292
- I((m(), c(f, {
293
- plain: "",
294
- type: "primary",
295
- onClick: e[7] || (e[7] = (o) => r(n).handleExportPdf(r(b)("order.orderItem.name")))
296
- }, {
297
- default: l(() => [
298
- s(d(t.$t("common.print")), 1)
299
- ]),
300
- _: 1
301
- })), [
302
- [v, ["order:order_item:print"]]
303
- ]),
304
- a(F, {
305
- modelValue: r(y),
306
- "onUpdate:modelValue": e[8] || (e[8] = (o) => S(y) ? y.value = o : y = o),
307
- "label-name": "order/order-item"
308
- }, null, 8, ["modelValue"])
309
- ]),
310
- _: 1
311
- })
312
- ]),
313
- _: 1
314
- })
315
- ]),
316
- footer: l(() => [
317
- r(C) > 0 ? (m(), c(M, {
318
- key: 0,
319
- total: r(C),
320
- "onUpdate:total": e[9] || (e[9] = (o) => S(C) ? C.value = o : null),
321
- "current-page": u.value.curPage,
322
- "onUpdate:currentPage": e[10] || (e[10] = (o) => u.value.curPage = o),
323
- "page-size": u.value.pageSize,
324
- "onUpdate:pageSize": e[11] || (e[11] = (o) => u.value.pageSize = o),
325
- onPagination: e[12] || (e[12] = (o) => r(n).getList())
326
- }, null, 8, ["total", "current-page", "page-size"])) : $("", !0)
327
- ]),
328
- default: l(() => [
329
- a(H, {
330
- ref_key: "multipleTableRef",
331
- ref: j,
332
- "row-key": "itemId",
333
- "list-loading": r(E),
334
- data: r(N),
335
- "table-label": r(y),
336
- onSelectionChange: z,
337
- onSortChange: L
338
- }, {
339
- operation: l((o) => [
340
- I((m(), g("span", {
341
- class: "el-button-color",
342
- onClick: (O) => q(o.data.row)
343
- }, [
344
- s(d(t.$t("common.edit")), 1)
345
- ], 8, ne)), [
346
- [v, ["order:order_item:update"]]
347
- ]),
348
- I((m(), g("span", {
349
- class: "el-button-color dropdown-left",
350
- onClick: (O) => r(n).deleteRecord(o.data.row)
351
- }, [
352
- s(d(t.$t("common.delete")), 1)
353
- ], 8, ae)), [
354
- [v, ["order:order_item:delete"]]
355
- ])
356
- ]),
357
- _: 1
358
- }, 8, ["list-loading", "data", "table-label"])
359
- ]),
360
- _: 1
361
- }),
362
- p.value.visible ? (m(), c(oe, {
363
- key: 0,
364
- modelValue: p.value.visible,
365
- "onUpdate:modelValue": e[13] || (e[13] = (o) => p.value.visible = o),
366
- title: p.value.title,
367
- "entity-key": r(k),
368
- onRefresh: B,
369
- width: "900px"
370
- }, null, 8, ["modelValue", "title", "entity-key"])) : $("", !0),
371
- _.value ? (m(), c(J, {
372
- key: 1,
373
- "upload-visible": _.value,
374
- "template-title": t.$t("sysUser.templateDownload"),
375
- onTemplateDown: e[14] || (e[14] = (o) => r(n).downloadTemplate(r(b)("order.orderItem.name"))),
376
- onImportEvents: Q,
377
- onUploadClosed: K
378
- }, null, 8, ["upload-visible", "template-title"])) : $("", !0)
379
- ]);
380
- };
381
- }
382
- });
383
- export {
384
- pe as default
385
- };
@@ -1,106 +0,0 @@
1
- import { defineComponent as N, ref as a, onBeforeMount as R, resolveComponent as i, openBlock as m, createElementBlock as f, createVNode as o, withCtx as e, createTextVNode as I, toDisplayString as n, createElementVNode as s, Fragment as D, renderList as V } from "vue";
2
- import { useRouter as A, useRoute as C } from "vue-router";
3
- import { routerUtil as q } from "jmash-core";
4
- import { D as w } from "./index-Nw_g6g3T.mjs";
5
- import { o as L } from "./index-xagR65a1.mjs";
6
- import { o as P } from "./index-w8CmEAxD.mjs";
7
- const $ = { class: "app-container" }, E = { class: "item-spuName" }, T = { class: "item-salesPrice" }, x = { class: "item-specInfo" }, z = { class: "item-quantity" }, F = { class: "cell-item" }, M = { class: "cell-item" }, K = /* @__PURE__ */ N({
8
- __name: "info",
9
- setup(O) {
10
- const h = A(), _ = C(), p = a(), v = a(), d = a("");
11
- w.shopBizDict.useValues();
12
- function y() {
13
- q.closeTagView(_.fullPath, h, !1);
14
- }
15
- R(() => {
16
- L.findById({ refundId: _.query.refundId }).then(({ data: t }) => {
17
- console.log(t), p.value = t, d.value = t.orderId, B();
18
- });
19
- });
20
- function B() {
21
- d.value && P.findById({ orderId: d.value }).then(({ data: t }) => {
22
- var r;
23
- v.value = (r = t.orderItemList) == null ? void 0 : r.results;
24
- });
25
- }
26
- return (t, r) => {
27
- const b = i("el-button"), c = i("el-descriptions-item"), u = i("el-descriptions"), g = i("el-card");
28
- return m(), f("div", $, [
29
- o(g, { shadow: "never" }, {
30
- header: e(() => [
31
- o(b, {
32
- type: "primary",
33
- onClick: y
34
- }, {
35
- default: e(() => [
36
- I(n(t.$t("common.back")), 1)
37
- ]),
38
- _: 1
39
- })
40
- ]),
41
- default: e(() => [
42
- r[0] || (r[0] = s("div", { class: "title-content" }, "退款信息", -1)),
43
- o(u, {
44
- class: "margin-top",
45
- column: 2
46
- }, {
47
- default: e(() => [
48
- o(c, null, {
49
- label: e(() => [
50
- (m(!0), f(D, null, V(v.value, (l, k) => (m(), f("div", {
51
- key: k,
52
- class: "order-item"
53
- }, [
54
- s("div", E, n(l.spuName), 1),
55
- s("div", T, "¥" + n(l.salesPrice), 1),
56
- s("div", x, n(l.specInfo), 1),
57
- s("div", z, "数量:" + n(l.quantity), 1)
58
- ]))), 128))
59
- ]),
60
- _: 1
61
- })
62
- ]),
63
- _: 1
64
- }),
65
- o(u, {
66
- class: "margin-top",
67
- column: 3
68
- }, {
69
- default: e(() => [
70
- o(c, null, {
71
- label: e(() => [
72
- s("div", F, n(t.$t("orderRefunds.refundAmount")), 1)
73
- ]),
74
- default: e(() => {
75
- var l;
76
- return [
77
- I(" " + n((l = p.value) == null ? void 0 : l.refundAmount), 1)
78
- ];
79
- }),
80
- _: 1
81
- })
82
- ]),
83
- _: 1
84
- }),
85
- r[1] || (r[1] = s("div", { class: "title-content" }, "退货信息", -1)),
86
- o(u, null, {
87
- default: e(() => [
88
- o(c, null, {
89
- label: e(() => [
90
- s("div", M, n(t.$t("orderRefunds.userName")), 1)
91
- ]),
92
- _: 1
93
- })
94
- ]),
95
- _: 1
96
- })
97
- ]),
98
- _: 1
99
- })
100
- ]);
101
- };
102
- }
103
- });
104
- export {
105
- K as default
106
- };
@@ -1,77 +0,0 @@
1
- import { defineComponent as y, ref as k, onMounted as x, watch as L, resolveComponent as o, openBlock as r, createBlock as a, withCtx as e, createVNode as i, createTextVNode as p, createElementBlock as C, Fragment as b, renderList as B, toDisplayString as S } from "vue";
2
- import { o as D } from "./index-D-PNIrrr.mjs";
3
- const A = /* @__PURE__ */ y({
4
- __name: "viewLogist",
5
- props: {
6
- orderId: {
7
- type: String,
8
- default: () => ""
9
- },
10
- orderItemId: {
11
- type: String,
12
- default: () => ""
13
- }
14
- },
15
- emits: ["close"],
16
- setup(_, { emit: u }) {
17
- const t = _, l = k(), f = u;
18
- function I() {
19
- f("close");
20
- }
21
- function s() {
22
- D.findLogistics({
23
- orderId: t.orderId,
24
- orderItemId: t.orderItemId
25
- }).then(({ data: n }) => {
26
- console.log(n.list), l.value = n.list;
27
- });
28
- }
29
- return x(() => {
30
- s();
31
- }), L([() => t.orderId, () => t.orderItemId], s, {
32
- immediate: !0
33
- }), (n, c) => {
34
- const g = o("el-button"), h = o("el-timeline-item"), v = o("el-timeline"), d = o("el-card");
35
- return r(), a(d, { shadow: "never" }, {
36
- header: e(() => [
37
- i(g, { onClick: I }, {
38
- default: e(() => c[0] || (c[0] = [
39
- p("关闭")
40
- ])),
41
- _: 1
42
- })
43
- ]),
44
- default: e(() => [
45
- i(d, {
46
- shadow: "never",
47
- class: "table-container"
48
- }, {
49
- default: e(() => [
50
- i(v, null, {
51
- default: e(() => [
52
- (r(!0), C(b, null, B(l.value, (m, w) => (r(), a(h, {
53
- key: w,
54
- timestamp: m.time,
55
- type: "primary",
56
- hollow: ""
57
- }, {
58
- default: e(() => [
59
- p(S(m.context), 1)
60
- ]),
61
- _: 2
62
- }, 1032, ["timestamp"]))), 128))
63
- ]),
64
- _: 1
65
- })
66
- ]),
67
- _: 1
68
- })
69
- ]),
70
- _: 1
71
- });
72
- };
73
- }
74
- });
75
- export {
76
- A as _
77
- };
@@ -1,20 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { OrderBillApi, OrderBillReq, OrderBillModel, OrderBillPage, OrderBillList, OrderBillKey, OrderBillCreateReq, OrderBillUpdateReq, OrderBillExportReq, OrderBillImportReq } from "./types";
3
- declare class OrderBillApiImpl implements OrderBillApi {
4
- getKey(model: OrderBillModel): OrderBillKey;
5
- findPage(query?: OrderBillReq): AxiosPromise<OrderBillPage>;
6
- findList(query?: OrderBillReq): AxiosPromise<OrderBillList>;
7
- findById(query: OrderBillKey): AxiosPromise<OrderBillModel>;
8
- create(data: OrderBillCreateReq): AxiosPromise<OrderBillModel>;
9
- update(data: OrderBillUpdateReq): AxiosPromise<OrderBillModel>;
10
- move(key: OrderBillKey, up: boolean): AxiosPromise<boolean>;
11
- enable(key: OrderBillKey, enable: boolean): AxiosPromise<boolean>;
12
- delete(query: OrderBillKey): AxiosPromise<OrderBillModel>;
13
- batchDelete(keys: OrderBillKey[]): AxiosPromise<number>;
14
- downloadTemplate(): AxiosPromise;
15
- importExcel(data: OrderBillImportReq): AxiosPromise<string>;
16
- exportExcel(queryParams: OrderBillExportReq): AxiosPromise;
17
- exportPdf(queryParams: OrderBillExportReq): AxiosPromise;
18
- }
19
- declare const orderBillApi: OrderBillApiImpl;
20
- export { orderBillApi };
@@ -1,75 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
- export interface OrderBillApi extends EntityApi {
3
- }
4
- export interface OrderBillReq extends EntityReq {
5
- billId?: string;
6
- }
7
- export interface OrderBillModel extends EntityModel {
8
- billId?: string;
9
- orderId?: string;
10
- billCode?: string;
11
- billType?: string;
12
- billPrice?: string;
13
- couponPrice?: string;
14
- paymentPrice?: string;
15
- billStatus?: string;
16
- createTime?: string;
17
- paymentTime?: string;
18
- }
19
- export interface OrderBillList extends EntityList {
20
- results: Array<OrderBillModel>;
21
- }
22
- export interface OrderBillPage extends EntityPage {
23
- results: Array<OrderBillModel>;
24
- subTotalDto: OrderBillModelTotal;
25
- totalDto: OrderBillModelTotal;
26
- }
27
- export interface OrderBillModelTotal extends EntityTotal {
28
- totalSize: number;
29
- }
30
- export interface OrderBillKey extends EntityKey {
31
- tenant?: string;
32
- billId?: string;
33
- }
34
- export interface OrderBillKeyList extends EntityKeyList {
35
- tenant?: string;
36
- billId?: Array<string>;
37
- }
38
- export interface OrderBillCreateReq extends EntityCreateReq {
39
- billId?: string;
40
- orderId?: string;
41
- billCode?: string;
42
- billType?: string;
43
- billPrice?: string;
44
- couponPrice?: string;
45
- paymentPrice?: string;
46
- billStatus?: string;
47
- paymentTime?: string;
48
- }
49
- export interface OrderBillUpdateReq extends EntityUpdateReq {
50
- billId?: string;
51
- orderId?: string;
52
- billCode?: string;
53
- billType?: string;
54
- billPrice?: string;
55
- couponPrice?: string;
56
- paymentPrice?: string;
57
- billStatus?: string;
58
- paymentTime?: string;
59
- }
60
- export type OrderBillFormReq = OrderBillCreateReq | OrderBillUpdateReq;
61
- export interface OrderBillExportReq extends EntityExportReq {
62
- req: OrderBillReq;
63
- }
64
- export interface OrderBillImportReq extends EntityImportReq {
65
- }
66
- export interface OrderBillMoveKey {
67
- tenant?: string;
68
- billId?: string;
69
- up?: boolean;
70
- }
71
- export interface OrderBillEnableKey {
72
- tenant?: string;
73
- billId?: string;
74
- enable?: boolean;
75
- }
@@ -1,20 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { OrderItemApi, OrderItemReq, OrderItemModel, OrderItemPage, OrderItemList, OrderItemKey, OrderItemCreateReq, OrderItemUpdateReq, OrderItemExportReq, OrderItemImportReq } from "./types";
3
- declare class OrderItemApiImpl implements OrderItemApi {
4
- getKey(model: OrderItemModel): OrderItemKey;
5
- findPage(query?: OrderItemReq): AxiosPromise<OrderItemPage>;
6
- findList(query?: OrderItemReq): AxiosPromise<OrderItemList>;
7
- findById(query: OrderItemKey): AxiosPromise<OrderItemModel>;
8
- create(data: OrderItemCreateReq): AxiosPromise<OrderItemModel>;
9
- update(data: OrderItemUpdateReq): AxiosPromise<OrderItemModel>;
10
- move(key: OrderItemKey, up: boolean): AxiosPromise<boolean>;
11
- enable(key: OrderItemKey, enable: boolean): AxiosPromise<boolean>;
12
- delete(query: OrderItemKey): AxiosPromise<OrderItemModel>;
13
- batchDelete(keys: OrderItemKey[]): AxiosPromise<number>;
14
- downloadTemplate(): AxiosPromise;
15
- importExcel(data: OrderItemImportReq): AxiosPromise<string>;
16
- exportExcel(queryParams: OrderItemExportReq): AxiosPromise;
17
- exportPdf(queryParams: OrderItemExportReq): AxiosPromise;
18
- }
19
- declare const orderItemApi: OrderItemApiImpl;
20
- export { orderItemApi };