xyvcard-order 0.0.6 → 0.0.7
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-CAEulpM1.mjs → canceled-DkLaSCTM.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs} +86 -86
- package/dist/{change-CH-CF_q-.mjs → change-D_G7h-Nt.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs} +23 -23
- package/dist/{completed-B70yQ6oI.mjs → completed-D1_MyTO_.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs} +74 -74
- package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DqqGFB3x.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs} +58 -59
- package/dist/{edit-DyFqRxsE.mjs → edit-MJXLcLm4.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-Bell5IpG.mjs} +6 -6
- package/dist/index-CHzhYqx8.mjs +114 -0
- package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
- package/dist/{index-B3HKfAop.mjs → index-DDG2eFhK.mjs} +94 -94
- package/dist/{index-DHJFncJ6.mjs → index-Dy-lHz4D.mjs} +99 -106
- package/dist/{index-BGDa_EK1.mjs → index-ZL41UIHr.mjs} +146 -164
- package/dist/index.mjs +12 -117
- package/dist/info-Cl9HaMCm.mjs +327 -0
- package/dist/{info-BmqDpsnn.mjs → info-CxZXerj5.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-BdZStl8T.mjs +178 -0
- package/dist/{review-Dr4_ycsb.mjs → review-Bc-YCZ1X.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-mTTMzpC7.mjs} +56 -57
- package/dist/style.css +1 -1
- package/dist/{unpay-WAsbEXlr.mjs → unpay-3tbx6NWV.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs} +72 -72
- package/dist/{unpost-BocJwYcE.mjs → unpost-DOQ_sNYN.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs} +84 -84
- package/dist/{unreceive-BLcvdJxY.mjs → unreceive-WZteM54K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs} +76 -76
- package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-lN1KX2qM.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CNb6Tjcw.mjs +93 -0
- package/dts/src/api/dict.d.ts +3 -0
- package/dts/src/api/index.d.ts +2 -1
- package/dts/src/api/order-appraises/types.d.ts +1 -0
- package/dts/src/api/order-info/types.d.ts +2 -1
- package/dts/src/api/order-logistics/index.d.ts +1 -5
- package/dts/src/api/order-logistics/types.d.ts +3 -62
- package/dts/src/api/order-refunds/index.d.ts +0 -2
- package/dts/src/constant.d.ts +12 -10
- package/dts/src/lang/order/zh-cn.d.ts +2 -2
- package/dts/src/main.d.ts +0 -1
- package/package.json +5 -4
- package/dist/index-suIgymdy.mjs +0 -93
- package/dist/index.vue_vue_type_script_setup_true_lang-RpiqLerK.mjs +0 -41
- package/dist/info-Ba-BgJkw.mjs +0 -368
- package/dist/info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs +0 -188
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-D8KlJgG0.mjs +0 -127
@@ -1,38 +1,38 @@
|
|
1
|
-
import { defineComponent as ve, getCurrentInstance as ce, ref as C, reactive as
|
1
|
+
import { defineComponent as ve, getCurrentInstance as ce, ref as C, reactive as Q, resolveComponent as v, resolveDirective as be, openBlock as d, createElementBlock as k, createVNode as n, withCtx as l, createElementVNode as m, unref as a, withKeys as h, createTextVNode as s, toDisplayString as r, withDirectives as T, createBlock as i, isRef as z, createCommentVNode as p, Fragment as B, renderList as j } from "vue";
|
2
2
|
import { useRouter as Ie } from "vue-router";
|
3
|
-
import { ElMessageBox as _e, ElMessage as
|
3
|
+
import { ElMessageBox as _e, ElMessage as K } from "element-plus";
|
4
4
|
import { useTableHooks as we } from "jmash-core";
|
5
5
|
import { useI18n as ge } from "vue-i18n";
|
6
|
-
import { o as
|
7
|
-
import { _ as
|
8
|
-
import { _ as
|
9
|
-
import { D as f, C as b } from "./index-
|
10
|
-
import { _ as Ce } from "./unpay.vue_vue_type_script_setup_true_lang-
|
11
|
-
import { _ as he } from "./unreceive.vue_vue_type_script_setup_true_lang-
|
12
|
-
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-
|
13
|
-
import { _ as $e } from "./canceled.vue_vue_type_script_setup_true_lang-
|
14
|
-
import { _ as Ee } from "./unpost.vue_vue_type_script_setup_true_lang-
|
15
|
-
const
|
6
|
+
import { o as O } from "./index-DyFAVz8t.mjs";
|
7
|
+
import { _ as Se } from "./deliver.vue_vue_type_script_setup_true_lang-D4gqA0w8.mjs";
|
8
|
+
import { _ as ke } from "./change.vue_vue_type_script_setup_true_lang-BTxjkvV_.mjs";
|
9
|
+
import { D as f, C as b } from "./index-CHzhYqx8.mjs";
|
10
|
+
import { _ as Ce } from "./unpay.vue_vue_type_script_setup_true_lang-BGQNtrO2.mjs";
|
11
|
+
import { _ as he } from "./unreceive.vue_vue_type_script_setup_true_lang-C6APvOTf.mjs";
|
12
|
+
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-Djv14D1X.mjs";
|
13
|
+
import { _ as $e } from "./canceled.vue_vue_type_script_setup_true_lang-5-Cw4llp.mjs";
|
14
|
+
import { _ as Ee } from "./unpost.vue_vue_type_script_setup_true_lang-BveDiwdZ.mjs";
|
15
|
+
const Pe = { class: "app-container" }, Te = { class: "search-container" }, Ne = { class: "item-spuName" }, De = { class: "item-salesPrice" }, Ue = { class: "item-specInfo" }, Re = { class: "item-quantity" }, Me = ["onClick"], Ye = { class: "orderPrice" }, Ae = ["onClick"], Le = ["onClick"], qe = ["onClick"], at = /* @__PURE__ */ ve({
|
16
16
|
__name: "index",
|
17
|
-
setup(
|
18
|
-
const { t: I } = ge(), { proxy:
|
17
|
+
setup(We) {
|
18
|
+
const { t: I } = ge(), { proxy: F } = ce();
|
19
19
|
f.shopBizDict.useValues();
|
20
|
-
const
|
20
|
+
const R = C([]), g = C("5"), u = C({
|
21
21
|
curPage: 1,
|
22
22
|
pageSize: 10
|
23
|
-
}),
|
23
|
+
}), H = Ie(), {
|
24
24
|
tableHooks: y,
|
25
25
|
multipleTableRef: G,
|
26
26
|
queryFormRef: J,
|
27
27
|
listLoading: X,
|
28
28
|
tableData: Z,
|
29
29
|
total: N
|
30
|
-
} = we(I,
|
30
|
+
} = we(I, O, u);
|
31
31
|
let V = C([
|
32
32
|
{
|
33
33
|
label: "orderInfo.shopName",
|
34
34
|
prop: "shopId",
|
35
|
-
width: "
|
35
|
+
width: "250",
|
36
36
|
slotName: "shopId",
|
37
37
|
columnType: "slot",
|
38
38
|
isColumn: !0
|
@@ -48,7 +48,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
48
48
|
{
|
49
49
|
label: "orderInfo.orderCodeAndCreateTime",
|
50
50
|
prop: "orderCodeAndCreateTime",
|
51
|
-
width: "
|
51
|
+
width: "200",
|
52
52
|
slotName: "orderCodeAndCreateTime",
|
53
53
|
columnType: "slot",
|
54
54
|
isColumn: !0
|
@@ -72,7 +72,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
72
72
|
{
|
73
73
|
label: "orderInfo.paymentWay",
|
74
74
|
prop: "paymentWay",
|
75
|
-
width: "
|
75
|
+
width: "120",
|
76
76
|
slotName: "paymentWay",
|
77
77
|
columnType: "slot",
|
78
78
|
isColumn: !0
|
@@ -80,14 +80,14 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
80
80
|
{
|
81
81
|
label: "orderInfo.deliveryWay",
|
82
82
|
prop: "deliveryWay",
|
83
|
-
width: "
|
83
|
+
width: "120",
|
84
84
|
slotName: "deliveryWay",
|
85
85
|
columnType: "slot",
|
86
86
|
isColumn: !0
|
87
87
|
},
|
88
88
|
{
|
89
89
|
label: "common.operate",
|
90
|
-
width: "
|
90
|
+
width: "200",
|
91
91
|
slotName: "operation",
|
92
92
|
columnType: "slot",
|
93
93
|
fixed: "right",
|
@@ -101,23 +101,23 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
101
101
|
title: I("orderInfo.changePrice"),
|
102
102
|
visible: !1
|
103
103
|
});
|
104
|
-
let D =
|
104
|
+
let D = Q({}), U = Q({});
|
105
105
|
function x(o) {
|
106
106
|
var t;
|
107
|
-
|
107
|
+
U.itemId = (t = o.orderItemList) == null ? void 0 : t.results[0].itemId, D.orderId = o.orderId, $.value.visible = !0;
|
108
108
|
}
|
109
109
|
function ee(o, t) {
|
110
|
-
|
110
|
+
U.itemId = t.itemId, D.orderId = o.orderId, E.value.visible = !0;
|
111
111
|
}
|
112
112
|
function te(o) {
|
113
113
|
u.value.startCreateTime = o[0], u.value.endCreateTime = o[1];
|
114
114
|
}
|
115
115
|
function ae() {
|
116
|
-
|
116
|
+
R.value = [], u.value.startCreateTime = "", u.value.endCreateTime = "", y.resetQuery();
|
117
117
|
}
|
118
118
|
function oe(o) {
|
119
|
-
|
120
|
-
path: "/
|
119
|
+
H.push({
|
120
|
+
path: "/raworder/order-info/info",
|
121
121
|
query: { orderId: o.orderId }
|
122
122
|
});
|
123
123
|
}
|
@@ -127,15 +127,15 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
127
127
|
cancelButtonText: I("common.cancel"),
|
128
128
|
type: "warning"
|
129
129
|
}).then(() => {
|
130
|
-
|
130
|
+
O.cancel({
|
131
131
|
orderId: o.orderId
|
132
132
|
}).then((t) => {
|
133
|
-
t.status === 200 && (
|
133
|
+
t.status === 200 && (K({
|
134
134
|
message: I("orderInfo.cancelSuccess"),
|
135
135
|
type: "success"
|
136
136
|
}), y.handleQuery());
|
137
137
|
}).catch((t) => {
|
138
|
-
console.error("Error canceling order:", t),
|
138
|
+
console.error("Error canceling order:", t), K({
|
139
139
|
message: I("orderInfo.cancelFailed"),
|
140
140
|
type: "error"
|
141
141
|
});
|
@@ -149,12 +149,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
149
149
|
function ne(o) {
|
150
150
|
y.selectionRows.value = o;
|
151
151
|
}
|
152
|
-
function
|
152
|
+
function q(o) {
|
153
153
|
o && y.getList();
|
154
154
|
}
|
155
155
|
return y.getList(), (o, t) => {
|
156
|
-
const
|
157
|
-
return d(),
|
156
|
+
const M = v("jmash-select"), S = v("el-form-item"), _ = v("el-col"), Y = v("el-input"), A = v("el-row"), de = v("el-date-picker"), L = v("el-button"), ue = v("el-form"), se = v("jmash-column-select"), w = v("el-tag"), ie = v("jmash-table"), me = v("jmash-pagination"), pe = v("el-card"), W = v("el-tab-pane"), fe = v("el-tabs"), P = be("hasPerm");
|
157
|
+
return d(), k("div", Pe, [
|
158
158
|
n(fe, {
|
159
159
|
modelValue: g.value,
|
160
160
|
"onUpdate:modelValue": t[20] || (t[20] = (e) => g.value = e),
|
@@ -162,12 +162,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
162
162
|
onTabClick: re
|
163
163
|
}, {
|
164
164
|
default: l(() => [
|
165
|
-
n(
|
165
|
+
n(W, {
|
166
166
|
label: "全部订单",
|
167
167
|
name: "5"
|
168
168
|
}, {
|
169
169
|
default: l(() => [
|
170
|
-
m("div",
|
170
|
+
m("div", Te, [
|
171
171
|
n(ue, {
|
172
172
|
ref_key: "queryFormRef",
|
173
173
|
ref: J,
|
@@ -175,16 +175,16 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
175
175
|
inline: !0
|
176
176
|
}, {
|
177
177
|
default: l(() => [
|
178
|
-
n(
|
178
|
+
n(A, null, {
|
179
179
|
default: l(() => [
|
180
180
|
n(_, { span: 6 }, {
|
181
181
|
default: l(() => [
|
182
|
-
n(
|
182
|
+
n(S, {
|
183
183
|
label: o.$t("orderInfo.shopName"),
|
184
184
|
prop: "shopId"
|
185
185
|
}, {
|
186
186
|
default: l(() => [
|
187
|
-
n(
|
187
|
+
n(M, {
|
188
188
|
modelValue: u.value.shopId,
|
189
189
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.shopId = e),
|
190
190
|
data: a(f).shopBizDict.values,
|
@@ -200,12 +200,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
200
200
|
}),
|
201
201
|
n(_, { span: 6 }, {
|
202
202
|
default: l(() => [
|
203
|
-
n(
|
203
|
+
n(S, {
|
204
204
|
label: o.$t("orderInfo.orderCode"),
|
205
205
|
prop: "likeOrderCode"
|
206
206
|
}, {
|
207
207
|
default: l(() => [
|
208
|
-
n(
|
208
|
+
n(Y, {
|
209
209
|
modelValue: u.value.likeOrderCode,
|
210
210
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.likeOrderCode = e),
|
211
211
|
placeholder: o.$t("orderInfo.orderCodeRequired"),
|
@@ -221,12 +221,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
221
221
|
}),
|
222
222
|
n(_, { span: 6 }, {
|
223
223
|
default: l(() => [
|
224
|
-
n(
|
224
|
+
n(S, {
|
225
225
|
label: o.$t("orderInfo.spuName"),
|
226
226
|
prop: "likeSpuName"
|
227
227
|
}, {
|
228
228
|
default: l(() => [
|
229
|
-
n(
|
229
|
+
n(Y, {
|
230
230
|
modelValue: u.value.likeSpuName,
|
231
231
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.likeSpuName = e),
|
232
232
|
placeholder: o.$t("orderInfo.spuNameRequired"),
|
@@ -242,12 +242,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
242
242
|
}),
|
243
243
|
n(_, { span: 6 }, {
|
244
244
|
default: l(() => [
|
245
|
-
n(
|
245
|
+
n(S, {
|
246
246
|
label: o.$t("orderInfo.orderStatus"),
|
247
247
|
prop: "orderStatus"
|
248
248
|
}, {
|
249
249
|
default: l(() => [
|
250
|
-
n(
|
250
|
+
n(M, {
|
251
251
|
modelValue: u.value.orderStatus,
|
252
252
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.orderStatus = e),
|
253
253
|
data: a(f).orderStatusEnum.values,
|
@@ -264,16 +264,16 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
264
264
|
]),
|
265
265
|
_: 1
|
266
266
|
}),
|
267
|
-
n(
|
267
|
+
n(A, null, {
|
268
268
|
default: l(() => [
|
269
269
|
n(_, { span: 6 }, {
|
270
270
|
default: l(() => [
|
271
|
-
n(
|
271
|
+
n(S, {
|
272
272
|
label: o.$t("orderInfo.likeMobile"),
|
273
273
|
prop: "likeMobile"
|
274
274
|
}, {
|
275
275
|
default: l(() => [
|
276
|
-
n(
|
276
|
+
n(Y, {
|
277
277
|
modelValue: u.value.likeMobile,
|
278
278
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => u.value.likeMobile = e),
|
279
279
|
placeholder: o.$t("orderInfo.likeMobileRequired"),
|
@@ -289,12 +289,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
289
289
|
}),
|
290
290
|
n(_, { span: 6 }, {
|
291
291
|
default: l(() => [
|
292
|
-
n(
|
292
|
+
n(S, {
|
293
293
|
label: o.$t("orderInfo.paymentStatus"),
|
294
294
|
prop: "paymentStatus"
|
295
295
|
}, {
|
296
296
|
default: l(() => [
|
297
|
-
n(
|
297
|
+
n(M, {
|
298
298
|
modelValue: u.value.paymentStatus,
|
299
299
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.paymentStatus = e),
|
300
300
|
data: a(f).paymentStatusEnum.values,
|
@@ -310,14 +310,14 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
310
310
|
}),
|
311
311
|
n(_, { span: 6 }, {
|
312
312
|
default: l(() => [
|
313
|
-
n(
|
313
|
+
n(S, {
|
314
314
|
label: o.$t("orderInfo.orderTime"),
|
315
315
|
prop: "startCreateTime"
|
316
316
|
}, {
|
317
317
|
default: l(() => [
|
318
318
|
n(de, {
|
319
|
-
modelValue:
|
320
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
319
|
+
modelValue: R.value,
|
320
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => R.value = e),
|
321
321
|
class: "dropdown-left",
|
322
322
|
type: "daterange",
|
323
323
|
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
@@ -334,9 +334,9 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
334
334
|
}),
|
335
335
|
n(_, { span: 6 }, {
|
336
336
|
default: l(() => [
|
337
|
-
n(
|
337
|
+
n(S, { class: "search-btn" }, {
|
338
338
|
default: l(() => [
|
339
|
-
n(
|
339
|
+
n(L, {
|
340
340
|
type: "primary",
|
341
341
|
onClick: t[13] || (t[13] = (e) => a(y).handleQuery())
|
342
342
|
}, {
|
@@ -345,7 +345,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
345
345
|
]),
|
346
346
|
_: 1
|
347
347
|
}),
|
348
|
-
n(
|
348
|
+
n(L, { onClick: ae }, {
|
349
349
|
default: l(() => [
|
350
350
|
s(r(o.$t("common.reset")), 1)
|
351
351
|
]),
|
@@ -370,7 +370,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
370
370
|
class: "table-container"
|
371
371
|
}, {
|
372
372
|
header: l(() => [
|
373
|
-
n(
|
373
|
+
n(A, null, {
|
374
374
|
default: l(() => [
|
375
375
|
n(_, { span: 17 }),
|
376
376
|
n(_, {
|
@@ -378,7 +378,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
378
378
|
class: "container-float"
|
379
379
|
}, {
|
380
380
|
default: l(() => [
|
381
|
-
|
381
|
+
T((d(), i(L, {
|
382
382
|
plain: "",
|
383
383
|
type: "primary",
|
384
384
|
onClick: t[14] || (t[14] = (e) => a(y).handleExport(a(I)("orderInfo.name")))
|
@@ -388,11 +388,11 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
388
388
|
]),
|
389
389
|
_: 1
|
390
390
|
})), [
|
391
|
-
[
|
391
|
+
[P, ["order:order_info:export"]]
|
392
392
|
]),
|
393
393
|
n(se, {
|
394
394
|
modelValue: a(V),
|
395
|
-
"onUpdate:modelValue": t[15] || (t[15] = (e) =>
|
395
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => z(V) ? V.value = e : V = e),
|
396
396
|
"label-name": "order/order-info"
|
397
397
|
}, null, 8, ["modelValue"])
|
398
398
|
]),
|
@@ -406,7 +406,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
406
406
|
a(N) > 0 ? (d(), i(me, {
|
407
407
|
key: 0,
|
408
408
|
total: a(N),
|
409
|
-
"onUpdate:total": t[16] || (t[16] = (e) =>
|
409
|
+
"onUpdate:total": t[16] || (t[16] = (e) => z(N) ? N.value = e : null),
|
410
410
|
"current-page": u.value.curPage,
|
411
411
|
"onUpdate:currentPage": t[17] || (t[17] = (e) => u.value.curPage = e),
|
412
412
|
"page-size": u.value.pageSize,
|
@@ -428,28 +428,28 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
428
428
|
m("span", null, r(a(f).shopBizDict.getValue(e.data.row.shopId)), 1)
|
429
429
|
]),
|
430
430
|
orderItemList: l((e) => [
|
431
|
-
(d(!0),
|
431
|
+
(d(!0), k(B, null, j(e.data.row.orderItemList.results, (c, ye) => (d(), k("div", {
|
432
432
|
key: ye,
|
433
433
|
class: "order-item"
|
434
434
|
}, [
|
435
435
|
m("div", Ne, r(c.spuName), 1),
|
436
436
|
m("div", De, "¥" + r(c.salesPrice), 1),
|
437
|
-
m("div",
|
438
|
-
m("div",
|
439
|
-
e.data.row.orderStatus === a(b).
|
437
|
+
m("div", Ue, r(c.specInfo), 1),
|
438
|
+
m("div", Re, "数量:" + r(c.quantity), 1),
|
439
|
+
e.data.row.orderStatus === a(b).UNPAY ? T((d(), k("div", {
|
440
440
|
key: 0,
|
441
441
|
class: "el-button-color change-price-btn",
|
442
|
-
onClick: (
|
442
|
+
onClick: (Qe) => ee(e.data.row, c)
|
443
443
|
}, [
|
444
444
|
s(r(o.$t("orderInfo.changePrice")), 1)
|
445
|
-
], 8,
|
446
|
-
[
|
445
|
+
], 8, Me)), [
|
446
|
+
[P, ["order:order_info:changePrice"]]
|
447
447
|
]) : p("", !0)
|
448
448
|
]))), 128))
|
449
449
|
]),
|
450
450
|
orderCodeAndCreateTime: l((e) => [
|
451
451
|
m("span", null, [
|
452
|
-
s(r(a(
|
452
|
+
s(r(a(F).$moment.formatDate(
|
453
453
|
e.data.row.createTime,
|
454
454
|
"YYYY-MM-DD HH:mm:ss"
|
455
455
|
)) + " ", 1),
|
@@ -460,7 +460,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
460
460
|
status: l((e) => [
|
461
461
|
m("div", null, [
|
462
462
|
s(r(o.$t("orderInfo.orderStatus")) + ": ", 1),
|
463
|
-
e.data.row.orderStatus === a(b).
|
463
|
+
e.data.row.orderStatus === a(b).UNPAY ? (d(), i(w, {
|
464
464
|
key: 0,
|
465
465
|
type: "danger"
|
466
466
|
}, {
|
@@ -471,7 +471,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
471
471
|
]),
|
472
472
|
_: 2
|
473
473
|
}, 1024)) : p("", !0),
|
474
|
-
e.data.row.orderStatus === a(b).
|
474
|
+
e.data.row.orderStatus === a(b).UNPOST ? (d(), i(w, {
|
475
475
|
key: 1,
|
476
476
|
type: "warning"
|
477
477
|
}, {
|
@@ -482,7 +482,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
482
482
|
]),
|
483
483
|
_: 2
|
484
484
|
}, 1024)) : p("", !0),
|
485
|
-
e.data.row.orderStatus === a(b).
|
485
|
+
e.data.row.orderStatus === a(b).UNRECEIVE ? (d(), i(w, {
|
486
486
|
key: 2,
|
487
487
|
type: "primary"
|
488
488
|
}, {
|
@@ -493,7 +493,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
493
493
|
]),
|
494
494
|
_: 2
|
495
495
|
}, 1024)) : p("", !0),
|
496
|
-
e.data.row.orderStatus === a(b).
|
496
|
+
e.data.row.orderStatus === a(b).COMPLETE ? (d(), i(w, {
|
497
497
|
key: 3,
|
498
498
|
type: "success"
|
499
499
|
}, {
|
@@ -504,7 +504,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
504
504
|
]),
|
505
505
|
_: 2
|
506
506
|
}, 1024)) : p("", !0),
|
507
|
-
e.data.row.orderStatus === a(b).
|
507
|
+
e.data.row.orderStatus === a(b).CANCEL ? (d(), i(w, {
|
508
508
|
key: 4,
|
509
509
|
type: "info"
|
510
510
|
}, {
|
@@ -518,7 +518,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
518
518
|
]),
|
519
519
|
m("span", null, [
|
520
520
|
s(r(o.$t("orderInfo.paymentStatus")) + ": ", 1),
|
521
|
-
e.data.row.paymentStatus === a(b).
|
521
|
+
e.data.row.paymentStatus === a(b).UNPAID ? (d(), i(w, {
|
522
522
|
key: 0,
|
523
523
|
type: "danger"
|
524
524
|
}, {
|
@@ -528,7 +528,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
528
528
|
)), 1)
|
529
529
|
]),
|
530
530
|
_: 2
|
531
|
-
}, 1024)) : e.data.row.paymentStatus === a(b).
|
531
|
+
}, 1024)) : e.data.row.paymentStatus === a(b).PART_PAID ? (d(), i(w, {
|
532
532
|
key: 1,
|
533
533
|
type: "info"
|
534
534
|
}, {
|
@@ -538,7 +538,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
538
538
|
)), 1)
|
539
539
|
]),
|
540
540
|
_: 2
|
541
|
-
}, 1024)) : e.data.row.paymentStatus === a(b).
|
541
|
+
}, 1024)) : e.data.row.paymentStatus === a(b).PAID ? (d(), i(w, {
|
542
542
|
key: 2,
|
543
543
|
type: "success"
|
544
544
|
}, {
|
@@ -581,7 +581,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
581
581
|
m("div", null, r(o.$t("orderInfo.salesPrice")) + ": ¥" + r(e.data.row.salesPrice), 1),
|
582
582
|
m("div", null, r(o.$t("orderInfo.freightPrice")) + ": +¥" + r(e.data.row.freightPrice), 1),
|
583
583
|
m("div", null, r(o.$t("orderInfo.paymentCouponPrice")) + ": -¥" + r(e.data.row.paymentCouponPrice), 1),
|
584
|
-
m("div",
|
584
|
+
m("div", Ye, r(o.$t("orderInfo.orderPrice")) + ": ¥" + r(e.data.row.orderPrice), 1)
|
585
585
|
])
|
586
586
|
]),
|
587
587
|
paymentWay: l((e) => [
|
@@ -591,31 +591,31 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
591
591
|
m("span", null, r(a(f).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
592
592
|
]),
|
593
593
|
operation: l((e) => [
|
594
|
-
|
594
|
+
T((d(), k("span", {
|
595
595
|
class: "el-button-color dropdown-left",
|
596
596
|
onClick: (c) => oe(e.data.row)
|
597
597
|
}, [
|
598
598
|
s(r(o.$t("common.view")), 1)
|
599
|
-
], 8,
|
600
|
-
[
|
599
|
+
], 8, Ae)), [
|
600
|
+
[P, ["order:order_info:view"]]
|
601
601
|
]),
|
602
|
-
e.data.row.orderStatus === a(b).
|
602
|
+
e.data.row.orderStatus === a(b).UNPOST ? T((d(), k("span", {
|
603
603
|
key: 0,
|
604
604
|
class: "el-button-color dropdown-left",
|
605
605
|
onClick: (c) => x(e.data.row)
|
606
606
|
}, [
|
607
607
|
s(r(o.$t("orderInfo.deliver")), 1)
|
608
|
-
], 8,
|
609
|
-
[
|
608
|
+
], 8, Le)), [
|
609
|
+
[P, ["order:order_info:delivery"]]
|
610
610
|
]) : p("", !0),
|
611
|
-
e.data.row.orderStatus === a(b).
|
611
|
+
e.data.row.orderStatus === a(b).UNPAY ? T((d(), k("span", {
|
612
612
|
key: 1,
|
613
613
|
class: "el-button-color dropdown-left",
|
614
614
|
onClick: (c) => le(e.data.row)
|
615
615
|
}, [
|
616
616
|
s(r(o.$t("orderInfo.cancel")), 1)
|
617
|
-
], 8,
|
618
|
-
[
|
617
|
+
], 8, qe)), [
|
618
|
+
[P, ["order:order_info:cancel"]]
|
619
619
|
]) : p("", !0)
|
620
620
|
]),
|
621
621
|
_: 1
|
@@ -626,7 +626,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
626
626
|
]),
|
627
627
|
_: 1
|
628
628
|
}),
|
629
|
-
(d(!0),
|
629
|
+
(d(!0), k(B, null, j(a(f).orderStatusEnum.values, (e, c) => (d(), i(W, {
|
630
630
|
key: c,
|
631
631
|
label: e.value,
|
632
632
|
name: c.toString()
|
@@ -643,24 +643,24 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
643
643
|
]),
|
644
644
|
_: 1
|
645
645
|
}, 8, ["modelValue"]),
|
646
|
-
$.value.visible ? (d(), i(
|
646
|
+
$.value.visible ? (d(), i(Se, {
|
647
647
|
key: 0,
|
648
648
|
modelValue: $.value.visible,
|
649
649
|
"onUpdate:modelValue": t[21] || (t[21] = (e) => $.value.visible = e),
|
650
650
|
title: $.value.title,
|
651
651
|
"entity-key": a(D),
|
652
|
-
"entity-model": a(
|
653
|
-
onRefresh:
|
652
|
+
"entity-model": a(U),
|
653
|
+
onRefresh: q,
|
654
654
|
width: "500px"
|
655
655
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
656
|
-
E.value.visible ? (d(), i(
|
656
|
+
E.value.visible ? (d(), i(ke, {
|
657
657
|
key: 1,
|
658
658
|
modelValue: E.value.visible,
|
659
659
|
"onUpdate:modelValue": t[22] || (t[22] = (e) => E.value.visible = e),
|
660
660
|
title: E.value.title,
|
661
661
|
"entity-key": a(D),
|
662
|
-
"entity-model": a(
|
663
|
-
onRefresh:
|
662
|
+
"entity-model": a(U),
|
663
|
+
onRefresh: q,
|
664
664
|
width: "500px"
|
665
665
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0)
|
666
666
|
]);
|