xyvcard-order 0.0.1 → 0.0.4
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/order-info → order-info}/index.d.ts +1 -1
- package/dts/src/api/{order/order-info → order-info}/types.d.ts +8 -8
- package/dts/src/api/{order/order-refunds → order-refunds}/index.d.ts +5 -4
- package/dts/src/api/{order/order-refunds → order-refunds}/types.d.ts +26 -5
- 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/{edit.vue.d.ts → review.vue.d.ts} +1 -1
- package/package.json +7 -5
- 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
- package/dts/src/api/order/order-bill/index.d.ts +0 -20
- package/dts/src/api/order/order-bill/types.d.ts +0 -75
- package/dts/src/api/order/order-item/index.d.ts +0 -20
- package/dts/src/api/order/order-item/types.d.ts +0 -95
- package/dts/src/api/order/order-pay-record/index.d.ts +0 -20
- package/dts/src/api/order/order-pay-record/types.d.ts +0 -77
- package/dts/src/api/order/order-refund-record/index.d.ts +0 -20
- package/dts/src/api/order/order-refund-record/types.d.ts +0 -80
- package/dts/src/api/shop/shop-info/index.d.ts +0 -8
- package/dts/src/api/shop/shop-info/types.d.ts +0 -16
- package/dts/src/utils/commons.d.ts +0 -10
- package/dts/src/views/order/order-bill/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-bill/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-item/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-item/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-logistics/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-logistics/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-pay-record/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-pay-record/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-refund-record/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-refund-record/index.vue.d.ts +0 -2
- /package/dts/src/api/{order/order-logistics → order-logistics}/index.d.ts +0 -0
- /package/dts/src/api/{order/order-logistics → order-logistics}/types.d.ts +0 -0
@@ -1,24 +1,23 @@
|
|
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 z, resolveComponent as v, resolveDirective as be, openBlock as d, createElementBlock as S, createVNode as n, withCtx as l, createElementVNode as m, unref as a, withKeys as h, createTextVNode as s, toDisplayString as r, withDirectives as P, createBlock as i, isRef as B, createCommentVNode as p, Fragment as j, renderList as K } from "vue";
|
2
2
|
import { useRouter as Ie } from "vue-router";
|
3
|
-
import { ElMessage as
|
3
|
+
import { ElMessage as A } from "element-plus";
|
4
4
|
import { useTableHooks as _e } from "jmash-core";
|
5
|
-
import { useI18n as
|
6
|
-
import { o as F } from "./index-
|
7
|
-
import { _ as
|
8
|
-
import { _ as
|
9
|
-
import { D as f } from "./index-
|
10
|
-
import { _ as
|
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
|
-
|
16
|
-
const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne = { class: "item-spuName" }, De = { class: "item-salesPrice" }, Re = { class: "item-specInfo" }, Ue = { class: "item-quantity" }, Me = ["onClick"], qe = { class: "orderPrice" }, Ae = ["onClick"], Le = ["onClick"], We = ["onClick"], ot = /* @__PURE__ */ ve({
|
5
|
+
import { useI18n as we } from "vue-i18n";
|
6
|
+
import { o as F } from "./index-DyFAVz8t.mjs";
|
7
|
+
import { _ as ge } from "./deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs";
|
8
|
+
import { _ as ke } from "./change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs";
|
9
|
+
import { D as f, C as b } from "./index-suIgymdy.mjs";
|
10
|
+
import { _ as Se, E as Ce } from "./unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs";
|
11
|
+
import { _ as he } from "./unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs";
|
12
|
+
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs";
|
13
|
+
import { _ as $e } from "./canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs";
|
14
|
+
import { _ as Ee } from "./unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs";
|
15
|
+
const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne = { class: "item-spuName" }, De = { class: "item-salesPrice" }, Re = { class: "item-specInfo" }, Me = { class: "item-quantity" }, Ue = ["onClick"], qe = { class: "orderPrice" }, Le = ["onClick"], We = ["onClick"], Ye = ["onClick"], at = /* @__PURE__ */ ve({
|
17
16
|
__name: "index",
|
18
|
-
setup(
|
19
|
-
const { t: I } =
|
17
|
+
setup(Qe) {
|
18
|
+
const { t: I } = we(), { proxy: H } = ce();
|
20
19
|
f.shopBizDict.useValues();
|
21
|
-
const
|
20
|
+
const M = C([]), g = C("5"), u = C({
|
22
21
|
curPage: 1,
|
23
22
|
pageSize: 10
|
24
23
|
}), O = Ie(), {
|
@@ -102,7 +101,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
102
101
|
title: I("orderInfo.changePrice"),
|
103
102
|
visible: !1
|
104
103
|
});
|
105
|
-
let D =
|
104
|
+
let D = z({}), R = z({});
|
106
105
|
function x(o) {
|
107
106
|
var t;
|
108
107
|
R.itemId = (t = o.orderItemList) == null ? void 0 : t.results[0].itemId, D.orderId = o.orderId, $.value.visible = !0;
|
@@ -114,7 +113,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
114
113
|
u.value.startCreateTime = o[0], u.value.endCreateTime = o[1];
|
115
114
|
}
|
116
115
|
function ae() {
|
117
|
-
|
116
|
+
M.value = [], u.value.startCreateTime = "", u.value.endCreateTime = "", y.resetQuery();
|
118
117
|
}
|
119
118
|
function oe(o) {
|
120
119
|
O.push({
|
@@ -131,12 +130,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
131
130
|
F.cancel({
|
132
131
|
orderId: o.orderId
|
133
132
|
}).then((t) => {
|
134
|
-
t.status === 200 && (
|
133
|
+
t.status === 200 && (A({
|
135
134
|
message: I("orderInfo.cancelSuccess"),
|
136
135
|
type: "success"
|
137
136
|
}), y.handleQuery());
|
138
137
|
}).catch((t) => {
|
139
|
-
console.error("Error canceling order:", t),
|
138
|
+
console.error("Error canceling order:", t), A({
|
140
139
|
message: I("orderInfo.cancelFailed"),
|
141
140
|
type: "error"
|
142
141
|
});
|
@@ -145,25 +144,25 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
145
144
|
});
|
146
145
|
};
|
147
146
|
function re(o) {
|
148
|
-
|
147
|
+
g.value = o.name, o.name === "5" && y.handleQuery();
|
149
148
|
}
|
150
149
|
function ne(o) {
|
151
150
|
y.selectionRows.value = o;
|
152
151
|
}
|
153
|
-
function
|
152
|
+
function Y(o) {
|
154
153
|
o && y.getList();
|
155
154
|
}
|
156
155
|
return y.getList(), (o, t) => {
|
157
|
-
const
|
158
|
-
return d(),
|
156
|
+
const U = v("jmash-select"), k = v("el-form-item"), _ = v("el-col"), q = v("el-input"), L = v("el-row"), de = v("el-date-picker"), W = 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"), Q = v("el-tab-pane"), fe = v("el-tabs"), T = be("hasPerm");
|
157
|
+
return d(), S("div", Te, [
|
159
158
|
n(fe, {
|
160
|
-
modelValue:
|
161
|
-
"onUpdate:modelValue": t[20] || (t[20] = (e) =>
|
159
|
+
modelValue: g.value,
|
160
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => g.value = e),
|
162
161
|
type: "border-card",
|
163
162
|
onTabClick: re
|
164
163
|
}, {
|
165
164
|
default: l(() => [
|
166
|
-
n(
|
165
|
+
n(Q, {
|
167
166
|
label: "全部订单",
|
168
167
|
name: "5"
|
169
168
|
}, {
|
@@ -176,16 +175,16 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
176
175
|
inline: !0
|
177
176
|
}, {
|
178
177
|
default: l(() => [
|
179
|
-
n(
|
178
|
+
n(L, null, {
|
180
179
|
default: l(() => [
|
181
180
|
n(_, { span: 6 }, {
|
182
181
|
default: l(() => [
|
183
|
-
n(
|
182
|
+
n(k, {
|
184
183
|
label: o.$t("orderInfo.shopName"),
|
185
184
|
prop: "shopId"
|
186
185
|
}, {
|
187
186
|
default: l(() => [
|
188
|
-
n(
|
187
|
+
n(U, {
|
189
188
|
modelValue: u.value.shopId,
|
190
189
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.shopId = e),
|
191
190
|
data: a(f).shopBizDict.values,
|
@@ -201,7 +200,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
201
200
|
}),
|
202
201
|
n(_, { span: 6 }, {
|
203
202
|
default: l(() => [
|
204
|
-
n(
|
203
|
+
n(k, {
|
205
204
|
label: o.$t("orderInfo.orderCode"),
|
206
205
|
prop: "likeOrderCode"
|
207
206
|
}, {
|
@@ -222,7 +221,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
222
221
|
}),
|
223
222
|
n(_, { span: 6 }, {
|
224
223
|
default: l(() => [
|
225
|
-
n(
|
224
|
+
n(k, {
|
226
225
|
label: o.$t("orderInfo.spuName"),
|
227
226
|
prop: "likeSpuName"
|
228
227
|
}, {
|
@@ -243,12 +242,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
243
242
|
}),
|
244
243
|
n(_, { span: 6 }, {
|
245
244
|
default: l(() => [
|
246
|
-
n(
|
245
|
+
n(k, {
|
247
246
|
label: o.$t("orderInfo.orderStatus"),
|
248
247
|
prop: "orderStatus"
|
249
248
|
}, {
|
250
249
|
default: l(() => [
|
251
|
-
n(
|
250
|
+
n(U, {
|
252
251
|
modelValue: u.value.orderStatus,
|
253
252
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => u.value.orderStatus = e),
|
254
253
|
data: a(f).orderStatusEnum.values,
|
@@ -265,11 +264,11 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
265
264
|
]),
|
266
265
|
_: 1
|
267
266
|
}),
|
268
|
-
n(
|
267
|
+
n(L, null, {
|
269
268
|
default: l(() => [
|
270
269
|
n(_, { span: 6 }, {
|
271
270
|
default: l(() => [
|
272
|
-
n(
|
271
|
+
n(k, {
|
273
272
|
label: o.$t("orderInfo.likeMobile"),
|
274
273
|
prop: "likeMobile"
|
275
274
|
}, {
|
@@ -290,12 +289,12 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
290
289
|
}),
|
291
290
|
n(_, { span: 6 }, {
|
292
291
|
default: l(() => [
|
293
|
-
n(
|
292
|
+
n(k, {
|
294
293
|
label: o.$t("orderInfo.paymentStatus"),
|
295
294
|
prop: "paymentStatus"
|
296
295
|
}, {
|
297
296
|
default: l(() => [
|
298
|
-
n(
|
297
|
+
n(U, {
|
299
298
|
modelValue: u.value.paymentStatus,
|
300
299
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => u.value.paymentStatus = e),
|
301
300
|
data: a(f).paymentStatusEnum.values,
|
@@ -311,14 +310,14 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
311
310
|
}),
|
312
311
|
n(_, { span: 6 }, {
|
313
312
|
default: l(() => [
|
314
|
-
n(
|
313
|
+
n(k, {
|
315
314
|
label: o.$t("orderInfo.orderTime"),
|
316
315
|
prop: "startCreateTime"
|
317
316
|
}, {
|
318
317
|
default: l(() => [
|
319
318
|
n(de, {
|
320
|
-
modelValue:
|
321
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
319
|
+
modelValue: M.value,
|
320
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => M.value = e),
|
322
321
|
class: "dropdown-left",
|
323
322
|
type: "daterange",
|
324
323
|
"start-placeholder": o.$t("orderInfo.startCreateTime"),
|
@@ -335,9 +334,9 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
335
334
|
}),
|
336
335
|
n(_, { span: 6 }, {
|
337
336
|
default: l(() => [
|
338
|
-
n(
|
337
|
+
n(k, { class: "search-btn" }, {
|
339
338
|
default: l(() => [
|
340
|
-
n(
|
339
|
+
n(W, {
|
341
340
|
type: "primary",
|
342
341
|
onClick: t[13] || (t[13] = (e) => a(y).handleQuery())
|
343
342
|
}, {
|
@@ -346,7 +345,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
346
345
|
]),
|
347
346
|
_: 1
|
348
347
|
}),
|
349
|
-
n(
|
348
|
+
n(W, { onClick: ae }, {
|
350
349
|
default: l(() => [
|
351
350
|
s(r(o.$t("common.reset")), 1)
|
352
351
|
]),
|
@@ -371,7 +370,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
371
370
|
class: "table-container"
|
372
371
|
}, {
|
373
372
|
header: l(() => [
|
374
|
-
n(
|
373
|
+
n(L, null, {
|
375
374
|
default: l(() => [
|
376
375
|
n(_, { span: 17 }),
|
377
376
|
n(_, {
|
@@ -379,7 +378,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
379
378
|
class: "container-float"
|
380
379
|
}, {
|
381
380
|
default: l(() => [
|
382
|
-
P((d(), i(
|
381
|
+
P((d(), i(W, {
|
383
382
|
plain: "",
|
384
383
|
type: "primary",
|
385
384
|
onClick: t[14] || (t[14] = (e) => a(y).handleExport(a(I)("orderInfo.name")))
|
@@ -393,7 +392,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
393
392
|
]),
|
394
393
|
n(se, {
|
395
394
|
modelValue: a(V),
|
396
|
-
"onUpdate:modelValue": t[15] || (t[15] = (e) =>
|
395
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => B(V) ? V.value = e : V = e),
|
397
396
|
"label-name": "order/order-info"
|
398
397
|
}, null, 8, ["modelValue"])
|
399
398
|
]),
|
@@ -407,7 +406,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
407
406
|
a(N) > 0 ? (d(), i(me, {
|
408
407
|
key: 0,
|
409
408
|
total: a(N),
|
410
|
-
"onUpdate:total": t[16] || (t[16] = (e) =>
|
409
|
+
"onUpdate:total": t[16] || (t[16] = (e) => B(N) ? N.value = e : null),
|
411
410
|
"current-page": u.value.curPage,
|
412
411
|
"onUpdate:currentPage": t[17] || (t[17] = (e) => u.value.curPage = e),
|
413
412
|
"page-size": u.value.pageSize,
|
@@ -429,21 +428,21 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
429
428
|
m("span", null, r(a(f).shopBizDict.getValue(e.data.row.shopId)), 1)
|
430
429
|
]),
|
431
430
|
orderItemList: l((e) => [
|
432
|
-
(d(!0),
|
431
|
+
(d(!0), S(j, null, K(e.data.row.orderItemList.results, (c, ye) => (d(), S("div", {
|
433
432
|
key: ye,
|
434
433
|
class: "order-item"
|
435
434
|
}, [
|
436
435
|
m("div", Ne, r(c.spuName), 1),
|
437
436
|
m("div", De, "¥" + r(c.salesPrice), 1),
|
438
437
|
m("div", Re, r(c.specInfo), 1),
|
439
|
-
m("div",
|
440
|
-
e.data.row.orderStatus === a(b).unpay ? P((d(),
|
438
|
+
m("div", Me, "数量:" + r(c.quantity), 1),
|
439
|
+
e.data.row.orderStatus === a(b).unpay ? P((d(), S("div", {
|
441
440
|
key: 0,
|
442
441
|
class: "el-button-color change-price-btn",
|
443
|
-
onClick: (
|
442
|
+
onClick: (ze) => ee(e.data.row, c)
|
444
443
|
}, [
|
445
444
|
s(r(o.$t("orderInfo.changePrice")), 1)
|
446
|
-
], 8,
|
445
|
+
], 8, Ue)), [
|
447
446
|
[T, ["order:order_info:changePrice"]]
|
448
447
|
]) : p("", !0)
|
449
448
|
]))), 128))
|
@@ -461,7 +460,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
461
460
|
status: l((e) => [
|
462
461
|
m("div", null, [
|
463
462
|
s(r(o.$t("orderInfo.orderStatus")) + ": ", 1),
|
464
|
-
e.data.row.orderStatus === a(b).unpay ? (d(), i(
|
463
|
+
e.data.row.orderStatus === a(b).unpay ? (d(), i(w, {
|
465
464
|
key: 0,
|
466
465
|
type: "danger"
|
467
466
|
}, {
|
@@ -472,7 +471,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
472
471
|
]),
|
473
472
|
_: 2
|
474
473
|
}, 1024)) : p("", !0),
|
475
|
-
e.data.row.orderStatus === a(b).unpost ? (d(), i(
|
474
|
+
e.data.row.orderStatus === a(b).unpost ? (d(), i(w, {
|
476
475
|
key: 1,
|
477
476
|
type: "warning"
|
478
477
|
}, {
|
@@ -483,7 +482,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
483
482
|
]),
|
484
483
|
_: 2
|
485
484
|
}, 1024)) : p("", !0),
|
486
|
-
e.data.row.orderStatus === a(b).unreceive ? (d(), i(
|
485
|
+
e.data.row.orderStatus === a(b).unreceive ? (d(), i(w, {
|
487
486
|
key: 2,
|
488
487
|
type: "primary"
|
489
488
|
}, {
|
@@ -494,7 +493,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
494
493
|
]),
|
495
494
|
_: 2
|
496
495
|
}, 1024)) : p("", !0),
|
497
|
-
e.data.row.orderStatus === a(b).complete ? (d(), i(
|
496
|
+
e.data.row.orderStatus === a(b).complete ? (d(), i(w, {
|
498
497
|
key: 3,
|
499
498
|
type: "success"
|
500
499
|
}, {
|
@@ -505,7 +504,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
505
504
|
]),
|
506
505
|
_: 2
|
507
506
|
}, 1024)) : p("", !0),
|
508
|
-
e.data.row.orderStatus === a(b).cancel ? (d(), i(
|
507
|
+
e.data.row.orderStatus === a(b).cancel ? (d(), i(w, {
|
509
508
|
key: 4,
|
510
509
|
type: "info"
|
511
510
|
}, {
|
@@ -519,7 +518,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
519
518
|
]),
|
520
519
|
m("span", null, [
|
521
520
|
s(r(o.$t("orderInfo.paymentStatus")) + ": ", 1),
|
522
|
-
e.data.row.paymentStatus === a(b).unpaid ? (d(), i(
|
521
|
+
e.data.row.paymentStatus === a(b).unpaid ? (d(), i(w, {
|
523
522
|
key: 0,
|
524
523
|
type: "danger"
|
525
524
|
}, {
|
@@ -529,7 +528,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
529
528
|
)), 1)
|
530
529
|
]),
|
531
530
|
_: 2
|
532
|
-
}, 1024)) : e.data.row.paymentStatus === a(b).
|
531
|
+
}, 1024)) : e.data.row.paymentStatus === a(b).partPaid ? (d(), i(w, {
|
533
532
|
key: 1,
|
534
533
|
type: "info"
|
535
534
|
}, {
|
@@ -539,7 +538,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
539
538
|
)), 1)
|
540
539
|
]),
|
541
540
|
_: 2
|
542
|
-
}, 1024)) : e.data.row.paymentStatus === a(b).paid ? (d(), i(
|
541
|
+
}, 1024)) : e.data.row.paymentStatus === a(b).paid ? (d(), i(w, {
|
543
542
|
key: 2,
|
544
543
|
type: "success"
|
545
544
|
}, {
|
@@ -553,23 +552,23 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
553
552
|
]),
|
554
553
|
m("div", null, [
|
555
554
|
s(r(o.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
556
|
-
e.data.row.appraisesStatus === !1 ? (d(), i(
|
555
|
+
e.data.row.appraisesStatus === !1 ? (d(), i(w, {
|
557
556
|
key: 0,
|
558
557
|
type: "info"
|
559
558
|
}, {
|
560
559
|
default: l(() => [
|
561
|
-
s(r(a(f).
|
560
|
+
s(r(a(f).appraisesStatus.getValue(
|
562
561
|
e.data.row.appraisesStatus
|
563
562
|
)), 1)
|
564
563
|
]),
|
565
564
|
_: 2
|
566
565
|
}, 1024)) : p("", !0),
|
567
|
-
e.data.row.appraisesStatus === !0 ? (d(), i(
|
566
|
+
e.data.row.appraisesStatus === !0 ? (d(), i(w, {
|
568
567
|
key: 1,
|
569
568
|
type: "success"
|
570
569
|
}, {
|
571
570
|
default: l(() => [
|
572
|
-
s(r(a(f).
|
571
|
+
s(r(a(f).appraisesStatus.getValue(
|
573
572
|
e.data.row.appraisesStatus
|
574
573
|
)), 1)
|
575
574
|
]),
|
@@ -592,30 +591,30 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
592
591
|
m("span", null, r(a(f).deliveryWayEnum.getEnumValue(e.data.row.deliveryWay)), 1)
|
593
592
|
]),
|
594
593
|
operation: l((e) => [
|
595
|
-
P((d(),
|
594
|
+
P((d(), S("span", {
|
596
595
|
class: "el-button-color dropdown-left",
|
597
596
|
onClick: (c) => oe(e.data.row)
|
598
597
|
}, [
|
599
598
|
s(r(o.$t("common.view")), 1)
|
600
|
-
], 8,
|
599
|
+
], 8, Le)), [
|
601
600
|
[T, ["order:order_info:view"]]
|
602
601
|
]),
|
603
|
-
e.data.row.orderStatus === a(b).unpost ? P((d(),
|
602
|
+
e.data.row.orderStatus === a(b).unpost ? P((d(), S("span", {
|
604
603
|
key: 0,
|
605
604
|
class: "el-button-color dropdown-left",
|
606
605
|
onClick: (c) => x(e.data.row)
|
607
606
|
}, [
|
608
607
|
s(r(o.$t("orderInfo.deliver")), 1)
|
609
|
-
], 8,
|
608
|
+
], 8, We)), [
|
610
609
|
[T, ["order:order_info:delivery"]]
|
611
610
|
]) : p("", !0),
|
612
|
-
e.data.row.orderStatus === a(b).unpay ? P((d(),
|
611
|
+
e.data.row.orderStatus === a(b).unpay ? P((d(), S("span", {
|
613
612
|
key: 1,
|
614
613
|
class: "el-button-color dropdown-left",
|
615
614
|
onClick: (c) => le(e.data.row)
|
616
615
|
}, [
|
617
616
|
s(r(o.$t("orderInfo.cancel")), 1)
|
618
|
-
], 8,
|
617
|
+
], 8, Ye)), [
|
619
618
|
[T, ["order:order_info:cancel"]]
|
620
619
|
]) : p("", !0)
|
621
620
|
]),
|
@@ -627,41 +626,41 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
627
626
|
]),
|
628
627
|
_: 1
|
629
628
|
}),
|
630
|
-
(d(!0),
|
629
|
+
(d(!0), S(j, null, K(a(f).orderStatusEnum.values, (e, c) => (d(), i(Q, {
|
631
630
|
key: c,
|
632
631
|
label: e.value,
|
633
632
|
name: c.toString()
|
634
633
|
}, {
|
635
634
|
default: l(() => [
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
635
|
+
g.value === "0" ? (d(), i(Se, { key: 0 })) : p("", !0),
|
636
|
+
g.value === "1" ? (d(), i(Ee, { key: 1 })) : p("", !0),
|
637
|
+
g.value === "2" ? (d(), i(he, { key: 2 })) : p("", !0),
|
638
|
+
g.value === "3" ? (d(), i(Ve, { key: 3 })) : p("", !0),
|
639
|
+
g.value === "4" ? (d(), i($e, { key: 4 })) : p("", !0)
|
641
640
|
]),
|
642
641
|
_: 2
|
643
642
|
}, 1032, ["label", "name"]))), 128))
|
644
643
|
]),
|
645
644
|
_: 1
|
646
645
|
}, 8, ["modelValue"]),
|
647
|
-
$.value.visible ? (d(), i(
|
646
|
+
$.value.visible ? (d(), i(ge, {
|
648
647
|
key: 0,
|
649
648
|
modelValue: $.value.visible,
|
650
649
|
"onUpdate:modelValue": t[21] || (t[21] = (e) => $.value.visible = e),
|
651
650
|
title: $.value.title,
|
652
651
|
"entity-key": a(D),
|
653
652
|
"entity-model": a(R),
|
654
|
-
onRefresh:
|
653
|
+
onRefresh: Y,
|
655
654
|
width: "500px"
|
656
655
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
657
|
-
E.value.visible ? (d(), i(
|
656
|
+
E.value.visible ? (d(), i(ke, {
|
658
657
|
key: 1,
|
659
658
|
modelValue: E.value.visible,
|
660
659
|
"onUpdate:modelValue": t[22] || (t[22] = (e) => E.value.visible = e),
|
661
660
|
title: E.value.title,
|
662
661
|
"entity-key": a(D),
|
663
662
|
"entity-model": a(R),
|
664
|
-
onRefresh:
|
663
|
+
onRefresh: Y,
|
665
664
|
width: "500px"
|
666
665
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0)
|
667
666
|
]);
|
@@ -669,5 +668,5 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
669
668
|
}
|
670
669
|
});
|
671
670
|
export {
|
672
|
-
|
671
|
+
at as default
|
673
672
|
};
|