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