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