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.
- package/dist/{canceled-CUME6Usz.mjs → canceled-CAEulpM1.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs → canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs} +63 -64
- package/dist/{change-CK1I7hL9.mjs → change-CH-CF_q-.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs → change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs} +1 -1
- package/dist/{completed-Cf86bOvD.mjs → completed-B70yQ6oI.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs → completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs} +72 -73
- package/dist/{deliver-BQIcivCV.mjs → deliver-Bp2Ckw4g.mjs} +1 -1
- package/dist/deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs +185 -0
- package/dist/{edit-CXp819Cl.mjs → edit-DyFqRxsE.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs → edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs} +1 -1
- package/dist/{index-DMD0_mKi.mjs → index-BwyO6Vdb.mjs} +82 -83
- package/dist/index-CL3mlOnd.mjs +407 -0
- package/dist/{index-xagR65a1.mjs → index-Dvf0V5EP.mjs} +11 -3
- package/dist/{index-CUO59YzZ.mjs → index-DyFAVz8t.mjs} +525 -439
- package/dist/index-suIgymdy.mjs +93 -0
- package/dist/index.mjs +594 -592
- package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +41 -0
- package/dist/{info-6G1vmk51.mjs → info-Ba-BgJkw.mjs} +76 -77
- package/dist/info-DtOaZ-hg.mjs +4 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs +188 -0
- package/dist/review-DjGDxyqZ.mjs +4 -0
- package/dist/review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs +309 -0
- package/dist/style.css +1 -1
- package/dist/{unpay-CqebDQ24.mjs → unpay-nfOgE6CJ.mjs} +1 -1
- 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
- package/dist/{unpost-vRTZyaW0.mjs → unpost-BocJwYcE.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs → unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs} +147 -148
- package/dist/{unreceive-DUyGNC5h.mjs → unreceive-BLcvdJxY.mjs} +1 -1
- 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
- package/dist/{viewLogist-DdG4dbmo.mjs → viewLogist-D9-zqepw.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +127 -0
- package/dts/src/api/index.d.ts +3 -1
- package/dts/src/api/order-info/index.d.ts +15 -0
- package/dts/src/api/order-info/types.d.ts +97 -0
- package/dts/src/api/order-logistics/index.d.ts +12 -0
- package/dts/src/api/order-logistics/types.d.ts +85 -0
- package/dts/src/api/order-refunds/index.d.ts +13 -0
- package/dts/src/api/order-refunds/types.d.ts +68 -0
- package/dts/src/constant.d.ts +14 -1
- package/dts/src/lang/order/zh-cn.d.ts +14 -2
- package/dts/src/views/order/order-info/change.vue.d.ts +1 -1
- package/dts/src/views/order/order-info/deliver.vue.d.ts +1 -1
- package/dts/src/views/order/order-info/edit.vue.d.ts +1 -1
- package/dts/src/views/order/order-refunds/info.vue.d.ts +14 -1
- package/dts/src/views/order/order-refunds/review.vue.d.ts +22 -0
- package/package.json +5 -4
- package/dist/constant-CWTD7ap0.mjs +0 -24
- package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +0 -221
- package/dist/edit-BtY-5_aq.mjs +0 -4
- package/dist/edit-CagPAsCc.mjs +0 -4
- package/dist/edit-DSlSQclm.mjs +0 -4
- package/dist/edit-DZTWE770.mjs +0 -4
- package/dist/edit-kb9Vbd0O.mjs +0 -553
- package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +0 -382
- package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +0 -488
- package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +0 -516
- package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +0 -684
- package/dist/index-67kgHrd-.mjs +0 -370
- package/dist/index-BYkU3LYC.mjs +0 -343
- package/dist/index-D-PNIrrr.mjs +0 -55
- package/dist/index-Dbp38ozL.mjs +0 -350
- package/dist/index-L15OdEOS.mjs +0 -370
- package/dist/index-Nw_g6g3T.mjs +0 -80
- package/dist/index-ZpOHqjUk.mjs +0 -344
- package/dist/index-w8CmEAxD.mjs +0 -90
- package/dist/index-zsqXCqfG.mjs +0 -385
- package/dist/info-BWqDP7Q1.mjs +0 -106
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +0 -77
package/dist/index-Dbp38ozL.mjs
DELETED
@@ -1,350 +0,0 @@
|
|
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
|
-
};
|