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,343 +0,0 @@
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
- };
@@ -1,55 +0,0 @@
1
- import { useUserStore as e, clearEmpty as s, request as o } from "jmash-core";
2
- class n {
3
- getKey(t) {
4
- return {
5
- logisticsId: t.logisticsId
6
- };
7
- }
8
- // 查询翻页信息订单物流
9
- findPage(t) {
10
- const r = e().user.tenant;
11
- return s(t), o({
12
- url: "/v1/order/order_logistics/page/" + r,
13
- method: "get",
14
- params: t
15
- });
16
- }
17
- // 查询列表信息订单物流
18
- findList(t) {
19
- const r = e().user.tenant;
20
- return s(t), o({
21
- url: "/v1/order/order_logistics/list/" + r,
22
- method: "get",
23
- params: t
24
- });
25
- }
26
- // 查询订单物流
27
- findById(t) {
28
- const r = e().user.tenant;
29
- return s(t), o({
30
- url: "/v1/order/order_logistics/id/" + r + "/" + t.logisticsId,
31
- method: "get"
32
- });
33
- }
34
- // 查询物流信息
35
- findLogistics(t) {
36
- const r = e().user.tenant;
37
- return s(t), o({
38
- url: "/v1/order/order_logistics/info/" + r,
39
- method: "get",
40
- params: t
41
- });
42
- }
43
- // 修改实体订单物流
44
- update(t) {
45
- return t.tenant = e().user.tenant, s(t), o({
46
- url: "/v1/order/order_logistics",
47
- method: "patch",
48
- data: t
49
- });
50
- }
51
- }
52
- const a = new n();
53
- export {
54
- a as o
55
- };