xyvcard-order 0.0.3 → 0.0.5
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/{index-BwyO6Vdb.mjs → index-B3HKfAop.mjs} +12 -12
- package/dist/index-DHJFncJ6.mjs +378 -0
- package/dist/index.mjs +557 -535
- package/dist/reply-9iq8g6ah.mjs +4 -0
- package/dist/reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs +158 -0
- package/dist/style.css +1 -1
- package/dist/{unpay-nfOgE6CJ.mjs → unpay-WAsbEXlr.mjs} +1 -1
- package/dist/unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs +570 -0
- package/dts/src/api/order-appraises/index.d.ts +11 -0
- package/dts/src/api/order-appraises/types.d.ts +62 -0
- package/dts/src/lang/order/zh-cn.d.ts +19 -96
- package/dts/src/main.d.ts +2 -0
- package/dts/src/views/order/{order-bill/edit.vue.d.ts → order-appraises/reply.vue.d.ts} +4 -4
- package/dts/src/views/order/order-refunds/info.vue.d.ts +3 -2
- package/package.json +16 -12
- package/dist/unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs +0 -3967
- package/dts/src/api/order/order-bill/index.d.ts +0 -20
- package/dts/src/api/order/order-bill/types.d.ts +0 -75
- package/dts/src/api/order/order-info/index.d.ts +0 -15
- package/dts/src/api/order/order-info/types.d.ts +0 -97
- package/dts/src/api/order/order-item/index.d.ts +0 -20
- package/dts/src/api/order/order-item/types.d.ts +0 -95
- package/dts/src/api/order/order-logistics/index.d.ts +0 -12
- package/dts/src/api/order/order-logistics/types.d.ts +0 -85
- package/dts/src/api/order/order-pay-record/index.d.ts +0 -20
- package/dts/src/api/order/order-pay-record/types.d.ts +0 -77
- package/dts/src/api/order/order-refund-record/index.d.ts +0 -20
- package/dts/src/api/order/order-refund-record/types.d.ts +0 -80
- package/dts/src/api/order/order-refunds/index.d.ts +0 -12
- package/dts/src/api/order/order-refunds/types.d.ts +0 -47
- package/dts/src/api/shop/shop-info/index.d.ts +0 -8
- package/dts/src/api/shop/shop-info/types.d.ts +0 -16
- package/dts/src/utils/commons.d.ts +0 -10
- package/dts/src/views/order/order-item/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-item/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-logistics/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-logistics/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-pay-record/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-pay-record/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-refund-record/edit.vue.d.ts +0 -22
- package/dts/src/views/order/order-refund-record/index.vue.d.ts +0 -2
- package/dts/src/views/order/order-refunds/edit.vue.d.ts +0 -22
- /package/dts/src/views/order/{order-bill → order-appraises}/index.vue.d.ts +0 -0
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as ve, getCurrentInstance as ce, ref as C, reactive as z, resolveComponent as v, resolveDirective as be, openBlock as d, createElementBlock as S, createVNode as n, withCtx as l, createElementVNode as m, unref as a, withKeys as h, createTextVNode as s, toDisplayString as r, withDirectives as P, createBlock as i, isRef as B, createCommentVNode as p, Fragment as j, renderList as K } from "vue";
|
2
2
|
import { useRouter as Ie } from "vue-router";
|
3
|
-
import { ElMessage as A } from "element-plus";
|
4
|
-
import { useTableHooks as
|
5
|
-
import { useI18n as
|
3
|
+
import { ElMessageBox as _e, ElMessage as A } from "element-plus";
|
4
|
+
import { useTableHooks as we } from "jmash-core";
|
5
|
+
import { useI18n as ge } from "vue-i18n";
|
6
6
|
import { o as F } from "./index-DyFAVz8t.mjs";
|
7
|
-
import { _ as
|
8
|
-
import { _ as
|
7
|
+
import { _ as ke } from "./deliver.vue_vue_type_script_setup_true_lang-DjvQSQPG.mjs";
|
8
|
+
import { _ as Se } from "./change.vue_vue_type_script_setup_true_lang-Bb1DH4GC.mjs";
|
9
9
|
import { D as f, C as b } from "./index-suIgymdy.mjs";
|
10
|
-
import { _ as
|
10
|
+
import { _ as Ce } from "./unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs";
|
11
11
|
import { _ as he } from "./unreceive.vue_vue_type_script_setup_true_lang-IoS_bKwk.mjs";
|
12
12
|
import { _ as Ve } from "./completed.vue_vue_type_script_setup_true_lang-D25evb6V.mjs";
|
13
13
|
import { _ as $e } from "./canceled.vue_vue_type_script_setup_true_lang-_j0h5aSP.mjs";
|
@@ -15,7 +15,7 @@ import { _ as Ee } from "./unpost.vue_vue_type_script_setup_true_lang-BzlBIdWF.m
|
|
15
15
|
const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne = { class: "item-spuName" }, De = { class: "item-salesPrice" }, Re = { class: "item-specInfo" }, Me = { class: "item-quantity" }, Ue = ["onClick"], qe = { class: "orderPrice" }, Le = ["onClick"], We = ["onClick"], Ye = ["onClick"], at = /* @__PURE__ */ ve({
|
16
16
|
__name: "index",
|
17
17
|
setup(Qe) {
|
18
|
-
const { t: I } =
|
18
|
+
const { t: I } = ge(), { proxy: H } = ce();
|
19
19
|
f.shopBizDict.useValues();
|
20
20
|
const M = C([]), g = C("5"), u = C({
|
21
21
|
curPage: 1,
|
@@ -27,7 +27,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
27
27
|
listLoading: X,
|
28
28
|
tableData: Z,
|
29
29
|
total: N
|
30
|
-
} =
|
30
|
+
} = we(I, F, u);
|
31
31
|
let V = C([
|
32
32
|
{
|
33
33
|
label: "orderInfo.shopName",
|
@@ -122,7 +122,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
122
122
|
});
|
123
123
|
}
|
124
124
|
const le = async (o) => {
|
125
|
-
|
125
|
+
_e.confirm(I("orderInfo.confirmCancel"), I("common.cancel"), {
|
126
126
|
confirmButtonText: I("common.confirm"),
|
127
127
|
cancelButtonText: I("common.cancel"),
|
128
128
|
type: "warning"
|
@@ -632,7 +632,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
632
632
|
name: c.toString()
|
633
633
|
}, {
|
634
634
|
default: l(() => [
|
635
|
-
g.value === "0" ? (d(), i(
|
635
|
+
g.value === "0" ? (d(), i(Ce, { key: 0 })) : p("", !0),
|
636
636
|
g.value === "1" ? (d(), i(Ee, { key: 1 })) : p("", !0),
|
637
637
|
g.value === "2" ? (d(), i(he, { key: 2 })) : p("", !0),
|
638
638
|
g.value === "3" ? (d(), i(Ve, { key: 3 })) : p("", !0),
|
@@ -643,7 +643,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
643
643
|
]),
|
644
644
|
_: 1
|
645
645
|
}, 8, ["modelValue"]),
|
646
|
-
$.value.visible ? (d(), i(
|
646
|
+
$.value.visible ? (d(), i(ke, {
|
647
647
|
key: 0,
|
648
648
|
modelValue: $.value.visible,
|
649
649
|
"onUpdate:modelValue": t[21] || (t[21] = (e) => $.value.visible = e),
|
@@ -653,7 +653,7 @@ const Te = { class: "app-container" }, Pe = { class: "search-container" }, Ne =
|
|
653
653
|
onRefresh: Y,
|
654
654
|
width: "500px"
|
655
655
|
}, null, 8, ["modelValue", "title", "entity-key", "entity-model"])) : p("", !0),
|
656
|
-
E.value.visible ? (d(), i(
|
656
|
+
E.value.visible ? (d(), i(Se, {
|
657
657
|
key: 1,
|
658
658
|
modelValue: E.value.visible,
|
659
659
|
"onUpdate:modelValue": t[22] || (t[22] = (e) => E.value.visible = e),
|
@@ -0,0 +1,378 @@
|
|
1
|
+
import { defineComponent as te, getCurrentInstance as oe, ref as b, reactive as re, onMounted as se, resolveComponent as d, resolveDirective as ne, openBlock as g, createElementBlock as R, createElementVNode as n, createVNode as t, withCtx as o, unref as s, withKeys as ie, createTextVNode as v, toDisplayString as r, isRef as j, createBlock as L, createCommentVNode as U, Fragment as de, renderList as pe, withDirectives as ue } from "vue";
|
2
|
+
import { useTableHooks as me, fileApi as k } from "jmash-core";
|
3
|
+
import { useI18n as ce } from "vue-i18n";
|
4
|
+
import { g as fe, _ as ge } from "./reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs";
|
5
|
+
import { D as $ } from "./index-suIgymdy.mjs";
|
6
|
+
const ve = { class: "app-container" }, ye = { class: "search-container" }, we = ["onClick"], Te = /* @__PURE__ */ te({
|
7
|
+
__name: "index",
|
8
|
+
setup(_e) {
|
9
|
+
const { t: S } = ce(), { proxy: C } = oe();
|
10
|
+
$.shopBizDict.useValues();
|
11
|
+
const T = b([]), p = b({
|
12
|
+
curPage: 1,
|
13
|
+
pageSize: 10
|
14
|
+
}), {
|
15
|
+
tableHooks: m,
|
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([
|
23
|
+
{
|
24
|
+
label: "goodsAppraises.shopName",
|
25
|
+
prop: "shopId",
|
26
|
+
width: "200",
|
27
|
+
slotName: "shopId",
|
28
|
+
columnType: "slot",
|
29
|
+
isColumn: !0
|
30
|
+
},
|
31
|
+
{
|
32
|
+
label: "goodsAppraises.orderItemList",
|
33
|
+
prop: "orderItemList",
|
34
|
+
width: "500",
|
35
|
+
slotName: "orderItemList",
|
36
|
+
columnType: "slot",
|
37
|
+
isColumn: !0
|
38
|
+
},
|
39
|
+
{
|
40
|
+
label: "goodsAppraises.nickName",
|
41
|
+
prop: "nickName",
|
42
|
+
width: "150",
|
43
|
+
isColumn: !0
|
44
|
+
},
|
45
|
+
{
|
46
|
+
label: "goodsAppraises.appraises",
|
47
|
+
prop: "appraises",
|
48
|
+
width: "300",
|
49
|
+
slotName: "appraises",
|
50
|
+
columnType: "slot",
|
51
|
+
isColumn: !0
|
52
|
+
},
|
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
|
+
{
|
63
|
+
label: "goodsAppraises.sellerReply",
|
64
|
+
prop: "sellerReply",
|
65
|
+
width: "200",
|
66
|
+
slotName: "sellerReply",
|
67
|
+
columnType: "slot",
|
68
|
+
isColumn: !0
|
69
|
+
}
|
70
|
+
]);
|
71
|
+
const _ = b({
|
72
|
+
title: S("goodsAppraises.sellerReply"),
|
73
|
+
visible: !1
|
74
|
+
});
|
75
|
+
let Y = re({});
|
76
|
+
function K(l) {
|
77
|
+
Y.appraisesId = l.appraisesId, _.value.visible = !0;
|
78
|
+
}
|
79
|
+
function Q(l) {
|
80
|
+
m.selectionRows.value = l;
|
81
|
+
}
|
82
|
+
function G(l) {
|
83
|
+
p.value.appraiseStartTime = l[0], p.value.appraiseEndTime = l[1];
|
84
|
+
}
|
85
|
+
function J() {
|
86
|
+
T.value = [], p.value.appraiseStartTime = "", p.value.appraiseEndTime = "", m.resetQuery();
|
87
|
+
}
|
88
|
+
function O(l) {
|
89
|
+
l && m.getList();
|
90
|
+
}
|
91
|
+
return m.getList(), se(() => {
|
92
|
+
y = F, console.log("filteredTableData", y), y.value.map((l) => {
|
93
|
+
var a, h;
|
94
|
+
if ((h = (a = l.orderInfo) == null ? void 0 : a.orderItemList) != null && h.results) {
|
95
|
+
const c = l.orderInfo.orderItemList.results.filter(
|
96
|
+
(u) => l.spuId === u.spuId
|
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,
|
120
|
+
inline: !0
|
121
|
+
}, {
|
122
|
+
default: o(() => [
|
123
|
+
t(A, null, {
|
124
|
+
default: o(() => [
|
125
|
+
t(u, { span: 6 }, {
|
126
|
+
default: o(() => [
|
127
|
+
t(c, {
|
128
|
+
label: l.$t("goodsAppraises.shopName"),
|
129
|
+
prop: "shopId"
|
130
|
+
}, {
|
131
|
+
default: o(() => [
|
132
|
+
t(h, {
|
133
|
+
modelValue: p.value.shopId,
|
134
|
+
"onUpdate:modelValue": a[0] || (a[0] = (e) => p.value.shopId = e),
|
135
|
+
data: s($).shopBizDict.values,
|
136
|
+
placeholder: l.$t("goodsAppraises.shopNameRequired"),
|
137
|
+
clearable: "",
|
138
|
+
onKeyup: a[1] || (a[1] = ie((e) => s(m).handleQuery(), ["enter"]))
|
139
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
140
|
+
]),
|
141
|
+
_: 1
|
142
|
+
}, 8, ["label"])
|
143
|
+
]),
|
144
|
+
_: 1
|
145
|
+
}),
|
146
|
+
t(u, { span: 6 }, {
|
147
|
+
default: o(() => [
|
148
|
+
t(c, {
|
149
|
+
label: l.$t("goodsAppraises.appraiseRange"),
|
150
|
+
prop: "appraiseRange"
|
151
|
+
}, {
|
152
|
+
default: o(() => [
|
153
|
+
t(W, {
|
154
|
+
modelValue: T.value,
|
155
|
+
"onUpdate:modelValue": a[2] || (a[2] = (e) => T.value = e),
|
156
|
+
type: "datetimerange",
|
157
|
+
"start-placeholder": l.$t("goodsAppraises.appraiseStartTime"),
|
158
|
+
"end-placeholder": l.$t("goodsAppraises.appraiseStartTime"),
|
159
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
160
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
161
|
+
onChange: G
|
162
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
163
|
+
]),
|
164
|
+
_: 1
|
165
|
+
}, 8, ["label"])
|
166
|
+
]),
|
167
|
+
_: 1
|
168
|
+
}),
|
169
|
+
t(u, { span: 12 }, {
|
170
|
+
default: o(() => [
|
171
|
+
t(c, { class: "search-btn" }, {
|
172
|
+
default: o(() => [
|
173
|
+
t(N, {
|
174
|
+
type: "primary",
|
175
|
+
onClick: a[3] || (a[3] = (e) => s(m).handleQuery())
|
176
|
+
}, {
|
177
|
+
default: o(() => [
|
178
|
+
v(r(l.$t("common.search")), 1)
|
179
|
+
]),
|
180
|
+
_: 1
|
181
|
+
}),
|
182
|
+
t(N, { onClick: J }, {
|
183
|
+
default: o(() => [
|
184
|
+
v(r(l.$t("common.reset")), 1)
|
185
|
+
]),
|
186
|
+
_: 1
|
187
|
+
})
|
188
|
+
]),
|
189
|
+
_: 1
|
190
|
+
})
|
191
|
+
]),
|
192
|
+
_: 1
|
193
|
+
})
|
194
|
+
]),
|
195
|
+
_: 1
|
196
|
+
})
|
197
|
+
]),
|
198
|
+
_: 1
|
199
|
+
}, 8, ["model"]),
|
200
|
+
a[10] || (a[10] = n("div", { class: "clear" }, null, -1))
|
201
|
+
]),
|
202
|
+
t(le, {
|
203
|
+
shadow: "never",
|
204
|
+
class: "table-container"
|
205
|
+
}, {
|
206
|
+
header: o(() => [
|
207
|
+
t(A, null, {
|
208
|
+
default: o(() => [
|
209
|
+
t(u, { span: 17 }),
|
210
|
+
t(u, {
|
211
|
+
span: 7,
|
212
|
+
class: "container-float"
|
213
|
+
}, {
|
214
|
+
default: o(() => [
|
215
|
+
t(Z, {
|
216
|
+
modelValue: s(w),
|
217
|
+
"onUpdate:modelValue": a[4] || (a[4] = (e) => j(w) ? w.value = e : w = e),
|
218
|
+
"label-name": "order/order-appraises"
|
219
|
+
}, null, 8, ["modelValue"])
|
220
|
+
]),
|
221
|
+
_: 1
|
222
|
+
})
|
223
|
+
]),
|
224
|
+
_: 1
|
225
|
+
})
|
226
|
+
]),
|
227
|
+
footer: o(() => [
|
228
|
+
s(I) > 0 ? (g(), L(ee, {
|
229
|
+
key: 0,
|
230
|
+
total: s(I),
|
231
|
+
"onUpdate:total": a[5] || (a[5] = (e) => j(I) ? I.value = e : null),
|
232
|
+
"current-page": p.value.curPage,
|
233
|
+
"onUpdate:currentPage": a[6] || (a[6] = (e) => p.value.curPage = e),
|
234
|
+
"page-size": p.value.pageSize,
|
235
|
+
"onUpdate:pageSize": a[7] || (a[7] = (e) => p.value.pageSize = e),
|
236
|
+
onPagination: a[8] || (a[8] = (e) => s(m).getList())
|
237
|
+
}, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
|
238
|
+
]),
|
239
|
+
default: o(() => [
|
240
|
+
t(x, {
|
241
|
+
ref_key: "multipleTableRef",
|
242
|
+
ref: q,
|
243
|
+
"row-key": "appraisesId",
|
244
|
+
"list-loading": s(E),
|
245
|
+
data: s(y),
|
246
|
+
"table-label": s(w),
|
247
|
+
onSelectionChange: Q
|
248
|
+
}, {
|
249
|
+
shopId: o((e) => [
|
250
|
+
n("span", null, r(s($).shopBizDict.getValue(e.data.row.shopId)), 1)
|
251
|
+
]),
|
252
|
+
orderItemList: o((e) => [
|
253
|
+
t(A, { gutter: 10 }, {
|
254
|
+
default: o(() => [
|
255
|
+
t(u, { span: 4 }, {
|
256
|
+
default: o(() => {
|
257
|
+
var i, f;
|
258
|
+
return [
|
259
|
+
t(P, {
|
260
|
+
src: s(k).imageUrl(
|
261
|
+
(i = e.data.row.orderInfo) == null ? void 0 : i.orderItemList.results[0].picUrl,
|
262
|
+
80,
|
263
|
+
130
|
264
|
+
),
|
265
|
+
"preview-src-list": [
|
266
|
+
s(k).imageUrl(
|
267
|
+
(f = e.data.row.orderInfo) == null ? void 0 : f.orderItemList.results[0].picUrl
|
268
|
+
)
|
269
|
+
],
|
270
|
+
"preview-teleported": "",
|
271
|
+
"hide-on-click-modal": "",
|
272
|
+
fit: "contain"
|
273
|
+
}, null, 8, ["src", "preview-src-list"])
|
274
|
+
];
|
275
|
+
}),
|
276
|
+
_: 2
|
277
|
+
}, 1024),
|
278
|
+
t(u, { span: 20 }, {
|
279
|
+
default: o(() => {
|
280
|
+
var i, f, V, H, z, M;
|
281
|
+
return [
|
282
|
+
n("div", null, r(l.$t("goodsAppraises.orderCode")) + ":" + r((i = e.data.row.orderInfo) == null ? void 0 : i.orderCode), 1),
|
283
|
+
n("div", null, r((f = e.data.row.orderInfo) == null ? void 0 : f.orderItemList.results[0].spuName), 1),
|
284
|
+
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) * ((z = e.data.row.orderInfo) == null ? void 0 : z.orderItemList.results[0].salesPrice)), 1),
|
286
|
+
n("div", null, r(l.$t("goodsAppraises.quantity")) + ":" + r((M = e.data.row.orderInfo) == null ? void 0 : M.orderItemList.results[0].quantity), 1)
|
287
|
+
];
|
288
|
+
}),
|
289
|
+
_: 2
|
290
|
+
}, 1024)
|
291
|
+
]),
|
292
|
+
_: 2
|
293
|
+
}, 1024)
|
294
|
+
]),
|
295
|
+
appraises: o((e) => [
|
296
|
+
n("div", null, [
|
297
|
+
v(r(l.$t("goodsAppraises.goodsScore")) + ": ", 1),
|
298
|
+
t(D, {
|
299
|
+
modelValue: e.data.row.goodsScore,
|
300
|
+
"onUpdate:modelValue": (i) => e.data.row.goodsScore = i,
|
301
|
+
max: 5,
|
302
|
+
disabled: ""
|
303
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
304
|
+
]),
|
305
|
+
n("div", null, [
|
306
|
+
v(r(l.$t("goodsAppraises.serviceScore")) + ": ", 1),
|
307
|
+
t(D, {
|
308
|
+
modelValue: e.data.row.serviceScore,
|
309
|
+
"onUpdate:modelValue": (i) => e.data.row.serviceScore = i,
|
310
|
+
max: 5,
|
311
|
+
disabled: ""
|
312
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
313
|
+
]),
|
314
|
+
n("div", null, [
|
315
|
+
v(r(l.$t("goodsAppraises.logisticsScore")) + ": ", 1),
|
316
|
+
t(D, {
|
317
|
+
modelValue: e.data.row.logisticsScore,
|
318
|
+
"onUpdate:modelValue": (i) => e.data.row.logisticsScore = i,
|
319
|
+
max: 5,
|
320
|
+
disabled: ""
|
321
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
322
|
+
]),
|
323
|
+
n("div", null, r(l.$t("goodsAppraises.content")) + ":" + r(e.data.row.content), 1),
|
324
|
+
n("div", null, [
|
325
|
+
(g(!0), R(de, null, pe((e.data.row.picUrls || "").split(","), (i, f) => (g(), L(P, {
|
326
|
+
key: f,
|
327
|
+
src: s(k).imageUrl(i, 30, 30),
|
328
|
+
"preview-src-list": (e.data.row.picUrls || "").split(",").map((V) => s(k).imageUrl(V)),
|
329
|
+
"preview-teleported": "",
|
330
|
+
"hide-on-click-modal": "",
|
331
|
+
fit: "contain",
|
332
|
+
style: { "margin-right": "5px" }
|
333
|
+
}, null, 8, ["src", "preview-src-list"]))), 128))
|
334
|
+
])
|
335
|
+
]),
|
336
|
+
createTime: o((e) => [
|
337
|
+
n("span", null, r(s(C).$moment.formatDate(
|
338
|
+
e.data.row.createTime,
|
339
|
+
"YYYY-MM-DD HH:mm:ss"
|
340
|
+
)), 1)
|
341
|
+
]),
|
342
|
+
sellerReply: o((e) => [
|
343
|
+
n("div", null, r(e.data.row.sellerReply), 1),
|
344
|
+
n("div", null, r(s(C).$moment.formatDate(
|
345
|
+
e.data.row.replyTime,
|
346
|
+
"YYYY-MM-DD HH:mm:ss"
|
347
|
+
)), 1),
|
348
|
+
e.data.row.sellerReply ? U("", !0) : ue((g(), R("span", {
|
349
|
+
key: 0,
|
350
|
+
class: "el-button-color",
|
351
|
+
onClick: (i) => K(e.data.row)
|
352
|
+
}, [
|
353
|
+
v(r(l.$t("goodsAppraises.sellerReply")), 1)
|
354
|
+
], 8, we)), [
|
355
|
+
[ae, ["emall:order_appraises:update"]]
|
356
|
+
])
|
357
|
+
]),
|
358
|
+
_: 1
|
359
|
+
}, 8, ["list-loading", "data", "table-label"])
|
360
|
+
]),
|
361
|
+
_: 1
|
362
|
+
}),
|
363
|
+
_.value.visible ? (g(), L(ge, {
|
364
|
+
key: 0,
|
365
|
+
modelValue: _.value.visible,
|
366
|
+
"onUpdate:modelValue": a[9] || (a[9] = (e) => _.value.visible = e),
|
367
|
+
title: _.value.title,
|
368
|
+
"entity-key": s(Y),
|
369
|
+
onRefresh: O,
|
370
|
+
width: "600px"
|
371
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
|
372
|
+
]);
|
373
|
+
};
|
374
|
+
}
|
375
|
+
});
|
376
|
+
export {
|
377
|
+
Te as default
|
378
|
+
};
|