xyvcard-order 0.0.6 → 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-CAEulpM1.mjs → canceled-CTHGNWuB.mjs} +1 -1
- package/dist/{canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs → canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs} +88 -89
- package/dist/{change-CH-CF_q-.mjs → change-3TnGoLNv.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs → change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs} +51 -47
- package/dist/{completed-B70yQ6oI.mjs → completed-BnD0Wh1K.mjs} +1 -1
- package/dist/{completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs → completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs} +75 -76
- package/dist/{deliver-Bp2Ckw4g.mjs → deliver-DZDmtbHY.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs → deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs} +58 -59
- package/dist/{edit-DyFqRxsE.mjs → edit-BgR1glUx.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-YwJOnNI_.mjs → edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs} +7 -7
- package/dist/index-BTfCAYQ-.mjs +419 -0
- package/dist/index-CHzhYqx8.mjs +114 -0
- package/dist/{index-B3HKfAop.mjs → index-CaKojOfx.mjs} +237 -250
- package/dist/{index-DyFAVz8t.mjs → index-CfEKTjAd.mjs} +1 -1
- package/dist/{index-BnhfSp6U.mjs → index-DAb5kkOk.mjs} +3 -23
- package/dist/{index-DHJFncJ6.mjs → index-S4jzuvn6.mjs} +154 -157
- package/dist/index.mjs +12 -117
- package/dist/{info-BmqDpsnn.mjs → info-3uYTUNzE.mjs} +1 -1
- package/dist/info-DiPfhbtx.mjs +328 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +178 -0
- package/dist/{review-Dr4_ycsb.mjs → review-DY1KQI3U.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs → review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs} +91 -90
- package/dist/style.css +1 -1
- package/dist/{unpay-WAsbEXlr.mjs → unpay-Bc8ekFnl.mjs} +1 -1
- package/dist/{unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs → unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs} +203 -216
- package/dist/{unpost-BocJwYcE.mjs → unpost-DE4VcTu2.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.mjs → unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs} +99 -100
- package/dist/{unreceive-BLcvdJxY.mjs → unreceive-CUiJvXq1.mjs} +1 -1
- package/dist/{unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs → unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs} +76 -77
- package/dist/{viewLogist-D9-zqepw.mjs → viewLogist-Cxu-IV-d.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +91 -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-BGDa_EK1.mjs +0 -439
- 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,7 +1,7 @@
|
|
1
|
-
import { defineComponent as R, mergeModels as b, ref as I, reactive as V, useModel as j, watch as F, resolveComponent as
|
1
|
+
import { defineComponent as R, mergeModels as b, ref as I, reactive as V, useModel as j, watch as F, resolveComponent as s, openBlock as O, createBlock as U, withCtx as o, createElementVNode as v, createVNode as l, createTextVNode as C, toDisplayString as f, unref as m } from "vue";
|
2
2
|
import { ElMessage as E } from "element-plus";
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
4
|
-
import { o as N } from "./index-
|
4
|
+
import { o as N } from "./index-CfEKTjAd.mjs";
|
5
5
|
const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
6
6
|
__name: "change",
|
7
7
|
props: /* @__PURE__ */ b({
|
@@ -20,8 +20,8 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
20
20
|
modelModifiers: {}
|
21
21
|
}),
|
22
22
|
emits: /* @__PURE__ */ b(["refresh"], ["update:modelValue"]),
|
23
|
-
setup(p, { emit:
|
24
|
-
const { t:
|
23
|
+
setup(p, { emit: w }) {
|
24
|
+
const { t: u } = S(), g = I();
|
25
25
|
let r = V({
|
26
26
|
items: [
|
27
27
|
{
|
@@ -31,65 +31,65 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
31
31
|
}
|
32
32
|
]
|
33
33
|
});
|
34
|
-
const
|
34
|
+
const M = V({
|
35
35
|
salesPrice: [
|
36
36
|
{
|
37
37
|
required: !0,
|
38
|
-
message:
|
38
|
+
message: u("orderInfo.salesPriceRequired"),
|
39
39
|
trigger: "blur"
|
40
40
|
}
|
41
41
|
],
|
42
42
|
freightPrice: [
|
43
43
|
{
|
44
44
|
required: !0,
|
45
|
-
message:
|
45
|
+
message: u("orderInfo.freightPriceRequired"),
|
46
46
|
trigger: "blur"
|
47
47
|
}
|
48
48
|
]
|
49
|
-
}),
|
49
|
+
}), a = j(p, "modelValue"), k = w, n = p, $ = Object.keys(n.entityKey), _ = I($.length >= 1);
|
50
50
|
F([() => n.entityKey, () => n.entityModel], async () => {
|
51
|
-
var
|
51
|
+
var e;
|
52
52
|
if (_.value) {
|
53
|
-
const { data: i } = await N.findById(n.entityKey),
|
53
|
+
const { data: i } = await N.findById(n.entityKey), t = (e = i.orderItemList) == null ? void 0 : e.results.find(
|
54
54
|
(d) => d.itemId === n.entityModel.itemId
|
55
55
|
);
|
56
|
-
|
56
|
+
t && (r.items[0].spuName = t.spuName, r.items[0].salesPrice = Number(t.salesPrice), r.items[0].freightPrice = Number(t.freightPrice));
|
57
57
|
}
|
58
58
|
}, {
|
59
59
|
immediate: !0,
|
60
60
|
deep: !0
|
61
61
|
});
|
62
62
|
const q = async () => {
|
63
|
-
var
|
64
|
-
await ((
|
63
|
+
var e;
|
64
|
+
await ((e = g.value) == null ? void 0 : e.validate((i) => {
|
65
65
|
i && _.value && N.orderPrice({
|
66
|
-
items: r.items.map((
|
67
|
-
...
|
66
|
+
items: r.items.map((t) => ({
|
67
|
+
...t,
|
68
68
|
orderItemId: n.entityModel.itemId
|
69
69
|
}))
|
70
|
-
}).then((
|
71
|
-
|
72
|
-
message:
|
70
|
+
}).then((t) => {
|
71
|
+
t.status === 200 && (E({
|
72
|
+
message: u("common.submitSuccess"),
|
73
73
|
type: "success"
|
74
|
-
}),
|
74
|
+
}), a.value && (a.value = !1), k("refresh", t.status === 200));
|
75
75
|
});
|
76
76
|
}));
|
77
77
|
};
|
78
|
-
function
|
79
|
-
|
78
|
+
function h() {
|
79
|
+
a.value && (a.value = !1);
|
80
80
|
}
|
81
|
-
return (
|
82
|
-
const
|
81
|
+
return (e, i) => {
|
82
|
+
const t = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), B = s("el-row"), D = s("el-form"), P = s("el-button"), K = s("el-dialog");
|
83
83
|
return O(), U(K, {
|
84
|
-
modelValue:
|
85
|
-
"onUpdate:modelValue": i[2] || (i[2] = (
|
86
|
-
onClose:
|
84
|
+
modelValue: a.value,
|
85
|
+
"onUpdate:modelValue": i[2] || (i[2] = (c) => a.value = c),
|
86
|
+
onClose: h
|
87
87
|
}, {
|
88
88
|
footer: o(() => [
|
89
89
|
v("div", A, [
|
90
|
-
l(P, { onClick:
|
90
|
+
l(P, { onClick: h }, {
|
91
91
|
default: o(() => [
|
92
|
-
C(f(
|
92
|
+
C(f(e.$t("common.cancel")), 1)
|
93
93
|
]),
|
94
94
|
_: 1
|
95
95
|
}),
|
@@ -98,7 +98,7 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
98
98
|
onClick: q
|
99
99
|
}, {
|
100
100
|
default: o(() => [
|
101
|
-
C(f(
|
101
|
+
C(f(e.$t("common.confirm")), 1)
|
102
102
|
]),
|
103
103
|
_: 1
|
104
104
|
})
|
@@ -110,19 +110,19 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
110
110
|
ref: g,
|
111
111
|
model: m(r).items[0],
|
112
112
|
"label-width": "120px",
|
113
|
-
rules:
|
113
|
+
rules: M
|
114
114
|
}, {
|
115
115
|
default: o(() => [
|
116
116
|
l(B, null, {
|
117
117
|
default: o(() => [
|
118
118
|
l(d, { span: 24 }, {
|
119
119
|
default: o(() => [
|
120
|
-
l(
|
121
|
-
label:
|
120
|
+
l(t, {
|
121
|
+
label: e.$t("orderInfo.spuName"),
|
122
122
|
prop: "spuName"
|
123
123
|
}, {
|
124
124
|
default: o(() => [
|
125
|
-
v("span", null,
|
125
|
+
v("span", null, f(m(r).items[0].spuName), 1)
|
126
126
|
]),
|
127
127
|
_: 1
|
128
128
|
}, 8, ["label"])
|
@@ -131,17 +131,19 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
131
131
|
}),
|
132
132
|
l(d, { span: 24 }, {
|
133
133
|
default: o(() => [
|
134
|
-
l(
|
135
|
-
label:
|
134
|
+
l(t, {
|
135
|
+
label: e.$t("orderInfo.sellPrice"),
|
136
136
|
prop: "salesPrice"
|
137
137
|
}, {
|
138
138
|
default: o(() => [
|
139
|
-
l(
|
139
|
+
l(y, {
|
140
140
|
modelValue: m(r).items[0].salesPrice,
|
141
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
142
|
-
|
143
|
-
|
144
|
-
|
141
|
+
"onUpdate:modelValue": i[0] || (i[0] = (c) => m(r).items[0].salesPrice = c),
|
142
|
+
precision: 2,
|
143
|
+
controls: !1,
|
144
|
+
min: 0,
|
145
|
+
placeholder: e.$t("orderInfo.sellPriceRequired"),
|
146
|
+
class: "w-full"
|
145
147
|
}, null, 8, ["modelValue", "placeholder"])
|
146
148
|
]),
|
147
149
|
_: 1
|
@@ -151,17 +153,19 @@ const A = { class: "dialog-footer" }, J = /* @__PURE__ */ R({
|
|
151
153
|
}),
|
152
154
|
l(d, { span: 24 }, {
|
153
155
|
default: o(() => [
|
154
|
-
l(
|
155
|
-
label:
|
156
|
+
l(t, {
|
157
|
+
label: e.$t("orderInfo.freightPrice"),
|
156
158
|
prop: "freightPrice"
|
157
159
|
}, {
|
158
160
|
default: o(() => [
|
159
|
-
l(
|
161
|
+
l(y, {
|
160
162
|
modelValue: m(r).items[0].freightPrice,
|
161
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
162
|
-
|
163
|
-
|
164
|
-
|
163
|
+
"onUpdate:modelValue": i[1] || (i[1] = (c) => m(r).items[0].freightPrice = c),
|
164
|
+
precision: 2,
|
165
|
+
controls: !1,
|
166
|
+
min: 0,
|
167
|
+
placeholder: e.$t("orderInfo.freightPriceRequired"),
|
168
|
+
class: "w-full"
|
165
169
|
}, null, 8, ["modelValue", "placeholder"])
|
166
170
|
]),
|
167
171
|
_: 1
|
@@ -1,31 +1,31 @@
|
|
1
|
-
import { defineComponent as Z, getCurrentInstance as x, ref as
|
1
|
+
import { defineComponent as Z, getCurrentInstance as x, ref as P, resolveComponent as p, resolveDirective as ee, openBlock as i, createElementBlock as V, createElementVNode as u, createVNode as n, withCtx as t, unref as o, withKeys as g, createTextVNode as s, toDisplayString as l, withDirectives as R, createBlock as f, isRef as U, createCommentVNode as I, Fragment as te, renderList as ae } from "vue";
|
2
2
|
import { useRouter as oe } from "vue-router";
|
3
3
|
import { useTableHooks as le } from "jmash-core";
|
4
4
|
import { useI18n as re } from "vue-i18n";
|
5
|
-
import { o as ne } from "./index-
|
6
|
-
import { D as m, C as b } from "./index-
|
7
|
-
const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"],
|
5
|
+
import { o as ne } from "./index-CfEKTjAd.mjs";
|
6
|
+
import { D as m, C as b } from "./index-CHzhYqx8.mjs";
|
7
|
+
const de = { class: "app-container" }, ue = { class: "search-container" }, se = { class: "item-spuName" }, ie = { class: "item-salesPrice" }, me = { class: "item-specInfo" }, pe = { class: "item-quantity" }, fe = { class: "orderPrice" }, ye = ["onClick"], ge = /* @__PURE__ */ Z({
|
8
8
|
__name: "completed",
|
9
9
|
setup(ve) {
|
10
|
-
const { t:
|
10
|
+
const { t: T } = re(), { proxy: L } = x();
|
11
11
|
m.shopBizDict.useValues();
|
12
|
-
const h =
|
12
|
+
const h = P([]), d = P({
|
13
13
|
curPage: 1,
|
14
14
|
pageSize: 10,
|
15
|
-
orderStatus: b.
|
16
|
-
}),
|
15
|
+
orderStatus: b.COMPLETE
|
16
|
+
}), M = oe(), {
|
17
17
|
tableHooks: y,
|
18
|
-
multipleTableRef:
|
19
|
-
queryFormRef:
|
20
|
-
listLoading:
|
21
|
-
tableData:
|
18
|
+
multipleTableRef: Y,
|
19
|
+
queryFormRef: A,
|
20
|
+
listLoading: W,
|
21
|
+
tableData: q,
|
22
22
|
total: _
|
23
|
-
} = le(
|
24
|
-
let
|
23
|
+
} = le(T, ne, d);
|
24
|
+
let C = P([
|
25
25
|
{
|
26
26
|
label: "orderInfo.shopName",
|
27
27
|
prop: "shopId",
|
28
|
-
width: "
|
28
|
+
width: "250",
|
29
29
|
slotName: "shopId",
|
30
30
|
columnType: "slot",
|
31
31
|
isColumn: !0
|
@@ -41,7 +41,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
41
41
|
{
|
42
42
|
label: "orderInfo.orderCodeAndCreateTime",
|
43
43
|
prop: "orderCodeAndCreateTime",
|
44
|
-
width: "
|
44
|
+
width: "200",
|
45
45
|
slotName: "orderCodeAndCreateTime",
|
46
46
|
columnType: "slot",
|
47
47
|
isColumn: !0
|
@@ -65,7 +65,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
65
65
|
{
|
66
66
|
label: "orderInfo.paymentWay",
|
67
67
|
prop: "paymentWay",
|
68
|
-
width: "
|
68
|
+
width: "120",
|
69
69
|
slotName: "paymentWay",
|
70
70
|
columnType: "slot",
|
71
71
|
isColumn: !0
|
@@ -73,29 +73,29 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
73
73
|
{
|
74
74
|
label: "orderInfo.deliveryWay",
|
75
75
|
prop: "deliveryWay",
|
76
|
-
width: "
|
76
|
+
width: "120",
|
77
77
|
slotName: "deliveryWay",
|
78
78
|
columnType: "slot",
|
79
79
|
isColumn: !0
|
80
80
|
},
|
81
81
|
{
|
82
82
|
label: "common.operate",
|
83
|
-
width: "
|
83
|
+
width: "200",
|
84
84
|
slotName: "operation",
|
85
85
|
columnType: "slot",
|
86
86
|
fixed: "right",
|
87
87
|
isColumn: !0
|
88
88
|
}
|
89
89
|
]);
|
90
|
-
function
|
90
|
+
function z(r) {
|
91
91
|
d.value.startCreateTime = r[0], d.value.endCreateTime = r[1];
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function j() {
|
94
94
|
h.value = [], d.value.startCreateTime = "", d.value.endCreateTime = "", y.resetQuery();
|
95
95
|
}
|
96
|
-
function
|
97
|
-
|
98
|
-
path: "/
|
96
|
+
function Q(r) {
|
97
|
+
M.push({
|
98
|
+
path: "/raworder/order-info/info",
|
99
99
|
query: { orderId: r.orderId }
|
100
100
|
});
|
101
101
|
}
|
@@ -103,17 +103,17 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
103
103
|
y.selectionRows.value = r;
|
104
104
|
}
|
105
105
|
return y.getList(), (r, a) => {
|
106
|
-
const N = p("jmash-select"), S = p("el-form-item"), w = p("el-col"), k = p("el-input"),
|
106
|
+
const N = p("jmash-select"), S = p("el-form-item"), w = p("el-col"), k = p("el-input"), E = p("el-row"), K = p("el-date-picker"), $ = p("el-button"), O = p("el-form"), H = p("jmash-column-select"), v = p("el-tag"), F = p("jmash-table"), G = p("jmash-pagination"), J = p("el-card"), D = ee("hasPerm");
|
107
107
|
return i(), V("div", de, [
|
108
108
|
u("div", ue, [
|
109
|
-
n(
|
109
|
+
n(O, {
|
110
110
|
ref_key: "queryFormRef",
|
111
|
-
ref:
|
111
|
+
ref: A,
|
112
112
|
model: d.value,
|
113
113
|
inline: !0
|
114
114
|
}, {
|
115
115
|
default: t(() => [
|
116
|
-
n(
|
116
|
+
n(E, null, {
|
117
117
|
default: t(() => [
|
118
118
|
n(w, { span: 6 }, {
|
119
119
|
default: t(() => [
|
@@ -128,7 +128,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
128
128
|
data: o(m).shopBizDict.values,
|
129
129
|
placeholder: r.$t("orderInfo.shopNameRequired"),
|
130
130
|
clearable: "",
|
131
|
-
onKeyup: a[1] || (a[1] =
|
131
|
+
onKeyup: a[1] || (a[1] = g((e) => o(y).handleQuery(), ["enter"]))
|
132
132
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
133
133
|
]),
|
134
134
|
_: 1
|
@@ -148,7 +148,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
148
148
|
"onUpdate:modelValue": a[2] || (a[2] = (e) => d.value.likeOrderCode = e),
|
149
149
|
placeholder: r.$t("orderInfo.orderCodeRequired"),
|
150
150
|
clearable: "",
|
151
|
-
onKeyup: a[3] || (a[3] =
|
151
|
+
onKeyup: a[3] || (a[3] = g((e) => o(y).handleQuery(), ["enter"])),
|
152
152
|
class: "!w-[203px]"
|
153
153
|
}, null, 8, ["modelValue", "placeholder"])
|
154
154
|
]),
|
@@ -169,7 +169,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
169
169
|
"onUpdate:modelValue": a[4] || (a[4] = (e) => d.value.likeSpuName = e),
|
170
170
|
placeholder: r.$t("orderInfo.spuNameRequired"),
|
171
171
|
clearable: "",
|
172
|
-
onKeyup: a[5] || (a[5] =
|
172
|
+
onKeyup: a[5] || (a[5] = g((e) => o(y).handleQuery(), ["enter"])),
|
173
173
|
class: "!w-[203px]"
|
174
174
|
}, null, 8, ["modelValue", "placeholder"])
|
175
175
|
]),
|
@@ -190,7 +190,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
190
190
|
"onUpdate:modelValue": a[6] || (a[6] = (e) => d.value.likeMobile = e),
|
191
191
|
placeholder: r.$t("orderInfo.likeMobileRequired"),
|
192
192
|
clearable: "",
|
193
|
-
onKeyup: a[7] || (a[7] =
|
193
|
+
onKeyup: a[7] || (a[7] = g((e) => o(y).handleQuery(), ["enter"])),
|
194
194
|
class: "!w-[203px]"
|
195
195
|
}, null, 8, ["modelValue", "placeholder"])
|
196
196
|
]),
|
@@ -202,7 +202,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
202
202
|
]),
|
203
203
|
_: 1
|
204
204
|
}),
|
205
|
-
n(
|
205
|
+
n(E, null, {
|
206
206
|
default: t(() => [
|
207
207
|
n(w, { span: 6 }, {
|
208
208
|
default: t(() => [
|
@@ -217,7 +217,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
217
217
|
data: o(m).paymentStatusEnum.values,
|
218
218
|
placeholder: r.$t("orderInfo.paymentStatusRequired"),
|
219
219
|
clearable: "",
|
220
|
-
onKeyup: a[9] || (a[9] =
|
220
|
+
onKeyup: a[9] || (a[9] = g((e) => o(y).handleQuery(), ["enter"]))
|
221
221
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
222
222
|
]),
|
223
223
|
_: 1
|
@@ -235,13 +235,12 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
235
235
|
n(K, {
|
236
236
|
modelValue: h.value,
|
237
237
|
"onUpdate:modelValue": a[10] || (a[10] = (e) => h.value = e),
|
238
|
-
class: "dropdown-left",
|
239
238
|
type: "daterange",
|
240
239
|
"start-placeholder": r.$t("orderInfo.startCreateTime"),
|
241
240
|
"end-placeholder": r.$t("orderInfo.endCreateTime"),
|
242
241
|
format: "YYYY-MM-DD",
|
243
242
|
"value-format": "YYYY-MM-DD",
|
244
|
-
onChange:
|
243
|
+
onChange: z
|
245
244
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
246
245
|
]),
|
247
246
|
_: 1
|
@@ -253,7 +252,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
253
252
|
default: t(() => [
|
254
253
|
n(S, { class: "search-btn" }, {
|
255
254
|
default: t(() => [
|
256
|
-
n(
|
255
|
+
n($, {
|
257
256
|
type: "primary",
|
258
257
|
onClick: a[11] || (a[11] = (e) => o(y).handleQuery())
|
259
258
|
}, {
|
@@ -262,7 +261,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
262
261
|
]),
|
263
262
|
_: 1
|
264
263
|
}),
|
265
|
-
n(
|
264
|
+
n($, { onClick: j }, {
|
266
265
|
default: t(() => [
|
267
266
|
s(l(r.$t("common.reset")), 1)
|
268
267
|
]),
|
@@ -287,7 +286,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
287
286
|
class: "table-container"
|
288
287
|
}, {
|
289
288
|
header: t(() => [
|
290
|
-
n(
|
289
|
+
n(E, null, {
|
291
290
|
default: t(() => [
|
292
291
|
n(w, { span: 17 }),
|
293
292
|
n(w, {
|
@@ -295,10 +294,10 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
295
294
|
class: "container-float"
|
296
295
|
}, {
|
297
296
|
default: t(() => [
|
298
|
-
R((i(), f(
|
297
|
+
R((i(), f($, {
|
299
298
|
plain: "",
|
300
299
|
type: "primary",
|
301
|
-
onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(
|
300
|
+
onClick: a[12] || (a[12] = (e) => o(y).handleExport(o(T)("orderInfo.name")))
|
302
301
|
}, {
|
303
302
|
default: t(() => [
|
304
303
|
s(l(r.$t("common.export")), 1)
|
@@ -307,9 +306,9 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
307
306
|
})), [
|
308
307
|
[D, ["order:order_info:export"]]
|
309
308
|
]),
|
310
|
-
n(
|
311
|
-
modelValue: o(
|
312
|
-
"onUpdate:modelValue": a[13] || (a[13] = (e) =>
|
309
|
+
n(H, {
|
310
|
+
modelValue: o(C),
|
311
|
+
"onUpdate:modelValue": a[13] || (a[13] = (e) => U(C) ? C.value = e : C = e),
|
313
312
|
"label-name": "order/order-info"
|
314
313
|
}, null, 8, ["modelValue"])
|
315
314
|
]),
|
@@ -323,41 +322,41 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
323
322
|
o(_) > 0 ? (i(), f(G, {
|
324
323
|
key: 0,
|
325
324
|
total: o(_),
|
326
|
-
"onUpdate:total": a[14] || (a[14] = (e) =>
|
325
|
+
"onUpdate:total": a[14] || (a[14] = (e) => U(_) ? _.value = e : null),
|
327
326
|
"current-page": d.value.curPage,
|
328
327
|
"onUpdate:currentPage": a[15] || (a[15] = (e) => d.value.curPage = e),
|
329
328
|
"page-size": d.value.pageSize,
|
330
329
|
"onUpdate:pageSize": a[16] || (a[16] = (e) => d.value.pageSize = e),
|
331
330
|
onPagination: a[17] || (a[17] = (e) => o(y).getList())
|
332
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
331
|
+
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
333
332
|
]),
|
334
333
|
default: t(() => [
|
335
|
-
n(
|
334
|
+
n(F, {
|
336
335
|
ref_key: "multipleTableRef",
|
337
|
-
ref:
|
336
|
+
ref: Y,
|
338
337
|
"row-key": "orderId",
|
339
|
-
"list-loading": o(
|
340
|
-
data: o(
|
341
|
-
"table-label": o(
|
338
|
+
"list-loading": o(W),
|
339
|
+
data: o(q),
|
340
|
+
"table-label": o(C),
|
342
341
|
onSelectionChange: B
|
343
342
|
}, {
|
344
343
|
shopId: t((e) => [
|
345
344
|
u("span", null, l(o(m).shopBizDict.getValue(e.data.row.shopId)), 1)
|
346
345
|
]),
|
347
346
|
orderItemList: t((e) => [
|
348
|
-
(i(!0), V(te, null, ae(e.data.row.orderItemList.results, (
|
347
|
+
(i(!0), V(te, null, ae(e.data.row.orderItemList.results, (c, X) => (i(), V("div", {
|
349
348
|
key: X,
|
350
349
|
class: "order-item"
|
351
350
|
}, [
|
352
|
-
u("div", se, l(
|
353
|
-
u("div", ie, "¥" + l(
|
354
|
-
u("div", me, l(
|
355
|
-
u("div", pe, "数量:" + l(
|
351
|
+
u("div", se, l(c.spuName), 1),
|
352
|
+
u("div", ie, "¥" + l(c.salesPrice), 1),
|
353
|
+
u("div", me, l(c.specInfo), 1),
|
354
|
+
u("div", pe, "数量:" + l(c.quantity), 1)
|
356
355
|
]))), 128))
|
357
356
|
]),
|
358
357
|
orderCodeAndCreateTime: t((e) => [
|
359
358
|
u("span", null, [
|
360
|
-
s(l(o(
|
359
|
+
s(l(o(L).$moment.formatDate(
|
361
360
|
e.data.row.createTime,
|
362
361
|
"YYYY-MM-DD HH:mm:ss"
|
363
362
|
)) + " ", 1),
|
@@ -368,7 +367,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
368
367
|
status: t((e) => [
|
369
368
|
u("div", null, [
|
370
369
|
s(l(r.$t("orderInfo.orderStatus")) + ": ", 1),
|
371
|
-
e.data.row.orderStatus === o(b).
|
370
|
+
e.data.row.orderStatus === o(b).UNPAY ? (i(), f(v, {
|
372
371
|
key: 0,
|
373
372
|
type: "danger"
|
374
373
|
}, {
|
@@ -376,8 +375,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
376
375
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
377
376
|
]),
|
378
377
|
_: 2
|
379
|
-
}, 1024)) :
|
380
|
-
e.data.row.orderStatus === o(b).
|
378
|
+
}, 1024)) : I("", !0),
|
379
|
+
e.data.row.orderStatus === o(b).UNPOST ? (i(), f(v, {
|
381
380
|
key: 1,
|
382
381
|
type: "warning"
|
383
382
|
}, {
|
@@ -385,8 +384,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
385
384
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
386
385
|
]),
|
387
386
|
_: 2
|
388
|
-
}, 1024)) :
|
389
|
-
e.data.row.orderStatus === o(b).
|
387
|
+
}, 1024)) : I("", !0),
|
388
|
+
e.data.row.orderStatus === o(b).UNRECEIVE ? (i(), f(v, {
|
390
389
|
key: 2,
|
391
390
|
type: "primary"
|
392
391
|
}, {
|
@@ -394,8 +393,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
394
393
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
395
394
|
]),
|
396
395
|
_: 2
|
397
|
-
}, 1024)) :
|
398
|
-
e.data.row.orderStatus === o(b).
|
396
|
+
}, 1024)) : I("", !0),
|
397
|
+
e.data.row.orderStatus === o(b).COMPLETE ? (i(), f(v, {
|
399
398
|
key: 3,
|
400
399
|
type: "success"
|
401
400
|
}, {
|
@@ -403,8 +402,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
403
402
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
404
403
|
]),
|
405
404
|
_: 2
|
406
|
-
}, 1024)) :
|
407
|
-
e.data.row.orderStatus === o(b).
|
405
|
+
}, 1024)) : I("", !0),
|
406
|
+
e.data.row.orderStatus === o(b).CANCEL ? (i(), f(v, {
|
408
407
|
key: 4,
|
409
408
|
type: "info"
|
410
409
|
}, {
|
@@ -412,11 +411,11 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
412
411
|
s(l(o(m).orderStatusEnum.getEnumValue(e.data.row.orderStatus)), 1)
|
413
412
|
]),
|
414
413
|
_: 2
|
415
|
-
}, 1024)) :
|
414
|
+
}, 1024)) : I("", !0)
|
416
415
|
]),
|
417
416
|
u("span", null, [
|
418
417
|
s(l(r.$t("orderInfo.paymentStatus")) + ": ", 1),
|
419
|
-
e.data.row.paymentStatus === o(b).
|
418
|
+
e.data.row.paymentStatus === o(b).UNPAID ? (i(), f(v, {
|
420
419
|
key: 0,
|
421
420
|
type: "danger"
|
422
421
|
}, {
|
@@ -426,7 +425,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
426
425
|
)), 1)
|
427
426
|
]),
|
428
427
|
_: 2
|
429
|
-
}, 1024)) : e.data.row.paymentStatus === o(b).
|
428
|
+
}, 1024)) : e.data.row.paymentStatus === o(b).PART_PAID ? (i(), f(v, {
|
430
429
|
key: 1,
|
431
430
|
type: "info"
|
432
431
|
}, {
|
@@ -436,7 +435,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
436
435
|
)), 1)
|
437
436
|
]),
|
438
437
|
_: 2
|
439
|
-
}, 1024)) : e.data.row.paymentStatus === o(b).
|
438
|
+
}, 1024)) : e.data.row.paymentStatus === o(b).PAID ? (i(), f(v, {
|
440
439
|
key: 2,
|
441
440
|
type: "success"
|
442
441
|
}, {
|
@@ -446,7 +445,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
446
445
|
)), 1)
|
447
446
|
]),
|
448
447
|
_: 2
|
449
|
-
}, 1024)) :
|
448
|
+
}, 1024)) : I("", !0)
|
450
449
|
]),
|
451
450
|
u("div", null, [
|
452
451
|
s(l(r.$t("orderInfo.appraisesStatus")) + ": ", 1),
|
@@ -458,7 +457,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
458
457
|
s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
459
458
|
]),
|
460
459
|
_: 2
|
461
|
-
}, 1024)) :
|
460
|
+
}, 1024)) : I("", !0),
|
462
461
|
e.data.row.appraisesStatus === !0 ? (i(), f(v, {
|
463
462
|
key: 1,
|
464
463
|
type: "success"
|
@@ -467,7 +466,7 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
467
466
|
s(l(o(m).appraisesStatus.getValue(e.data.row.appraisesStatus)), 1)
|
468
467
|
]),
|
469
468
|
_: 2
|
470
|
-
}, 1024)) :
|
469
|
+
}, 1024)) : I("", !0)
|
471
470
|
])
|
472
471
|
]),
|
473
472
|
salesPrice: t((e) => [
|
@@ -486,8 +485,8 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
486
485
|
]),
|
487
486
|
operation: t((e) => [
|
488
487
|
R((i(), V("span", {
|
489
|
-
class: "el-button-
|
490
|
-
onClick: (
|
488
|
+
class: "el-button-color",
|
489
|
+
onClick: (c) => Q(e.data.row)
|
491
490
|
}, [
|
492
491
|
s(l(r.$t("common.view")), 1)
|
493
492
|
], 8, ye)), [
|
@@ -504,5 +503,5 @@ const de = { class: "app-container" }, ue = { class: "search-container" }, se =
|
|
504
503
|
}
|
505
504
|
});
|
506
505
|
export {
|
507
|
-
|
506
|
+
ge as _
|
508
507
|
};
|