xyvcard-order 0.0.7 → 0.0.8
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/{canceled-DkLaSCTM.mjs → canceled-CTHGNWuB.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs → canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs} +2 -3
- package/dist/{change-D_G7h-Nt.mjs → change-3TnGoLNv.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs → change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs} +30 -26
- package/dist/{completed-D1_MyTO_.mjs → completed-BnD0Wh1K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs → completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs} +2 -3
- package/dist/{deliver-DqqGFB3x.mjs → deliver-DZDmtbHY.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs → deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs} +1 -1
- package/dist/{edit-MJXLcLm4.mjs → edit-BgR1glUx.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs → edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs} +1 -1
- package/dist/{index-ZL41UIHr.mjs → index-BTfCAYQ-.mjs} +76 -78
- package/dist/{index-DDG2eFhK.mjs → index-CaKojOfx.mjs} +228 -241
- package/dist/{index-DyFAVz8t.mjs → index-CfEKTjAd.mjs} +1 -1
- package/dist/{index-Dy-lHz4D.mjs → index-S4jzuvn6.mjs} +148 -144
- package/dist/index.mjs +2 -2
- package/dist/{info-CxZXerj5.mjs → info-3uYTUNzE.mjs} +1 -1
- package/dist/{info-Cl9HaMCm.mjs → info-DiPfhbtx.mjs} +85 -84
- package/dist/{info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs → info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs} +1 -1
- package/dist/{review-Bc-YCZ1X.mjs → review-DY1KQI3U.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs → review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs} +74 -72
- package/dist/style.css +1 -1
- package/dist/{unpay-3tbx6NWV.mjs → unpay-Bc8ekFnl.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs → unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs} +197 -210
- package/dist/{unpost-DOQ_sNYN.mjs → unpost-DE4VcTu2.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs → unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs} +39 -40
- package/dist/{unreceive-WZteM54K.mjs → unreceive-CUiJvXq1.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs → unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs} +2 -3
- package/dist/{viewLogist-lN1KX2qM.mjs → viewLogist-Cxu-IV-d.mjs} +1 -1
- package/dist/{viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs → viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs} +19 -21
- package/package.json +1 -1
@@ -1,29 +1,29 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRouter as
|
3
|
-
import { ElMessageBox as
|
4
|
-
import { useTableHooks as
|
5
|
-
import { useI18n as
|
6
|
-
import { o as
|
7
|
-
import { _ as
|
8
|
-
import { D as m, C as
|
9
|
-
const
|
1
|
+
import { defineComponent as ne, getCurrentInstance as de, ref as $, reactive as M, resolveComponent as f, resolveDirective as ue, openBlock as i, createElementBlock as h, createElementVNode as s, createVNode as n, withCtx as a, unref as o, withKeys as _, createTextVNode as u, toDisplayString as r, withDirectives as R, createBlock as y, isRef as Y, createCommentVNode as v, Fragment as se, renderList as ie } from "vue";
|
2
|
+
import { useRouter as me } from "vue-router";
|
3
|
+
import { ElMessageBox as pe, ElMessage as A } from "element-plus";
|
4
|
+
import { useTableHooks as fe } from "jmash-core";
|
5
|
+
import { useI18n as ye } from "vue-i18n";
|
6
|
+
import { o as L } from "./index-CfEKTjAd.mjs";
|
7
|
+
import { _ as ce } from "./change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs";
|
8
|
+
import { D as m, C as g } from "./index-CHzhYqx8.mjs";
|
9
|
+
const ve = { class: "app-container" }, Ie = { class: "search-container" }, we = { class: "item-spuName" }, ge = { class: "item-salesPrice" }, be = { class: "item-specInfo" }, Ce = { class: "item-quantity" }, Se = { class: "orderPrice" }, he = ["onClick"], _e = ["onClick"], Ue = /* @__PURE__ */ ne({
|
10
10
|
__name: "unpay",
|
11
|
-
setup(
|
12
|
-
const { t:
|
11
|
+
setup(ke) {
|
12
|
+
const { t: I } = ye(), { proxy: W } = de();
|
13
13
|
m.shopBizDict.useValues();
|
14
|
-
const
|
14
|
+
const E = $([]), d = $({
|
15
15
|
curPage: 1,
|
16
16
|
pageSize: 10,
|
17
|
-
orderStatus:
|
18
|
-
}),
|
17
|
+
orderStatus: g.UNPAY
|
18
|
+
}), q = me(), {
|
19
19
|
tableHooks: p,
|
20
|
-
multipleTableRef:
|
21
|
-
queryFormRef:
|
22
|
-
listLoading:
|
23
|
-
tableData:
|
24
|
-
total:
|
25
|
-
} =
|
26
|
-
let S =
|
20
|
+
multipleTableRef: z,
|
21
|
+
queryFormRef: B,
|
22
|
+
listLoading: j,
|
23
|
+
tableData: Q,
|
24
|
+
total: k
|
25
|
+
} = fe(I, L, d);
|
26
|
+
let S = $([
|
27
27
|
{
|
28
28
|
label: "orderInfo.shopName",
|
29
29
|
prop: "shopId",
|
@@ -89,81 +89,78 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
89
89
|
isColumn: !0
|
90
90
|
}
|
91
91
|
]);
|
92
|
-
const
|
93
|
-
title:
|
92
|
+
const V = $({
|
93
|
+
title: I("orderInfo.changePrice"),
|
94
94
|
visible: !1
|
95
95
|
});
|
96
|
-
let
|
97
|
-
function F(
|
98
|
-
|
96
|
+
let K = M({}), O = M({});
|
97
|
+
function F(l) {
|
98
|
+
d.value.startCreateTime = l[0], d.value.endCreateTime = l[1];
|
99
99
|
}
|
100
|
-
function H(
|
101
|
-
|
100
|
+
function H() {
|
101
|
+
E.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", p.resetQuery();
|
102
102
|
}
|
103
|
-
function G() {
|
104
|
-
|
105
|
-
}
|
106
|
-
function J(r) {
|
107
|
-
B.push({
|
103
|
+
function G(l) {
|
104
|
+
q.push({
|
108
105
|
path: "/raworder/order-info/info",
|
109
|
-
query: { orderId:
|
106
|
+
query: { orderId: l.orderId }
|
110
107
|
});
|
111
108
|
}
|
112
|
-
const
|
113
|
-
|
114
|
-
confirmButtonText:
|
115
|
-
cancelButtonText:
|
109
|
+
const J = async (l) => {
|
110
|
+
pe.confirm(I("orderInfo.confirmCancel"), I("common.cancel"), {
|
111
|
+
confirmButtonText: I("common.confirm"),
|
112
|
+
cancelButtonText: I("common.cancel"),
|
116
113
|
type: "warning"
|
117
114
|
}).then(() => {
|
118
|
-
|
119
|
-
orderId:
|
115
|
+
L.cancel({
|
116
|
+
orderId: l.orderId
|
120
117
|
}).then((t) => {
|
121
|
-
t.status === 200 && (
|
122
|
-
message:
|
118
|
+
t.status === 200 && (A({
|
119
|
+
message: I("orderInfo.cancelSuccess"),
|
123
120
|
type: "success"
|
124
121
|
}), p.handleQuery());
|
125
122
|
}).catch((t) => {
|
126
|
-
console.error("Error canceling order:", t),
|
127
|
-
message:
|
123
|
+
console.error("Error canceling order:", t), A({
|
124
|
+
message: I("orderInfo.cancelFailed"),
|
128
125
|
type: "error"
|
129
126
|
});
|
130
127
|
});
|
131
128
|
}).catch(() => {
|
132
129
|
});
|
133
130
|
};
|
134
|
-
function
|
135
|
-
p.selectionRows.value =
|
131
|
+
function X(l) {
|
132
|
+
p.selectionRows.value = l;
|
136
133
|
}
|
137
|
-
function
|
138
|
-
|
134
|
+
function Z(l) {
|
135
|
+
l && p.getList();
|
139
136
|
}
|
140
|
-
return p.getList(), (
|
141
|
-
const
|
142
|
-
return
|
143
|
-
|
144
|
-
n(
|
137
|
+
return p.getList(), (l, t) => {
|
138
|
+
const U = f("jmash-select"), b = f("el-form-item"), w = f("el-col"), P = f("el-input"), T = f("el-row"), x = f("el-date-picker"), N = f("el-button"), ee = f("el-form"), te = f("jmash-column-select"), c = f("el-tag"), ae = f("jmash-table"), oe = f("jmash-pagination"), le = f("el-card"), D = ue("hasPerm");
|
139
|
+
return i(), h("div", ve, [
|
140
|
+
s("div", Ie, [
|
141
|
+
n(ee, {
|
145
142
|
ref_key: "queryFormRef",
|
146
|
-
ref:
|
147
|
-
model:
|
143
|
+
ref: B,
|
144
|
+
model: d.value,
|
148
145
|
inline: !0
|
149
146
|
}, {
|
150
147
|
default: a(() => [
|
151
|
-
n(
|
148
|
+
n(T, null, {
|
152
149
|
default: a(() => [
|
153
|
-
n(
|
150
|
+
n(w, { span: 6 }, {
|
154
151
|
default: a(() => [
|
155
152
|
n(b, {
|
156
|
-
label:
|
153
|
+
label: l.$t("orderInfo.shopName"),
|
157
154
|
prop: "shopId"
|
158
155
|
}, {
|
159
156
|
default: a(() => [
|
160
|
-
n(
|
161
|
-
modelValue:
|
162
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
157
|
+
n(U, {
|
158
|
+
modelValue: d.value.shopId,
|
159
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
|
163
160
|
data: o(m).shopBizDict.values,
|
164
|
-
placeholder:
|
161
|
+
placeholder: l.$t("orderInfo.shopNameRequired"),
|
165
162
|
clearable: "",
|
166
|
-
onKeyup: t[1] || (t[1] =
|
163
|
+
onKeyup: t[1] || (t[1] = _((e) => o(p).handleQuery(), ["enter"]))
|
167
164
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
168
165
|
]),
|
169
166
|
_: 1
|
@@ -171,19 +168,19 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
171
168
|
]),
|
172
169
|
_: 1
|
173
170
|
}),
|
174
|
-
n(
|
171
|
+
n(w, { span: 6 }, {
|
175
172
|
default: a(() => [
|
176
173
|
n(b, {
|
177
|
-
label:
|
174
|
+
label: l.$t("orderInfo.orderCode"),
|
178
175
|
prop: "likeOrderCode"
|
179
176
|
}, {
|
180
177
|
default: a(() => [
|
181
|
-
n(
|
182
|
-
modelValue:
|
183
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
184
|
-
placeholder:
|
178
|
+
n(P, {
|
179
|
+
modelValue: d.value.likeOrderCode,
|
180
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
|
181
|
+
placeholder: l.$t("orderInfo.orderCodeRequired"),
|
185
182
|
clearable: "",
|
186
|
-
onKeyup: t[3] || (t[3] =
|
183
|
+
onKeyup: t[3] || (t[3] = _((e) => o(p).handleQuery(), ["enter"])),
|
187
184
|
class: "!w-[203px]"
|
188
185
|
}, null, 8, ["modelValue", "placeholder"])
|
189
186
|
]),
|
@@ -192,19 +189,19 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
192
189
|
]),
|
193
190
|
_: 1
|
194
191
|
}),
|
195
|
-
n(
|
192
|
+
n(w, { span: 6 }, {
|
196
193
|
default: a(() => [
|
197
194
|
n(b, {
|
198
|
-
label:
|
195
|
+
label: l.$t("orderInfo.spuName"),
|
199
196
|
prop: "likeSpuName"
|
200
197
|
}, {
|
201
198
|
default: a(() => [
|
202
|
-
n(
|
203
|
-
modelValue:
|
204
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) =>
|
205
|
-
placeholder:
|
199
|
+
n(P, {
|
200
|
+
modelValue: d.value.likeSpuName,
|
201
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
|
202
|
+
placeholder: l.$t("orderInfo.spuNameRequired"),
|
206
203
|
clearable: "",
|
207
|
-
onKeyup: t[5] || (t[5] =
|
204
|
+
onKeyup: t[5] || (t[5] = _((e) => o(p).handleQuery(), ["enter"])),
|
208
205
|
class: "!w-[203px]"
|
209
206
|
}, null, 8, ["modelValue", "placeholder"])
|
210
207
|
]),
|
@@ -213,19 +210,19 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
213
210
|
]),
|
214
211
|
_: 1
|
215
212
|
}),
|
216
|
-
n(
|
213
|
+
n(w, { span: 6 }, {
|
217
214
|
default: a(() => [
|
218
215
|
n(b, {
|
219
|
-
label:
|
216
|
+
label: l.$t("orderInfo.likeMobile"),
|
220
217
|
prop: "likeMobile"
|
221
218
|
}, {
|
222
219
|
default: a(() => [
|
223
|
-
n(
|
224
|
-
modelValue:
|
225
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) =>
|
226
|
-
placeholder:
|
220
|
+
n(P, {
|
221
|
+
modelValue: d.value.likeMobile,
|
222
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
|
223
|
+
placeholder: l.$t("orderInfo.likeMobileRequired"),
|
227
224
|
clearable: "",
|
228
|
-
onKeyup: t[7] || (t[7] =
|
225
|
+
onKeyup: t[7] || (t[7] = _((e) => o(p).handleQuery(), ["enter"])),
|
229
226
|
class: "!w-[203px]"
|
230
227
|
}, null, 8, ["modelValue", "placeholder"])
|
231
228
|
]),
|
@@ -237,22 +234,22 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
237
234
|
]),
|
238
235
|
_: 1
|
239
236
|
}),
|
240
|
-
n(
|
237
|
+
n(T, null, {
|
241
238
|
default: a(() => [
|
242
|
-
n(
|
239
|
+
n(w, { span: 6 }, {
|
243
240
|
default: a(() => [
|
244
241
|
n(b, {
|
245
|
-
label:
|
242
|
+
label: l.$t("orderInfo.paymentStatus"),
|
246
243
|
prop: "paymentStatus"
|
247
244
|
}, {
|
248
245
|
default: a(() => [
|
249
|
-
n(
|
250
|
-
modelValue:
|
251
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
246
|
+
n(U, {
|
247
|
+
modelValue: d.value.paymentStatus,
|
248
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.paymentStatus = e),
|
252
249
|
data: o(m).paymentStatusEnum.values,
|
253
|
-
placeholder:
|
250
|
+
placeholder: l.$t("orderInfo.paymentStatusRequired"),
|
254
251
|
clearable: "",
|
255
|
-
onKeyup: t[9] || (t[9] =
|
252
|
+
onKeyup: t[9] || (t[9] = _((e) => o(p).handleQuery(), ["enter"]))
|
256
253
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
257
254
|
]),
|
258
255
|
_: 1
|
@@ -260,23 +257,22 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
260
257
|
]),
|
261
258
|
_: 1
|
262
259
|
}),
|
263
|
-
n(
|
260
|
+
n(w, { span: 6 }, {
|
264
261
|
default: a(() => [
|
265
262
|
n(b, {
|
266
|
-
label:
|
263
|
+
label: l.$t("orderInfo.orderTime"),
|
267
264
|
prop: "startCreateTime"
|
268
265
|
}, {
|
269
266
|
default: a(() => [
|
270
|
-
n(
|
271
|
-
modelValue:
|
272
|
-
"onUpdate:modelValue": t[10] || (t[10] = (e) =>
|
273
|
-
class: "dropdown-left",
|
267
|
+
n(x, {
|
268
|
+
modelValue: E.value,
|
269
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => E.value = e),
|
274
270
|
type: "daterange",
|
275
|
-
"start-placeholder":
|
276
|
-
"end-placeholder":
|
271
|
+
"start-placeholder": l.$t("orderInfo.startCreateTime"),
|
272
|
+
"end-placeholder": l.$t("orderInfo.endCreateTime"),
|
277
273
|
format: "YYYY-MM-DD",
|
278
274
|
"value-format": "YYYY-MM-DD",
|
279
|
-
onChange:
|
275
|
+
onChange: F
|
280
276
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
281
277
|
]),
|
282
278
|
_: 1
|
@@ -284,22 +280,22 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
284
280
|
]),
|
285
281
|
_: 1
|
286
282
|
}),
|
287
|
-
n(
|
283
|
+
n(w, { span: 12 }, {
|
288
284
|
default: a(() => [
|
289
285
|
n(b, { class: "search-btn" }, {
|
290
286
|
default: a(() => [
|
291
|
-
n(
|
287
|
+
n(N, {
|
292
288
|
type: "primary",
|
293
289
|
onClick: t[11] || (t[11] = (e) => o(p).handleQuery())
|
294
290
|
}, {
|
295
291
|
default: a(() => [
|
296
|
-
|
292
|
+
u(r(l.$t("common.search")), 1)
|
297
293
|
]),
|
298
294
|
_: 1
|
299
295
|
}),
|
300
|
-
n(
|
296
|
+
n(N, { onClick: H }, {
|
301
297
|
default: a(() => [
|
302
|
-
|
298
|
+
u(r(l.$t("common.reset")), 1)
|
303
299
|
]),
|
304
300
|
_: 1
|
305
301
|
})
|
@@ -315,36 +311,36 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
315
311
|
]),
|
316
312
|
_: 1
|
317
313
|
}, 8, ["model"]),
|
318
|
-
t[19] || (t[19] =
|
314
|
+
t[19] || (t[19] = s("div", { class: "clear" }, null, -1))
|
319
315
|
]),
|
320
316
|
n(le, {
|
321
317
|
shadow: "never",
|
322
318
|
class: "table-container"
|
323
319
|
}, {
|
324
320
|
header: a(() => [
|
325
|
-
n(
|
321
|
+
n(T, null, {
|
326
322
|
default: a(() => [
|
327
|
-
n(
|
328
|
-
n(
|
323
|
+
n(w, { span: 17 }),
|
324
|
+
n(w, {
|
329
325
|
span: 7,
|
330
326
|
class: "container-float"
|
331
327
|
}, {
|
332
328
|
default: a(() => [
|
333
|
-
|
329
|
+
R((i(), y(N, {
|
334
330
|
plain: "",
|
335
331
|
type: "primary",
|
336
|
-
onClick: t[12] || (t[12] = (e) => o(p).handleExport(o(
|
332
|
+
onClick: t[12] || (t[12] = (e) => o(p).handleExport(o(I)("orderInfo.name")))
|
337
333
|
}, {
|
338
334
|
default: a(() => [
|
339
|
-
|
335
|
+
u(r(l.$t("common.export")), 1)
|
340
336
|
]),
|
341
337
|
_: 1
|
342
338
|
})), [
|
343
|
-
[
|
339
|
+
[D, ["order:order_info:export"]]
|
344
340
|
]),
|
345
|
-
n(
|
341
|
+
n(te, {
|
346
342
|
modelValue: o(S),
|
347
|
-
"onUpdate:modelValue": t[13] || (t[13] = (e) =>
|
343
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => Y(S) ? S.value = e : S = e),
|
348
344
|
"label-name": "order/order-info"
|
349
345
|
}, null, 8, ["modelValue"])
|
350
346
|
]),
|
@@ -355,195 +351,186 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
355
351
|
})
|
356
352
|
]),
|
357
353
|
footer: a(() => [
|
358
|
-
o(
|
354
|
+
o(k) > 0 ? (i(), y(oe, {
|
359
355
|
key: 0,
|
360
|
-
total: o(
|
361
|
-
"onUpdate:total": t[14] || (t[14] = (e) =>
|
362
|
-
"current-page":
|
363
|
-
"onUpdate:currentPage": t[15] || (t[15] = (e) =>
|
364
|
-
"page-size":
|
365
|
-
"onUpdate:pageSize": t[16] || (t[16] = (e) =>
|
356
|
+
total: o(k),
|
357
|
+
"onUpdate:total": t[14] || (t[14] = (e) => Y(k) ? k.value = e : null),
|
358
|
+
"current-page": d.value.curPage,
|
359
|
+
"onUpdate:currentPage": t[15] || (t[15] = (e) => d.value.curPage = e),
|
360
|
+
"page-size": d.value.pageSize,
|
361
|
+
"onUpdate:pageSize": t[16] || (t[16] = (e) => d.value.pageSize = e),
|
366
362
|
onPagination: t[17] || (t[17] = (e) => o(p).getList())
|
367
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
363
|
+
}, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
|
368
364
|
]),
|
369
365
|
default: a(() => [
|
370
|
-
n(
|
366
|
+
n(ae, {
|
371
367
|
ref_key: "multipleTableRef",
|
372
|
-
ref:
|
368
|
+
ref: z,
|
373
369
|
"row-key": "orderId",
|
374
|
-
"list-loading": o(
|
375
|
-
data: o(
|
370
|
+
"list-loading": o(j),
|
371
|
+
data: o(Q),
|
376
372
|
"table-label": o(S),
|
377
|
-
onSelectionChange:
|
373
|
+
onSelectionChange: X
|
378
374
|
}, {
|
379
375
|
shopId: a((e) => [
|
380
|
-
|
376
|
+
s("span", null, r(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
381
377
|
]),
|
382
378
|
orderItemList: a((e) => [
|
383
|
-
(
|
384
|
-
key:
|
379
|
+
(i(!0), h(se, null, ie(e.data.row.orderItemList.results, (C, re) => (i(), h("div", {
|
380
|
+
key: re,
|
385
381
|
class: "order-item"
|
386
382
|
}, [
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
e.data.row.orderStatus === o(I).UNPAY ? E((s(), h("div", {
|
392
|
-
key: 0,
|
393
|
-
class: "el-button-color change-price-btn",
|
394
|
-
onClick: (Pe) => F(e.data.row, C)
|
395
|
-
}, [
|
396
|
-
d(l(r.$t("orderInfo.changePrice")), 1)
|
397
|
-
], 8, Se)), [
|
398
|
-
[$, ["order:order_info:changePrice"]]
|
399
|
-
]) : c("", !0)
|
383
|
+
s("div", we, r(C.spuName), 1),
|
384
|
+
s("div", ge, "¥" + r(C.salesPrice), 1),
|
385
|
+
s("div", be, r(C.specInfo), 1),
|
386
|
+
s("div", Ce, "数量:" + r(C.quantity), 1)
|
400
387
|
]))), 128))
|
401
388
|
]),
|
402
389
|
orderCodeAndCreateTime: a((e) => [
|
403
|
-
|
404
|
-
|
390
|
+
s("span", null, [
|
391
|
+
u(r(o(W).$moment.formatDate(
|
405
392
|
e.data.row.createTime,
|
406
393
|
"YYYY-MM-DD HH:mm:ss"
|
407
394
|
)) + " ", 1),
|
408
|
-
t[20] || (t[20] =
|
409
|
-
|
395
|
+
t[20] || (t[20] = s("br", null, null, -1)),
|
396
|
+
u(" " + r(e.data.row.orderCode), 1)
|
410
397
|
])
|
411
398
|
]),
|
412
399
|
status: a((e) => [
|
413
|
-
|
414
|
-
|
415
|
-
e.data.row.orderStatus === o(
|
400
|
+
s("div", null, [
|
401
|
+
u(r(l.$t("orderInfo.orderStatus")) + ": ", 1),
|
402
|
+
e.data.row.orderStatus === o(g).UNPAY ? (i(), y(c, {
|
416
403
|
key: 0,
|
417
404
|
type: "danger"
|
418
405
|
}, {
|
419
406
|
default: a(() => [
|
420
|
-
|
407
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
421
408
|
]),
|
422
409
|
_: 2
|
423
|
-
}, 1024)) :
|
424
|
-
e.data.row.orderStatus === o(
|
410
|
+
}, 1024)) : v("", !0),
|
411
|
+
e.data.row.orderStatus === o(g).UNPOST ? (i(), y(c, {
|
425
412
|
key: 1,
|
426
413
|
type: "warning"
|
427
414
|
}, {
|
428
415
|
default: a(() => [
|
429
|
-
|
416
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
430
417
|
]),
|
431
418
|
_: 2
|
432
|
-
}, 1024)) :
|
433
|
-
e.data.row.orderStatus === o(
|
419
|
+
}, 1024)) : v("", !0),
|
420
|
+
e.data.row.orderStatus === o(g).UNRECEIVE ? (i(), y(c, {
|
434
421
|
key: 2,
|
435
422
|
type: "primary"
|
436
423
|
}, {
|
437
424
|
default: a(() => [
|
438
|
-
|
425
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
439
426
|
]),
|
440
427
|
_: 2
|
441
|
-
}, 1024)) :
|
442
|
-
e.data.row.orderStatus === o(
|
428
|
+
}, 1024)) : v("", !0),
|
429
|
+
e.data.row.orderStatus === o(g).COMPLETE ? (i(), y(c, {
|
443
430
|
key: 3,
|
444
431
|
type: "success"
|
445
432
|
}, {
|
446
433
|
default: a(() => [
|
447
|
-
|
434
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
448
435
|
]),
|
449
436
|
_: 2
|
450
|
-
}, 1024)) :
|
451
|
-
e.data.row.orderStatus === o(
|
437
|
+
}, 1024)) : v("", !0),
|
438
|
+
e.data.row.orderStatus === o(g).CANCEL ? (i(), y(c, {
|
452
439
|
key: 4,
|
453
440
|
type: "info"
|
454
441
|
}, {
|
455
442
|
default: a(() => [
|
456
|
-
|
443
|
+
u(r(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
457
444
|
]),
|
458
445
|
_: 2
|
459
|
-
}, 1024)) :
|
446
|
+
}, 1024)) : v("", !0)
|
460
447
|
]),
|
461
|
-
|
462
|
-
|
463
|
-
e.data.row.paymentStatus === o(
|
448
|
+
s("span", null, [
|
449
|
+
u(r(l.$t("orderInfo.paymentStatus")) + ": ", 1),
|
450
|
+
e.data.row.paymentStatus === o(g).UNPAID ? (i(), y(c, {
|
464
451
|
key: 0,
|
465
452
|
type: "danger"
|
466
453
|
}, {
|
467
454
|
default: a(() => [
|
468
|
-
|
455
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
469
456
|
e.data.row.paymentStatus
|
470
457
|
)), 1)
|
471
458
|
]),
|
472
459
|
_: 2
|
473
|
-
}, 1024)) : e.data.row.paymentStatus === o(
|
460
|
+
}, 1024)) : e.data.row.paymentStatus === o(g).PART_PAID ? (i(), y(c, {
|
474
461
|
key: 1,
|
475
462
|
type: "info"
|
476
463
|
}, {
|
477
464
|
default: a(() => [
|
478
|
-
|
465
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
479
466
|
e.data.row.paymentStatus
|
480
467
|
)), 1)
|
481
468
|
]),
|
482
469
|
_: 2
|
483
|
-
}, 1024)) : e.data.row.paymentStatus === o(
|
470
|
+
}, 1024)) : e.data.row.paymentStatus === o(g).PAID ? (i(), y(c, {
|
484
471
|
key: 2,
|
485
472
|
type: "success"
|
486
473
|
}, {
|
487
474
|
default: a(() => [
|
488
|
-
|
475
|
+
u(r(o(m).paymentStatusEnum.getEnumValue(
|
489
476
|
e.data.row.paymentStatus
|
490
477
|
)), 1)
|
491
478
|
]),
|
492
479
|
_: 2
|
493
|
-
}, 1024)) :
|
480
|
+
}, 1024)) : v("", !0)
|
494
481
|
]),
|
495
|
-
|
496
|
-
|
497
|
-
e.data.row.appraisesStatus === !1 ? (
|
482
|
+
s("div", null, [
|
483
|
+
u(r(l.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
484
|
+
e.data.row.appraisesStatus === !1 ? (i(), y(c, {
|
498
485
|
key: 0,
|
499
486
|
type: "info"
|
500
487
|
}, {
|
501
488
|
default: a(() => [
|
502
|
-
|
489
|
+
u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
503
490
|
]),
|
504
491
|
_: 2
|
505
|
-
}, 1024)) :
|
506
|
-
e.data.row.appraisesStatus === !0 ? (
|
492
|
+
}, 1024)) : v("", !0),
|
493
|
+
e.data.row.appraisesStatus === !0 ? (i(), y(c, {
|
507
494
|
key: 1,
|
508
495
|
type: "success"
|
509
496
|
}, {
|
510
497
|
default: a(() => [
|
511
|
-
|
498
|
+
u(r(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
512
499
|
]),
|
513
500
|
_: 2
|
514
|
-
}, 1024)) :
|
501
|
+
}, 1024)) : v("", !0)
|
515
502
|
])
|
516
503
|
]),
|
517
504
|
salesPrice: a((e) => [
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
505
|
+
s("div", null, [
|
506
|
+
s("div", null, r(l.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
|
507
|
+
s("div", null, r(l.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
|
508
|
+
s("div", null, r(l.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
|
509
|
+
s("div", Se, r(l.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
|
523
510
|
])
|
524
511
|
]),
|
525
512
|
paymentWay: a((e) => [
|
526
|
-
|
513
|
+
s("span", null, r(o(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
527
514
|
]),
|
528
515
|
deliveryWay: a((e) => [
|
529
|
-
|
516
|
+
s("span", null, r(o(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
530
517
|
]),
|
531
518
|
operation: a((e) => [
|
532
|
-
|
533
|
-
class: "el-button-color
|
534
|
-
onClick: (C) =>
|
519
|
+
R((i(), h("span", {
|
520
|
+
class: "el-button-color",
|
521
|
+
onClick: (C) => G(e.data.row)
|
535
522
|
}, [
|
536
|
-
|
537
|
-
], 8,
|
538
|
-
[
|
523
|
+
u(r(l.$t("common.view")), 1)
|
524
|
+
], 8, he)), [
|
525
|
+
[D, ["order:order_info:view"]]
|
539
526
|
]),
|
540
|
-
|
527
|
+
R((i(), h("span", {
|
541
528
|
class: "el-button-color dropdown-left",
|
542
|
-
onClick: (C) =>
|
529
|
+
onClick: (C) => J(e.data.row)
|
543
530
|
}, [
|
544
|
-
|
545
|
-
], 8,
|
546
|
-
[
|
531
|
+
u(r(l.$t("orderInfo.cancel")), 1)
|
532
|
+
], 8, _e)), [
|
533
|
+
[D, ["order:order_info:cancel"]]
|
547
534
|
])
|
548
535
|
]),
|
549
536
|
_: 1
|
@@ -551,20 +538,20 @@ const Ie = { class: "app-container" }, we = { class: "search-container" }, ge =
|
|
551
538
|
]),
|
552
539
|
_: 1
|
553
540
|
}),
|
554
|
-
|
541
|
+
V.value.visible ? (i(), y(ce, {
|
555
542
|
key: 0,
|
556
|
-
modelValue:
|
557
|
-
"onUpdate:modelValue": t[18] || (t[18] = (e) =>
|
558
|
-
title:
|
559
|
-
"entity-key": o(
|
560
|
-
"entity-model": o(
|
561
|
-
onRefresh:
|
543
|
+
modelValue: V.value.visible,
|
544
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => V.value.visible = e),
|
545
|
+
title: V.value.title,
|
546
|
+
"entity-key": o(K),
|
547
|
+
"entity-model": o(O),
|
548
|
+
onRefresh: Z,
|
562
549
|
width: "500px"
|
563
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) :
|
550
|
+
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : v("", !0)
|
564
551
|
]);
|
565
552
|
};
|
566
553
|
}
|
567
554
|
});
|
568
555
|
export {
|
569
|
-
|
556
|
+
Ue as _
|
570
557
|
};
|