xyvcard-order 0.0.21 → 0.0.23
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/{deliver-gP7_mD6E.mjs → deliver-xdoW8QbQ.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-bpU2ikKn.mjs → deliver.vue_vue_type_script_setup_true_lang-KNWXpWfJ.mjs} +1 -1
- package/dist/{edit-4YqpytcB.mjs → edit-syt7QO1o.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2vJHeGo.mjs → edit.vue_vue_type_script_setup_true_lang-CDDwv_I0.mjs} +1 -1
- package/dist/index-BMrv-n10.mjs +349 -0
- package/dist/{index-DRFiw9Ec.mjs → index-BZHtbIZR.mjs} +492 -510
- package/dist/index-BhfIsPKv.mjs +408 -0
- package/dist/{index-CcsE0S8M.mjs → index-C2K-uAKW.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-Bnfa8Ksd.mjs → info-DV1TgYo0.mjs} +3 -3
- package/dist/{info-BSPyLwcG.mjs → info-Lp4w5kOC.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-B7hhEmoj.mjs → info.vue_vue_type_script_setup_true_lang-Dj376rSp.mjs} +1 -1
- package/dist/{orderList-BoclXj0f.mjs → orderList-C0Zyo4nE.mjs} +1 -1
- package/dist/{orderList.vue_vue_type_script_setup_true_lang-D9LzUR1C.mjs → orderList.vue_vue_type_script_setup_true_lang-DHrP4RpK.mjs} +200 -222
- package/package.json +10 -10
- package/dist/index-C8qclRvX.mjs +0 -430
- package/dist/index-D-mR7O2p.mjs +0 -373
- package/dts/src/views/order/order-info/change.vue.d.ts +0 -22
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as se, ref as
|
2
|
-
import { ElMessageBox as
|
3
|
-
import { useRoute as
|
4
|
-
import { useI18n as
|
5
|
-
import { useTableHooks as
|
6
|
-
import { o as
|
7
|
-
import { D as
|
8
|
-
import { _ as
|
9
|
-
const
|
1
|
+
import { defineComponent as se, ref as D, getCurrentInstance as ie, reactive as j, onActivated as me, resolveComponent as v, resolveDirective as pe, createElementBlock as k, openBlock as d, createElementVNode as m, createVNode as n, createBlock as i, createCommentVNode as p, withCtx as a, withKeys as E, unref as r, createTextVNode as s, toDisplayString as l, withDirectives as Y, Fragment as fe, renderList as ye, isRef as O } from "vue";
|
2
|
+
import { ElMessageBox as ve, ElMessage as z } from "element-plus";
|
3
|
+
import { useRoute as ce, useRouter as Se } from "vue-router";
|
4
|
+
import { useI18n as Ie } from "vue-i18n";
|
5
|
+
import { useTableHooks as be } from "jmash-core";
|
6
|
+
import { o as B } from "./index-BZHtbIZR.mjs";
|
7
|
+
import { D as f, C as c } from "./index-CIvF2jlB.mjs";
|
8
|
+
import { _ as Ce } from "./deliver.vue_vue_type_script_setup_true_lang-KNWXpWfJ.mjs";
|
9
|
+
const we = { class: "app-container" }, ge = { class: "search-container" }, ke = { class: "item-spuName" }, Ve = { class: "item-salesPrice" }, _e = { class: "item-specInfo" }, $e = { class: "item-quantity" }, he = { class: "orderPrice" }, Ee = ["onClick"], Te = ["onClick"], Pe = ["onClick"], Ae = /* @__PURE__ */ se({
|
10
10
|
__name: "orderList",
|
11
11
|
props: {
|
12
12
|
orderStatus: {
|
@@ -14,14 +14,14 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
14
14
|
default: () => ""
|
15
15
|
}
|
16
16
|
},
|
17
|
-
setup(
|
18
|
-
const { t: C } =
|
19
|
-
|
20
|
-
const V =
|
17
|
+
setup(K) {
|
18
|
+
const { t: C } = Ie(), L = ce(), F = Se(), w = K;
|
19
|
+
f.shopBizDict.useValues();
|
20
|
+
const V = D([]), { proxy: H } = ie(), u = D({
|
21
21
|
curPage: 1,
|
22
22
|
pageSize: 10,
|
23
23
|
orderStatus: w.orderStatus ? w.orderStatus : void 0,
|
24
|
-
appraisesStatus:
|
24
|
+
appraisesStatus: L.query.appraisesStatus ? L.query.appraisesStatus === "true" : void 0
|
25
25
|
}), {
|
26
26
|
tableHooks: y,
|
27
27
|
multipleTableRef: G,
|
@@ -29,16 +29,16 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
29
29
|
listLoading: X,
|
30
30
|
tableData: Z,
|
31
31
|
total: T
|
32
|
-
} =
|
33
|
-
let
|
34
|
-
{
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
},
|
32
|
+
} = be(C, B, u);
|
33
|
+
let _ = D([
|
34
|
+
// {
|
35
|
+
// label: "orderInfo.shopName",
|
36
|
+
// prop: "shopId",
|
37
|
+
// minWidth: "200",
|
38
|
+
// slotName: "shopId",
|
39
|
+
// columnType: "slot",
|
40
|
+
// isColumn: true,
|
41
|
+
// },
|
42
42
|
{
|
43
43
|
label: "orderInfo.orderItemList",
|
44
44
|
prop: "orderItemList",
|
@@ -96,16 +96,16 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
96
96
|
isColumn: !0
|
97
97
|
}
|
98
98
|
]);
|
99
|
-
const
|
99
|
+
const $ = D({
|
100
100
|
title: C("orderInfo.deliver"),
|
101
101
|
visible: !1
|
102
102
|
});
|
103
|
-
let
|
104
|
-
function
|
105
|
-
|
103
|
+
let R = j({}), q = j({});
|
104
|
+
function A(o) {
|
105
|
+
u.value.startCreateTime = o[0], u.value.endCreateTime = o[1];
|
106
106
|
}
|
107
|
-
function
|
108
|
-
V.value = [],
|
107
|
+
function W() {
|
108
|
+
V.value = [], u.value.startCreateTime = "", u.value.endCreateTime = "", y.resetQuery();
|
109
109
|
}
|
110
110
|
function x(o) {
|
111
111
|
F.push({
|
@@ -114,20 +114,20 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
114
114
|
});
|
115
115
|
}
|
116
116
|
const ee = async (o) => {
|
117
|
-
|
117
|
+
ve.confirm(C("orderInfo.confirmCancel"), C("common.cancel"), {
|
118
118
|
confirmButtonText: C("common.confirm"),
|
119
119
|
cancelButtonText: C("common.cancel"),
|
120
120
|
type: "warning"
|
121
121
|
}).then(() => {
|
122
|
-
|
122
|
+
B.cancel({
|
123
123
|
orderId: o.orderId
|
124
124
|
}).then((t) => {
|
125
|
-
t.status === 200 && (
|
125
|
+
t.status === 200 && (z({
|
126
126
|
message: C("orderInfo.cancelSuccess"),
|
127
127
|
type: "success"
|
128
128
|
}), y.handleQuery());
|
129
129
|
}).catch((t) => {
|
130
|
-
console.error("Error canceling order:", t),
|
130
|
+
console.error("Error canceling order:", t), z({
|
131
131
|
message: C("orderInfo.cancelFailed"),
|
132
132
|
type: "error"
|
133
133
|
});
|
@@ -137,58 +137,39 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
137
137
|
};
|
138
138
|
function te(o) {
|
139
139
|
var t;
|
140
|
-
q.itemId = (t = o.orderItemList) == null ? void 0 : t.results[0].itemId,
|
140
|
+
q.itemId = (t = o.orderItemList) == null ? void 0 : t.results[0].itemId, R.orderId = o.orderId, $.value.visible = !0;
|
141
141
|
}
|
142
142
|
function ae(o) {
|
143
143
|
o && y.getList();
|
144
144
|
}
|
145
|
-
return
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
145
|
+
return me(() => {
|
146
|
+
y.getList();
|
147
|
+
}), (o, t) => {
|
148
|
+
const M = v("el-input"), I = v("el-form-item"), S = v("el-col"), P = v("el-row"), U = v("jmash-select"), Q = v("el-date-picker"), h = v("el-button"), re = v("el-form"), oe = v("jmash-column-select"), b = v("el-tag"), le = v("jmash-table"), ne = v("jmash-pagination"), de = v("el-card"), N = pe("hasPerm");
|
149
|
+
return d(), k("div", we, [
|
150
|
+
m("div", ge, [
|
151
|
+
n(re, {
|
150
152
|
ref_key: "queryFormRef",
|
151
153
|
ref: J,
|
152
|
-
model:
|
154
|
+
model: u.value,
|
153
155
|
inline: !0
|
154
156
|
}, {
|
155
157
|
default: a(() => [
|
156
|
-
|
158
|
+
n(P, null, {
|
157
159
|
default: a(() => [
|
158
|
-
|
159
|
-
default: a(() => [
|
160
|
-
l(I, {
|
161
|
-
label: o.$t("orderInfo.shopName"),
|
162
|
-
prop: "shopId"
|
163
|
-
}, {
|
164
|
-
default: a(() => [
|
165
|
-
l(P, {
|
166
|
-
modelValue: d.value.shopId,
|
167
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
|
168
|
-
data: r(p).shopBizDict.values,
|
169
|
-
placeholder: o.$t("orderInfo.shopNameRequired"),
|
170
|
-
clearable: "",
|
171
|
-
onKeyup: t[1] || (t[1] = k((e) => r(y).handleQuery(), ["enter"]))
|
172
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
173
|
-
]),
|
174
|
-
_: 1
|
175
|
-
}, 8, ["label"])
|
176
|
-
]),
|
177
|
-
_: 1
|
178
|
-
}),
|
179
|
-
l(c, { span: 6 }, {
|
160
|
+
n(S, { span: 6 }, {
|
180
161
|
default: a(() => [
|
181
|
-
|
162
|
+
n(I, {
|
182
163
|
label: o.$t("orderInfo.orderCode"),
|
183
164
|
prop: "likeOrderCode"
|
184
165
|
}, {
|
185
166
|
default: a(() => [
|
186
|
-
|
187
|
-
modelValue:
|
188
|
-
"onUpdate:modelValue": t[
|
167
|
+
n(M, {
|
168
|
+
modelValue: u.value.likeOrderCode,
|
169
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrderCode = e),
|
189
170
|
placeholder: o.$t("orderInfo.orderCodeRequired"),
|
190
171
|
clearable: "",
|
191
|
-
onKeyup: t[
|
172
|
+
onKeyup: t[1] || (t[1] = E((e) => r(y).handleQuery(), ["enter"])),
|
192
173
|
class: "!w-[203px]"
|
193
174
|
}, null, 8, ["modelValue", "placeholder"])
|
194
175
|
]),
|
@@ -197,19 +178,19 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
197
178
|
]),
|
198
179
|
_: 1
|
199
180
|
}),
|
200
|
-
|
181
|
+
n(S, { span: 6 }, {
|
201
182
|
default: a(() => [
|
202
|
-
|
183
|
+
n(I, {
|
203
184
|
label: o.$t("orderInfo.spuName"),
|
204
185
|
prop: "likeSpuName"
|
205
186
|
}, {
|
206
187
|
default: a(() => [
|
207
|
-
|
208
|
-
modelValue:
|
209
|
-
"onUpdate:modelValue": t[
|
188
|
+
n(M, {
|
189
|
+
modelValue: u.value.likeSpuName,
|
190
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.likeSpuName = e),
|
210
191
|
placeholder: o.$t("orderInfo.spuNameRequired"),
|
211
192
|
clearable: "",
|
212
|
-
onKeyup: t[
|
193
|
+
onKeyup: t[3] || (t[3] = E((e) => r(y).handleQuery(), ["enter"])),
|
213
194
|
class: "!w-[203px]"
|
214
195
|
}, null, 8, ["modelValue", "placeholder"])
|
215
196
|
]),
|
@@ -218,19 +199,19 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
218
199
|
]),
|
219
200
|
_: 1
|
220
201
|
}),
|
221
|
-
|
202
|
+
n(S, { span: 6 }, {
|
222
203
|
default: a(() => [
|
223
|
-
|
204
|
+
n(I, {
|
224
205
|
label: o.$t("orderInfo.likeMobile"),
|
225
206
|
prop: "likeMobile"
|
226
207
|
}, {
|
227
208
|
default: a(() => [
|
228
|
-
|
229
|
-
modelValue:
|
230
|
-
"onUpdate:modelValue": t[
|
209
|
+
n(M, {
|
210
|
+
modelValue: u.value.likeMobile,
|
211
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.likeMobile = e),
|
231
212
|
placeholder: o.$t("orderInfo.likeMobileRequired"),
|
232
213
|
clearable: "",
|
233
|
-
onKeyup: t[
|
214
|
+
onKeyup: t[5] || (t[5] = E((e) => r(y).handleQuery(), ["enter"])),
|
234
215
|
class: "!w-[203px]"
|
235
216
|
}, null, 8, ["modelValue", "placeholder"])
|
236
217
|
]),
|
@@ -242,22 +223,22 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
242
223
|
]),
|
243
224
|
_: 1
|
244
225
|
}),
|
245
|
-
|
226
|
+
n(P, null, {
|
246
227
|
default: a(() => [
|
247
|
-
|
228
|
+
n(S, { span: 6 }, {
|
248
229
|
default: a(() => [
|
249
|
-
|
230
|
+
n(I, {
|
250
231
|
label: o.$t("orderInfo.paymentStatus"),
|
251
232
|
prop: "paymentStatus"
|
252
233
|
}, {
|
253
234
|
default: a(() => [
|
254
|
-
|
255
|
-
modelValue:
|
256
|
-
"onUpdate:modelValue": t[
|
257
|
-
data: r(
|
235
|
+
n(U, {
|
236
|
+
modelValue: u.value.paymentStatus,
|
237
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.paymentStatus = e),
|
238
|
+
data: r(f).paymentStatusEnum.values,
|
258
239
|
placeholder: o.$t("orderInfo.paymentStatusRequired"),
|
259
240
|
clearable: "",
|
260
|
-
onKeyup: t[
|
241
|
+
onKeyup: t[7] || (t[7] = E((e) => r(y).handleQuery(), ["enter"]))
|
261
242
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
262
243
|
]),
|
263
244
|
_: 1
|
@@ -265,23 +246,23 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
265
246
|
]),
|
266
247
|
_: 1
|
267
248
|
}),
|
268
|
-
w.orderStatus ?
|
249
|
+
w.orderStatus ? p("", !0) : (d(), i(S, {
|
269
250
|
key: 0,
|
270
251
|
span: 6
|
271
252
|
}, {
|
272
253
|
default: a(() => [
|
273
|
-
|
254
|
+
n(I, {
|
274
255
|
label: o.$t("orderInfo.orderStatus"),
|
275
256
|
prop: "orderStatus"
|
276
257
|
}, {
|
277
258
|
default: a(() => [
|
278
|
-
|
279
|
-
modelValue:
|
280
|
-
"onUpdate:modelValue": t[
|
281
|
-
data: r(
|
259
|
+
n(U, {
|
260
|
+
modelValue: u.value.orderStatus,
|
261
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.orderStatus = e),
|
262
|
+
data: r(f).orderStatusEnum.values,
|
282
263
|
placeholder: o.$t("orderInfo.orderStatusRequired"),
|
283
264
|
clearable: "",
|
284
|
-
onKeyup: t[
|
265
|
+
onKeyup: t[9] || (t[9] = E((e) => r(y).handleQuery(), ["enter"]))
|
285
266
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
286
267
|
]),
|
287
268
|
_: 1
|
@@ -289,21 +270,21 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
289
270
|
]),
|
290
271
|
_: 1
|
291
272
|
})),
|
292
|
-
!w.orderStatus || w.orderStatus === r(
|
273
|
+
!w.orderStatus || w.orderStatus === r(c).COMPLETE ? (d(), i(S, {
|
293
274
|
key: 1,
|
294
275
|
span: 6
|
295
276
|
}, {
|
296
277
|
default: a(() => [
|
297
|
-
|
278
|
+
n(I, {
|
298
279
|
label: o.$t("orderInfo.appraisesStatus"),
|
299
280
|
prop: "appraisesStatus"
|
300
281
|
}, {
|
301
282
|
default: a(() => [
|
302
|
-
|
303
|
-
modelValue:
|
304
|
-
"onUpdate:modelValue": t[
|
283
|
+
n(U, {
|
284
|
+
modelValue: u.value.appraisesStatus,
|
285
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.appraisesStatus = e),
|
305
286
|
placeholder: o.$t("orderInfo.appraisesStatusRequired"),
|
306
|
-
data: r(
|
287
|
+
data: r(f).appraisesStatus.values,
|
307
288
|
clearable: ""
|
308
289
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
309
290
|
]),
|
@@ -311,52 +292,52 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
311
292
|
}, 8, ["label"])
|
312
293
|
]),
|
313
294
|
_: 1
|
314
|
-
})) :
|
315
|
-
w.orderStatus ? (
|
295
|
+
})) : p("", !0),
|
296
|
+
w.orderStatus ? (d(), i(S, {
|
316
297
|
key: 2,
|
317
298
|
span: 6
|
318
299
|
}, {
|
319
300
|
default: a(() => [
|
320
|
-
|
301
|
+
n(I, {
|
321
302
|
label: o.$t("orderInfo.orderTime"),
|
322
303
|
prop: "startCreateTime"
|
323
304
|
}, {
|
324
305
|
default: a(() => [
|
325
|
-
|
306
|
+
n(Q, {
|
326
307
|
modelValue: V.value,
|
327
|
-
"onUpdate:modelValue": t[
|
308
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => V.value = e),
|
328
309
|
type: "daterange",
|
329
310
|
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
330
311
|
"end-placeholder": o.$t("orderInfo.endCreateTime"),
|
331
312
|
format: "YYYY-MM-DD",
|
332
313
|
"value-format": "YYYY-MM-DD",
|
333
|
-
onChange:
|
314
|
+
onChange: A
|
334
315
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
335
316
|
]),
|
336
317
|
_: 1
|
337
318
|
}, 8, ["label"])
|
338
319
|
]),
|
339
320
|
_: 1
|
340
|
-
})) :
|
341
|
-
w.orderStatus ? (
|
321
|
+
})) : p("", !0),
|
322
|
+
w.orderStatus ? (d(), i(S, {
|
342
323
|
key: 3,
|
343
|
-
span: w.orderStatus === r(
|
324
|
+
span: w.orderStatus === r(c).COMPLETE ? 6 : 12
|
344
325
|
}, {
|
345
326
|
default: a(() => [
|
346
|
-
|
327
|
+
n(I, { class: "search-btn" }, {
|
347
328
|
default: a(() => [
|
348
|
-
|
329
|
+
n(h, {
|
349
330
|
type: "primary",
|
350
|
-
onClick: t[
|
331
|
+
onClick: t[12] || (t[12] = (e) => r(y).handleQuery())
|
351
332
|
}, {
|
352
333
|
default: a(() => [
|
353
|
-
s(
|
334
|
+
s(l(o.$t("common.search")), 1)
|
354
335
|
]),
|
355
336
|
_: 1
|
356
337
|
}),
|
357
|
-
|
338
|
+
n(h, { onClick: W }, {
|
358
339
|
default: a(() => [
|
359
|
-
s(
|
340
|
+
s(l(o.$t("common.reset")), 1)
|
360
341
|
]),
|
361
342
|
_: 1
|
362
343
|
})
|
@@ -365,28 +346,28 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
365
346
|
})
|
366
347
|
]),
|
367
348
|
_: 1
|
368
|
-
}, 8, ["span"])) :
|
349
|
+
}, 8, ["span"])) : p("", !0)
|
369
350
|
]),
|
370
351
|
_: 1
|
371
352
|
}),
|
372
|
-
w.orderStatus ?
|
353
|
+
w.orderStatus ? p("", !0) : (d(), i(P, { key: 0 }, {
|
373
354
|
default: a(() => [
|
374
|
-
|
355
|
+
n(S, { span: 6 }, {
|
375
356
|
default: a(() => [
|
376
|
-
|
357
|
+
n(I, {
|
377
358
|
label: o.$t("orderInfo.orderTime"),
|
378
359
|
prop: "startCreateTime"
|
379
360
|
}, {
|
380
361
|
default: a(() => [
|
381
|
-
|
362
|
+
n(Q, {
|
382
363
|
modelValue: V.value,
|
383
|
-
"onUpdate:modelValue": t[
|
364
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => V.value = e),
|
384
365
|
type: "daterange",
|
385
366
|
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
386
367
|
"end-placeholder": o.$t("orderInfo.endCreateTime"),
|
387
368
|
format: "YYYY-MM-DD",
|
388
369
|
"value-format": "YYYY-MM-DD",
|
389
|
-
onChange:
|
370
|
+
onChange: A
|
390
371
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
391
372
|
]),
|
392
373
|
_: 1
|
@@ -394,22 +375,22 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
394
375
|
]),
|
395
376
|
_: 1
|
396
377
|
}),
|
397
|
-
|
378
|
+
n(S, { span: 18 }, {
|
398
379
|
default: a(() => [
|
399
|
-
|
380
|
+
n(I, { class: "search-btn" }, {
|
400
381
|
default: a(() => [
|
401
|
-
|
382
|
+
n(h, {
|
402
383
|
type: "primary",
|
403
|
-
onClick: t[
|
384
|
+
onClick: t[14] || (t[14] = (e) => r(y).handleQuery())
|
404
385
|
}, {
|
405
386
|
default: a(() => [
|
406
|
-
s(
|
387
|
+
s(l(o.$t("common.search")), 1)
|
407
388
|
]),
|
408
389
|
_: 1
|
409
390
|
}),
|
410
|
-
|
391
|
+
n(h, { onClick: W }, {
|
411
392
|
default: a(() => [
|
412
|
-
s(
|
393
|
+
s(l(o.$t("common.reset")), 1)
|
413
394
|
]),
|
414
395
|
_: 1
|
415
396
|
})
|
@@ -426,33 +407,33 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
426
407
|
_: 1
|
427
408
|
}, 8, ["model"])
|
428
409
|
]),
|
429
|
-
|
410
|
+
n(de, {
|
430
411
|
shadow: "never",
|
431
412
|
class: "table-container"
|
432
413
|
}, {
|
433
414
|
header: a(() => [
|
434
|
-
|
415
|
+
n(P, null, {
|
435
416
|
default: a(() => [
|
436
|
-
|
417
|
+
n(S, {
|
437
418
|
span: 24,
|
438
419
|
class: "container-float"
|
439
420
|
}, {
|
440
421
|
default: a(() => [
|
441
|
-
|
422
|
+
Y((d(), i(h, {
|
442
423
|
plain: "",
|
443
424
|
type: "primary",
|
444
|
-
onClick: t[
|
425
|
+
onClick: t[15] || (t[15] = (e) => r(y).handleExport(r(C)("orderInfo.name")))
|
445
426
|
}, {
|
446
427
|
default: a(() => [
|
447
|
-
s(
|
428
|
+
s(l(o.$t("common.export")), 1)
|
448
429
|
]),
|
449
430
|
_: 1
|
450
431
|
})), [
|
451
|
-
[
|
432
|
+
[N, ["order:order_info:export"]]
|
452
433
|
]),
|
453
|
-
|
454
|
-
modelValue: r(
|
455
|
-
"onUpdate:modelValue": t[
|
434
|
+
n(oe, {
|
435
|
+
modelValue: r(_),
|
436
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => O(_) ? _.value = e : _ = e),
|
456
437
|
"label-name": "order/order-info"
|
457
438
|
}, null, 8, ["modelValue"])
|
458
439
|
]),
|
@@ -463,214 +444,211 @@ const Ce = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
463
444
|
})
|
464
445
|
]),
|
465
446
|
footer: a(() => [
|
466
|
-
r(T) > 0 ? (
|
447
|
+
r(T) > 0 ? (d(), i(ne, {
|
467
448
|
key: 0,
|
468
449
|
total: r(T),
|
469
|
-
"onUpdate:total": t[
|
470
|
-
"current-page":
|
471
|
-
"onUpdate:currentPage": t[
|
472
|
-
"page-size":
|
473
|
-
"onUpdate:pageSize": t[
|
474
|
-
onPagination: t[
|
475
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
450
|
+
"onUpdate:total": t[17] || (t[17] = (e) => O(T) ? T.value = e : null),
|
451
|
+
"current-page": u.value.curPage,
|
452
|
+
"onUpdate:currentPage": t[18] || (t[18] = (e) => u.value.curPage = e),
|
453
|
+
"page-size": u.value.pageSize,
|
454
|
+
"onUpdate:pageSize": t[19] || (t[19] = (e) => u.value.pageSize = e),
|
455
|
+
onPagination: t[20] || (t[20] = (e) => r(y).getList())
|
456
|
+
}, null, 8, ["total", "current-page", "page-size"])) : p("", !0)
|
476
457
|
]),
|
477
458
|
default: a(() => [
|
478
|
-
|
459
|
+
n(le, {
|
479
460
|
ref_key: "multipleTableRef",
|
480
461
|
ref: G,
|
481
462
|
"row-key": "orderId",
|
482
463
|
"list-loading": r(X),
|
483
464
|
data: r(Z),
|
484
|
-
"table-label": r(
|
465
|
+
"table-label": r(_),
|
485
466
|
isSelection: !1
|
486
467
|
}, {
|
487
|
-
shopId: a((e) => [
|
488
|
-
i("span", null, n(r(p).shopBizDict.getValue(e.data.row.shopId)), 1)
|
489
|
-
]),
|
490
468
|
orderItemList: a((e) => [
|
491
|
-
(
|
469
|
+
(d(!0), k(fe, null, ye(e.data.row.orderItemList.results, (g, ue) => (d(), k("div", {
|
492
470
|
key: ue,
|
493
471
|
class: "order-item"
|
494
472
|
}, [
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
473
|
+
m("div", ke, " 商品名称: " + l(g.spuName), 1),
|
474
|
+
m("div", Ve, "¥" + l(g.salesPrice), 1),
|
475
|
+
m("div", _e, " 规格: " + l(g.specInfo), 1),
|
476
|
+
m("div", $e, "数量:" + l(g.quantity), 1)
|
499
477
|
]))), 128))
|
500
478
|
]),
|
501
479
|
orderCodeAndCreateTime: a((e) => [
|
502
|
-
|
480
|
+
m("div", null, l(r(H).$moment.formatDate(
|
503
481
|
e.data.row.createTime,
|
504
482
|
"YYYY-MM-DD HH:mm:ss"
|
505
483
|
)), 1),
|
506
|
-
|
484
|
+
m("div", null, l(e.data.row.orderCode), 1)
|
507
485
|
]),
|
508
486
|
status: a((e) => [
|
509
|
-
|
510
|
-
s(
|
511
|
-
e.data.row.orderStatus === r(
|
487
|
+
m("div", null, [
|
488
|
+
s(l(o.$t("orderInfo.orderStatus")) + ": ", 1),
|
489
|
+
e.data.row.orderStatus === r(c).UNPAY ? (d(), i(b, {
|
512
490
|
key: 0,
|
513
491
|
type: "danger"
|
514
492
|
}, {
|
515
493
|
default: a(() => [
|
516
|
-
s(
|
494
|
+
s(l(r(f).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
517
495
|
]),
|
518
496
|
_: 2
|
519
|
-
}, 1024)) :
|
520
|
-
e.data.row.orderStatus === r(
|
497
|
+
}, 1024)) : p("", !0),
|
498
|
+
e.data.row.orderStatus === r(c).UNPOST ? (d(), i(b, {
|
521
499
|
key: 1,
|
522
500
|
type: "warning"
|
523
501
|
}, {
|
524
502
|
default: a(() => [
|
525
|
-
s(
|
503
|
+
s(l(r(f).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
526
504
|
]),
|
527
505
|
_: 2
|
528
|
-
}, 1024)) :
|
529
|
-
e.data.row.orderStatus === r(
|
506
|
+
}, 1024)) : p("", !0),
|
507
|
+
e.data.row.orderStatus === r(c).UNRECEIVE ? (d(), i(b, {
|
530
508
|
key: 2,
|
531
509
|
type: "primary"
|
532
510
|
}, {
|
533
511
|
default: a(() => [
|
534
|
-
s(
|
512
|
+
s(l(r(f).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
535
513
|
]),
|
536
514
|
_: 2
|
537
|
-
}, 1024)) :
|
538
|
-
e.data.row.orderStatus === r(
|
515
|
+
}, 1024)) : p("", !0),
|
516
|
+
e.data.row.orderStatus === r(c).COMPLETE ? (d(), i(b, {
|
539
517
|
key: 3,
|
540
518
|
type: "success"
|
541
519
|
}, {
|
542
520
|
default: a(() => [
|
543
|
-
s(
|
521
|
+
s(l(r(f).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
544
522
|
]),
|
545
523
|
_: 2
|
546
|
-
}, 1024)) :
|
547
|
-
e.data.row.orderStatus === r(
|
524
|
+
}, 1024)) : p("", !0),
|
525
|
+
e.data.row.orderStatus === r(c).CANCEL ? (d(), i(b, {
|
548
526
|
key: 4,
|
549
527
|
type: "info"
|
550
528
|
}, {
|
551
529
|
default: a(() => [
|
552
|
-
s(
|
530
|
+
s(l(r(f).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
553
531
|
]),
|
554
532
|
_: 2
|
555
|
-
}, 1024)) :
|
533
|
+
}, 1024)) : p("", !0)
|
556
534
|
]),
|
557
|
-
|
558
|
-
s(
|
559
|
-
e.data.row.paymentStatus === r(
|
535
|
+
m("span", null, [
|
536
|
+
s(l(o.$t("orderInfo.paymentStatus")) + ": ", 1),
|
537
|
+
e.data.row.paymentStatus === r(c).UNPAID ? (d(), i(b, {
|
560
538
|
key: 0,
|
561
539
|
type: "danger"
|
562
540
|
}, {
|
563
541
|
default: a(() => [
|
564
|
-
s(
|
542
|
+
s(l(r(f).paymentStatusEnum.getEnumValue(
|
565
543
|
e.data.row.paymentStatus
|
566
544
|
)), 1)
|
567
545
|
]),
|
568
546
|
_: 2
|
569
|
-
}, 1024)) : e.data.row.paymentStatus === r(
|
547
|
+
}, 1024)) : e.data.row.paymentStatus === r(c).PART_PAID ? (d(), i(b, {
|
570
548
|
key: 1,
|
571
549
|
type: "info"
|
572
550
|
}, {
|
573
551
|
default: a(() => [
|
574
|
-
s(
|
552
|
+
s(l(r(f).paymentStatusEnum.getEnumValue(
|
575
553
|
e.data.row.paymentStatus
|
576
554
|
)), 1)
|
577
555
|
]),
|
578
556
|
_: 2
|
579
|
-
}, 1024)) : e.data.row.paymentStatus === r(
|
557
|
+
}, 1024)) : e.data.row.paymentStatus === r(c).PAID ? (d(), i(b, {
|
580
558
|
key: 2,
|
581
559
|
type: "success"
|
582
560
|
}, {
|
583
561
|
default: a(() => [
|
584
|
-
s(
|
562
|
+
s(l(r(f).paymentStatusEnum.getEnumValue(
|
585
563
|
e.data.row.paymentStatus
|
586
564
|
)), 1)
|
587
565
|
]),
|
588
566
|
_: 2
|
589
|
-
}, 1024)) :
|
567
|
+
}, 1024)) : p("", !0)
|
590
568
|
]),
|
591
|
-
|
592
|
-
s(
|
593
|
-
e.data.row.appraisesStatus ?
|
569
|
+
m("div", null, [
|
570
|
+
s(l(o.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
571
|
+
e.data.row.appraisesStatus ? p("", !0) : (d(), i(b, {
|
594
572
|
key: 0,
|
595
573
|
type: "info"
|
596
574
|
}, {
|
597
575
|
default: a(() => [
|
598
|
-
s(
|
576
|
+
s(l(r(f).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
599
577
|
]),
|
600
578
|
_: 2
|
601
579
|
}, 1024)),
|
602
|
-
e.data.row.appraisesStatus ? (
|
580
|
+
e.data.row.appraisesStatus ? (d(), i(b, {
|
603
581
|
key: 1,
|
604
582
|
type: "success"
|
605
583
|
}, {
|
606
584
|
default: a(() => [
|
607
|
-
s(
|
585
|
+
s(l(r(f).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
608
586
|
]),
|
609
587
|
_: 2
|
610
|
-
}, 1024)) :
|
588
|
+
}, 1024)) : p("", !0)
|
611
589
|
])
|
612
590
|
]),
|
613
591
|
salesPrice: a((e) => [
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
592
|
+
m("div", null, [
|
593
|
+
m("div", null, l(o.$t("orderInfo.salesPrice")) + ": ¥" + l(e.data.row.salesPrice), 1),
|
594
|
+
m("div", null, l(o.$t("orderInfo.freightPrice")) + ": ¥" + l(e.data.row.freightPrice), 1),
|
595
|
+
m("div", null, l(o.$t("orderInfo.paymentCouponPrice")) + ": ¥" + l(e.data.row.paymentCouponPrice), 1),
|
596
|
+
m("div", he, l(o.$t("orderInfo.orderPrice")) + ": ¥" + l(e.data.row.orderPrice), 1)
|
619
597
|
])
|
620
598
|
]),
|
621
599
|
paymentWay: a((e) => [
|
622
|
-
|
600
|
+
m("span", null, l(r(f).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
623
601
|
]),
|
624
602
|
deliveryWay: a((e) => [
|
625
|
-
|
603
|
+
m("span", null, l(r(f).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
626
604
|
]),
|
627
605
|
operation: a((e) => [
|
628
|
-
|
606
|
+
Y((d(), k("span", {
|
629
607
|
class: "el-button-color",
|
630
608
|
onClick: (g) => x(e.data.row)
|
631
609
|
}, [
|
632
|
-
s(
|
633
|
-
], 8,
|
634
|
-
[
|
610
|
+
s(l(o.$t("common.view")), 1)
|
611
|
+
], 8, Ee)), [
|
612
|
+
[N, ["order:order_info:view"]]
|
635
613
|
]),
|
636
|
-
e.data.row.orderStatus === r(
|
614
|
+
e.data.row.orderStatus === r(c).UNPOST ? Y((d(), k("span", {
|
637
615
|
key: 0,
|
638
616
|
class: "el-button-color dropdown-left",
|
639
617
|
onClick: (g) => te(e.data.row)
|
640
618
|
}, [
|
641
|
-
s(
|
642
|
-
], 8,
|
643
|
-
[
|
644
|
-
]) :
|
645
|
-
e.data.row.orderStatus === r(
|
619
|
+
s(l(o.$t("orderInfo.deliver")), 1)
|
620
|
+
], 8, Te)), [
|
621
|
+
[N, ["order:order_info:delivery"]]
|
622
|
+
]) : p("", !0),
|
623
|
+
e.data.row.orderStatus === r(c).UNPAY ? Y((d(), k("span", {
|
646
624
|
key: 1,
|
647
625
|
class: "el-button-color dropdown-left",
|
648
626
|
onClick: (g) => ee(e.data.row)
|
649
627
|
}, [
|
650
|
-
s(
|
651
|
-
], 8,
|
652
|
-
[
|
653
|
-
]) :
|
628
|
+
s(l(o.$t("orderInfo.cancel")), 1)
|
629
|
+
], 8, Pe)), [
|
630
|
+
[N, ["order:order_info:cancel"]]
|
631
|
+
]) : p("", !0)
|
654
632
|
]),
|
655
633
|
_: 1
|
656
634
|
}, 8, ["list-loading", "data", "table-label"])
|
657
635
|
]),
|
658
636
|
_: 1
|
659
637
|
}),
|
660
|
-
|
638
|
+
$.value.visible ? (d(), i(Ce, {
|
661
639
|
key: 0,
|
662
|
-
modelValue:
|
663
|
-
"onUpdate:modelValue": t[
|
664
|
-
title:
|
665
|
-
"entity-key": r(
|
640
|
+
modelValue: $.value.visible,
|
641
|
+
"onUpdate:modelValue": t[21] || (t[21] = (e) => $.value.visible = e),
|
642
|
+
title: $.value.title,
|
643
|
+
"entity-key": r(R),
|
666
644
|
"entity-model": r(q),
|
667
645
|
onRefresh: ae,
|
668
646
|
width: "500px"
|
669
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) :
|
647
|
+
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0)
|
670
648
|
]);
|
671
649
|
};
|
672
650
|
}
|
673
651
|
});
|
674
652
|
export {
|
675
|
-
|
653
|
+
Ae as _
|
676
654
|
};
|