xyvcard-order 0.0.1 → 0.0.3

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 (68) 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-info/index.d.ts +15 -0
  34. package/dts/src/api/order-info/types.d.ts +97 -0
  35. package/dts/src/api/order-logistics/index.d.ts +12 -0
  36. package/dts/src/api/order-logistics/types.d.ts +85 -0
  37. package/dts/src/api/order-refunds/index.d.ts +13 -0
  38. package/dts/src/api/order-refunds/types.d.ts +68 -0
  39. package/dts/src/constant.d.ts +14 -1
  40. package/dts/src/lang/order/zh-cn.d.ts +14 -2
  41. package/dts/src/views/order/order-info/change.vue.d.ts +1 -1
  42. package/dts/src/views/order/order-info/deliver.vue.d.ts +1 -1
  43. package/dts/src/views/order/order-info/edit.vue.d.ts +1 -1
  44. package/dts/src/views/order/order-refunds/info.vue.d.ts +14 -1
  45. package/dts/src/views/order/order-refunds/review.vue.d.ts +22 -0
  46. package/package.json +5 -4
  47. package/dist/constant-CWTD7ap0.mjs +0 -24
  48. package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +0 -221
  49. package/dist/edit-BtY-5_aq.mjs +0 -4
  50. package/dist/edit-CagPAsCc.mjs +0 -4
  51. package/dist/edit-DSlSQclm.mjs +0 -4
  52. package/dist/edit-DZTWE770.mjs +0 -4
  53. package/dist/edit-kb9Vbd0O.mjs +0 -553
  54. package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +0 -382
  55. package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +0 -488
  56. package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +0 -516
  57. package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +0 -684
  58. package/dist/index-67kgHrd-.mjs +0 -370
  59. package/dist/index-BYkU3LYC.mjs +0 -343
  60. package/dist/index-D-PNIrrr.mjs +0 -55
  61. package/dist/index-Dbp38ozL.mjs +0 -350
  62. package/dist/index-L15OdEOS.mjs +0 -370
  63. package/dist/index-Nw_g6g3T.mjs +0 -80
  64. package/dist/index-ZpOHqjUk.mjs +0 -344
  65. package/dist/index-w8CmEAxD.mjs +0 -90
  66. package/dist/index-zsqXCqfG.mjs +0 -385
  67. package/dist/info-BWqDP7Q1.mjs +0 -106
  68. package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +0 -77
@@ -1,370 +0,0 @@
1
- import { defineComponent as G, ref as _, reactive as I, resolveComponent as a, resolveDirective as J, openBlock as n, createElementBlock as L, createElementVNode as V, createVNode as i, withCtx as l, withKeys as O, unref as r, createTextVNode as d, toDisplayString as u, withDirectives as b, createBlock as f, isRef as T, createCommentVNode as N } from "vue";
2
- import { useTableHooks as W } from "jmash-core";
3
- import { useI18n as X } from "vue-i18n";
4
- import { o as Y } from "./index-D-PNIrrr.mjs";
5
- import { _ as Z } from "./edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs";
6
- const ee = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], le = ["onClick"], ue = /* @__PURE__ */ G({
7
- __name: "index",
8
- setup(re) {
9
- const { t: v } = X(), m = _({}), {
10
- tableHooks: s,
11
- multipleTableRef: R,
12
- queryFormRef: S,
13
- listLoading: P,
14
- tableData: B,
15
- total: C
16
- } = W(v, Y, m);
17
- let y = _([
18
- {
19
- label: "orderLogistics.logisticsId",
20
- prop: "logisticsId",
21
- width: "150",
22
- sortable: "custom",
23
- isColumn: !0
24
- },
25
- {
26
- label: "orderLogistics.orderId",
27
- prop: "orderId",
28
- width: "150",
29
- sortable: "custom",
30
- isColumn: !0
31
- },
32
- {
33
- label: "orderLogistics.orderItemId",
34
- prop: "orderItemId",
35
- width: "150",
36
- sortable: "custom",
37
- isColumn: !0
38
- },
39
- {
40
- label: "orderLogistics.logisticsMchCode",
41
- prop: "logisticsMchCode",
42
- width: "150",
43
- sortable: "custom",
44
- isColumn: !0
45
- },
46
- {
47
- label: "orderLogistics.logisticsMchName",
48
- prop: "logisticsMchName",
49
- width: "150",
50
- sortable: "custom",
51
- isColumn: !0
52
- },
53
- {
54
- label: "orderLogistics.logisticsNo",
55
- prop: "logisticsNo",
56
- width: "150",
57
- sortable: "custom",
58
- isColumn: !0
59
- },
60
- {
61
- label: "orderLogistics.deliveryTime",
62
- prop: "deliveryTime",
63
- width: "150",
64
- sortable: "custom",
65
- isColumn: !0
66
- },
67
- {
68
- label: "orderLogistics.status",
69
- prop: "status",
70
- width: "150",
71
- sortable: "custom",
72
- isColumn: !0
73
- },
74
- {
75
- label: "orderLogistics.isCheck",
76
- prop: "isCheck",
77
- width: "150",
78
- sortable: "custom",
79
- isColumn: !0
80
- },
81
- {
82
- label: "orderLogistics.receiverTime",
83
- prop: "receiverTime",
84
- width: "150",
85
- sortable: "custom",
86
- isColumn: !0
87
- },
88
- {
89
- label: "orderLogistics.message",
90
- prop: "message",
91
- width: "150",
92
- sortable: "custom",
93
- isColumn: !0
94
- },
95
- {
96
- label: "orderLogistics.version",
97
- prop: "version",
98
- width: "150",
99
- sortable: "custom",
100
- isColumn: !0
101
- },
102
- {
103
- label: "orderLogistics.createTime",
104
- prop: "createTime",
105
- width: "150",
106
- sortable: "custom",
107
- isColumn: !0
108
- },
109
- {
110
- label: "orderLogistics.createBy",
111
- prop: "createBy",
112
- width: "150",
113
- sortable: "custom",
114
- isColumn: !0
115
- },
116
- {
117
- label: "orderLogistics.updateBy",
118
- prop: "updateBy",
119
- width: "150",
120
- sortable: "custom",
121
- isColumn: !0
122
- },
123
- {
124
- label: "orderLogistics.updateTime",
125
- prop: "updateTime",
126
- width: "150",
127
- sortable: "custom",
128
- isColumn: !0
129
- },
130
- {
131
- label: "common.operate",
132
- width: "200",
133
- slotName: "operation",
134
- columnType: "slot",
135
- fixed: "right",
136
- isColumn: !0
137
- }
138
- ]);
139
- const p = _({
140
- title: v("common.edit"),
141
- visible: !1
142
- }), j = _(!1);
143
- let h = I({});
144
- function D() {
145
- h = I({}), p.value.title = v("common.add"), p.value.visible = !0;
146
- }
147
- function U(t) {
148
- h.logisticsId = t.logisticsId, p.value.title = v("common.edit"), p.value.visible = !0;
149
- }
150
- function z(t) {
151
- s.selectionRows.value = t;
152
- }
153
- function E(t) {
154
- s.handleSort(t.prop, t.order);
155
- }
156
- function M(t) {
157
- t && s.getList();
158
- }
159
- return s.getList(), (t, e) => {
160
- const q = a("el-input"), k = a("el-form-item"), w = a("el-col"), $ = a("el-row"), c = a("el-button"), K = a("el-form"), Q = a("jmash-column-select"), A = a("jmash-table"), F = a("jmash-pagination"), H = a("el-card"), g = J("hasPerm");
161
- return n(), L("div", ee, [
162
- V("div", oe, [
163
- i(K, {
164
- ref_key: "queryFormRef",
165
- ref: S,
166
- model: m.value,
167
- inline: !0
168
- }, {
169
- default: l(() => [
170
- i($, null, {
171
- default: l(() => [
172
- i(w, { span: 6 }, {
173
- default: l(() => [
174
- i(k, {
175
- label: t.$t("orderLogistics.logisticsId"),
176
- prop: "logisticsId"
177
- }, {
178
- default: l(() => [
179
- i(q, {
180
- modelValue: m.value.logisticsId,
181
- "onUpdate:modelValue": e[0] || (e[0] = (o) => m.value.logisticsId = o),
182
- placeholder: t.$t("orderLogistics.logisticsId"),
183
- onKeyup: e[1] || (e[1] = O((o) => r(s).handleQuery(), ["enter"])),
184
- class: "!w-[203px]"
185
- }, null, 8, ["modelValue", "placeholder"])
186
- ]),
187
- _: 1
188
- }, 8, ["label"])
189
- ]),
190
- _: 1
191
- })
192
- ]),
193
- _: 1
194
- }),
195
- i(k, { class: "search-btn" }, {
196
- default: l(() => [
197
- i(c, {
198
- type: "primary",
199
- onClick: e[2] || (e[2] = (o) => r(s).handleQuery())
200
- }, {
201
- default: l(() => [
202
- d(u(t.$t("common.search")), 1)
203
- ]),
204
- _: 1
205
- }),
206
- i(c, {
207
- onClick: e[3] || (e[3] = (o) => r(s).resetQuery())
208
- }, {
209
- default: l(() => [
210
- d(u(t.$t("common.reset")), 1)
211
- ]),
212
- _: 1
213
- })
214
- ]),
215
- _: 1
216
- })
217
- ]),
218
- _: 1
219
- }, 8, ["model"]),
220
- e[14] || (e[14] = V("div", { class: "clear" }, null, -1))
221
- ]),
222
- i(H, {
223
- shadow: "never",
224
- class: "table-container"
225
- }, {
226
- header: l(() => [
227
- i($, null, {
228
- default: l(() => [
229
- i(w, { span: 17 }, {
230
- default: l(() => [
231
- b((n(), f(c, {
232
- type: "primary",
233
- onClick: D
234
- }, {
235
- default: l(() => [
236
- d(u(t.$t("common.add")), 1)
237
- ]),
238
- _: 1
239
- })), [
240
- [g, ["order:order_logistics:add"]]
241
- ]),
242
- b((n(), f(c, {
243
- type: "primary",
244
- onClick: e[4] || (e[4] = (o) => r(s).deleteRecords())
245
- }, {
246
- default: l(() => [
247
- d(u(t.$t("common.batchDelete")), 1)
248
- ]),
249
- _: 1
250
- })), [
251
- [g, ["order:order_logistics:delete"]]
252
- ])
253
- ]),
254
- _: 1
255
- }),
256
- i(w, {
257
- span: 7,
258
- class: "container-float"
259
- }, {
260
- default: l(() => [
261
- b((n(), f(c, {
262
- plain: "",
263
- type: "primary",
264
- onClick: e[5] || (e[5] = (o) => j.value = !0)
265
- }, {
266
- default: l(() => [
267
- d(u(t.$t("common.import")), 1)
268
- ]),
269
- _: 1
270
- })), [
271
- [g, ["order:order_logistics:import"]]
272
- ]),
273
- b((n(), f(c, {
274
- plain: "",
275
- type: "primary",
276
- onClick: e[6] || (e[6] = (o) => r(s).handleExport(r(v)("order.orderLogistics.name")))
277
- }, {
278
- default: l(() => [
279
- d(u(t.$t("common.export")), 1)
280
- ]),
281
- _: 1
282
- })), [
283
- [g, ["order:order_logistics:export"]]
284
- ]),
285
- b((n(), f(c, {
286
- plain: "",
287
- type: "primary",
288
- onClick: e[7] || (e[7] = (o) => r(s).handleExportPdf(r(v)("order.orderLogistics.name")))
289
- }, {
290
- default: l(() => [
291
- d(u(t.$t("common.print")), 1)
292
- ]),
293
- _: 1
294
- })), [
295
- [g, ["order:order_logistics:print"]]
296
- ]),
297
- i(Q, {
298
- modelValue: r(y),
299
- "onUpdate:modelValue": e[8] || (e[8] = (o) => T(y) ? y.value = o : y = o),
300
- "label-name": "order/order-logistics"
301
- }, null, 8, ["modelValue"])
302
- ]),
303
- _: 1
304
- })
305
- ]),
306
- _: 1
307
- })
308
- ]),
309
- footer: l(() => [
310
- r(C) > 0 ? (n(), f(F, {
311
- key: 0,
312
- total: r(C),
313
- "onUpdate:total": e[9] || (e[9] = (o) => T(C) ? C.value = o : null),
314
- "current-page": m.value.curPage,
315
- "onUpdate:currentPage": e[10] || (e[10] = (o) => m.value.curPage = o),
316
- "page-size": m.value.pageSize,
317
- "onUpdate:pageSize": e[11] || (e[11] = (o) => m.value.pageSize = o),
318
- onPagination: e[12] || (e[12] = (o) => r(s).getList())
319
- }, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
320
- ]),
321
- default: l(() => [
322
- i(A, {
323
- ref_key: "multipleTableRef",
324
- ref: R,
325
- "row-key": "logisticsId",
326
- "list-loading": r(P),
327
- data: r(B),
328
- "table-label": r(y),
329
- onSelectionChange: z,
330
- onSortChange: E
331
- }, {
332
- operation: l((o) => [
333
- b((n(), L("span", {
334
- class: "el-button-color",
335
- onClick: (x) => U(o.data.row)
336
- }, [
337
- d(u(t.$t("common.edit")), 1)
338
- ], 8, te)), [
339
- [g, ["order:order_logistics:update"]]
340
- ]),
341
- b((n(), L("span", {
342
- class: "el-button-color dropdown-left",
343
- onClick: (x) => r(s).deleteRecord(o.data.row)
344
- }, [
345
- d(u(t.$t("common.delete")), 1)
346
- ], 8, le)), [
347
- [g, ["order:order_logistics:delete"]]
348
- ])
349
- ]),
350
- _: 1
351
- }, 8, ["list-loading", "data", "table-label"])
352
- ]),
353
- _: 1
354
- }),
355
- p.value.visible ? (n(), f(Z, {
356
- key: 0,
357
- modelValue: p.value.visible,
358
- "onUpdate:modelValue": e[13] || (e[13] = (o) => p.value.visible = o),
359
- title: p.value.title,
360
- "entity-key": r(h),
361
- onRefresh: M,
362
- width: "900px"
363
- }, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
364
- ]);
365
- };
366
- }
367
- });
368
- export {
369
- ue as default
370
- };