xyvcard-order 0.0.1 → 0.0.3
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-CUME6Usz.mjs → canceled-CAEulpM1.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-EX4zYQSu.mjs → canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs} +63 -64
- package/dist/{change-CK1I7hL9.mjs → change-CH-CF_q-.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-DMUKqQVp.mjs → change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs} +1 -1
- package/dist/{completed-Cf86bOvD.mjs → completed-B70yQ6oI.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-DqIyhNKh.mjs → completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs} +72 -73
- package/dist/{deliver-BQIcivCV.mjs → deliver-Bp2Ckw4g.mjs} +1 -1
- package/dist/deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs +185 -0
- package/dist/{edit-CXp819Cl.mjs → edit-DyFqRxsE.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHkYd975.mjs → edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs} +1 -1
- package/dist/{index-DMD0_mKi.mjs → index-BwyO6Vdb.mjs} +82 -83
- package/dist/index-CL3mlOnd.mjs +407 -0
- package/dist/{index-xagR65a1.mjs → index-Dvf0V5EP.mjs} +11 -3
- package/dist/{index-CUO59YzZ.mjs → index-DyFAVz8t.mjs} +525 -439
- package/dist/index-suIgymdy.mjs +93 -0
- package/dist/index.mjs +594 -592
- package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +41 -0
- package/dist/{info-6G1vmk51.mjs → info-Ba-BgJkw.mjs} +76 -77
- package/dist/info-DtOaZ-hg.mjs +4 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs +188 -0
- package/dist/review-DjGDxyqZ.mjs +4 -0
- package/dist/review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs +309 -0
- package/dist/style.css +1 -1
- package/dist/{unpay-CqebDQ24.mjs → unpay-nfOgE6CJ.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-Cq-l3JEe.mjs → unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs} +1335 -1349
- package/dist/{unpost-vRTZyaW0.mjs → unpost-BocJwYcE.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-CAd6DqNm.mjs → unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs} +147 -148
- package/dist/{unreceive-DUyGNC5h.mjs → unreceive-BLcvdJxY.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-DK1USH8c.mjs → unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs} +72 -73
- package/dist/{viewLogist-DdG4dbmo.mjs → viewLogist-D9-zqepw.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +127 -0
- package/dts/src/api/index.d.ts +3 -1
- package/dts/src/api/order-info/index.d.ts +15 -0
- package/dts/src/api/order-info/types.d.ts +97 -0
- package/dts/src/api/order-logistics/index.d.ts +12 -0
- package/dts/src/api/order-logistics/types.d.ts +85 -0
- package/dts/src/api/order-refunds/index.d.ts +13 -0
- package/dts/src/api/order-refunds/types.d.ts +68 -0
- package/dts/src/constant.d.ts +14 -1
- package/dts/src/lang/order/zh-cn.d.ts +14 -2
- package/dts/src/views/order/order-info/change.vue.d.ts +1 -1
- package/dts/src/views/order/order-info/deliver.vue.d.ts +1 -1
- package/dts/src/views/order/order-info/edit.vue.d.ts +1 -1
- package/dts/src/views/order/order-refunds/info.vue.d.ts +14 -1
- package/dts/src/views/order/order-refunds/review.vue.d.ts +22 -0
- package/package.json +5 -4
- package/dist/constant-CWTD7ap0.mjs +0 -24
- package/dist/deliver.vue_vue_type_script_setup_true_lang-_2HCD1vV.mjs +0 -221
- package/dist/edit-BtY-5_aq.mjs +0 -4
- package/dist/edit-CagPAsCc.mjs +0 -4
- package/dist/edit-DSlSQclm.mjs +0 -4
- package/dist/edit-DZTWE770.mjs +0 -4
- package/dist/edit-kb9Vbd0O.mjs +0 -553
- package/dist/edit.vue_vue_type_script_setup_true_lang-BHG0mS0L.mjs +0 -382
- package/dist/edit.vue_vue_type_script_setup_true_lang-BzhS3SvZ.mjs +0 -488
- package/dist/edit.vue_vue_type_script_setup_true_lang-Cgbqi1i7.mjs +0 -516
- package/dist/edit.vue_vue_type_script_setup_true_lang-be-TDMci.mjs +0 -684
- package/dist/index-67kgHrd-.mjs +0 -370
- package/dist/index-BYkU3LYC.mjs +0 -343
- package/dist/index-D-PNIrrr.mjs +0 -55
- package/dist/index-Dbp38ozL.mjs +0 -350
- package/dist/index-L15OdEOS.mjs +0 -370
- package/dist/index-Nw_g6g3T.mjs +0 -80
- package/dist/index-ZpOHqjUk.mjs +0 -344
- package/dist/index-w8CmEAxD.mjs +0 -90
- package/dist/index-zsqXCqfG.mjs +0 -385
- package/dist/info-BWqDP7Q1.mjs +0 -106
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-POKrzvX7.mjs +0 -77
@@ -1,28 +1,27 @@
|
|
1
|
-
import { defineComponent as
|
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 L, createBlock as f, isRef as q, createCommentVNode as b, Fragment as de, renderList as ue } from "vue";
|
2
2
|
import { useRouter as se } from "vue-router";
|
3
3
|
import { useTableHooks as ie } from "jmash-core";
|
4
4
|
import { useI18n as me } from "vue-i18n";
|
5
|
-
import { o as pe } from "./index-
|
6
|
-
import { _ as fe } from "./deliver.vue_vue_type_script_setup_true_lang-
|
7
|
-
import { D as m } from "./index-
|
8
|
-
|
9
|
-
const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie = { class: "item-spuName" }, be = { class: "item-salesPrice" }, we = { class: "item-specInfo" }, ce = { class: "item-quantity" }, Se = { class: "orderPrice" }, ge = ["onClick"], _e = ["onClick"], De = /* @__PURE__ */ le({
|
5
|
+
import { o as pe } from "./index-DyFAVz8t.mjs";
|
6
|
+
import { _ as fe } from "./deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs";
|
7
|
+
import { D as m, C as c } from "./index-suIgymdy.mjs";
|
8
|
+
const ye = { class: "app-container" }, ve = { class: "search-container" }, be = { class: "item-spuName" }, we = { class: "item-salesPrice" }, ce = { class: "item-specInfo" }, Ie = { class: "item-quantity" }, Se = { class: "orderPrice" }, ge = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ oe({
|
10
9
|
__name: "unpost",
|
11
|
-
setup(
|
12
|
-
const { t:
|
10
|
+
setup(_e) {
|
11
|
+
const { t: E } = me(), { proxy: U } = re();
|
13
12
|
m.shopBizDict.useValues();
|
14
|
-
const
|
13
|
+
const T = $([]), d = $({
|
15
14
|
curPage: 1,
|
16
15
|
pageSize: 10,
|
17
|
-
orderStatus:
|
18
|
-
}),
|
16
|
+
orderStatus: c.unpost
|
17
|
+
}), z = se(), {
|
19
18
|
tableHooks: y,
|
20
|
-
multipleTableRef:
|
21
|
-
queryFormRef:
|
22
|
-
listLoading:
|
23
|
-
tableData:
|
19
|
+
multipleTableRef: j,
|
20
|
+
queryFormRef: K,
|
21
|
+
listLoading: Q,
|
22
|
+
tableData: A,
|
24
23
|
total: h
|
25
|
-
} = ie(
|
24
|
+
} = ie(E, pe, d);
|
26
25
|
let g = $([
|
27
26
|
{
|
28
27
|
label: "orderInfo.shopName",
|
@@ -89,60 +88,60 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
89
88
|
isColumn: !0
|
90
89
|
}
|
91
90
|
]);
|
92
|
-
const
|
93
|
-
title:
|
91
|
+
const C = $({
|
92
|
+
title: E("orderInfo.deliver"),
|
94
93
|
visible: !1
|
95
94
|
});
|
96
|
-
let
|
97
|
-
function B(
|
98
|
-
var t,
|
99
|
-
|
95
|
+
let M = Y({}), W = Y({});
|
96
|
+
function B(o) {
|
97
|
+
var t, _;
|
98
|
+
W.itemId = (_ = (t = o.orderItemList) == null ? void 0 : t.results) == null ? void 0 : _[0].itemId, M.orderId = o.orderId, C.value.visible = !0;
|
100
99
|
}
|
101
|
-
function H(
|
102
|
-
d.value.startCreateTime =
|
100
|
+
function H(o) {
|
101
|
+
d.value.startCreateTime = o[0], d.value.endCreateTime = o[1];
|
103
102
|
}
|
104
103
|
function F() {
|
105
|
-
|
104
|
+
T.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", y.resetQuery();
|
106
105
|
}
|
107
|
-
function O(
|
108
|
-
|
106
|
+
function O(o) {
|
107
|
+
z.push({
|
109
108
|
path: "/order/order-info/info",
|
110
|
-
query: { orderId:
|
109
|
+
query: { orderId: o.orderId }
|
111
110
|
});
|
112
111
|
}
|
113
|
-
function G(
|
114
|
-
y.selectionRows.value =
|
112
|
+
function G(o) {
|
113
|
+
y.selectionRows.value = o;
|
115
114
|
}
|
116
|
-
function J(
|
117
|
-
|
115
|
+
function J(o) {
|
116
|
+
o && y.getList();
|
118
117
|
}
|
119
|
-
return y.getList(), (
|
120
|
-
const
|
118
|
+
return y.getList(), (o, t) => {
|
119
|
+
const _ = p("jmash-select"), I = p("el-form-item"), w = p("el-col"), P = p("el-input"), N = p("el-row"), X = p("el-date-picker"), D = p("el-button"), Z = p("el-form"), x = p("jmash-column-select"), v = p("el-tag"), ee = p("jmash-table"), te = p("jmash-pagination"), ae = p("el-card"), R = ne("hasPerm");
|
121
120
|
return i(), k("div", ye, [
|
122
121
|
s("div", ve, [
|
123
122
|
n(Z, {
|
124
123
|
ref_key: "queryFormRef",
|
125
|
-
ref:
|
124
|
+
ref: K,
|
126
125
|
model: d.value,
|
127
126
|
inline: !0
|
128
127
|
}, {
|
129
128
|
default: a(() => [
|
130
129
|
n(N, null, {
|
131
130
|
default: a(() => [
|
132
|
-
n(
|
131
|
+
n(w, { span: 6 }, {
|
133
132
|
default: a(() => [
|
134
|
-
n(
|
135
|
-
label:
|
133
|
+
n(I, {
|
134
|
+
label: o.$t("orderInfo.shopName"),
|
136
135
|
prop: "shopId"
|
137
136
|
}, {
|
138
137
|
default: a(() => [
|
139
|
-
n(
|
138
|
+
n(_, {
|
140
139
|
modelValue: d.value.shopId,
|
141
140
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => d.value.shopId = e),
|
142
|
-
data:
|
143
|
-
placeholder:
|
141
|
+
data: l(m).shopBizDict.values,
|
142
|
+
placeholder: o.$t("orderInfo.shopNameRequired"),
|
144
143
|
clearable: "",
|
145
|
-
onKeyup: t[1] || (t[1] = V((e) =>
|
144
|
+
onKeyup: t[1] || (t[1] = V((e) => l(y).handleQuery(), ["enter"]))
|
146
145
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
147
146
|
]),
|
148
147
|
_: 1
|
@@ -150,19 +149,19 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
150
149
|
]),
|
151
150
|
_: 1
|
152
151
|
}),
|
153
|
-
n(
|
152
|
+
n(w, { span: 6 }, {
|
154
153
|
default: a(() => [
|
155
|
-
n(
|
156
|
-
label:
|
154
|
+
n(I, {
|
155
|
+
label: o.$t("orderInfo.orderCode"),
|
157
156
|
prop: "likeOrderCode"
|
158
157
|
}, {
|
159
158
|
default: a(() => [
|
160
159
|
n(P, {
|
161
160
|
modelValue: d.value.likeOrderCode,
|
162
161
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => d.value.likeOrderCode = e),
|
163
|
-
placeholder:
|
162
|
+
placeholder: o.$t("orderInfo.orderCodeRequired"),
|
164
163
|
clearable: "",
|
165
|
-
onKeyup: t[3] || (t[3] = V((e) =>
|
164
|
+
onKeyup: t[3] || (t[3] = V((e) => l(y).handleQuery(), ["enter"])),
|
166
165
|
class: "!w-[203px]"
|
167
166
|
}, null, 8, ["modelValue", "placeholder"])
|
168
167
|
]),
|
@@ -171,19 +170,19 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
171
170
|
]),
|
172
171
|
_: 1
|
173
172
|
}),
|
174
|
-
n(
|
173
|
+
n(w, { span: 6 }, {
|
175
174
|
default: a(() => [
|
176
|
-
n(
|
177
|
-
label:
|
175
|
+
n(I, {
|
176
|
+
label: o.$t("orderInfo.spuName"),
|
178
177
|
prop: "likeSpuName"
|
179
178
|
}, {
|
180
179
|
default: a(() => [
|
181
180
|
n(P, {
|
182
181
|
modelValue: d.value.likeSpuName,
|
183
182
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => d.value.likeSpuName = e),
|
184
|
-
placeholder:
|
183
|
+
placeholder: o.$t("orderInfo.spuNameRequired"),
|
185
184
|
clearable: "",
|
186
|
-
onKeyup: t[5] || (t[5] = V((e) =>
|
185
|
+
onKeyup: t[5] || (t[5] = V((e) => l(y).handleQuery(), ["enter"])),
|
187
186
|
class: "!w-[203px]"
|
188
187
|
}, null, 8, ["modelValue", "placeholder"])
|
189
188
|
]),
|
@@ -192,19 +191,19 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
192
191
|
]),
|
193
192
|
_: 1
|
194
193
|
}),
|
195
|
-
n(
|
194
|
+
n(w, { span: 6 }, {
|
196
195
|
default: a(() => [
|
197
|
-
n(
|
198
|
-
label:
|
196
|
+
n(I, {
|
197
|
+
label: o.$t("orderInfo.likeMobile"),
|
199
198
|
prop: "likeMobile"
|
200
199
|
}, {
|
201
200
|
default: a(() => [
|
202
201
|
n(P, {
|
203
202
|
modelValue: d.value.likeMobile,
|
204
203
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => d.value.likeMobile = e),
|
205
|
-
placeholder:
|
204
|
+
placeholder: o.$t("orderInfo.likeMobileRequired"),
|
206
205
|
clearable: "",
|
207
|
-
onKeyup: t[7] || (t[7] = V((e) =>
|
206
|
+
onKeyup: t[7] || (t[7] = V((e) => l(y).handleQuery(), ["enter"])),
|
208
207
|
class: "!w-[203px]"
|
209
208
|
}, null, 8, ["modelValue", "placeholder"])
|
210
209
|
]),
|
@@ -218,20 +217,20 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
218
217
|
}),
|
219
218
|
n(N, null, {
|
220
219
|
default: a(() => [
|
221
|
-
n(
|
220
|
+
n(w, { span: 6 }, {
|
222
221
|
default: a(() => [
|
223
|
-
n(
|
224
|
-
label:
|
222
|
+
n(I, {
|
223
|
+
label: o.$t("orderInfo.paymentStatus"),
|
225
224
|
prop: "paymentStatus"
|
226
225
|
}, {
|
227
226
|
default: a(() => [
|
228
|
-
n(
|
227
|
+
n(_, {
|
229
228
|
modelValue: d.value.paymentStatus,
|
230
229
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => d.value.paymentStatus = e),
|
231
|
-
data:
|
232
|
-
placeholder:
|
230
|
+
data: l(m).paymentStatusEnum.values,
|
231
|
+
placeholder: o.$t("orderInfo.paymentStatusRequired"),
|
233
232
|
clearable: "",
|
234
|
-
onKeyup: t[9] || (t[9] = V((e) =>
|
233
|
+
onKeyup: t[9] || (t[9] = V((e) => l(y).handleQuery(), ["enter"]))
|
235
234
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
236
235
|
]),
|
237
236
|
_: 1
|
@@ -239,20 +238,20 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
239
238
|
]),
|
240
239
|
_: 1
|
241
240
|
}),
|
242
|
-
n(
|
241
|
+
n(w, { span: 6 }, {
|
243
242
|
default: a(() => [
|
244
|
-
n(
|
245
|
-
label:
|
243
|
+
n(I, {
|
244
|
+
label: o.$t("orderInfo.orderTime"),
|
246
245
|
prop: "startCreateTime"
|
247
246
|
}, {
|
248
247
|
default: a(() => [
|
249
248
|
n(X, {
|
250
|
-
modelValue:
|
251
|
-
"onUpdate:modelValue": t[10] || (t[10] = (e) =>
|
249
|
+
modelValue: T.value,
|
250
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => T.value = e),
|
252
251
|
class: "dropdown-left",
|
253
252
|
type: "daterange",
|
254
|
-
"start-placeholder":
|
255
|
-
"end-placeholder":
|
253
|
+
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
254
|
+
"end-placeholder": o.$t("orderInfo.endCreateTime"),
|
256
255
|
format: "YYYY-MM-DD",
|
257
256
|
"value-format": "YYYY-MM-DD",
|
258
257
|
onChange: H
|
@@ -263,22 +262,22 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
263
262
|
]),
|
264
263
|
_: 1
|
265
264
|
}),
|
266
|
-
n(
|
265
|
+
n(w, { span: 12 }, {
|
267
266
|
default: a(() => [
|
268
|
-
n(
|
267
|
+
n(I, { class: "search-btn" }, {
|
269
268
|
default: a(() => [
|
270
269
|
n(D, {
|
271
270
|
type: "primary",
|
272
|
-
onClick: t[11] || (t[11] = (e) =>
|
271
|
+
onClick: t[11] || (t[11] = (e) => l(y).handleQuery())
|
273
272
|
}, {
|
274
273
|
default: a(() => [
|
275
|
-
u(r(
|
274
|
+
u(r(o.$t("common.search")), 1)
|
276
275
|
]),
|
277
276
|
_: 1
|
278
277
|
}),
|
279
278
|
n(D, { onClick: F }, {
|
280
279
|
default: a(() => [
|
281
|
-
u(r(
|
280
|
+
u(r(o.$t("common.reset")), 1)
|
282
281
|
]),
|
283
282
|
_: 1
|
284
283
|
})
|
@@ -303,27 +302,27 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
303
302
|
header: a(() => [
|
304
303
|
n(N, null, {
|
305
304
|
default: a(() => [
|
306
|
-
n(
|
307
|
-
n(
|
305
|
+
n(w, { span: 17 }),
|
306
|
+
n(w, {
|
308
307
|
span: 7,
|
309
308
|
class: "container-float"
|
310
309
|
}, {
|
311
310
|
default: a(() => [
|
312
|
-
|
311
|
+
L((i(), f(D, {
|
313
312
|
plain: "",
|
314
313
|
type: "primary",
|
315
|
-
onClick: t[12] || (t[12] = (e) =>
|
314
|
+
onClick: t[12] || (t[12] = (e) => l(y).handleExport(l(E)("orderInfo.name")))
|
316
315
|
}, {
|
317
316
|
default: a(() => [
|
318
|
-
u(r(
|
317
|
+
u(r(o.$t("common.export")), 1)
|
319
318
|
]),
|
320
319
|
_: 1
|
321
320
|
})), [
|
322
321
|
[R, ["order:order_info:export"]]
|
323
322
|
]),
|
324
323
|
n(x, {
|
325
|
-
modelValue:
|
326
|
-
"onUpdate:modelValue": t[13] || (t[13] = (e) =>
|
324
|
+
modelValue: l(g),
|
325
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => q(g) ? g.value = e : g = e),
|
327
326
|
"label-name": "order/order-info"
|
328
327
|
}, null, 8, ["modelValue"])
|
329
328
|
]),
|
@@ -334,44 +333,44 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
334
333
|
})
|
335
334
|
]),
|
336
335
|
footer: a(() => [
|
337
|
-
|
336
|
+
l(h) > 0 ? (i(), f(te, {
|
338
337
|
key: 0,
|
339
|
-
total:
|
340
|
-
"onUpdate:total": t[14] || (t[14] = (e) =>
|
338
|
+
total: l(h),
|
339
|
+
"onUpdate:total": t[14] || (t[14] = (e) => q(h) ? h.value = e : null),
|
341
340
|
"current-page": d.value.curPage,
|
342
341
|
"onUpdate:currentPage": t[15] || (t[15] = (e) => d.value.curPage = e),
|
343
342
|
"page-size": d.value.pageSize,
|
344
343
|
"onUpdate:pageSize": t[16] || (t[16] = (e) => d.value.pageSize = e),
|
345
|
-
onPagination: t[17] || (t[17] = (e) =>
|
346
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
344
|
+
onPagination: t[17] || (t[17] = (e) => l(y).getList())
|
345
|
+
}, null, 8, ["total", "current-page", "page-size"])) : b("", !0)
|
347
346
|
]),
|
348
347
|
default: a(() => [
|
349
348
|
n(ee, {
|
350
349
|
ref_key: "multipleTableRef",
|
351
|
-
ref:
|
350
|
+
ref: j,
|
352
351
|
"row-key": "orderId",
|
353
|
-
"list-loading":
|
354
|
-
data:
|
355
|
-
"table-label":
|
352
|
+
"list-loading": l(Q),
|
353
|
+
data: l(A),
|
354
|
+
"table-label": l(g),
|
356
355
|
onSelectionChange: G
|
357
356
|
}, {
|
358
357
|
shopId: a((e) => [
|
359
|
-
s("span", null, r(
|
358
|
+
s("span", null, r(l(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
360
359
|
]),
|
361
360
|
orderItemList: a((e) => [
|
362
|
-
(i(!0), k(de, null, ue(e.data.row.orderItemList.results, (S,
|
363
|
-
key:
|
361
|
+
(i(!0), k(de, null, ue(e.data.row.orderItemList.results, (S, le) => (i(), k("div", {
|
362
|
+
key: le,
|
364
363
|
class: "order-item"
|
365
364
|
}, [
|
366
|
-
s("div",
|
367
|
-
s("div",
|
368
|
-
s("div",
|
369
|
-
s("div",
|
365
|
+
s("div", be, r(S.spuName), 1),
|
366
|
+
s("div", we, "¥" + r(S.salesPrice), 1),
|
367
|
+
s("div", ce, r(S.specInfo), 1),
|
368
|
+
s("div", Ie, "数量:" + r(S.quantity), 1)
|
370
369
|
]))), 128))
|
371
370
|
]),
|
372
371
|
orderCodeAndCreateTime: a((e) => [
|
373
372
|
s("span", null, [
|
374
|
-
u(r(
|
373
|
+
u(r(l(U).$moment.formatDate(
|
375
374
|
e.data.row.createTime,
|
376
375
|
"YYYY-MM-DD HH:mm:ss"
|
377
376
|
)) + " ", 1),
|
@@ -381,138 +380,138 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
381
380
|
]),
|
382
381
|
status: a((e) => [
|
383
382
|
s("div", null, [
|
384
|
-
u(r(
|
385
|
-
e.data.row.orderStatus ===
|
383
|
+
u(r(o.$t("orderInfo.orderStatus")) + ": ", 1),
|
384
|
+
e.data.row.orderStatus === l(c).unpay ? (i(), f(v, {
|
386
385
|
key: 0,
|
387
386
|
type: "danger"
|
388
387
|
}, {
|
389
388
|
default: a(() => [
|
390
|
-
u(r(
|
389
|
+
u(r(l(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
391
390
|
]),
|
392
391
|
_: 2
|
393
|
-
}, 1024)) :
|
394
|
-
e.data.row.orderStatus ===
|
392
|
+
}, 1024)) : b("", !0),
|
393
|
+
e.data.row.orderStatus === l(c).unpost ? (i(), f(v, {
|
395
394
|
key: 1,
|
396
395
|
type: "warning"
|
397
396
|
}, {
|
398
397
|
default: a(() => [
|
399
|
-
u(r(
|
398
|
+
u(r(l(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
400
399
|
]),
|
401
400
|
_: 2
|
402
|
-
}, 1024)) :
|
403
|
-
e.data.row.orderStatus ===
|
401
|
+
}, 1024)) : b("", !0),
|
402
|
+
e.data.row.orderStatus === l(c).unreceive ? (i(), f(v, {
|
404
403
|
key: 2,
|
405
404
|
type: "primary"
|
406
405
|
}, {
|
407
406
|
default: a(() => [
|
408
|
-
u(r(
|
407
|
+
u(r(l(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
409
408
|
]),
|
410
409
|
_: 2
|
411
|
-
}, 1024)) :
|
412
|
-
e.data.row.orderStatus ===
|
410
|
+
}, 1024)) : b("", !0),
|
411
|
+
e.data.row.orderStatus === l(c).complete ? (i(), f(v, {
|
413
412
|
key: 3,
|
414
413
|
type: "success"
|
415
414
|
}, {
|
416
415
|
default: a(() => [
|
417
|
-
u(r(
|
416
|
+
u(r(l(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
418
417
|
]),
|
419
418
|
_: 2
|
420
|
-
}, 1024)) :
|
421
|
-
e.data.row.orderStatus ===
|
419
|
+
}, 1024)) : b("", !0),
|
420
|
+
e.data.row.orderStatus === l(c).cancel ? (i(), f(v, {
|
422
421
|
key: 4,
|
423
422
|
type: "info"
|
424
423
|
}, {
|
425
424
|
default: a(() => [
|
426
|
-
u(r(
|
425
|
+
u(r(l(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
427
426
|
]),
|
428
427
|
_: 2
|
429
|
-
}, 1024)) :
|
428
|
+
}, 1024)) : b("", !0)
|
430
429
|
]),
|
431
430
|
s("span", null, [
|
432
|
-
u(r(
|
433
|
-
e.data.row.paymentStatus ===
|
431
|
+
u(r(o.$t("orderInfo.paymentStatus")) + ": ", 1),
|
432
|
+
e.data.row.paymentStatus === l(c).unpaid ? (i(), f(v, {
|
434
433
|
key: 0,
|
435
434
|
type: "danger"
|
436
435
|
}, {
|
437
436
|
default: a(() => [
|
438
|
-
u(r(
|
437
|
+
u(r(l(m).paymentStatusEnum.getEnumValue(
|
439
438
|
e.data.row.paymentStatus
|
440
439
|
)), 1)
|
441
440
|
]),
|
442
441
|
_: 2
|
443
|
-
}, 1024)) : e.data.row.paymentStatus ===
|
442
|
+
}, 1024)) : e.data.row.paymentStatus === l(c).partPaid ? (i(), f(v, {
|
444
443
|
key: 1,
|
445
444
|
type: "info"
|
446
445
|
}, {
|
447
446
|
default: a(() => [
|
448
|
-
u(r(
|
447
|
+
u(r(l(m).paymentStatusEnum.getEnumValue(
|
449
448
|
e.data.row.paymentStatus
|
450
449
|
)), 1)
|
451
450
|
]),
|
452
451
|
_: 2
|
453
|
-
}, 1024)) : e.data.row.paymentStatus ===
|
452
|
+
}, 1024)) : e.data.row.paymentStatus === l(c).paid ? (i(), f(v, {
|
454
453
|
key: 2,
|
455
454
|
type: "success"
|
456
455
|
}, {
|
457
456
|
default: a(() => [
|
458
|
-
u(r(
|
457
|
+
u(r(l(m).paymentStatusEnum.getEnumValue(
|
459
458
|
e.data.row.paymentStatus
|
460
459
|
)), 1)
|
461
460
|
]),
|
462
461
|
_: 2
|
463
|
-
}, 1024)) :
|
462
|
+
}, 1024)) : b("", !0)
|
464
463
|
]),
|
465
464
|
s("div", null, [
|
466
|
-
u(r(
|
465
|
+
u(r(o.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
467
466
|
e.data.row.appraisesStatus === !1 ? (i(), f(v, {
|
468
467
|
key: 0,
|
469
468
|
type: "info"
|
470
469
|
}, {
|
471
470
|
default: a(() => [
|
472
|
-
u(r(
|
471
|
+
u(r(l(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
473
472
|
]),
|
474
473
|
_: 2
|
475
|
-
}, 1024)) :
|
474
|
+
}, 1024)) : b("", !0),
|
476
475
|
e.data.row.appraisesStatus === !0 ? (i(), f(v, {
|
477
476
|
key: 1,
|
478
477
|
type: "success"
|
479
478
|
}, {
|
480
479
|
default: a(() => [
|
481
|
-
u(r(
|
480
|
+
u(r(l(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
482
481
|
]),
|
483
482
|
_: 2
|
484
|
-
}, 1024)) :
|
483
|
+
}, 1024)) : b("", !0)
|
485
484
|
])
|
486
485
|
]),
|
487
486
|
salesPrice: a((e) => [
|
488
487
|
s("div", null, [
|
489
|
-
s("div", null, r(
|
490
|
-
s("div", null, r(
|
491
|
-
s("div", null, r(
|
492
|
-
s("div", Se, r(
|
488
|
+
s("div", null, r(o.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
|
489
|
+
s("div", null, r(o.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
|
490
|
+
s("div", null, r(o.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
|
491
|
+
s("div", Se, r(o.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
|
493
492
|
])
|
494
493
|
]),
|
495
494
|
paymentWay: a((e) => [
|
496
|
-
s("span", null, r(
|
495
|
+
s("span", null, r(l(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
497
496
|
]),
|
498
497
|
deliveryWay: a((e) => [
|
499
|
-
s("span", null, r(
|
498
|
+
s("span", null, r(l(m).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
500
499
|
]),
|
501
500
|
operation: a((e) => [
|
502
|
-
|
501
|
+
L((i(), k("span", {
|
503
502
|
class: "el-button-color dropdown-left",
|
504
503
|
onClick: (S) => O(e.data.row)
|
505
504
|
}, [
|
506
|
-
u(r(
|
505
|
+
u(r(o.$t("common.view")), 1)
|
507
506
|
], 8, ge)), [
|
508
507
|
[R, ["order:order_info:view"]]
|
509
508
|
]),
|
510
|
-
|
509
|
+
L((i(), k("span", {
|
511
510
|
class: "el-button-color dropdown-left",
|
512
511
|
onClick: (S) => B(e.data.row)
|
513
512
|
}, [
|
514
|
-
u(r(
|
515
|
-
], 8,
|
513
|
+
u(r(o.$t("orderInfo.deliver")), 1)
|
514
|
+
], 8, Ce)), [
|
516
515
|
[R, ["order:order_info:delivery"]]
|
517
516
|
])
|
518
517
|
]),
|
@@ -521,20 +520,20 @@ const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie =
|
|
521
520
|
]),
|
522
521
|
_: 1
|
523
522
|
}),
|
524
|
-
|
523
|
+
C.value.visible ? (i(), f(fe, {
|
525
524
|
key: 0,
|
526
|
-
modelValue:
|
527
|
-
"onUpdate:modelValue": t[18] || (t[18] = (e) =>
|
528
|
-
title:
|
529
|
-
"entity-key":
|
530
|
-
"entity-model":
|
525
|
+
modelValue: C.value.visible,
|
526
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => C.value.visible = e),
|
527
|
+
title: C.value.title,
|
528
|
+
"entity-key": l(M),
|
529
|
+
"entity-model": l(W),
|
531
530
|
onRefresh: J,
|
532
531
|
width: "500px"
|
533
|
-
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) :
|
532
|
+
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : b("", !0)
|
534
533
|
]);
|
535
534
|
};
|
536
535
|
}
|
537
536
|
});
|
538
537
|
export {
|
539
|
-
|
538
|
+
Ne as _
|
540
539
|
};
|