xyvcard-order 0.0.10 → 0.0.12
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/{deliver-DZDmtbHY.mjs → deliver-CgSCkEMe.mjs} +1 -1
- package/dist/{deliver.vue_vue_type_script_setup_true_lang-DZ6WdO5i.mjs → deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs} +7 -7
- package/dist/{index-BTfCAYQ-.mjs → index-BLTeDGPq.mjs} +137 -122
- package/dist/{index-De4cg2k7.mjs → index-DaOMDld4.mjs} +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{info-Rh1e8h1X.mjs → info-DXX50Xfh.mjs} +1 -1
- package/dist/{unpost-DE4VcTu2.mjs → unpost-Bj10_WvZ.mjs} +1 -1
- package/dist/{unpost.vue_vue_type_script_setup_true_lang-Xtrcqwsb.mjs → unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs} +1 -1
- package/package.json +1 -1
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent as P, mergeModels as
|
1
|
+
import { defineComponent as P, mergeModels as C, ref as b, reactive as T, useModel as U, resolveComponent as d, openBlock as f, createBlock as y, withCtx as o, createElementVNode as B, createVNode as t, createTextVNode as N, toDisplayString as h, unref as e, createCommentVNode as E } from "vue";
|
2
2
|
import { ElMessage as F } from "element-plus";
|
3
3
|
import { useI18n as K } from "vue-i18n";
|
4
4
|
import { D as Y, C as _ } from "./index-CHzhYqx8.mjs";
|
5
5
|
import { o as A } from "./index-CfEKTjAd.mjs";
|
6
6
|
const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
7
7
|
__name: "deliver",
|
8
|
-
props: /* @__PURE__ */
|
8
|
+
props: /* @__PURE__ */ C({
|
9
9
|
entityKey: {
|
10
10
|
type: Object,
|
11
11
|
default: () => {
|
@@ -20,11 +20,11 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
20
20
|
modelValue: { type: Boolean },
|
21
21
|
modelModifiers: {}
|
22
22
|
}),
|
23
|
-
emits: /* @__PURE__ */
|
23
|
+
emits: /* @__PURE__ */ C(["refresh"], ["update:modelValue"]),
|
24
24
|
setup(g, { emit: k }) {
|
25
25
|
const { t: i } = K(), I = b();
|
26
26
|
let l = T({
|
27
|
-
postType: ""
|
27
|
+
postType: "logistics_delivery"
|
28
28
|
});
|
29
29
|
const D = T({
|
30
30
|
postType: [
|
@@ -67,7 +67,7 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
67
67
|
n.value && (n.value = !1);
|
68
68
|
}
|
69
69
|
return (s, r) => {
|
70
|
-
const m = d("jmash-enum-radio"), p = d("el-form-item"), c = d("el-col"), j = d("jmash-dict-select"), O = d("el-input"), $ = d("el-row"), w = d("el-form"),
|
70
|
+
const m = d("jmash-enum-radio"), p = d("el-form-item"), c = d("el-col"), j = d("jmash-dict-select"), O = d("el-input"), $ = d("el-row"), w = d("el-form"), v = d("el-button"), L = d("el-dialog");
|
71
71
|
return f(), y(L, {
|
72
72
|
modelValue: n.value,
|
73
73
|
"onUpdate:modelValue": r[3] || (r[3] = (a) => n.value = a),
|
@@ -75,13 +75,13 @@ const G = { class: "dialog-footer" }, W = /* @__PURE__ */ P({
|
|
75
75
|
}, {
|
76
76
|
footer: o(() => [
|
77
77
|
B("div", G, [
|
78
|
-
t(
|
78
|
+
t(v, { onClick: V }, {
|
79
79
|
default: o(() => [
|
80
80
|
N(h(s.$t("common.cancel")), 1)
|
81
81
|
]),
|
82
82
|
_: 1
|
83
83
|
}),
|
84
|
-
t(
|
84
|
+
t(v, {
|
85
85
|
type: "primary",
|
86
86
|
onClick: S
|
87
87
|
}, {
|
@@ -1,27 +1,28 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import { _ as
|
8
|
-
import {
|
9
|
-
|
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, openBlock as p, createElementBlock as k, createElementVNode as i, createVNode as o, withCtx as r, unref as a, withKeys as _, createTextVNode as S, toDisplayString as u, isRef as U, createBlock as T, createCommentVNode as C, withDirectives as se } 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
|
+
import { useI18n as pe } from "vue-i18n";
|
6
|
+
import { o as M } from "./index-DAb5kkOk.mjs";
|
7
|
+
import { _ as ce } from "./review.vue_vue_type_script_setup_true_lang-HjQowjbK.mjs";
|
8
|
+
import { _ as ve } from "./info.vue_vue_type_script_setup_true_lang-nH2_wV_f.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({
|
10
11
|
__name: "index",
|
11
|
-
setup(
|
12
|
-
const { t: m } =
|
12
|
+
setup(we) {
|
13
|
+
const { t: m } = pe(), I = ie(), { proxy: B } = re();
|
13
14
|
v.shopBizDict.useValues();
|
14
|
-
const
|
15
|
+
const $ = h([]), n = h({
|
15
16
|
curPage: 1,
|
16
17
|
pageSize: 10
|
17
18
|
}), {
|
18
|
-
tableHooks:
|
19
|
-
multipleTableRef:
|
20
|
-
queryFormRef:
|
19
|
+
tableHooks: d,
|
20
|
+
multipleTableRef: Q,
|
21
|
+
queryFormRef: j,
|
21
22
|
listLoading: A,
|
22
|
-
tableData:
|
23
|
+
tableData: K,
|
23
24
|
total: w
|
24
|
-
} =
|
25
|
+
} = fe(m, M, n);
|
25
26
|
let y = h([
|
26
27
|
{
|
27
28
|
label: "orderInfo.shopName",
|
@@ -95,12 +96,12 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
95
96
|
title: m("orderRefunds.info"),
|
96
97
|
visible: !1
|
97
98
|
});
|
98
|
-
let g =
|
99
|
-
function
|
99
|
+
let g = ne({});
|
100
|
+
function L(t) {
|
100
101
|
g.refundId = t.refundId, b.value.visible = !0;
|
101
102
|
}
|
102
|
-
const
|
103
|
-
|
103
|
+
const H = async (t) => {
|
104
|
+
me.confirm(
|
104
105
|
m("orderRefunds.refundConfirm"),
|
105
106
|
m("orderRefunds.refund"),
|
106
107
|
{
|
@@ -109,16 +110,16 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
109
110
|
type: "warning"
|
110
111
|
}
|
111
112
|
).then(() => {
|
112
|
-
|
113
|
+
M.refund({
|
113
114
|
refundId: t.refundId,
|
114
115
|
requestId: Math.random() * 10 + ""
|
115
116
|
}).then((l) => {
|
116
|
-
l.status === 200 && (
|
117
|
+
l.status === 200 && (q({
|
117
118
|
message: m("orderRefunds.refundSuccess"),
|
118
119
|
type: "success"
|
119
|
-
}),
|
120
|
+
}), d.handleQuery());
|
120
121
|
}).catch((l) => {
|
121
|
-
console.error("Error canceling order:", l),
|
122
|
+
console.error("Error canceling order:", l), q({
|
122
123
|
message: m("orderRefunds.refundFailed"),
|
123
124
|
type: "error"
|
124
125
|
});
|
@@ -126,48 +127,62 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
126
127
|
}).catch(() => {
|
127
128
|
});
|
128
129
|
};
|
129
|
-
function
|
130
|
+
function O(t) {
|
130
131
|
g.refundId = t.refundId, R.value.visible = !0;
|
131
132
|
}
|
132
|
-
function
|
133
|
-
|
133
|
+
function F(t) {
|
134
|
+
n.value.startCreateTime = t[0], n.value.endCreateTime = t[1];
|
134
135
|
}
|
135
|
-
function
|
136
|
-
|
136
|
+
function W() {
|
137
|
+
$.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", d.resetQuery();
|
137
138
|
}
|
138
|
-
function
|
139
|
-
|
139
|
+
function G(t) {
|
140
|
+
d.selectionRows.value = t;
|
140
141
|
}
|
141
|
-
function
|
142
|
-
t &&
|
142
|
+
function D(t) {
|
143
|
+
t && d.getList();
|
143
144
|
}
|
144
|
-
return
|
145
|
-
const
|
146
|
-
|
147
|
-
|
148
|
-
|
145
|
+
return ae(() => {
|
146
|
+
const t = I.query.refundStatus;
|
147
|
+
t && (n.value = {
|
148
|
+
...n.value,
|
149
|
+
refundStatus: t
|
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, [
|
163
|
+
o(X, {
|
149
164
|
ref_key: "queryFormRef",
|
150
|
-
ref:
|
151
|
-
model:
|
165
|
+
ref: j,
|
166
|
+
model: n.value,
|
152
167
|
inline: !0
|
153
168
|
}, {
|
154
169
|
default: r(() => [
|
155
|
-
o(
|
170
|
+
o(V, null, {
|
156
171
|
default: r(() => [
|
157
|
-
o(
|
172
|
+
o(f, { span: 6 }, {
|
158
173
|
default: r(() => [
|
159
174
|
o(c, {
|
160
175
|
label: t.$t("orderRefunds.shopName"),
|
161
176
|
prop: "shopId"
|
162
177
|
}, {
|
163
178
|
default: r(() => [
|
164
|
-
o(
|
165
|
-
modelValue:
|
166
|
-
"onUpdate:modelValue": l[0] || (l[0] = (e) =>
|
167
|
-
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,
|
168
183
|
placeholder: t.$t("orderRefunds.shopNameRequired"),
|
169
184
|
clearable: "",
|
170
|
-
onKeyup: l[1] || (l[1] =
|
185
|
+
onKeyup: l[1] || (l[1] = _((e) => a(d).handleQuery(), ["enter"]))
|
171
186
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
172
187
|
]),
|
173
188
|
_: 1
|
@@ -175,19 +190,19 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
175
190
|
]),
|
176
191
|
_: 1
|
177
192
|
}),
|
178
|
-
o(
|
193
|
+
o(f, { span: 6 }, {
|
179
194
|
default: r(() => [
|
180
195
|
o(c, {
|
181
196
|
label: t.$t("orderRefunds.refundCode"),
|
182
197
|
prop: "likeOrderCode"
|
183
198
|
}, {
|
184
199
|
default: r(() => [
|
185
|
-
o(
|
186
|
-
modelValue:
|
187
|
-
"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),
|
188
203
|
placeholder: t.$t("orderRefunds.refundCodeRequired"),
|
189
204
|
clearable: "",
|
190
|
-
onKeyup: l[3] || (l[3] =
|
205
|
+
onKeyup: l[3] || (l[3] = _((e) => a(d).handleQuery(), ["enter"])),
|
191
206
|
class: "!w-[203px]"
|
192
207
|
}, null, 8, ["modelValue", "placeholder"])
|
193
208
|
]),
|
@@ -196,19 +211,19 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
196
211
|
]),
|
197
212
|
_: 1
|
198
213
|
}),
|
199
|
-
o(
|
214
|
+
o(f, { span: 6 }, {
|
200
215
|
default: r(() => [
|
201
216
|
o(c, {
|
202
217
|
label: t.$t("orderRefunds.spuName"),
|
203
218
|
prop: "likeSpuName"
|
204
219
|
}, {
|
205
220
|
default: r(() => [
|
206
|
-
o(
|
207
|
-
modelValue:
|
208
|
-
"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),
|
209
224
|
placeholder: t.$t("orderRefunds.spuNameRequired"),
|
210
225
|
clearable: "",
|
211
|
-
onKeyup: l[5] || (l[5] =
|
226
|
+
onKeyup: l[5] || (l[5] = _((e) => a(d).handleQuery(), ["enter"])),
|
212
227
|
class: "!w-[203px]"
|
213
228
|
}, null, 8, ["modelValue", "placeholder"])
|
214
229
|
]),
|
@@ -217,20 +232,20 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
217
232
|
]),
|
218
233
|
_: 1
|
219
234
|
}),
|
220
|
-
o(
|
235
|
+
o(f, { span: 6 }, {
|
221
236
|
default: r(() => [
|
222
237
|
o(c, {
|
223
238
|
label: t.$t("orderRefunds.refundStatus"),
|
224
239
|
prop: "refundStatus"
|
225
240
|
}, {
|
226
241
|
default: r(() => [
|
227
|
-
o(
|
228
|
-
modelValue:
|
229
|
-
"onUpdate:modelValue": l[6] || (l[6] = (e) =>
|
230
|
-
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,
|
231
246
|
placeholder: t.$t("orderRefunds.refundStatusRequired"),
|
232
247
|
clearable: "",
|
233
|
-
onKeyup: l[7] || (l[7] =
|
248
|
+
onKeyup: l[7] || (l[7] = _((e) => a(d).handleQuery(), ["enter"]))
|
234
249
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
235
250
|
]),
|
236
251
|
_: 1
|
@@ -241,24 +256,24 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
241
256
|
]),
|
242
257
|
_: 1
|
243
258
|
}),
|
244
|
-
o(
|
259
|
+
o(V, null, {
|
245
260
|
default: r(() => [
|
246
|
-
o(
|
261
|
+
o(f, { span: 6 }, {
|
247
262
|
default: r(() => [
|
248
263
|
o(c, {
|
249
264
|
label: t.$t("orderRefunds.refundsTime"),
|
250
265
|
prop: "startCreateTime"
|
251
266
|
}, {
|
252
267
|
default: r(() => [
|
253
|
-
o(
|
254
|
-
modelValue:
|
255
|
-
"onUpdate:modelValue": l[8] || (l[8] = (e) =>
|
268
|
+
o(J, {
|
269
|
+
modelValue: $.value,
|
270
|
+
"onUpdate:modelValue": l[8] || (l[8] = (e) => $.value = e),
|
256
271
|
type: "daterange",
|
257
272
|
"start-placeholder": t.$t("orderRefunds.startCreateTime"),
|
258
273
|
"end-placeholder": t.$t("orderRefunds.endCreateTime"),
|
259
274
|
format: "YYYY-MM-DD",
|
260
275
|
"value-format": "YYYY-MM-DD",
|
261
|
-
onChange:
|
276
|
+
onChange: F
|
262
277
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
263
278
|
]),
|
264
279
|
_: 1
|
@@ -266,22 +281,22 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
266
281
|
]),
|
267
282
|
_: 1
|
268
283
|
}),
|
269
|
-
o(
|
284
|
+
o(f, { span: 18 }, {
|
270
285
|
default: r(() => [
|
271
286
|
o(c, { class: "search-btn" }, {
|
272
287
|
default: r(() => [
|
273
|
-
o(
|
288
|
+
o(Y, {
|
274
289
|
type: "primary",
|
275
|
-
onClick: l[9] || (l[9] = (e) =>
|
290
|
+
onClick: l[9] || (l[9] = (e) => a(d).handleQuery())
|
276
291
|
}, {
|
277
292
|
default: r(() => [
|
278
|
-
|
293
|
+
S(u(t.$t("common.search")), 1)
|
279
294
|
]),
|
280
295
|
_: 1
|
281
296
|
}),
|
282
|
-
o(
|
297
|
+
o(Y, { onClick: W }, {
|
283
298
|
default: r(() => [
|
284
|
-
|
299
|
+
S(u(t.$t("common.reset")), 1)
|
285
300
|
]),
|
286
301
|
_: 1
|
287
302
|
})
|
@@ -299,22 +314,22 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
299
314
|
}, 8, ["model"]),
|
300
315
|
l[17] || (l[17] = i("div", { class: "clear" }, null, -1))
|
301
316
|
]),
|
302
|
-
o(
|
317
|
+
o(te, {
|
303
318
|
shadow: "never",
|
304
319
|
class: "table-container"
|
305
320
|
}, {
|
306
321
|
header: r(() => [
|
307
|
-
o(
|
322
|
+
o(V, null, {
|
308
323
|
default: r(() => [
|
309
|
-
o(
|
310
|
-
o(
|
324
|
+
o(f, { span: 17 }),
|
325
|
+
o(f, {
|
311
326
|
span: 7,
|
312
327
|
class: "container-float"
|
313
328
|
}, {
|
314
329
|
default: r(() => [
|
315
|
-
o(
|
316
|
-
modelValue:
|
317
|
-
"onUpdate:modelValue": l[10] || (l[10] = (e) =>
|
330
|
+
o(Z, {
|
331
|
+
modelValue: a(y),
|
332
|
+
"onUpdate:modelValue": l[10] || (l[10] = (e) => U(y) ? y.value = e : y = e),
|
318
333
|
"label-name": "order/order-refunds"
|
319
334
|
}, null, 8, ["modelValue"])
|
320
335
|
]),
|
@@ -325,89 +340,89 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
325
340
|
})
|
326
341
|
]),
|
327
342
|
footer: r(() => [
|
328
|
-
|
343
|
+
a(w) > 0 ? (p(), T(ee, {
|
329
344
|
key: 0,
|
330
|
-
total:
|
331
|
-
"onUpdate:total": l[11] || (l[11] = (e) =>
|
332
|
-
"current-page":
|
333
|
-
"onUpdate:currentPage": l[12] || (l[12] = (e) =>
|
334
|
-
"page-size":
|
335
|
-
"onUpdate:pageSize": l[13] || (l[13] = (e) =>
|
336
|
-
onPagination: l[14] || (l[14] = (e) =>
|
345
|
+
total: a(w),
|
346
|
+
"onUpdate:total": l[11] || (l[11] = (e) => U(w) ? w.value = e : null),
|
347
|
+
"current-page": n.value.curPage,
|
348
|
+
"onUpdate:currentPage": l[12] || (l[12] = (e) => n.value.curPage = e),
|
349
|
+
"page-size": n.value.pageSize,
|
350
|
+
"onUpdate:pageSize": l[13] || (l[13] = (e) => n.value.pageSize = e),
|
351
|
+
onPagination: l[14] || (l[14] = (e) => a(d).getList())
|
337
352
|
}, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
|
338
353
|
]),
|
339
354
|
default: r(() => [
|
340
|
-
o(
|
355
|
+
o(x, {
|
341
356
|
ref_key: "multipleTableRef",
|
342
|
-
ref:
|
357
|
+
ref: Q,
|
343
358
|
"row-key": "refundId",
|
344
|
-
"list-loading":
|
345
|
-
data:
|
346
|
-
"table-label":
|
347
|
-
onSelectionChange:
|
359
|
+
"list-loading": a(A),
|
360
|
+
data: a(K),
|
361
|
+
"table-label": a(y),
|
362
|
+
onSelectionChange: G
|
348
363
|
}, {
|
349
364
|
shopId: r((e) => [
|
350
|
-
i("span", null,
|
365
|
+
i("span", null, u(a(v).shopBizDict.getValue(e.data.row.shopId)), 1)
|
351
366
|
]),
|
352
367
|
createTime: r((e) => [
|
353
|
-
i("span", null,
|
368
|
+
i("span", null, u(a(B).$moment.formatDate(
|
354
369
|
e.data.row.createTime,
|
355
370
|
"YYYY-MM-DD HH:mm:ss"
|
356
371
|
)), 1)
|
357
372
|
]),
|
358
373
|
order: r((e) => [
|
359
374
|
i("div", null, [
|
360
|
-
i("div", null,
|
361
|
-
i("div", null,
|
362
|
-
i("div", null,
|
363
|
-
i("div", null,
|
364
|
-
i("div", null,
|
375
|
+
i("div", null, u(t.$t("orderRefunds.orderCode")) + ":" + u(e.data.row.orderCode), 1),
|
376
|
+
i("div", null, u(t.$t("orderRefunds.orderPrice")) + ":¥" + u(e.data.row.orderPrice), 1),
|
377
|
+
i("div", null, u(t.$t("orderRefunds.freightPrice")) + ":+¥" + u(e.data.row.freightPrice), 1),
|
378
|
+
i("div", null, u(t.$t("orderRefunds.paymentCouponPrice")) + ":-¥" + u(e.data.row.paymentCouponPrice), 1),
|
379
|
+
i("div", null, u(t.$t("orderRefunds.paymentWay")) + ": " + u(a(v).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
365
380
|
])
|
366
381
|
]),
|
367
382
|
refundStatus: r((e) => [
|
368
|
-
i("span", null,
|
383
|
+
i("span", null, u(a(v).refundApplyEnum.getEnumValue(e.data.row.status)), 1)
|
369
384
|
]),
|
370
385
|
operation: r((e) => [
|
371
|
-
|
386
|
+
se((p(), k("span", {
|
372
387
|
class: "el-button-color",
|
373
|
-
onClick: (
|
388
|
+
onClick: (E) => O(e.data.row)
|
374
389
|
}, [
|
375
|
-
|
376
|
-
], 8,
|
390
|
+
S(u(t.$t("common.view")), 1)
|
391
|
+
], 8, Re)), [
|
377
392
|
[le, ["order:order_refunds:view"]]
|
378
393
|
]),
|
379
|
-
e.data.row.status ===
|
394
|
+
e.data.row.status === a(z).APPLY ? (p(), k("span", {
|
380
395
|
key: 0,
|
381
396
|
class: "el-button-color dropdown-left",
|
382
|
-
onClick: (
|
383
|
-
},
|
384
|
-
e.data.row.status ===
|
397
|
+
onClick: (E) => L(e.data.row)
|
398
|
+
}, u(t.$t("orderRefunds.refundReview")), 9, he)) : C("", !0),
|
399
|
+
e.data.row.status === a(z).PASS ? (p(), k("span", {
|
385
400
|
key: 1,
|
386
401
|
class: "el-button-color dropdown-left",
|
387
|
-
onClick: (
|
388
|
-
},
|
402
|
+
onClick: (E) => H(e.data.row)
|
403
|
+
}, u(t.$t("orderRefunds.refund")), 9, Ce)) : C("", !0)
|
389
404
|
]),
|
390
405
|
_: 1
|
391
406
|
}, 8, ["list-loading", "data", "table-label"])
|
392
407
|
]),
|
393
408
|
_: 1
|
394
409
|
}),
|
395
|
-
b.value.visible ? (
|
410
|
+
b.value.visible ? (p(), T(ce, {
|
396
411
|
key: 0,
|
397
412
|
modelValue: b.value.visible,
|
398
413
|
"onUpdate:modelValue": l[15] || (l[15] = (e) => b.value.visible = e),
|
399
414
|
title: b.value.title,
|
400
|
-
"entity-key":
|
401
|
-
onRefresh:
|
415
|
+
"entity-key": a(g),
|
416
|
+
onRefresh: D,
|
402
417
|
width: "800px"
|
403
418
|
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
|
404
|
-
R.value.visible ? (
|
419
|
+
R.value.visible ? (p(), T(ve, {
|
405
420
|
key: 1,
|
406
421
|
modelValue: R.value.visible,
|
407
422
|
"onUpdate:modelValue": l[16] || (l[16] = (e) => R.value.visible = e),
|
408
423
|
title: R.value.title,
|
409
|
-
"entity-key":
|
410
|
-
onRefresh:
|
424
|
+
"entity-key": a(g),
|
425
|
+
onRefresh: D,
|
411
426
|
width: "600px"
|
412
427
|
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
|
413
428
|
]);
|
@@ -415,5 +430,5 @@ const pe = { class: "app-container" }, fe = { class: "search-container" }, ce =
|
|
415
430
|
}
|
416
431
|
});
|
417
432
|
export {
|
418
|
-
|
433
|
+
Ne as default
|
419
434
|
};
|
@@ -4,14 +4,14 @@ import { ElMessageBox as ge, ElMessage as O } from "element-plus";
|
|
4
4
|
import { useTableHooks as ke } from "jmash-core";
|
5
5
|
import { useI18n as Ce } from "vue-i18n";
|
6
6
|
import { o as F } from "./index-CfEKTjAd.mjs";
|
7
|
-
import { _ as Ve } from "./deliver.vue_vue_type_script_setup_true_lang-
|
7
|
+
import { _ as Ve } from "./deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs";
|
8
8
|
import { _ as he } from "./change.vue_vue_type_script_setup_true_lang-DLfb9HIp.mjs";
|
9
9
|
import { D as f, C as w } from "./index-CHzhYqx8.mjs";
|
10
10
|
import { _ as $e } from "./unpay.vue_vue_type_script_setup_true_lang-CsHqHywv.mjs";
|
11
11
|
import { _ as Ee } from "./unreceive.vue_vue_type_script_setup_true_lang-CgWgDNgs.mjs";
|
12
12
|
import { _ as Te } from "./completed.vue_vue_type_script_setup_true_lang-ysjYRoxQ.mjs";
|
13
13
|
import { _ as Pe } from "./canceled.vue_vue_type_script_setup_true_lang-lNPLjFzs.mjs";
|
14
|
-
import { _ as Ne } from "./unpost.vue_vue_type_script_setup_true_lang-
|
14
|
+
import { _ as Ne } from "./unpost.vue_vue_type_script_setup_true_lang-uEM6F7n_.mjs";
|
15
15
|
const De = { class: "app-container" }, Ue = { class: "search-container" }, Re = { class: "item-spuName" }, Me = { class: "item-salesPrice" }, qe = { class: "item-specInfo" }, Le = { class: "item-quantity" }, Ye = { class: "orderPrice" }, Ae = ["onClick"], We = ["onClick"], Qe = ["onClick"], lt = /* @__PURE__ */ ve({
|
16
16
|
__name: "index",
|
17
17
|
setup(ze) {
|
package/dist/index.mjs
CHANGED
@@ -2582,7 +2582,7 @@ const Ti = {
|
|
2582
2582
|
}
|
2583
2583
|
};
|
2584
2584
|
}
|
2585
|
-
}, bi = () => import("./info-
|
2585
|
+
}, bi = () => import("./info-DXX50Xfh.mjs"), xi = [
|
2586
2586
|
{
|
2587
2587
|
path: "/raworder",
|
2588
2588
|
component: Sr,
|
@@ -2738,7 +2738,7 @@ function Ni(e) {
|
|
2738
2738
|
let r = e.global.getLocaleMessage("en");
|
2739
2739
|
r = Dt(r, Ri), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", r);
|
2740
2740
|
}
|
2741
|
-
const Wi = /* @__PURE__ */ Object.assign({ "./views/order/order-appraises/index.vue": () => import("./index-S4jzuvn6.mjs"), "./views/order/order-appraises/reply.vue": () => import("./reply-9iq8g6ah.mjs"), "./views/order/order-info/canceled.vue": () => import("./canceled-CTHGNWuB.mjs"), "./views/order/order-info/change.vue": () => import("./change-3TnGoLNv.mjs"), "./views/order/order-info/completed.vue": () => import("./completed-BnD0Wh1K.mjs"), "./views/order/order-info/deliver.vue": () => import("./deliver-
|
2741
|
+
const Wi = /* @__PURE__ */ Object.assign({ "./views/order/order-appraises/index.vue": () => import("./index-S4jzuvn6.mjs"), "./views/order/order-appraises/reply.vue": () => import("./reply-9iq8g6ah.mjs"), "./views/order/order-info/canceled.vue": () => import("./canceled-CTHGNWuB.mjs"), "./views/order/order-info/change.vue": () => import("./change-3TnGoLNv.mjs"), "./views/order/order-info/completed.vue": () => import("./completed-BnD0Wh1K.mjs"), "./views/order/order-info/deliver.vue": () => import("./deliver-CgSCkEMe.mjs"), "./views/order/order-info/edit.vue": () => import("./edit-BgR1glUx.mjs"), "./views/order/order-info/index.vue": () => import("./index-DaOMDld4.mjs"), "./views/order/order-info/info.vue": () => import("./info-DXX50Xfh.mjs"), "./views/order/order-info/unpay.vue": () => import("./unpay-Bc8ekFnl.mjs"), "./views/order/order-info/unpost.vue": () => import("./unpost-Bj10_WvZ.mjs"), "./views/order/order-info/unreceive.vue": () => import("./unreceive-CUiJvXq1.mjs"), "./views/order/order-info/viewLogist.vue": () => import("./viewLogist-Cxu-IV-d.mjs"), "./views/order/order-refunds/index.vue": () => import("./index-BLTeDGPq.mjs"), "./views/order/order-refunds/info.vue": () => import("./info-3uYTUNzE.mjs"), "./views/order/order-refunds/review.vue": () => import("./review-DY1KQI3U.mjs") }), Ci = {
|
2742
2742
|
install(e) {
|
2743
2743
|
Mr(Wi, 7), Ni(Yr), e.use(Ti), Dr(xi);
|
2744
2744
|
}
|
@@ -4,7 +4,7 @@ import { fileApi as $, routerUtil as re } from "jmash-core";
|
|
4
4
|
import { D as s, C as P } from "./index-CHzhYqx8.mjs";
|
5
5
|
import { o as ne } from "./index-CfEKTjAd.mjs";
|
6
6
|
import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-DJFJg9lJ.mjs";
|
7
|
-
import { _ as ie } from "./deliver.vue_vue_type_script_setup_true_lang-
|
7
|
+
import { _ as ie } from "./deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs";
|
8
8
|
import { _ as de } from "./viewLogist.vue_vue_type_script_setup_true_lang-jqRN__Ne.mjs";
|
9
9
|
import { useI18n as se } from "vue-i18n";
|
10
10
|
const ue = { class: "app-container" }, me = { class: "shopName" }, pe = { key: 0 }, fe = ["onClick"], ce = ["onClick"], ve = ["onClick"], Ee = /* @__PURE__ */ X({
|
@@ -3,7 +3,7 @@ import { useRouter as se } from "vue-router";
|
|
3
3
|
import { useTableHooks as ie } from "jmash-core";
|
4
4
|
import { useI18n as me } from "vue-i18n";
|
5
5
|
import { o as pe } from "./index-CfEKTjAd.mjs";
|
6
|
-
import { _ as fe } from "./deliver.vue_vue_type_script_setup_true_lang-
|
6
|
+
import { _ as fe } from "./deliver.vue_vue_type_script_setup_true_lang-DPhLC_oU.mjs";
|
7
7
|
import { D as m, C as w } from "./index-CHzhYqx8.mjs";
|
8
8
|
const ye = { class: "app-container" }, ve = { class: "search-container" }, Ie = { class: "item-spuName" }, be = { class: "item-salesPrice" }, we = { class: "item-specInfo" }, Se = { class: "item-quantity" }, ce = { class: "orderPrice" }, Ce = ["onClick"], ge = ["onClick"], Ne = /* @__PURE__ */ oe({
|
9
9
|
__name: "unpost",
|