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
@@ -1349,7 +1349,7 @@ class fa {
|
|
1349
1349
|
allowDots: !0
|
1350
1350
|
});
|
1351
1351
|
return M({
|
1352
|
-
url: "/v1/order/order_info/" + t + "/order_infos.xlsx?" + n,
|
1352
|
+
url: "/v1/order/order_info/export/" + t + "/order_infos.xlsx?" + n,
|
1353
1353
|
method: "get",
|
1354
1354
|
responseType: "blob"
|
1355
1355
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useUserStore as t, clearEmpty as n, request as d } from "jmash-core";
|
2
|
-
class
|
2
|
+
class s {
|
3
3
|
getKey(e) {
|
4
4
|
return {
|
5
5
|
refundId: e.refundId
|
@@ -32,26 +32,6 @@ class o {
|
|
32
32
|
method: "get"
|
33
33
|
});
|
34
34
|
}
|
35
|
-
// 删除订单退款申请
|
36
|
-
delete(e) {
|
37
|
-
return e.tenant = t().user.tenant, n(e), d({
|
38
|
-
url: "/v1/order/order_refunds/id",
|
39
|
-
method: "delete",
|
40
|
-
params: e
|
41
|
-
});
|
42
|
-
}
|
43
|
-
// 批量删除订单退款申请
|
44
|
-
batchDelete(e) {
|
45
|
-
const r = e.map((u) => u.refundId), s = {
|
46
|
-
tenant: t().user.tenant,
|
47
|
-
refundId: r
|
48
|
-
};
|
49
|
-
return n(s), d({
|
50
|
-
url: "/v1/order/order_refunds/batch",
|
51
|
-
method: "put",
|
52
|
-
data: s
|
53
|
-
});
|
54
|
-
}
|
55
35
|
// 退款申请审批
|
56
36
|
update(e) {
|
57
37
|
return e.tenant = t().user.tenant, n(e), d({
|
@@ -69,7 +49,7 @@ class o {
|
|
69
49
|
});
|
70
50
|
}
|
71
51
|
}
|
72
|
-
const
|
52
|
+
const f = new s();
|
73
53
|
export {
|
74
|
-
|
54
|
+
f as o
|
75
55
|
};
|
@@ -1,29 +1,22 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
import { useI18n as
|
4
|
-
import {
|
5
|
-
import { D as
|
6
|
-
const
|
1
|
+
import { defineComponent as x, getCurrentInstance as ee, ref as c, reactive as ae, resolveComponent as i, resolveDirective as le, openBlock as g, createElementBlock as L, createElementVNode as n, createVNode as t, withCtx as o, unref as p, withKeys as te, createTextVNode as I, toDisplayString as r, isRef as oe, createBlock as R, createCommentVNode as C, Fragment as re, renderList as se, withDirectives as ne } from "vue";
|
2
|
+
import { fileApi as A } from "jmash-core";
|
3
|
+
import { useI18n as ie } from "vue-i18n";
|
4
|
+
import { _ as de, g as pe } from "./reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs";
|
5
|
+
import { D as Y } from "./index-CHzhYqx8.mjs";
|
6
|
+
const ue = { class: "app-container" }, me = { class: "search-container" }, ce = ["onClick"], _e = /* @__PURE__ */ x({
|
7
7
|
__name: "index",
|
8
|
-
setup(
|
9
|
-
const { t:
|
10
|
-
|
11
|
-
const
|
8
|
+
setup(fe) {
|
9
|
+
const { t: B } = ie(), { proxy: T } = ee();
|
10
|
+
Y.shopBizDict.useValues();
|
11
|
+
const S = c([]), d = c({
|
12
12
|
curPage: 1,
|
13
13
|
pageSize: 10
|
14
|
-
}),
|
15
|
-
|
16
|
-
multipleTableRef: q,
|
17
|
-
queryFormRef: B,
|
18
|
-
listLoading: E,
|
19
|
-
total: I,
|
20
|
-
tableData: F
|
21
|
-
} = me(S, fe, p);
|
22
|
-
let y = b([]), w = b([
|
14
|
+
}), U = c(!1), w = c([]), f = c(0);
|
15
|
+
let y = c([
|
23
16
|
{
|
24
17
|
label: "goodsAppraises.shopName",
|
25
18
|
prop: "shopId",
|
26
|
-
width: "
|
19
|
+
width: "250",
|
27
20
|
slotName: "shopId",
|
28
21
|
columnType: "slot",
|
29
22
|
isColumn: !0
|
@@ -31,7 +24,6 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
31
24
|
{
|
32
25
|
label: "goodsAppraises.orderItemList",
|
33
26
|
prop: "orderItemList",
|
34
|
-
width: "500",
|
35
27
|
slotName: "orderItemList",
|
36
28
|
columnType: "slot",
|
37
29
|
isColumn: !0
|
@@ -39,26 +31,17 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
39
31
|
{
|
40
32
|
label: "goodsAppraises.nickName",
|
41
33
|
prop: "nickName",
|
42
|
-
width: "
|
34
|
+
width: "100",
|
43
35
|
isColumn: !0
|
44
36
|
},
|
45
37
|
{
|
46
38
|
label: "goodsAppraises.appraises",
|
47
39
|
prop: "appraises",
|
48
|
-
width: "
|
40
|
+
width: "250",
|
49
41
|
slotName: "appraises",
|
50
42
|
columnType: "slot",
|
51
43
|
isColumn: !0
|
52
44
|
},
|
53
|
-
{
|
54
|
-
label: "goodsAppraises.createTime",
|
55
|
-
prop: "createTime",
|
56
|
-
width: "200",
|
57
|
-
slotName: "createTime",
|
58
|
-
columnType: "slot",
|
59
|
-
sortable: "custom",
|
60
|
-
isColumn: !0
|
61
|
-
},
|
62
45
|
{
|
63
46
|
label: "goodsAppraises.sellerReply",
|
64
47
|
prop: "sellerReply",
|
@@ -68,74 +51,87 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
68
51
|
isColumn: !0
|
69
52
|
}
|
70
53
|
]);
|
71
|
-
const _ =
|
72
|
-
title:
|
54
|
+
const _ = c({
|
55
|
+
title: B("goodsAppraises.sellerReply"),
|
73
56
|
visible: !1
|
74
57
|
});
|
75
|
-
let
|
58
|
+
let N = ae({});
|
59
|
+
function E(l) {
|
60
|
+
N.appraisesId = l.appraisesId, _.value.visible = !0;
|
61
|
+
}
|
76
62
|
function K(l) {
|
77
|
-
|
63
|
+
d.value.appraiseStartTime = l[0], d.value.appraiseEndTime = l[1];
|
78
64
|
}
|
79
|
-
function
|
80
|
-
|
65
|
+
async function h() {
|
66
|
+
U.value = !0;
|
67
|
+
try {
|
68
|
+
const { data: l } = await pe.findPage(d.value);
|
69
|
+
l && l.results ? (w.value = l.results, w.value.map((a) => {
|
70
|
+
var b, v;
|
71
|
+
if ((v = (b = a.orderInfo) == null ? void 0 : b.orderItemList) != null && v.results) {
|
72
|
+
const u = a.orderInfo.orderItemList.results.filter(
|
73
|
+
($) => a.spuId === $.spuId
|
74
|
+
);
|
75
|
+
if (u.length > 0)
|
76
|
+
return {
|
77
|
+
...a,
|
78
|
+
orderInfo: {
|
79
|
+
...a.orderInfo,
|
80
|
+
orderItemList: {
|
81
|
+
...a.orderInfo.orderItemList,
|
82
|
+
results: u
|
83
|
+
}
|
84
|
+
}
|
85
|
+
};
|
86
|
+
}
|
87
|
+
return a;
|
88
|
+
}), f.value = l.totalSize || 0) : (w.value = [], f.value = 0);
|
89
|
+
} catch (l) {
|
90
|
+
console.error("获取数据失败:", l), w.value = [], f.value = 0;
|
91
|
+
} finally {
|
92
|
+
U.value = !1;
|
93
|
+
}
|
81
94
|
}
|
82
|
-
function
|
83
|
-
|
95
|
+
function F() {
|
96
|
+
d.value = {
|
97
|
+
curPage: 1,
|
98
|
+
pageSize: 10,
|
99
|
+
appraiseStartTime: "",
|
100
|
+
appraiseEndTime: ""
|
101
|
+
}, S.value = [], h();
|
84
102
|
}
|
85
|
-
function
|
86
|
-
|
103
|
+
function P() {
|
104
|
+
d.value.curPage = 1, h();
|
87
105
|
}
|
88
|
-
function
|
89
|
-
l &&
|
106
|
+
function Q(l) {
|
107
|
+
l && h();
|
90
108
|
}
|
91
|
-
return
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
if (console.log("matchedResults", c), c.length > 0)
|
99
|
-
return {
|
100
|
-
...l,
|
101
|
-
orderInfo: {
|
102
|
-
...l.orderInfo,
|
103
|
-
orderItemList: {
|
104
|
-
...l.orderInfo.orderItemList,
|
105
|
-
results: c
|
106
|
-
}
|
107
|
-
}
|
108
|
-
};
|
109
|
-
}
|
110
|
-
return null;
|
111
|
-
}), console.log("filteredTableData", y);
|
112
|
-
}), (l, a) => {
|
113
|
-
const h = d("jmash-select"), c = d("el-form-item"), u = d("el-col"), W = d("el-date-picker"), N = d("el-button"), A = d("el-row"), X = d("el-form"), Z = d("jmash-column-select"), P = d("el-image"), D = d("el-rate"), x = d("jmash-table"), ee = d("jmash-pagination"), le = d("el-card"), ae = ne("hasPerm");
|
114
|
-
return g(), R("div", ve, [
|
115
|
-
n("div", ye, [
|
116
|
-
t(X, {
|
117
|
-
ref_key: "queryFormRef",
|
118
|
-
ref: B,
|
119
|
-
model: p.value,
|
109
|
+
return h(), (l, a) => {
|
110
|
+
const b = i("jmash-select"), v = i("el-form-item"), u = i("el-col"), $ = i("el-date-picker"), z = i("el-button"), k = i("el-row"), G = i("el-form"), J = i("jmash-column-select"), j = i("el-image"), D = i("el-rate"), O = i("jmash-table"), W = i("jmash-pagination"), X = i("el-card"), Z = le("hasPerm");
|
111
|
+
return g(), L("div", ue, [
|
112
|
+
n("div", me, [
|
113
|
+
t(G, {
|
114
|
+
ref: "queryFormRef",
|
115
|
+
model: d.value,
|
120
116
|
inline: !0
|
121
117
|
}, {
|
122
118
|
default: o(() => [
|
123
|
-
t(
|
119
|
+
t(k, null, {
|
124
120
|
default: o(() => [
|
125
121
|
t(u, { span: 6 }, {
|
126
122
|
default: o(() => [
|
127
|
-
t(
|
123
|
+
t(v, {
|
128
124
|
label: l.$t("goodsAppraises.shopName"),
|
129
125
|
prop: "shopId"
|
130
126
|
}, {
|
131
127
|
default: o(() => [
|
132
|
-
t(
|
133
|
-
modelValue:
|
134
|
-
"onUpdate:modelValue": a[0] || (a[0] = (e) =>
|
135
|
-
data:
|
128
|
+
t(b, {
|
129
|
+
modelValue: d.value.shopId,
|
130
|
+
"onUpdate:modelValue": a[0] || (a[0] = (e) => d.value.shopId = e),
|
131
|
+
data: p(Y).shopBizDict.values,
|
136
132
|
placeholder: l.$t("goodsAppraises.shopNameRequired"),
|
137
133
|
clearable: "",
|
138
|
-
onKeyup: a[1] || (a[1] =
|
134
|
+
onKeyup: a[1] || (a[1] = te((e) => P(), ["enter"]))
|
139
135
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
140
136
|
]),
|
141
137
|
_: 1
|
@@ -145,20 +141,20 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
145
141
|
}),
|
146
142
|
t(u, { span: 6 }, {
|
147
143
|
default: o(() => [
|
148
|
-
t(
|
144
|
+
t(v, {
|
149
145
|
label: l.$t("goodsAppraises.appraiseRange"),
|
150
146
|
prop: "appraiseRange"
|
151
147
|
}, {
|
152
148
|
default: o(() => [
|
153
|
-
t(
|
154
|
-
modelValue:
|
155
|
-
"onUpdate:modelValue": a[2] || (a[2] = (e) =>
|
149
|
+
t($, {
|
150
|
+
modelValue: S.value,
|
151
|
+
"onUpdate:modelValue": a[2] || (a[2] = (e) => S.value = e),
|
156
152
|
type: "datetimerange",
|
157
153
|
"start-placeholder": l.$t("goodsAppraises.appraiseStartTime"),
|
158
154
|
"end-placeholder": l.$t("goodsAppraises.appraiseStartTime"),
|
159
155
|
format: "YYYY-MM-DD HH:mm:ss",
|
160
156
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
161
|
-
onChange:
|
157
|
+
onChange: K
|
162
158
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
163
159
|
]),
|
164
160
|
_: 1
|
@@ -168,20 +164,20 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
168
164
|
}),
|
169
165
|
t(u, { span: 12 }, {
|
170
166
|
default: o(() => [
|
171
|
-
t(
|
167
|
+
t(v, { class: "search-btn" }, {
|
172
168
|
default: o(() => [
|
173
|
-
t(
|
169
|
+
t(z, {
|
174
170
|
type: "primary",
|
175
|
-
onClick: a[3] || (a[3] = (e) =>
|
171
|
+
onClick: a[3] || (a[3] = (e) => P())
|
176
172
|
}, {
|
177
173
|
default: o(() => [
|
178
|
-
|
174
|
+
I(r(l.$t("common.search")), 1)
|
179
175
|
]),
|
180
176
|
_: 1
|
181
177
|
}),
|
182
|
-
t(
|
178
|
+
t(z, { onClick: F }, {
|
183
179
|
default: o(() => [
|
184
|
-
|
180
|
+
I(r(l.$t("common.reset")), 1)
|
185
181
|
]),
|
186
182
|
_: 1
|
187
183
|
})
|
@@ -199,12 +195,12 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
199
195
|
}, 8, ["model"]),
|
200
196
|
a[10] || (a[10] = n("div", { class: "clear" }, null, -1))
|
201
197
|
]),
|
202
|
-
t(
|
198
|
+
t(X, {
|
203
199
|
shadow: "never",
|
204
200
|
class: "table-container"
|
205
201
|
}, {
|
206
202
|
header: o(() => [
|
207
|
-
t(
|
203
|
+
t(k, null, {
|
208
204
|
default: o(() => [
|
209
205
|
t(u, { span: 17 }),
|
210
206
|
t(u, {
|
@@ -212,9 +208,9 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
212
208
|
class: "container-float"
|
213
209
|
}, {
|
214
210
|
default: o(() => [
|
215
|
-
t(
|
216
|
-
modelValue:
|
217
|
-
"onUpdate:modelValue": a[4] || (a[4] = (e) =>
|
211
|
+
t(J, {
|
212
|
+
modelValue: p(y),
|
213
|
+
"onUpdate:modelValue": a[4] || (a[4] = (e) => oe(y) ? y.value = e : y = e),
|
218
214
|
"label-name": "order/order-appraises"
|
219
215
|
}, null, 8, ["modelValue"])
|
220
216
|
]),
|
@@ -225,46 +221,44 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
225
221
|
})
|
226
222
|
]),
|
227
223
|
footer: o(() => [
|
228
|
-
|
224
|
+
f.value > 0 ? (g(), R(W, {
|
229
225
|
key: 0,
|
230
|
-
total:
|
231
|
-
"onUpdate:total": a[5] || (a[5] = (e) =>
|
232
|
-
"current-page":
|
233
|
-
"onUpdate:currentPage": a[6] || (a[6] = (e) =>
|
234
|
-
"page-size":
|
235
|
-
"onUpdate:pageSize": a[7] || (a[7] = (e) =>
|
236
|
-
onPagination: a[8] || (a[8] = (e) =>
|
237
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
226
|
+
total: f.value,
|
227
|
+
"onUpdate:total": a[5] || (a[5] = (e) => f.value = e),
|
228
|
+
"current-page": d.value.curPage,
|
229
|
+
"onUpdate:currentPage": a[6] || (a[6] = (e) => d.value.curPage = e),
|
230
|
+
"page-size": d.value.pageSize,
|
231
|
+
"onUpdate:pageSize": a[7] || (a[7] = (e) => d.value.pageSize = e),
|
232
|
+
onPagination: a[8] || (a[8] = (e) => h())
|
233
|
+
}, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
|
238
234
|
]),
|
239
235
|
default: o(() => [
|
240
|
-
t(
|
241
|
-
|
242
|
-
ref: q,
|
236
|
+
t(O, {
|
237
|
+
ref: "multipleTableRef",
|
243
238
|
"row-key": "appraisesId",
|
244
|
-
"list-loading":
|
245
|
-
data:
|
246
|
-
"table-label":
|
247
|
-
onSelectionChange: Q
|
239
|
+
"list-loading": U.value,
|
240
|
+
data: w.value,
|
241
|
+
"table-label": p(y)
|
248
242
|
}, {
|
249
243
|
shopId: o((e) => [
|
250
|
-
n("span", null, r(
|
244
|
+
n("span", null, r(p(Y).shopBizDict.getValue(e.data.row.shopId)), 1)
|
251
245
|
]),
|
252
246
|
orderItemList: o((e) => [
|
253
|
-
t(
|
247
|
+
t(k, { gutter: 10 }, {
|
254
248
|
default: o(() => [
|
255
249
|
t(u, { span: 4 }, {
|
256
250
|
default: o(() => {
|
257
|
-
var
|
251
|
+
var s, m;
|
258
252
|
return [
|
259
|
-
t(
|
260
|
-
src:
|
261
|
-
(
|
253
|
+
t(j, {
|
254
|
+
src: p(A).imageUrl(
|
255
|
+
(s = e.data.row.orderInfo) == null ? void 0 : s.orderItemList.results[0].picUrl,
|
262
256
|
80,
|
263
257
|
130
|
264
258
|
),
|
265
259
|
"preview-src-list": [
|
266
|
-
|
267
|
-
(
|
260
|
+
p(A).imageUrl(
|
261
|
+
(m = e.data.row.orderInfo) == null ? void 0 : m.orderItemList.results[0].picUrl
|
268
262
|
)
|
269
263
|
],
|
270
264
|
"preview-teleported": "",
|
@@ -277,13 +271,13 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
277
271
|
}, 1024),
|
278
272
|
t(u, { span: 20 }, {
|
279
273
|
default: o(() => {
|
280
|
-
var
|
274
|
+
var s, m, V, H, M, q;
|
281
275
|
return [
|
282
|
-
n("div", null, r(l.$t("goodsAppraises.orderCode")) + ":" + r((
|
283
|
-
n("div", null, r((
|
276
|
+
n("div", null, r(l.$t("goodsAppraises.orderCode")) + ":" + r((s = e.data.row.orderInfo) == null ? void 0 : s.orderCode), 1),
|
277
|
+
n("div", null, r((m = e.data.row.orderInfo) == null ? void 0 : m.orderItemList.results[0].spuName), 1),
|
284
278
|
n("div", null, r((V = e.data.row.orderInfo) == null ? void 0 : V.orderItemList.results[0].specInfo), 1),
|
285
|
-
n("div", null, r(l.$t("goodsAppraises.PurchasePrice")) + ":" + r(((H = e.data.row.orderInfo) == null ? void 0 : H.orderItemList.results[0].quantity) * ((
|
286
|
-
n("div", null, r(l.$t("goodsAppraises.quantity")) + ":" + r((
|
279
|
+
n("div", null, r(l.$t("goodsAppraises.PurchasePrice")) + ":" + r(((H = e.data.row.orderInfo) == null ? void 0 : H.orderItemList.results[0].quantity) * ((M = e.data.row.orderInfo) == null ? void 0 : M.orderItemList.results[0].salesPrice)), 1),
|
280
|
+
n("div", null, r(l.$t("goodsAppraises.quantity")) + ":" + r((q = e.data.row.orderInfo) == null ? void 0 : q.orderItemList.results[0].quantity), 1)
|
287
281
|
];
|
288
282
|
}),
|
289
283
|
_: 2
|
@@ -294,38 +288,38 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
294
288
|
]),
|
295
289
|
appraises: o((e) => [
|
296
290
|
n("div", null, [
|
297
|
-
|
291
|
+
I(r(l.$t("goodsAppraises.goodsScore")) + ": ", 1),
|
298
292
|
t(D, {
|
299
293
|
modelValue: e.data.row.goodsScore,
|
300
|
-
"onUpdate:modelValue": (
|
294
|
+
"onUpdate:modelValue": (s) => e.data.row.goodsScore = s,
|
301
295
|
max: 5,
|
302
296
|
disabled: ""
|
303
297
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
304
298
|
]),
|
305
299
|
n("div", null, [
|
306
|
-
|
300
|
+
I(r(l.$t("goodsAppraises.serviceScore")) + ": ", 1),
|
307
301
|
t(D, {
|
308
302
|
modelValue: e.data.row.serviceScore,
|
309
|
-
"onUpdate:modelValue": (
|
303
|
+
"onUpdate:modelValue": (s) => e.data.row.serviceScore = s,
|
310
304
|
max: 5,
|
311
305
|
disabled: ""
|
312
306
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
313
307
|
]),
|
314
308
|
n("div", null, [
|
315
|
-
|
309
|
+
I(r(l.$t("goodsAppraises.logisticsScore")) + ": ", 1),
|
316
310
|
t(D, {
|
317
311
|
modelValue: e.data.row.logisticsScore,
|
318
|
-
"onUpdate:modelValue": (
|
312
|
+
"onUpdate:modelValue": (s) => e.data.row.logisticsScore = s,
|
319
313
|
max: 5,
|
320
314
|
disabled: ""
|
321
315
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
322
316
|
]),
|
323
317
|
n("div", null, r(l.$t("goodsAppraises.content")) + ":" + r(e.data.row.content), 1),
|
324
318
|
n("div", null, [
|
325
|
-
(g(!0),
|
326
|
-
key:
|
327
|
-
src:
|
328
|
-
"preview-src-list": (e.data.row.picUrls || "").split(",").map((V) =>
|
319
|
+
(g(!0), L(re, null, se((e.data.row.picUrls || "").split(",").filter((s) => s.trim() !== ""), (s, m) => (g(), R(j, {
|
320
|
+
key: m,
|
321
|
+
src: p(A).imageUrl(s, 30, 30),
|
322
|
+
"preview-src-list": (e.data.row.picUrls || "").split(",").map((V) => p(A).imageUrl(V)),
|
329
323
|
"preview-teleported": "",
|
330
324
|
"hide-on-click-modal": "",
|
331
325
|
fit: "contain",
|
@@ -334,45 +328,48 @@ const ve = { class: "app-container" }, ye = { class: "search-container" }, we =
|
|
334
328
|
])
|
335
329
|
]),
|
336
330
|
createTime: o((e) => [
|
337
|
-
n("span", null, r(
|
331
|
+
n("span", null, r(p(T).$moment.formatDate(
|
338
332
|
e.data.row.createTime,
|
339
333
|
"YYYY-MM-DD HH:mm:ss"
|
340
334
|
)), 1)
|
341
335
|
]),
|
342
|
-
sellerReply: o((e) =>
|
343
|
-
|
344
|
-
|
345
|
-
e.data.row.
|
346
|
-
"
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
336
|
+
sellerReply: o((e) => {
|
337
|
+
var s;
|
338
|
+
return [
|
339
|
+
n("div", null, r(e.data.row.sellerReply), 1),
|
340
|
+
n("div", null, r(p(T).$moment.formatDate(
|
341
|
+
e.data.row.replyTime,
|
342
|
+
"YYYY-MM-DD HH:mm:ss"
|
343
|
+
)), 1),
|
344
|
+
((s = e.data.row.orderInfo) == null ? void 0 : s.appraisesStatus) === !0 && !e.data.row.sellerReply ? ne((g(), L("span", {
|
345
|
+
key: 0,
|
346
|
+
class: "el-button-color",
|
347
|
+
onClick: (m) => E(e.data.row)
|
348
|
+
}, [
|
349
|
+
I(r(l.$t("goodsAppraises.sellerReply")), 1)
|
350
|
+
], 8, ce)), [
|
351
|
+
[Z, ["emall:order_appraises:update"]]
|
352
|
+
]) : C("", !0)
|
353
|
+
];
|
354
|
+
}),
|
358
355
|
_: 1
|
359
356
|
}, 8, ["list-loading", "data", "table-label"])
|
360
357
|
]),
|
361
358
|
_: 1
|
362
359
|
}),
|
363
|
-
_.value.visible ? (g(),
|
360
|
+
_.value.visible ? (g(), R(de, {
|
364
361
|
key: 0,
|
365
362
|
modelValue: _.value.visible,
|
366
363
|
"onUpdate:modelValue": a[9] || (a[9] = (e) => _.value.visible = e),
|
367
364
|
title: _.value.title,
|
368
|
-
"entity-key":
|
369
|
-
onRefresh:
|
365
|
+
"entity-key": p(N),
|
366
|
+
onRefresh: Q,
|
370
367
|
width: "600px"
|
371
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
368
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
|
372
369
|
]);
|
373
370
|
};
|
374
371
|
}
|
375
372
|
});
|
376
373
|
export {
|
377
|
-
|
374
|
+
_e as default
|
378
375
|
};
|