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