xyvcard-order 0.0.11 → 0.0.13
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/{change-3TnGoLNv.mjs → change-ZEjolHT6.mjs} +1 -1
- package/dist/{change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs → change.vue_vue_type_script_setup_true_lang-BBPAc1hq.mjs} +3 -3
- package/dist/{deliver-CgSCkEMe.mjs → deliver-TfrCwaGj.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs → deliver.vue_vue_type_script_setup_true_lang-B1aMmSt1.mjs} +9 -9
- package/dist/{edit-BgR1glUx.mjs → edit-BdUVrlcn.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs → edit.vue_vue_type_script_setup_true_lang-vOwPW97O.mjs} +16 -17
- package/dist/index-1R3wKfde.mjs +1493 -0
- package/dist/index-B_-apQkW.mjs +62 -0
- package/dist/{index-CDXocrFr.mjs → index-ByufLV6K.mjs} +137 -130
- package/dist/{index-S4jzuvn6.mjs → index-PLezrWfs.mjs} +146 -151
- package/dist/index.mjs +263 -258
- package/dist/{info-3uYTUNzE.mjs → info-DYltAD_A.mjs} +1 -1
- package/dist/{info-DXX50Xfh.mjs → info-DbWhDIS0.mjs} +64 -64
- package/dist/info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs +177 -0
- package/dist/orderList-RTzDSXuR.mjs +4 -0
- package/dist/orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs +612 -0
- package/dist/{reply-9iq8g6ah.mjs → reply-BWKE7lzJ.mjs} +1 -1
- package/dist/{reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs → reply.vue_vue_type_script_setup_true_lang-AnsyNIM8.mjs} +15 -13
- package/dist/{review-DY1KQI3U.mjs → review-z7cdFET5.mjs} +1 -1
- package/dist/{review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs → review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs} +53 -50
- package/dist/style.css +1 -1
- package/dist/{viewLogist-Cxu-IV-d.mjs → viewLogist-CHiDaaZx.mjs} +1 -1
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-CkSqEuA1.mjs +93 -0
- package/dts/src/api/order-appraises/types.d.ts +2 -0
- package/dts/src/api/order-info/types.d.ts +5 -0
- package/dts/src/api/order-logistics/types.d.ts +3 -0
- package/dts/src/api/order-refunds/types.d.ts +3 -0
- package/dts/src/lang/order/zh-cn.d.ts +6 -1
- package/dts/src/views/order/order-info/orderList.vue.d.ts +14 -0
- package/package.json +6 -9
- package/dist/canceled-CTHGNWuB.mjs +0 -4
- package/dist/canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs +0 -507
- package/dist/completed-BnD0Wh1K.mjs +0 -4
- package/dist/completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs +0 -507
- package/dist/index-CfEKTjAd.mjs +0 -1361
- package/dist/index-DaOMDld4.mjs +0 -668
- package/dist/info.vue_vue_type_script_setup_true_lang-nH2_wV_f.mjs +0 -178
- package/dist/unpay-Bc8ekFnl.mjs +0 -4
- package/dist/unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs +0 -557
- package/dist/unpost-Bj10_WvZ.mjs +0 -4
- package/dist/unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs +0 -538
- package/dist/unreceive-CUiJvXq1.mjs +0 -4
- package/dist/unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs +0 -507
- package/dist/viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs +0 -91
@@ -0,0 +1,62 @@
|
|
1
|
+
import { defineComponent as N, ref as k, onMounted as E, resolveComponent as p, createElementBlock as _, openBlock as t, createVNode as d, withCtx as r, createBlock as l, createCommentVNode as i, Fragment as y, renderList as V, unref as T } from "vue";
|
2
|
+
import { useRoute as U } from "vue-router";
|
3
|
+
import "element-plus";
|
4
|
+
import { C as a, D as B } from "./index-CHzhYqx8.mjs";
|
5
|
+
import { _ as f } from "./orderList.vue_vue_type_script_setup_true_lang-wHXiNleT.mjs";
|
6
|
+
const L = { class: "app-container" }, D = /* @__PURE__ */ N({
|
7
|
+
__name: "index",
|
8
|
+
setup(M) {
|
9
|
+
const e = k(5), u = U(), v = {
|
10
|
+
0: a.UNPAY,
|
11
|
+
1: a.UNPOST,
|
12
|
+
2: a.UNRECEIVE,
|
13
|
+
3: a.COMPLETE,
|
14
|
+
4: a.CANCEL
|
15
|
+
};
|
16
|
+
function b(m) {
|
17
|
+
e.value = m.paneName;
|
18
|
+
}
|
19
|
+
return E(() => {
|
20
|
+
u.query.activeTab && (e.value = Number(u.query.activeTab));
|
21
|
+
}), (m, s) => {
|
22
|
+
const c = p("el-tab-pane"), C = p("el-tabs");
|
23
|
+
return t(), _("div", L, [
|
24
|
+
d(C, {
|
25
|
+
modelValue: e.value,
|
26
|
+
"onUpdate:modelValue": s[0] || (s[0] = (o) => e.value = o),
|
27
|
+
type: "border-card",
|
28
|
+
onTabClick: b
|
29
|
+
}, {
|
30
|
+
default: r(() => [
|
31
|
+
d(c, {
|
32
|
+
label: "全部订单",
|
33
|
+
name: 5
|
34
|
+
}, {
|
35
|
+
default: r(() => [
|
36
|
+
e.value === 5 ? (t(), l(f, { key: 0 })) : i("", !0)
|
37
|
+
]),
|
38
|
+
_: 1
|
39
|
+
}),
|
40
|
+
(t(!0), _(y, null, V(T(B).orderStatusEnum.values, (o, n) => (t(), l(c, {
|
41
|
+
key: n,
|
42
|
+
label: o.value,
|
43
|
+
name: n
|
44
|
+
}, {
|
45
|
+
default: r(() => [
|
46
|
+
e.value === n ? (t(), l(f, {
|
47
|
+
key: 0,
|
48
|
+
"order-status": v[e.value]
|
49
|
+
}, null, 8, ["order-status"])) : i("", !0)
|
50
|
+
]),
|
51
|
+
_: 2
|
52
|
+
}, 1032, ["label", "name"]))), 128))
|
53
|
+
]),
|
54
|
+
_: 1
|
55
|
+
}, 8, ["modelValue"])
|
56
|
+
]);
|
57
|
+
};
|
58
|
+
}
|
59
|
+
});
|
60
|
+
export {
|
61
|
+
D as default
|
62
|
+
};
|
@@ -1,33 +1,33 @@
|
|
1
|
-
import { defineComponent as oe, getCurrentInstance as re, ref as h, reactive as ne, onMounted as ae, resolveComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import { ElMessageBox as
|
4
|
-
import { useTableHooks as
|
1
|
+
import { defineComponent as oe, getCurrentInstance as re, ref as h, reactive as ne, onMounted as ae, watch as ue, resolveComponent as s, resolveDirective as de, createElementBlock as k, openBlock as p, createElementVNode as i, createVNode as o, createBlock as S, createCommentVNode as C, withCtx as r, withKeys as _, unref as a, createTextVNode as T, toDisplayString as u, withDirectives as se, isRef as U } from "vue";
|
2
|
+
import { useRoute as ie } from "vue-router";
|
3
|
+
import { ElMessageBox as me, ElMessage as q } from "element-plus";
|
4
|
+
import { useTableHooks as fe } from "jmash-core";
|
5
5
|
import { useI18n as pe } from "vue-i18n";
|
6
6
|
import { o as M } from "./index-DAb5kkOk.mjs";
|
7
|
-
import { _ as
|
8
|
-
import { _ as
|
9
|
-
import { D as v, C as
|
10
|
-
const
|
7
|
+
import { _ as ce } from "./review.vue_vue_type_script_setup_true_lang-DKc6FoP1.mjs";
|
8
|
+
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-Dbup8oTm.mjs";
|
9
|
+
import { D as v, C as z } from "./index-CHzhYqx8.mjs";
|
10
|
+
const ye = { class: "app-container" }, be = { class: "search-container" }, Re = ["onClick"], he = ["onClick"], Ce = ["onClick"], Ne = /* @__PURE__ */ oe({
|
11
11
|
__name: "index",
|
12
|
-
setup(
|
13
|
-
const { t: m } = pe(),
|
12
|
+
setup(ge) {
|
13
|
+
const { t: m } = pe(), I = ie(), { proxy: B } = re();
|
14
14
|
v.shopBizDict.useValues();
|
15
|
-
const
|
15
|
+
const $ = h([]), n = h({
|
16
16
|
curPage: 1,
|
17
17
|
pageSize: 10
|
18
18
|
}), {
|
19
|
-
tableHooks:
|
20
|
-
multipleTableRef:
|
21
|
-
queryFormRef:
|
22
|
-
listLoading:
|
19
|
+
tableHooks: d,
|
20
|
+
multipleTableRef: Q,
|
21
|
+
queryFormRef: j,
|
22
|
+
listLoading: A,
|
23
23
|
tableData: K,
|
24
|
-
total:
|
25
|
-
} =
|
24
|
+
total: g
|
25
|
+
} = fe(m, M, n);
|
26
26
|
let y = h([
|
27
27
|
{
|
28
28
|
label: "orderInfo.shopName",
|
29
29
|
prop: "shopId",
|
30
|
-
|
30
|
+
minWidth: "200",
|
31
31
|
slotName: "shopId",
|
32
32
|
columnType: "slot",
|
33
33
|
isColumn: !0
|
@@ -35,7 +35,7 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
35
35
|
{
|
36
36
|
label: "orderRefunds.createTime",
|
37
37
|
prop: "createTime",
|
38
|
-
width: "
|
38
|
+
width: "160",
|
39
39
|
slotName: "createTime",
|
40
40
|
columnType: "slot",
|
41
41
|
isColumn: !0
|
@@ -43,7 +43,7 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
43
43
|
{
|
44
44
|
label: "orderRefunds.order",
|
45
45
|
prop: "order",
|
46
|
-
|
46
|
+
minWidth: "270",
|
47
47
|
slotName: "order",
|
48
48
|
columnType: "slot",
|
49
49
|
isColumn: !0
|
@@ -51,7 +51,7 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
51
51
|
{
|
52
52
|
label: "orderRefunds.refundStatus",
|
53
53
|
prop: "status",
|
54
|
-
width: "
|
54
|
+
width: "90",
|
55
55
|
slotName: "refundStatus",
|
56
56
|
columnType: "slot",
|
57
57
|
isColumn: !0
|
@@ -59,13 +59,13 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
59
59
|
{
|
60
60
|
label: "orderRefunds.refundAmount",
|
61
61
|
prop: "refundAmount",
|
62
|
-
width: "
|
62
|
+
width: "90",
|
63
63
|
isColumn: !0
|
64
64
|
},
|
65
65
|
{
|
66
66
|
label: "orderRefunds.refundCode",
|
67
67
|
prop: "refundCode",
|
68
|
-
width: "
|
68
|
+
width: "210",
|
69
69
|
isColumn: !0
|
70
70
|
},
|
71
71
|
{
|
@@ -82,7 +82,7 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
82
82
|
},
|
83
83
|
{
|
84
84
|
label: "common.operate",
|
85
|
-
width: "
|
85
|
+
width: "130",
|
86
86
|
slotName: "operation",
|
87
87
|
columnType: "slot",
|
88
88
|
fixed: "right",
|
@@ -96,12 +96,12 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
96
96
|
title: m("orderRefunds.info"),
|
97
97
|
visible: !1
|
98
98
|
});
|
99
|
-
let
|
99
|
+
let w = ne({});
|
100
100
|
function L(t) {
|
101
|
-
|
101
|
+
w.refundId = t.refundId, b.value.visible = !0;
|
102
102
|
}
|
103
|
-
const
|
104
|
-
|
103
|
+
const W = async (t) => {
|
104
|
+
me.confirm(
|
105
105
|
m("orderRefunds.refundConfirm"),
|
106
106
|
m("orderRefunds.refund"),
|
107
107
|
{
|
@@ -114,12 +114,12 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
114
114
|
refundId: t.refundId,
|
115
115
|
requestId: Math.random() * 10 + ""
|
116
116
|
}).then((l) => {
|
117
|
-
l.status === 200 && (
|
117
|
+
l.status === 200 && (q({
|
118
118
|
message: m("orderRefunds.refundSuccess"),
|
119
119
|
type: "success"
|
120
|
-
}),
|
120
|
+
}), d.handleQuery());
|
121
121
|
}).catch((l) => {
|
122
|
-
console.error("Error canceling order:", l),
|
122
|
+
console.error("Error canceling order:", l), q({
|
123
123
|
message: m("orderRefunds.refundFailed"),
|
124
124
|
type: "error"
|
125
125
|
});
|
@@ -127,54 +127,62 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
127
127
|
}).catch(() => {
|
128
128
|
});
|
129
129
|
};
|
130
|
-
function
|
131
|
-
|
130
|
+
function H(t) {
|
131
|
+
w.refundId = t.refundId, R.value.visible = !0;
|
132
132
|
}
|
133
|
-
function
|
134
|
-
|
133
|
+
function O(t) {
|
134
|
+
n.value.startCreateTime = t[0], n.value.endCreateTime = t[1];
|
135
135
|
}
|
136
|
-
function
|
137
|
-
|
136
|
+
function F() {
|
137
|
+
$.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", d.resetQuery();
|
138
138
|
}
|
139
139
|
function G(t) {
|
140
|
-
|
140
|
+
d.selectionRows.value = t;
|
141
141
|
}
|
142
|
-
function
|
143
|
-
t &&
|
142
|
+
function D(t) {
|
143
|
+
t && d.getList();
|
144
144
|
}
|
145
145
|
return ae(() => {
|
146
|
-
const t =
|
147
|
-
t && (
|
148
|
-
...
|
146
|
+
const t = I.query.refundStatus;
|
147
|
+
t && (n.value = {
|
148
|
+
...n.value,
|
149
149
|
refundStatus: t
|
150
|
-
});
|
151
|
-
}),
|
152
|
-
|
153
|
-
|
154
|
-
|
150
|
+
}, d.handleQuery());
|
151
|
+
}), ue(
|
152
|
+
() => I.query.refundStatus,
|
153
|
+
(t) => {
|
154
|
+
t && (n.value = {
|
155
|
+
...n.value,
|
156
|
+
refundStatus: t
|
157
|
+
}), d.handleQuery();
|
158
|
+
}
|
159
|
+
), d.getList(), (t, l) => {
|
160
|
+
const N = s("jmash-select"), c = s("el-form-item"), f = s("el-col"), P = s("el-input"), V = s("el-row"), J = s("el-date-picker"), Y = s("el-button"), X = s("el-form"), Z = s("jmash-column-select"), x = s("jmash-table"), ee = s("jmash-pagination"), te = s("el-card"), le = de("hasPerm");
|
161
|
+
return p(), k("div", ye, [
|
162
|
+
i("div", be, [
|
155
163
|
o(X, {
|
156
164
|
ref_key: "queryFormRef",
|
157
|
-
ref:
|
158
|
-
model:
|
165
|
+
ref: j,
|
166
|
+
model: n.value,
|
159
167
|
inline: !0
|
160
168
|
}, {
|
161
169
|
default: r(() => [
|
162
|
-
o(
|
170
|
+
o(V, null, {
|
163
171
|
default: r(() => [
|
164
|
-
o(
|
172
|
+
o(f, { span: 6 }, {
|
165
173
|
default: r(() => [
|
166
174
|
o(c, {
|
167
175
|
label: t.$t("orderRefunds.shopName"),
|
168
176
|
prop: "shopId"
|
169
177
|
}, {
|
170
178
|
default: r(() => [
|
171
|
-
o(
|
172
|
-
modelValue:
|
173
|
-
"onUpdate:modelValue": l[0] || (l[0] = (e) =>
|
174
|
-
data:
|
179
|
+
o(N, {
|
180
|
+
modelValue: n.value.shopId,
|
181
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => n.value.shopId = e),
|
182
|
+
data: a(v).shopBizDict.values,
|
175
183
|
placeholder: t.$t("orderRefunds.shopNameRequired"),
|
176
184
|
clearable: "",
|
177
|
-
onKeyup: l[1] || (l[1] =
|
185
|
+
onKeyup: l[1] || (l[1] = _((e) => a(d).handleQuery(), ["enter"]))
|
178
186
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
179
187
|
]),
|
180
188
|
_: 1
|
@@ -182,19 +190,19 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
182
190
|
]),
|
183
191
|
_: 1
|
184
192
|
}),
|
185
|
-
o(
|
193
|
+
o(f, { span: 6 }, {
|
186
194
|
default: r(() => [
|
187
195
|
o(c, {
|
188
196
|
label: t.$t("orderRefunds.refundCode"),
|
189
197
|
prop: "likeOrderCode"
|
190
198
|
}, {
|
191
199
|
default: r(() => [
|
192
|
-
o(
|
193
|
-
modelValue:
|
194
|
-
"onUpdate:modelValue": l[2] || (l[2] = (e) =>
|
200
|
+
o(P, {
|
201
|
+
modelValue: n.value.likeOrderCode,
|
202
|
+
"onUpdate:modelValue": l[2] || (l[2] = (e) => n.value.likeOrderCode = e),
|
195
203
|
placeholder: t.$t("orderRefunds.refundCodeRequired"),
|
196
204
|
clearable: "",
|
197
|
-
onKeyup: l[3] || (l[3] =
|
205
|
+
onKeyup: l[3] || (l[3] = _((e) => a(d).handleQuery(), ["enter"])),
|
198
206
|
class: "!w-[203px]"
|
199
207
|
}, null, 8, ["modelValue", "placeholder"])
|
200
208
|
]),
|
@@ -203,19 +211,19 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
203
211
|
]),
|
204
212
|
_: 1
|
205
213
|
}),
|
206
|
-
o(
|
214
|
+
o(f, { span: 6 }, {
|
207
215
|
default: r(() => [
|
208
216
|
o(c, {
|
209
217
|
label: t.$t("orderRefunds.spuName"),
|
210
218
|
prop: "likeSpuName"
|
211
219
|
}, {
|
212
220
|
default: r(() => [
|
213
|
-
o(
|
214
|
-
modelValue:
|
215
|
-
"onUpdate:modelValue": l[4] || (l[4] = (e) =>
|
221
|
+
o(P, {
|
222
|
+
modelValue: n.value.likeSpuName,
|
223
|
+
"onUpdate:modelValue": l[4] || (l[4] = (e) => n.value.likeSpuName = e),
|
216
224
|
placeholder: t.$t("orderRefunds.spuNameRequired"),
|
217
225
|
clearable: "",
|
218
|
-
onKeyup: l[5] || (l[5] =
|
226
|
+
onKeyup: l[5] || (l[5] = _((e) => a(d).handleQuery(), ["enter"])),
|
219
227
|
class: "!w-[203px]"
|
220
228
|
}, null, 8, ["modelValue", "placeholder"])
|
221
229
|
]),
|
@@ -224,20 +232,20 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
224
232
|
]),
|
225
233
|
_: 1
|
226
234
|
}),
|
227
|
-
o(
|
235
|
+
o(f, { span: 6 }, {
|
228
236
|
default: r(() => [
|
229
237
|
o(c, {
|
230
238
|
label: t.$t("orderRefunds.refundStatus"),
|
231
239
|
prop: "refundStatus"
|
232
240
|
}, {
|
233
241
|
default: r(() => [
|
234
|
-
o(
|
235
|
-
modelValue:
|
236
|
-
"onUpdate:modelValue": l[6] || (l[6] = (e) =>
|
237
|
-
data:
|
242
|
+
o(N, {
|
243
|
+
modelValue: n.value.refundStatus,
|
244
|
+
"onUpdate:modelValue": l[6] || (l[6] = (e) => n.value.refundStatus = e),
|
245
|
+
data: a(v).refundApplyEnum.values,
|
238
246
|
placeholder: t.$t("orderRefunds.refundStatusRequired"),
|
239
247
|
clearable: "",
|
240
|
-
onKeyup: l[7] || (l[7] =
|
248
|
+
onKeyup: l[7] || (l[7] = _((e) => a(d).handleQuery(), ["enter"]))
|
241
249
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
242
250
|
]),
|
243
251
|
_: 1
|
@@ -248,9 +256,9 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
248
256
|
]),
|
249
257
|
_: 1
|
250
258
|
}),
|
251
|
-
o(
|
259
|
+
o(V, null, {
|
252
260
|
default: r(() => [
|
253
|
-
o(
|
261
|
+
o(f, { span: 6 }, {
|
254
262
|
default: r(() => [
|
255
263
|
o(c, {
|
256
264
|
label: t.$t("orderRefunds.refundsTime"),
|
@@ -258,14 +266,14 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
258
266
|
}, {
|
259
267
|
default: r(() => [
|
260
268
|
o(J, {
|
261
|
-
modelValue:
|
262
|
-
"onUpdate:modelValue": l[8] || (l[8] = (e) =>
|
269
|
+
modelValue: $.value,
|
270
|
+
"onUpdate:modelValue": l[8] || (l[8] = (e) => $.value = e),
|
263
271
|
type: "daterange",
|
264
272
|
"start-placeholder": t.$t("orderRefunds.startCreateTime"),
|
265
273
|
"end-placeholder": t.$t("orderRefunds.endCreateTime"),
|
266
274
|
format: "YYYY-MM-DD",
|
267
275
|
"value-format": "YYYY-MM-DD",
|
268
|
-
onChange:
|
276
|
+
onChange: O
|
269
277
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
270
278
|
]),
|
271
279
|
_: 1
|
@@ -273,22 +281,22 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
273
281
|
]),
|
274
282
|
_: 1
|
275
283
|
}),
|
276
|
-
o(
|
284
|
+
o(f, { span: 18 }, {
|
277
285
|
default: r(() => [
|
278
286
|
o(c, { class: "search-btn" }, {
|
279
287
|
default: r(() => [
|
280
|
-
o(
|
288
|
+
o(Y, {
|
281
289
|
type: "primary",
|
282
|
-
onClick: l[9] || (l[9] = (e) =>
|
290
|
+
onClick: l[9] || (l[9] = (e) => a(d).handleQuery())
|
283
291
|
}, {
|
284
292
|
default: r(() => [
|
285
|
-
T(
|
293
|
+
T(u(t.$t("common.search")), 1)
|
286
294
|
]),
|
287
295
|
_: 1
|
288
296
|
}),
|
289
|
-
o(
|
297
|
+
o(Y, { onClick: F }, {
|
290
298
|
default: r(() => [
|
291
|
-
T(
|
299
|
+
T(u(t.$t("common.reset")), 1)
|
292
300
|
]),
|
293
301
|
_: 1
|
294
302
|
})
|
@@ -306,22 +314,21 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
306
314
|
}, 8, ["model"]),
|
307
315
|
l[17] || (l[17] = i("div", { class: "clear" }, null, -1))
|
308
316
|
]),
|
309
|
-
o(
|
317
|
+
o(te, {
|
310
318
|
shadow: "never",
|
311
319
|
class: "table-container"
|
312
320
|
}, {
|
313
321
|
header: r(() => [
|
314
|
-
o(
|
322
|
+
o(V, null, {
|
315
323
|
default: r(() => [
|
316
|
-
o(
|
317
|
-
|
318
|
-
span: 7,
|
324
|
+
o(f, {
|
325
|
+
span: 24,
|
319
326
|
class: "container-float"
|
320
327
|
}, {
|
321
328
|
default: r(() => [
|
322
329
|
o(Z, {
|
323
|
-
modelValue:
|
324
|
-
"onUpdate:modelValue": l[10] || (l[10] = (e) =>
|
330
|
+
modelValue: a(y),
|
331
|
+
"onUpdate:modelValue": l[10] || (l[10] = (e) => U(y) ? y.value = e : y = e),
|
325
332
|
"label-name": "order/order-refunds"
|
326
333
|
}, null, 8, ["modelValue"])
|
327
334
|
]),
|
@@ -332,95 +339,95 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, be =
|
|
332
339
|
})
|
333
340
|
]),
|
334
341
|
footer: r(() => [
|
335
|
-
|
342
|
+
a(g) > 0 ? (p(), S(ee, {
|
336
343
|
key: 0,
|
337
|
-
total:
|
338
|
-
"onUpdate:total": l[11] || (l[11] = (e) =>
|
339
|
-
"current-page":
|
340
|
-
"onUpdate:currentPage": l[12] || (l[12] = (e) =>
|
341
|
-
"page-size":
|
342
|
-
"onUpdate:pageSize": l[13] || (l[13] = (e) =>
|
343
|
-
onPagination: l[14] || (l[14] = (e) =>
|
344
|
+
total: a(g),
|
345
|
+
"onUpdate:total": l[11] || (l[11] = (e) => U(g) ? g.value = e : null),
|
346
|
+
"current-page": n.value.curPage,
|
347
|
+
"onUpdate:currentPage": l[12] || (l[12] = (e) => n.value.curPage = e),
|
348
|
+
"page-size": n.value.pageSize,
|
349
|
+
"onUpdate:pageSize": l[13] || (l[13] = (e) => n.value.pageSize = e),
|
350
|
+
onPagination: l[14] || (l[14] = (e) => a(d).getList())
|
344
351
|
}, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
|
345
352
|
]),
|
346
353
|
default: r(() => [
|
347
354
|
o(x, {
|
348
355
|
ref_key: "multipleTableRef",
|
349
|
-
ref:
|
356
|
+
ref: Q,
|
350
357
|
"row-key": "refundId",
|
351
|
-
"list-loading":
|
352
|
-
data:
|
353
|
-
"table-label":
|
358
|
+
"list-loading": a(A),
|
359
|
+
data: a(K),
|
360
|
+
"table-label": a(y),
|
354
361
|
onSelectionChange: G
|
355
362
|
}, {
|
356
363
|
shopId: r((e) => [
|
357
|
-
i("span", null,
|
364
|
+
i("span", null, u(a(v).shopBizDict.getValue(e.data.row.shopId)), 1)
|
358
365
|
]),
|
359
366
|
createTime: r((e) => [
|
360
|
-
i("span", null,
|
367
|
+
i("span", null, u(a(B).$moment.formatDate(
|
361
368
|
e.data.row.createTime,
|
362
369
|
"YYYY-MM-DD HH:mm:ss"
|
363
370
|
)), 1)
|
364
371
|
]),
|
365
372
|
order: r((e) => [
|
366
373
|
i("div", null, [
|
367
|
-
i("div", null,
|
368
|
-
i("div", null,
|
369
|
-
i("div", null,
|
370
|
-
i("div", null,
|
371
|
-
i("div", null,
|
374
|
+
i("div", null, u(t.$t("orderRefunds.orderCode")) + ":" + u(e.data.row.orderCode), 1),
|
375
|
+
i("div", null, u(t.$t("orderRefunds.orderPrice")) + ":¥" + u(e.data.row.orderPrice), 1),
|
376
|
+
i("div", null, u(t.$t("orderRefunds.freightPrice")) + ":¥" + u(e.data.row.freightPrice), 1),
|
377
|
+
i("div", null, u(t.$t("orderRefunds.paymentCouponPrice")) + ":¥" + u(e.data.row.paymentCouponPrice), 1),
|
378
|
+
i("div", null, u(t.$t("orderRefunds.paymentWay")) + ": " + u(a(v).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
372
379
|
])
|
373
380
|
]),
|
374
381
|
refundStatus: r((e) => [
|
375
|
-
i("span", null,
|
382
|
+
i("span", null, u(a(v).refundApplyEnum.getEnumValue(e.data.row.status)), 1)
|
376
383
|
]),
|
377
384
|
operation: r((e) => [
|
378
|
-
|
385
|
+
se((p(), k("span", {
|
379
386
|
class: "el-button-color",
|
380
|
-
onClick: (
|
387
|
+
onClick: (E) => H(e.data.row)
|
381
388
|
}, [
|
382
|
-
T(
|
383
|
-
], 8,
|
384
|
-
[
|
389
|
+
T(u(t.$t("common.view")), 1)
|
390
|
+
], 8, Re)), [
|
391
|
+
[le, ["order:order_refunds:view"]]
|
385
392
|
]),
|
386
|
-
e.data.row.status ===
|
393
|
+
e.data.row.status === a(z).APPLY ? (p(), k("span", {
|
387
394
|
key: 0,
|
388
395
|
class: "el-button-color dropdown-left",
|
389
|
-
onClick: (
|
390
|
-
},
|
391
|
-
e.data.row.status ===
|
396
|
+
onClick: (E) => L(e.data.row)
|
397
|
+
}, u(t.$t("orderRefunds.refundReview")), 9, he)) : C("", !0),
|
398
|
+
e.data.row.status === a(z).PASS ? (p(), k("span", {
|
392
399
|
key: 1,
|
393
400
|
class: "el-button-color dropdown-left",
|
394
|
-
onClick: (
|
395
|
-
},
|
401
|
+
onClick: (E) => W(e.data.row)
|
402
|
+
}, u(t.$t("orderRefunds.refund")), 9, Ce)) : C("", !0)
|
396
403
|
]),
|
397
404
|
_: 1
|
398
405
|
}, 8, ["list-loading", "data", "table-label"])
|
399
406
|
]),
|
400
407
|
_: 1
|
401
408
|
}),
|
402
|
-
b.value.visible ? (
|
409
|
+
b.value.visible ? (p(), S(ce, {
|
403
410
|
key: 0,
|
404
411
|
modelValue: b.value.visible,
|
405
412
|
"onUpdate:modelValue": l[15] || (l[15] = (e) => b.value.visible = e),
|
406
413
|
title: b.value.title,
|
407
|
-
"entity-key":
|
408
|
-
onRefresh:
|
414
|
+
"entity-key": a(w),
|
415
|
+
onRefresh: D,
|
409
416
|
width: "800px"
|
410
417
|
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
|
411
|
-
R.value.visible ? (
|
418
|
+
R.value.visible ? (p(), S(ve, {
|
412
419
|
key: 1,
|
413
420
|
modelValue: R.value.visible,
|
414
421
|
"onUpdate:modelValue": l[16] || (l[16] = (e) => R.value.visible = e),
|
415
422
|
title: R.value.title,
|
416
|
-
"entity-key":
|
417
|
-
onRefresh:
|
418
|
-
width: "
|
423
|
+
"entity-key": a(w),
|
424
|
+
onRefresh: D,
|
425
|
+
width: "900px"
|
419
426
|
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
|
420
427
|
]);
|
421
428
|
};
|
422
429
|
}
|
423
430
|
});
|
424
431
|
export {
|
425
|
-
|
432
|
+
Ne as default
|
426
433
|
};
|