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