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