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.
- package/README.md +51 -0
- package/dist/canceled-CUME6Usz.mjs +4 -0
- package/dist/canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs +509 -0
- package/dist/change-CK1I7hL9.mjs +4 -0
- package/dist/change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs +186 -0
- package/dist/completed-Cf86bOvD.mjs +4 -0
- package/dist/completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs +509 -0
- package/dist/constant-CWTD7ap0.mjs +24 -0
- package/dist/deliver-BQIcivCV.mjs +4 -0
- package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +221 -0
- package/dist/edit-BtY-5_aq.mjs +4 -0
- package/dist/edit-CXp819Cl.mjs +4 -0
- package/dist/edit-CagPAsCc.mjs +4 -0
- package/dist/edit-DSlSQclm.mjs +4 -0
- package/dist/edit-DZTWE770.mjs +4 -0
- package/dist/edit-kb9Vbd0O.mjs +553 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +382 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +488 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +516 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs +178 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +684 -0
- package/dist/index-67kgHrd-.mjs +370 -0
- package/dist/index-BYkU3LYC.mjs +343 -0
- package/dist/index-CUO59YzZ.mjs +1275 -0
- package/dist/index-D-PNIrrr.mjs +55 -0
- package/dist/index-DMD0_mKi.mjs +673 -0
- package/dist/index-Dbp38ozL.mjs +350 -0
- package/dist/index-L15OdEOS.mjs +370 -0
- package/dist/index-Nw_g6g3T.mjs +80 -0
- package/dist/index-ZpOHqjUk.mjs +344 -0
- package/dist/index-w8CmEAxD.mjs +90 -0
- package/dist/index-xagR65a1.mjs +59 -0
- package/dist/index-zsqXCqfG.mjs +385 -0
- package/dist/index.mjs +2825 -0
- package/dist/info-6G1vmk51.mjs +369 -0
- package/dist/info-BWqDP7Q1.mjs +106 -0
- package/dist/style.css +1 -0
- package/dist/unpay-CqebDQ24.mjs +4 -0
- package/dist/unpay.vue_vue_type_script_setup_true_lang-Cq-l3JEe.mjs +3981 -0
- package/dist/unpost-vRTZyaW0.mjs +4 -0
- package/dist/unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs +540 -0
- package/dist/unreceive-DUyGNC5h.mjs +4 -0
- package/dist/unreceive.vue_vue_type_script_setup_true_lang-DK1USH8c.mjs +509 -0
- package/dist/viewLogist-DdG4dbmo.mjs +4 -0
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +77 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/dict.d.ts +10 -0
- package/dts/src/api/index.d.ts +14 -0
- package/dts/src/api/order/order-bill/index.d.ts +20 -0
- package/dts/src/api/order/order-bill/types.d.ts +75 -0
- package/dts/src/api/order/order-info/index.d.ts +15 -0
- package/dts/src/api/order/order-info/types.d.ts +97 -0
- package/dts/src/api/order/order-item/index.d.ts +20 -0
- package/dts/src/api/order/order-item/types.d.ts +95 -0
- package/dts/src/api/order/order-logistics/index.d.ts +12 -0
- package/dts/src/api/order/order-logistics/types.d.ts +85 -0
- package/dts/src/api/order/order-pay-record/index.d.ts +20 -0
- package/dts/src/api/order/order-pay-record/types.d.ts +77 -0
- package/dts/src/api/order/order-refund-record/index.d.ts +20 -0
- package/dts/src/api/order/order-refund-record/types.d.ts +80 -0
- package/dts/src/api/order/order-refunds/index.d.ts +12 -0
- package/dts/src/api/order/order-refunds/types.d.ts +47 -0
- package/dts/src/api/shop/shop-info/index.d.ts +8 -0
- package/dts/src/api/shop/shop-info/types.d.ts +16 -0
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/constant.d.ts +28 -0
- package/dts/src/index.d.ts +6 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/order/en.d.ts +2 -0
- package/dts/src/lang/order/zh-cn.d.ts +189 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/orderRouter.d.ts +4 -0
- package/dts/src/utils/commons.d.ts +10 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/order/order-bill/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-bill/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/canceled.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/change.vue.d.ts +31 -0
- package/dts/src/views/order/order-info/completed.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/deliver.vue.d.ts +31 -0
- package/dts/src/views/order/order-info/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-info/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/info.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unpay.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unpost.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/unreceive.vue.d.ts +2 -0
- package/dts/src/views/order/order-info/viewLogist.vue.d.ts +27 -0
- package/dts/src/views/order/order-item/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-item/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-logistics/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-logistics/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-pay-record/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-pay-record/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refund-record/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-refund-record/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refunds/edit.vue.d.ts +22 -0
- package/dts/src/views/order/order-refunds/index.vue.d.ts +2 -0
- package/dts/src/views/order/order-refunds/info.vue.d.ts +2 -0
- package/package.json +57 -0
@@ -0,0 +1,370 @@
|
|
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
|
+
};
|