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,540 @@
|
|
1
|
+
import { defineComponent as le, getCurrentInstance as re, ref as $, reactive as M, resolveComponent as p, resolveDirective as ne, openBlock as i, createElementBlock as k, createElementVNode as s, createVNode as n, withCtx as a, unref as o, withKeys as V, createTextVNode as u, toDisplayString as r, withDirectives as U, createBlock as f, isRef as W, createCommentVNode as I, Fragment as de, renderList as ue } from "vue";
|
2
|
+
import { useRouter as se } from "vue-router";
|
3
|
+
import { useTableHooks as ie } from "jmash-core";
|
4
|
+
import { useI18n as me } from "vue-i18n";
|
5
|
+
import { o as pe } from "./index-w8CmEAxD.mjs";
|
6
|
+
import { _ as fe } from "./deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs";
|
7
|
+
import { D as m } from "./index-Nw_g6g3T.mjs";
|
8
|
+
import { C as w } from "./constant-CWTD7ap0.mjs";
|
9
|
+
const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie = { class: "item-spuName" }, be = { class: "item-salesPrice" }, we = { class: "item-specInfo" }, ce = { class: "item-quantity" }, Se = { class: "orderPrice" }, ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ le({
|
10
|
+
__name: "unpost",
|
11
|
+
setup(Ce) {
|
12
|
+
const { t: T } = me(), { proxy: Y } = re();
|
13
|
+
m.shopBizDict.useValues();
|
14
|
+
const E = $([]), d = $({
|
15
|
+
curPage: 1,
|
16
|
+
pageSize: 10,
|
17
|
+
orderStatus: w.unpost
|
18
|
+
}), q = se(), {
|
19
|
+
tableHooks: y,
|
20
|
+
multipleTableRef: z,
|
21
|
+
queryFormRef: j,
|
22
|
+
listLoading: K,
|
23
|
+
tableData: Q,
|
24
|
+
total: h
|
25
|
+
} = ie(T, pe, d);
|
26
|
+
let g = $([
|
27
|
+
{
|
28
|
+
label: "orderInfo.shopName",
|
29
|
+
prop: "shopId",
|
30
|
+
width: "200",
|
31
|
+
slotName: "shopId",
|
32
|
+
columnType: "slot",
|
33
|
+
isColumn: !0
|
34
|
+
},
|
35
|
+
{
|
36
|
+
label: "orderInfo.orderItemList",
|
37
|
+
prop: "orderItemList",
|
38
|
+
width: "300",
|
39
|
+
slotName: "orderItemList",
|
40
|
+
columnType: "slot",
|
41
|
+
isColumn: !0
|
42
|
+
},
|
43
|
+
{
|
44
|
+
label: "orderInfo.orderCodeAndCreateTime",
|
45
|
+
prop: "orderCodeAndCreateTime",
|
46
|
+
width: "250",
|
47
|
+
slotName: "orderCodeAndCreateTime",
|
48
|
+
columnType: "slot",
|
49
|
+
isColumn: !0
|
50
|
+
},
|
51
|
+
{
|
52
|
+
label: "orderInfo.status",
|
53
|
+
prop: "status",
|
54
|
+
width: "180",
|
55
|
+
slotName: "status",
|
56
|
+
columnType: "slot",
|
57
|
+
isColumn: !0
|
58
|
+
},
|
59
|
+
{
|
60
|
+
label: "orderInfo.salesPrice",
|
61
|
+
prop: "salesPrice",
|
62
|
+
width: "200",
|
63
|
+
slotName: "salesPrice",
|
64
|
+
columnType: "slot",
|
65
|
+
isColumn: !0
|
66
|
+
},
|
67
|
+
{
|
68
|
+
label: "orderInfo.paymentWay",
|
69
|
+
prop: "paymentWay",
|
70
|
+
width: "150",
|
71
|
+
slotName: "paymentWay",
|
72
|
+
columnType: "slot",
|
73
|
+
isColumn: !0
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: "orderInfo.deliveryWay",
|
77
|
+
prop: "deliveryWay",
|
78
|
+
width: "150",
|
79
|
+
slotName: "deliveryWay",
|
80
|
+
columnType: "slot",
|
81
|
+
isColumn: !0
|
82
|
+
},
|
83
|
+
{
|
84
|
+
label: "common.operate",
|
85
|
+
width: "150",
|
86
|
+
slotName: "operation",
|
87
|
+
columnType: "slot",
|
88
|
+
fixed: "right",
|
89
|
+
isColumn: !0
|
90
|
+
}
|
91
|
+
]);
|
92
|
+
const _ = $({
|
93
|
+
title: T("orderInfo.deliver"),
|
94
|
+
visible: !1
|
95
|
+
});
|
96
|
+
let A = M({}), L = M({});
|
97
|
+
function B(l) {
|
98
|
+
var t, C;
|
99
|
+
L.itemId = (C = (t = l.orderItemList) == null ? void 0 : t.results) == null ? void 0 : C[0].itemId, A.orderId = l.orderId, _.value.visible = !0;
|
100
|
+
}
|
101
|
+
function H(l) {
|
102
|
+
d.value.startCreateTime = l[0], d.value.endCreateTime = l[1];
|
103
|
+
}
|
104
|
+
function F() {
|
105
|
+
E.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", y.resetQuery();
|
106
|
+
}
|
107
|
+
function O(l) {
|
108
|
+
q.push({
|
109
|
+
path: "/order/order-info/info",
|
110
|
+
query: { orderId: l.orderId }
|
111
|
+
});
|
112
|
+
}
|
113
|
+
function G(l) {
|
114
|
+
y.selectionRows.value = l;
|
115
|
+
}
|
116
|
+
function J(l) {
|
117
|
+
l && y.getList();
|
118
|
+
}
|
119
|
+
return y.getList(), (l, t) => {
|
120
|
+
const C = p("jmash-select"), c = p("el-form-item"), b = p("el-col"), P = p("el-input"), N = p("el-row"), X = p("el-date-picker"), D = p("el-button"), Z = p("el-form"), x = p("jmash-column-select"), v = p("el-tag"), ee = p("jmash-table"), te = p("jmash-pagination"), ae = p("el-card"), R = ne("hasPerm");
|
121
|
+
return i(), k("div", ye, [
|
122
|
+
s("div", ve, [
|
123
|
+
n(Z, {
|
124
|
+
ref_key: "queryFormRef",
|
125
|
+
ref: j,
|
126
|
+
model: d.value,
|
127
|
+
inline: !0
|
128
|
+
}, {
|
129
|
+
default: a(() => [
|
130
|
+
n(N, null, {
|
131
|
+
default: a(() => [
|
132
|
+
n(b, { span: 6 }, {
|
133
|
+
default: a(() => [
|
134
|
+
n(c, {
|
135
|
+
label: l.$t("orderInfo.shopName"),
|
136
|
+
prop: "shopId"
|
137
|
+
}, {
|
138
|
+
default: a(() => [
|
139
|
+
n(C, {
|
140
|
+
modelValue: d.value.shopId,
|
141
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
|
142
|
+
data: o(m).shopBizDict.values,
|
143
|
+
placeholder: l.$t("orderInfo.shopNameRequired"),
|
144
|
+
clearable: "",
|
145
|
+
onKeyup: t[1] || (t[1] = V((e) => o(y).handleQuery(), ["enter"]))
|
146
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
147
|
+
]),
|
148
|
+
_: 1
|
149
|
+
}, 8, ["label"])
|
150
|
+
]),
|
151
|
+
_: 1
|
152
|
+
}),
|
153
|
+
n(b, { span: 6 }, {
|
154
|
+
default: a(() => [
|
155
|
+
n(c, {
|
156
|
+
label: l.$t("orderInfo.orderCode"),
|
157
|
+
prop: "likeOrderCode"
|
158
|
+
}, {
|
159
|
+
default: a(() => [
|
160
|
+
n(P, {
|
161
|
+
modelValue: d.value.likeOrderCode,
|
162
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
|
163
|
+
placeholder: l.$t("orderInfo.orderCodeRequired"),
|
164
|
+
clearable: "",
|
165
|
+
onKeyup: t[3] || (t[3] = V((e) => o(y).handleQuery(), ["enter"])),
|
166
|
+
class: "!w-[203px]"
|
167
|
+
}, null, 8, ["modelValue", "placeholder"])
|
168
|
+
]),
|
169
|
+
_: 1
|
170
|
+
}, 8, ["label"])
|
171
|
+
]),
|
172
|
+
_: 1
|
173
|
+
}),
|
174
|
+
n(b, { span: 6 }, {
|
175
|
+
default: a(() => [
|
176
|
+
n(c, {
|
177
|
+
label: l.$t("orderInfo.spuName"),
|
178
|
+
prop: "likeSpuName"
|
179
|
+
}, {
|
180
|
+
default: a(() => [
|
181
|
+
n(P, {
|
182
|
+
modelValue: d.value.likeSpuName,
|
183
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
|
184
|
+
placeholder: l.$t("orderInfo.spuNameRequired"),
|
185
|
+
clearable: "",
|
186
|
+
onKeyup: t[5] || (t[5] = V((e) => o(y).handleQuery(), ["enter"])),
|
187
|
+
class: "!w-[203px]"
|
188
|
+
}, null, 8, ["modelValue", "placeholder"])
|
189
|
+
]),
|
190
|
+
_: 1
|
191
|
+
}, 8, ["label"])
|
192
|
+
]),
|
193
|
+
_: 1
|
194
|
+
}),
|
195
|
+
n(b, { span: 6 }, {
|
196
|
+
default: a(() => [
|
197
|
+
n(c, {
|
198
|
+
label: l.$t("orderInfo.likeMobile"),
|
199
|
+
prop: "likeMobile"
|
200
|
+
}, {
|
201
|
+
default: a(() => [
|
202
|
+
n(P, {
|
203
|
+
modelValue: d.value.likeMobile,
|
204
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
|
205
|
+
placeholder: l.$t("orderInfo.likeMobileRequired"),
|
206
|
+
clearable: "",
|
207
|
+
onKeyup: t[7] || (t[7] = V((e) => o(y).handleQuery(), ["enter"])),
|
208
|
+
class: "!w-[203px]"
|
209
|
+
}, null, 8, ["modelValue", "placeholder"])
|
210
|
+
]),
|
211
|
+
_: 1
|
212
|
+
}, 8, ["label"])
|
213
|
+
]),
|
214
|
+
_: 1
|
215
|
+
})
|
216
|
+
]),
|
217
|
+
_: 1
|
218
|
+
}),
|
219
|
+
n(N, null, {
|
220
|
+
default: a(() => [
|
221
|
+
n(b, { span: 6 }, {
|
222
|
+
default: a(() => [
|
223
|
+
n(c, {
|
224
|
+
label: l.$t("orderInfo.paymentStatus"),
|
225
|
+
prop: "paymentStatus"
|
226
|
+
}, {
|
227
|
+
default: a(() => [
|
228
|
+
n(C, {
|
229
|
+
modelValue: d.value.paymentStatus,
|
230
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.paymentStatus = e),
|
231
|
+
data: o(m).paymentStatusEnum.values,
|
232
|
+
placeholder: l.$t("orderInfo.paymentStatusRequired"),
|
233
|
+
clearable: "",
|
234
|
+
onKeyup: t[9] || (t[9] = V((e) => o(y).handleQuery(), ["enter"]))
|
235
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
236
|
+
]),
|
237
|
+
_: 1
|
238
|
+
}, 8, ["label"])
|
239
|
+
]),
|
240
|
+
_: 1
|
241
|
+
}),
|
242
|
+
n(b, { span: 6 }, {
|
243
|
+
default: a(() => [
|
244
|
+
n(c, {
|
245
|
+
label: l.$t("orderInfo.orderTime"),
|
246
|
+
prop: "startCreateTime"
|
247
|
+
}, {
|
248
|
+
default: a(() => [
|
249
|
+
n(X, {
|
250
|
+
modelValue: E.value,
|
251
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => E.value = e),
|
252
|
+
class: "dropdown-left",
|
253
|
+
type: "daterange",
|
254
|
+
"start-placeholder": l.$t("orderInfo.startCreateTime"),
|
255
|
+
"end-placeholder": l.$t("orderInfo.endCreateTime"),
|
256
|
+
format: "YYYY-MM-DD",
|
257
|
+
"value-format": "YYYY-MM-DD",
|
258
|
+
onChange: H
|
259
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
260
|
+
]),
|
261
|
+
_: 1
|
262
|
+
}, 8, ["label"])
|
263
|
+
]),
|
264
|
+
_: 1
|
265
|
+
}),
|
266
|
+
n(b, { span: 12 }, {
|
267
|
+
default: a(() => [
|
268
|
+
n(c, { class: "search-btn" }, {
|
269
|
+
default: a(() => [
|
270
|
+
n(D, {
|
271
|
+
type: "primary",
|
272
|
+
onClick: t[11] || (t[11] = (e) => o(y).handleQuery())
|
273
|
+
}, {
|
274
|
+
default: a(() => [
|
275
|
+
u(r(l.$t("common.search")), 1)
|
276
|
+
]),
|
277
|
+
_: 1
|
278
|
+
}),
|
279
|
+
n(D, { onClick: F }, {
|
280
|
+
default: a(() => [
|
281
|
+
u(r(l.$t("common.reset")), 1)
|
282
|
+
]),
|
283
|
+
_: 1
|
284
|
+
})
|
285
|
+
]),
|
286
|
+
_: 1
|
287
|
+
})
|
288
|
+
]),
|
289
|
+
_: 1
|
290
|
+
})
|
291
|
+
]),
|
292
|
+
_: 1
|
293
|
+
})
|
294
|
+
]),
|
295
|
+
_: 1
|
296
|
+
}, 8, ["model"]),
|
297
|
+
t[19] || (t[19] = s("div", { class: "clear" }, null, -1))
|
298
|
+
]),
|
299
|
+
n(ae, {
|
300
|
+
shadow: "never",
|
301
|
+
class: "table-container"
|
302
|
+
}, {
|
303
|
+
header: a(() => [
|
304
|
+
n(N, null, {
|
305
|
+
default: a(() => [
|
306
|
+
n(b, { span: 17 }),
|
307
|
+
n(b, {
|
308
|
+
span: 7,
|
309
|
+
class: "container-float"
|
310
|
+
}, {
|
311
|
+
default: a(() => [
|
312
|
+
U((i(), f(D, {
|
313
|
+
plain: "",
|
314
|
+
type: "primary",
|
315
|
+
onClick: t[12] || (t[12] = (e) => o(y).handleExport(o(T)("orderInfo.name")))
|
316
|
+
}, {
|
317
|
+
default: a(() => [
|
318
|
+
u(r(l.$t("common.export")), 1)
|
319
|
+
]),
|
320
|
+
_: 1
|
321
|
+
})), [
|
322
|
+
[R, ["order:order_info:export"]]
|
323
|
+
]),
|
324
|
+
n(x, {
|
325
|
+
modelValue: o(g),
|
326
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => W(g) ? g.value = e : g = e),
|
327
|
+
"label-name": "order/order-info"
|
328
|
+
}, null, 8, ["modelValue"])
|
329
|
+
]),
|
330
|
+
_: 1
|
331
|
+
})
|
332
|
+
]),
|
333
|
+
_: 1
|
334
|
+
})
|
335
|
+
]),
|
336
|
+
footer: a(() => [
|
337
|
+
o(h) > 0 ? (i(), f(te, {
|
338
|
+
key: 0,
|
339
|
+
total: o(h),
|
340
|
+
"onUpdate:total": t[14] || (t[14] = (e) => W(h) ? h.value = e : null),
|
341
|
+
"current-page": d.value.curPage,
|
342
|
+
"onUpdate:currentPage": t[15] || (t[15] = (e) => d.value.curPage = e),
|
343
|
+
"page-size": d.value.pageSize,
|
344
|
+
"onUpdate:pageSize": t[16] || (t[16] = (e) => d.value.pageSize = e),
|
345
|
+
onPagination: t[17] || (t[17] = (e) => o(y).getList())
|
346
|
+
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
347
|
+
]),
|
348
|
+
default: a(() => [
|
349
|
+
n(ee, {
|
350
|
+
ref_key: "multipleTableRef",
|
351
|
+
ref: z,
|
352
|
+
"row-key": "orderId",
|
353
|
+
"list-loading": o(K),
|
354
|
+
data: o(Q),
|
355
|
+
"table-label": o(g),
|
356
|
+
onSelectionChange: G
|
357
|
+
}, {
|
358
|
+
shopId: a((e) => [
|
359
|
+
s("span", null, r(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
360
|
+
]),
|
361
|
+
orderItemList: a((e) => [
|
362
|
+
(i(!0), k(de, null, ue(e.data.row.orderItemList.results, (S, oe) => (i(), k("div", {
|
363
|
+
key: oe,
|
364
|
+
class: "order-item"
|
365
|
+
}, [
|
366
|
+
s("div", Ie, r(S.spuName), 1),
|
367
|
+
s("div", be, "¥" + r(S.salesPrice), 1),
|
368
|
+
s("div", we, r(S.specInfo), 1),
|
369
|
+
s("div", ce, "数量:" + r(S.quantity), 1)
|
370
|
+
]))), 128))
|
371
|
+
]),
|
372
|
+
orderCodeAndCreateTime: a((e) => [
|
373
|
+
s("span", null, [
|
374
|
+
u(r(o(Y).$moment.formatDate(
|
375
|
+
e.data.row.createTime,
|
376
|
+
"YYYY-MM-DD HH:mm:ss"
|
377
|
+
)) + " ", 1),
|
378
|
+
t[20] || (t[20] = s("br", null, null, -1)),
|
379
|
+
u(" " + r(e.data.row.orderCode), 1)
|
380
|
+
])
|
381
|
+
]),
|
382
|
+
status: a((e) => [
|
383
|
+
s("div", null, [
|
384
|
+
u(r(l.$t("orderInfo.orderStatus")) + ": ", 1),
|
385
|
+
e.data.row.orderStatus === o(w).unpay ? (i(), f(v, {
|
386
|
+
key: 0,
|
387
|
+
type: "danger"
|
388
|
+
}, {
|
389
|
+
default: a(() => [
|
390
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
391
|
+
]),
|
392
|
+
_: 2
|
393
|
+
}, 1024)) : I("", !0),
|
394
|
+
e.data.row.orderStatus === o(w).unpost ? (i(), f(v, {
|
395
|
+
key: 1,
|
396
|
+
type: "warning"
|
397
|
+
}, {
|
398
|
+
default: a(() => [
|
399
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
400
|
+
]),
|
401
|
+
_: 2
|
402
|
+
}, 1024)) : I("", !0),
|
403
|
+
e.data.row.orderStatus === o(w).unreceive ? (i(), f(v, {
|
404
|
+
key: 2,
|
405
|
+
type: "primary"
|
406
|
+
}, {
|
407
|
+
default: a(() => [
|
408
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
409
|
+
]),
|
410
|
+
_: 2
|
411
|
+
}, 1024)) : I("", !0),
|
412
|
+
e.data.row.orderStatus === o(w).complete ? (i(), f(v, {
|
413
|
+
key: 3,
|
414
|
+
type: "success"
|
415
|
+
}, {
|
416
|
+
default: a(() => [
|
417
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
418
|
+
]),
|
419
|
+
_: 2
|
420
|
+
}, 1024)) : I("", !0),
|
421
|
+
e.data.row.orderStatus === o(w).cancel ? (i(), f(v, {
|
422
|
+
key: 4,
|
423
|
+
type: "info"
|
424
|
+
}, {
|
425
|
+
default: a(() => [
|
426
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
427
|
+
]),
|
428
|
+
_: 2
|
429
|
+
}, 1024)) : I("", !0)
|
430
|
+
]),
|
431
|
+
s("span", null, [
|
432
|
+
u(r(l.$t("orderInfo.paymentStatus")) + ": ", 1),
|
433
|
+
e.data.row.paymentStatus === o(w).unpaid ? (i(), f(v, {
|
434
|
+
key: 0,
|
435
|
+
type: "danger"
|
436
|
+
}, {
|
437
|
+
default: a(() => [
|
438
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
439
|
+
e.data.row.paymentStatus
|
440
|
+
)), 1)
|
441
|
+
]),
|
442
|
+
_: 2
|
443
|
+
}, 1024)) : e.data.row.paymentStatus === o(w).part_paid ? (i(), f(v, {
|
444
|
+
key: 1,
|
445
|
+
type: "info"
|
446
|
+
}, {
|
447
|
+
default: a(() => [
|
448
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
449
|
+
e.data.row.paymentStatus
|
450
|
+
)), 1)
|
451
|
+
]),
|
452
|
+
_: 2
|
453
|
+
}, 1024)) : e.data.row.paymentStatus === o(w).paid ? (i(), f(v, {
|
454
|
+
key: 2,
|
455
|
+
type: "success"
|
456
|
+
}, {
|
457
|
+
default: a(() => [
|
458
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
459
|
+
e.data.row.paymentStatus
|
460
|
+
)), 1)
|
461
|
+
]),
|
462
|
+
_: 2
|
463
|
+
}, 1024)) : I("", !0)
|
464
|
+
]),
|
465
|
+
s("div", null, [
|
466
|
+
u(r(l.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
467
|
+
e.data.row.appraisesStatus === !1 ? (i(), f(v, {
|
468
|
+
key: 0,
|
469
|
+
type: "info"
|
470
|
+
}, {
|
471
|
+
default: a(() => [
|
472
|
+
u(r(o(m).APPRAISES_STATUS.getValue(e.data.row.appraisesStatus)), 1)
|
473
|
+
]),
|
474
|
+
_: 2
|
475
|
+
}, 1024)) : I("", !0),
|
476
|
+
e.data.row.appraisesStatus === !0 ? (i(), f(v, {
|
477
|
+
key: 1,
|
478
|
+
type: "success"
|
479
|
+
}, {
|
480
|
+
default: a(() => [
|
481
|
+
u(r(o(m).APPRAISES_STATUS.getValue(e.data.row.appraisesStatus)), 1)
|
482
|
+
]),
|
483
|
+
_: 2
|
484
|
+
}, 1024)) : I("", !0)
|
485
|
+
])
|
486
|
+
]),
|
487
|
+
salesPrice: a((e) => [
|
488
|
+
s("div", null, [
|
489
|
+
s("div", null, r(l.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
|
490
|
+
s("div", null, r(l.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
|
491
|
+
s("div", null, r(l.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
|
492
|
+
s("div", Se, r(l.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
|
493
|
+
])
|
494
|
+
]),
|
495
|
+
paymentWay: a((e) => [
|
496
|
+
s("span", null, r(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
497
|
+
]),
|
498
|
+
deliveryWay: a((e) => [
|
499
|
+
s("span", null, r(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
500
|
+
]),
|
501
|
+
operation: a((e) => [
|
502
|
+
U((i(), k("span", {
|
503
|
+
class: "el-button-color dropdown-left",
|
504
|
+
onClick: (S) => O(e.data.row)
|
505
|
+
}, [
|
506
|
+
u(r(l.$t("common.view")), 1)
|
507
|
+
], 8, ge)), [
|
508
|
+
[R, ["order:order_info:view"]]
|
509
|
+
]),
|
510
|
+
U((i(), k("span", {
|
511
|
+
class: "el-button-color dropdown-left",
|
512
|
+
onClick: (S) => B(e.data.row)
|
513
|
+
}, [
|
514
|
+
u(r(l.$t("orderInfo.deliver")), 1)
|
515
|
+
], 8, _e)), [
|
516
|
+
[R, ["order:order_info:delivery"]]
|
517
|
+
])
|
518
|
+
]),
|
519
|
+
_: 1
|
520
|
+
}, 8, ["list-loading", "data", "table-label"])
|
521
|
+
]),
|
522
|
+
_: 1
|
523
|
+
}),
|
524
|
+
_.value.visible ? (i(), f(fe, {
|
525
|
+
key: 0,
|
526
|
+
modelValue: _.value.visible,
|
527
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => _.value.visible = e),
|
528
|
+
title: _.value.title,
|
529
|
+
"entity-key": o(A),
|
530
|
+
"entity-model": o(L),
|
531
|
+
onRefresh: J,
|
532
|
+
width: "500px"
|
533
|
+
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : I("", !0)
|
534
|
+
]);
|
535
|
+
};
|
536
|
+
}
|
537
|
+
});
|
538
|
+
export {
|
539
|
+
De as _
|
540
|
+
};
|