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 F, getCurrentInstance as G, ref as $, resolveComponent as u, resolveDirective as J, openBlock as c, createElementBlock as g, createElementVNode as i, createVNode as t, withCtx as r, unref as a, withKeys as y, createTextVNode as v, toDisplayString as n, withDirectives as V, createBlock as P, isRef as N, createCommentVNode as X } from "vue";
|
2
|
+
import { useTableHooks as Z } from "jmash-core";
|
3
|
+
import { useI18n as x } from "vue-i18n";
|
4
|
+
import { o as ee } from "./index-xagR65a1.mjs";
|
5
|
+
import { D as b } from "./index-Nw_g6g3T.mjs";
|
6
|
+
import { useRouter as oe } from "vue-router";
|
7
|
+
const le = { class: "app-container" }, te = { class: "search-container" }, re = { class: "orderPrice" }, ae = ["onClick"], ne = ["onClick"], ce = /* @__PURE__ */ F({
|
8
|
+
__name: "index",
|
9
|
+
setup(de) {
|
10
|
+
const { t: D } = x(), S = oe(), { proxy: I } = G();
|
11
|
+
b.shopBizDict.useValues();
|
12
|
+
const C = $([]), d = $({}), {
|
13
|
+
tableHooks: s,
|
14
|
+
multipleTableRef: Y,
|
15
|
+
queryFormRef: U,
|
16
|
+
listLoading: j,
|
17
|
+
tableData: q,
|
18
|
+
total: R
|
19
|
+
} = Z(D, ee, d);
|
20
|
+
let f = $([
|
21
|
+
{
|
22
|
+
label: "orderInfo.shopName",
|
23
|
+
prop: "shopId",
|
24
|
+
width: "200",
|
25
|
+
slotName: "shopId",
|
26
|
+
columnType: "slot",
|
27
|
+
isColumn: !0
|
28
|
+
},
|
29
|
+
{
|
30
|
+
label: "orderRefunds.createTime",
|
31
|
+
prop: "createTime",
|
32
|
+
width: "200",
|
33
|
+
slotName: "createTime",
|
34
|
+
columnType: "slot",
|
35
|
+
isColumn: !0
|
36
|
+
},
|
37
|
+
{
|
38
|
+
label: "orderRefunds.order",
|
39
|
+
prop: "order",
|
40
|
+
width: "250",
|
41
|
+
slotName: "order",
|
42
|
+
columnType: "slot",
|
43
|
+
isColumn: !0
|
44
|
+
},
|
45
|
+
{
|
46
|
+
label: "orderRefunds.status",
|
47
|
+
prop: "status",
|
48
|
+
width: "100",
|
49
|
+
slotName: "status",
|
50
|
+
columnType: "slot",
|
51
|
+
isColumn: !0
|
52
|
+
},
|
53
|
+
{
|
54
|
+
label: "orderRefunds.refundAmount",
|
55
|
+
prop: "refundAmount",
|
56
|
+
width: "100",
|
57
|
+
isColumn: !0
|
58
|
+
},
|
59
|
+
{
|
60
|
+
label: "orderRefunds.refundCode",
|
61
|
+
prop: "refundCode",
|
62
|
+
width: "250",
|
63
|
+
isColumn: !0
|
64
|
+
},
|
65
|
+
{
|
66
|
+
label: "orderRefunds.refundReson",
|
67
|
+
prop: "refundReson",
|
68
|
+
width: "200",
|
69
|
+
isColumn: !0
|
70
|
+
},
|
71
|
+
{
|
72
|
+
label: "orderRefunds.refuseRefundReson",
|
73
|
+
prop: "refuseRefundReson",
|
74
|
+
width: "200",
|
75
|
+
isColumn: !0
|
76
|
+
},
|
77
|
+
{
|
78
|
+
label: "common.operate",
|
79
|
+
width: "200",
|
80
|
+
slotName: "operation",
|
81
|
+
columnType: "slot",
|
82
|
+
fixed: "right",
|
83
|
+
isColumn: !0
|
84
|
+
}
|
85
|
+
]);
|
86
|
+
function E(l) {
|
87
|
+
d.value.startCreateTime = l[0], d.value.endCreateTime = l[1];
|
88
|
+
}
|
89
|
+
function z() {
|
90
|
+
C.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", s.resetQuery();
|
91
|
+
}
|
92
|
+
function A(l) {
|
93
|
+
S.push({
|
94
|
+
path: "/order/order-refunds/info",
|
95
|
+
query: { refundId: l.refundId }
|
96
|
+
});
|
97
|
+
}
|
98
|
+
function M(l) {
|
99
|
+
s.selectionRows.value = l;
|
100
|
+
}
|
101
|
+
return s.getList(), (l, o) => {
|
102
|
+
const k = u("jmash-select"), p = u("el-form-item"), m = u("el-col"), T = u("el-input"), h = u("el-row"), Q = u("el-date-picker"), w = u("el-button"), B = u("el-form"), K = u("jmash-column-select"), H = u("jmash-table"), L = u("jmash-pagination"), O = u("el-card"), _ = J("hasPerm");
|
103
|
+
return c(), g("div", le, [
|
104
|
+
i("div", te, [
|
105
|
+
t(B, {
|
106
|
+
ref_key: "queryFormRef",
|
107
|
+
ref: U,
|
108
|
+
model: d.value,
|
109
|
+
inline: !0
|
110
|
+
}, {
|
111
|
+
default: r(() => [
|
112
|
+
t(h, null, {
|
113
|
+
default: r(() => [
|
114
|
+
t(m, { span: 6 }, {
|
115
|
+
default: r(() => [
|
116
|
+
t(p, {
|
117
|
+
label: l.$t("orderRefunds.shopName"),
|
118
|
+
prop: "shopId"
|
119
|
+
}, {
|
120
|
+
default: r(() => [
|
121
|
+
t(k, {
|
122
|
+
modelValue: d.value.shopId,
|
123
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.shopId = e),
|
124
|
+
data: a(b).shopBizDict.values,
|
125
|
+
placeholder: l.$t("orderRefunds.shopNameRequired"),
|
126
|
+
clearable: "",
|
127
|
+
onKeyup: o[1] || (o[1] = y((e) => a(s).handleQuery(), ["enter"]))
|
128
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
129
|
+
]),
|
130
|
+
_: 1
|
131
|
+
}, 8, ["label"])
|
132
|
+
]),
|
133
|
+
_: 1
|
134
|
+
}),
|
135
|
+
t(m, { span: 6 }, {
|
136
|
+
default: r(() => [
|
137
|
+
t(p, {
|
138
|
+
label: l.$t("orderRefunds.refundCode"),
|
139
|
+
prop: "likeOrderCode"
|
140
|
+
}, {
|
141
|
+
default: r(() => [
|
142
|
+
t(T, {
|
143
|
+
modelValue: d.value.likeOrderCode,
|
144
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeOrderCode = e),
|
145
|
+
placeholder: l.$t("orderRefunds.refundCodeRequired"),
|
146
|
+
clearable: "",
|
147
|
+
onKeyup: o[3] || (o[3] = y((e) => a(s).handleQuery(), ["enter"])),
|
148
|
+
class: "!w-[203px]"
|
149
|
+
}, null, 8, ["modelValue", "placeholder"])
|
150
|
+
]),
|
151
|
+
_: 1
|
152
|
+
}, 8, ["label"])
|
153
|
+
]),
|
154
|
+
_: 1
|
155
|
+
}),
|
156
|
+
t(m, { span: 6 }, {
|
157
|
+
default: r(() => [
|
158
|
+
t(p, {
|
159
|
+
label: l.$t("orderRefunds.spuName"),
|
160
|
+
prop: "likeSpuName"
|
161
|
+
}, {
|
162
|
+
default: r(() => [
|
163
|
+
t(T, {
|
164
|
+
modelValue: d.value.likeSpuName,
|
165
|
+
"onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.likeSpuName = e),
|
166
|
+
placeholder: l.$t("orderRefunds.spuNameRequired"),
|
167
|
+
clearable: "",
|
168
|
+
onKeyup: o[5] || (o[5] = y((e) => a(s).handleQuery(), ["enter"])),
|
169
|
+
class: "!w-[203px]"
|
170
|
+
}, null, 8, ["modelValue", "placeholder"])
|
171
|
+
]),
|
172
|
+
_: 1
|
173
|
+
}, 8, ["label"])
|
174
|
+
]),
|
175
|
+
_: 1
|
176
|
+
}),
|
177
|
+
t(m, { span: 6 }, {
|
178
|
+
default: r(() => [
|
179
|
+
t(p, {
|
180
|
+
label: l.$t("orderRefunds.refundStatus"),
|
181
|
+
prop: "refundStatus"
|
182
|
+
}, {
|
183
|
+
default: r(() => [
|
184
|
+
t(k, {
|
185
|
+
modelValue: d.value.refundStatus,
|
186
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.refundStatus = e),
|
187
|
+
data: a(b).refundApplyEnum.values,
|
188
|
+
placeholder: l.$t("orderRefunds.refundStatusRequired"),
|
189
|
+
clearable: "",
|
190
|
+
onKeyup: o[7] || (o[7] = y((e) => a(s).handleQuery(), ["enter"]))
|
191
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
192
|
+
]),
|
193
|
+
_: 1
|
194
|
+
}, 8, ["label"])
|
195
|
+
]),
|
196
|
+
_: 1
|
197
|
+
})
|
198
|
+
]),
|
199
|
+
_: 1
|
200
|
+
}),
|
201
|
+
t(h, null, {
|
202
|
+
default: r(() => [
|
203
|
+
t(m, { span: 6 }, {
|
204
|
+
default: r(() => [
|
205
|
+
t(p, {
|
206
|
+
label: l.$t("orderRefunds.refundsTime"),
|
207
|
+
prop: "startCreateTime"
|
208
|
+
}, {
|
209
|
+
default: r(() => [
|
210
|
+
t(Q, {
|
211
|
+
modelValue: C.value,
|
212
|
+
"onUpdate:modelValue": o[8] || (o[8] = (e) => C.value = e),
|
213
|
+
class: "dropdown-left",
|
214
|
+
type: "daterange",
|
215
|
+
"start-placeholder": l.$t("orderRefunds.startCreateTime"),
|
216
|
+
"end-placeholder": l.$t("orderRefunds.endCreateTime"),
|
217
|
+
format: "YYYY-MM-DD",
|
218
|
+
"value-format": "YYYY-MM-DD",
|
219
|
+
onChange: E
|
220
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
221
|
+
]),
|
222
|
+
_: 1
|
223
|
+
}, 8, ["label"])
|
224
|
+
]),
|
225
|
+
_: 1
|
226
|
+
}),
|
227
|
+
t(m, { span: 18 }, {
|
228
|
+
default: r(() => [
|
229
|
+
t(p, { class: "search-btn" }, {
|
230
|
+
default: r(() => [
|
231
|
+
t(w, {
|
232
|
+
type: "primary",
|
233
|
+
onClick: o[9] || (o[9] = (e) => a(s).handleQuery())
|
234
|
+
}, {
|
235
|
+
default: r(() => [
|
236
|
+
v(n(l.$t("common.search")), 1)
|
237
|
+
]),
|
238
|
+
_: 1
|
239
|
+
}),
|
240
|
+
t(w, { onClick: z }, {
|
241
|
+
default: r(() => [
|
242
|
+
v(n(l.$t("common.reset")), 1)
|
243
|
+
]),
|
244
|
+
_: 1
|
245
|
+
})
|
246
|
+
]),
|
247
|
+
_: 1
|
248
|
+
})
|
249
|
+
]),
|
250
|
+
_: 1
|
251
|
+
})
|
252
|
+
]),
|
253
|
+
_: 1
|
254
|
+
})
|
255
|
+
]),
|
256
|
+
_: 1
|
257
|
+
}, 8, ["model"]),
|
258
|
+
o[16] || (o[16] = i("div", { class: "clear" }, null, -1))
|
259
|
+
]),
|
260
|
+
t(O, {
|
261
|
+
shadow: "never",
|
262
|
+
class: "table-container"
|
263
|
+
}, {
|
264
|
+
header: r(() => [
|
265
|
+
t(h, null, {
|
266
|
+
default: r(() => [
|
267
|
+
t(m, { span: 17 }, {
|
268
|
+
default: r(() => [
|
269
|
+
V((c(), P(w, {
|
270
|
+
type: "primary",
|
271
|
+
onClick: o[10] || (o[10] = (e) => a(s).deleteRecords())
|
272
|
+
}, {
|
273
|
+
default: r(() => [
|
274
|
+
v(n(l.$t("common.batchDelete")), 1)
|
275
|
+
]),
|
276
|
+
_: 1
|
277
|
+
})), [
|
278
|
+
[_, ["order:order_refunds:delete"]]
|
279
|
+
])
|
280
|
+
]),
|
281
|
+
_: 1
|
282
|
+
}),
|
283
|
+
t(m, {
|
284
|
+
span: 7,
|
285
|
+
class: "container-float"
|
286
|
+
}, {
|
287
|
+
default: r(() => [
|
288
|
+
t(K, {
|
289
|
+
modelValue: a(f),
|
290
|
+
"onUpdate:modelValue": o[11] || (o[11] = (e) => N(f) ? f.value = e : f = e),
|
291
|
+
"label-name": "order/order-refunds"
|
292
|
+
}, null, 8, ["modelValue"])
|
293
|
+
]),
|
294
|
+
_: 1
|
295
|
+
})
|
296
|
+
]),
|
297
|
+
_: 1
|
298
|
+
})
|
299
|
+
]),
|
300
|
+
footer: r(() => [
|
301
|
+
a(R) > 0 ? (c(), P(L, {
|
302
|
+
key: 0,
|
303
|
+
total: a(R),
|
304
|
+
"onUpdate:total": o[12] || (o[12] = (e) => N(R) ? R.value = e : null),
|
305
|
+
"current-page": d.value.curPage,
|
306
|
+
"onUpdate:currentPage": o[13] || (o[13] = (e) => d.value.curPage = e),
|
307
|
+
"page-size": d.value.pageSize,
|
308
|
+
"onUpdate:pageSize": o[14] || (o[14] = (e) => d.value.pageSize = e),
|
309
|
+
onPagination: o[15] || (o[15] = (e) => a(s).getList())
|
310
|
+
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
311
|
+
]),
|
312
|
+
default: r(() => [
|
313
|
+
t(H, {
|
314
|
+
ref_key: "multipleTableRef",
|
315
|
+
ref: Y,
|
316
|
+
"row-key": "refundId",
|
317
|
+
"list-loading": a(j),
|
318
|
+
data: a(q),
|
319
|
+
"table-label": a(f),
|
320
|
+
onSelectionChange: M
|
321
|
+
}, {
|
322
|
+
createTime: r((e) => [
|
323
|
+
i("span", null, n(a(I).$moment.formatDate(
|
324
|
+
e.data.row.createTime,
|
325
|
+
"YYYY-MM-DD HH:mm:ss"
|
326
|
+
)), 1)
|
327
|
+
]),
|
328
|
+
order: r((e) => [
|
329
|
+
i("div", null, [
|
330
|
+
i("div", null, n(l.$t("orderRefunds.orderCode")) + ":" + n(e.data.row.orderCode), 1),
|
331
|
+
i("div", null, n(l.$t("orderRefunds.orderPrice")) + ":¥" + n(e.data.row.orderPrice), 1),
|
332
|
+
i("div", null, n(l.$t("orderRefunds.freightPrice")) + ":+¥" + n(e.data.row.freightPrice), 1),
|
333
|
+
i("div", null, n(l.$t("orderRefunds.paymentCouponPrice")) + ":-¥" + n(e.data.row.paymentCouponPrice), 1),
|
334
|
+
i("div", re, n(l.$t("orderRefunds.paymentPrice")) + ": " + n(e.data.row.orderPrice + e.data.row.freightPrice - e.data.row.paymentCouponPrice), 1),
|
335
|
+
i("div", null, n(l.$t("orderRefunds.paymentWay")) + ": " + n(a(b).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
336
|
+
])
|
337
|
+
]),
|
338
|
+
status: r((e) => [
|
339
|
+
i("span", null, n(a(b).refundApplyEnum.getEnumValue(e.data.row.status)), 1)
|
340
|
+
]),
|
341
|
+
operation: r((e) => [
|
342
|
+
V((c(), g("span", {
|
343
|
+
class: "el-button-color dropdown-left",
|
344
|
+
onClick: (W) => a(s).deleteRecord(e.data.row)
|
345
|
+
}, [
|
346
|
+
v(n(l.$t("common.delete")), 1)
|
347
|
+
], 8, ae)), [
|
348
|
+
[_, ["order:order_refunds:delete"]]
|
349
|
+
]),
|
350
|
+
V((c(), g("span", {
|
351
|
+
class: "el-button-color dropdown-left",
|
352
|
+
onClick: (W) => A(e.data.row)
|
353
|
+
}, [
|
354
|
+
v(n(l.$t("common.view")), 1)
|
355
|
+
], 8, ne)), [
|
356
|
+
[_, ["order:order_refunds:view"]]
|
357
|
+
])
|
358
|
+
]),
|
359
|
+
_: 1
|
360
|
+
}, 8, ["list-loading", "data", "table-label"])
|
361
|
+
]),
|
362
|
+
_: 1
|
363
|
+
})
|
364
|
+
]);
|
365
|
+
};
|
366
|
+
}
|
367
|
+
});
|
368
|
+
export {
|
369
|
+
ce as default
|
370
|
+
};
|
@@ -0,0 +1,80 @@
|
|
1
|
+
var u = Object.defineProperty;
|
2
|
+
var m = (E, t, a) => t in E ? u(E, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : E[t] = a;
|
3
|
+
var e = (E, t, a) => m(E, typeof t != "symbol" ? t + "" : t, a);
|
4
|
+
import { useUserStore as _, clearEmpty as S, request as R, BizDict as A, EnumDict as i, CustomBizDict as U } from "jmash-core";
|
5
|
+
import "vue";
|
6
|
+
import { C as s } from "./constant-CWTD7ap0.mjs";
|
7
|
+
import { EntryDict as c } from "jmash-dict";
|
8
|
+
class l {
|
9
|
+
getKey(t) {
|
10
|
+
return {
|
11
|
+
shopId: t.shopId
|
12
|
+
};
|
13
|
+
}
|
14
|
+
// 查询列表信息店铺管理
|
15
|
+
findList(t) {
|
16
|
+
const a = _().user.tenant;
|
17
|
+
return S(t), R({
|
18
|
+
url: "/v1/shop/info/list/" + a,
|
19
|
+
method: "get",
|
20
|
+
params: t
|
21
|
+
});
|
22
|
+
}
|
23
|
+
}
|
24
|
+
const D = new l();
|
25
|
+
class O extends A {
|
26
|
+
// 实现 useValues 方法
|
27
|
+
useValues() {
|
28
|
+
return new Promise((t, a) => {
|
29
|
+
D.findList().then(({ data: r }) => {
|
30
|
+
const p = r.results;
|
31
|
+
this.values.length = 0, this.values.push(
|
32
|
+
...p.map(
|
33
|
+
(o) => ({
|
34
|
+
key: o.shopId,
|
35
|
+
value: o.shopName
|
36
|
+
})
|
37
|
+
)
|
38
|
+
), t(this.values);
|
39
|
+
}).catch(a);
|
40
|
+
});
|
41
|
+
}
|
42
|
+
}
|
43
|
+
class n {
|
44
|
+
}
|
45
|
+
// 所属店铺
|
46
|
+
e(n, "shopBizDict", new O({})), // 订单状态
|
47
|
+
e(n, "orderStatusEnum", new i(
|
48
|
+
s.MODULE_ORDER,
|
49
|
+
s.ENUM_ORDER_STATUS
|
50
|
+
)), // 支付状态
|
51
|
+
e(n, "paymentStatusEnum", new i(
|
52
|
+
s.MODULE_ORDER,
|
53
|
+
s.ENUM_PAYMENT_STATUS
|
54
|
+
)), // 评价状态
|
55
|
+
e(n, "APPRAISES_STATUS", new U(
|
56
|
+
s.APPRAISES_STATUS,
|
57
|
+
{}
|
58
|
+
)), // 支付方式
|
59
|
+
e(n, "paymentWayEnum", new i(
|
60
|
+
s.MODULE_ORDER,
|
61
|
+
s.ENUM_PAYMENT_WAY
|
62
|
+
)), // 配送方式
|
63
|
+
e(n, "deliveryWayEnum", new i(
|
64
|
+
s.MODULE_ORDER,
|
65
|
+
s.ENUM_DELIVERY_WAY
|
66
|
+
)), // 发货类型
|
67
|
+
e(n, "postTypeEnum", new i(
|
68
|
+
s.MODULE_ORDER,
|
69
|
+
s.ENUM_POST_TYPE
|
70
|
+
)), // 物流公司
|
71
|
+
e(n, "volunteerTypeDict", new c(
|
72
|
+
s.EXPRESS_COMPANY_CODE
|
73
|
+
)), // 退款状态
|
74
|
+
e(n, "refundApplyEnum", new i(
|
75
|
+
s.MODULE_ORDER,
|
76
|
+
s.REFUND_APPLY_STATUS
|
77
|
+
));
|
78
|
+
export {
|
79
|
+
n as D
|
80
|
+
};
|