xyvcard-paper-buyer 0.0.14 → 0.0.16
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/{applyEdit-u3SPAGEW.mjs → applyEdit-CWE44lBB.mjs} +2 -2
- package/dist/edit-BFspmCb_.mjs +268 -0
- package/dist/{index-DgoiWRx7.mjs → index-2-3T2C8U.mjs} +1 -1
- package/dist/index-BNXAgLr6.mjs +159 -0
- package/dist/index-CvxCHZ3l.mjs +325 -0
- package/dist/index.mjs +2 -2
- package/dist/info-DPgtOp9p.mjs +189 -0
- package/dist/{orderAddress-ByTTzFrR.mjs → orderAddress-D4LKaLK_.mjs} +64 -59
- package/dist/style.css +1 -1
- package/dist/{userInvoice-CCsRE3bA.mjs → userInvoice-0RXAbWze.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-CjLciTA0.mjs → userInvoice.vue_vue_type_script_setup_true_lang-Dt8bemcC.mjs} +1 -1
- package/dts/api/buyer/dict.d.ts +3 -0
- package/dts/api/buyer/index.d.ts +2 -1
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/utils/returnBizLay.d.ts +2 -0
- package/package.json +3 -2
- package/dist/edit-DT79EUCr.mjs +0 -236
- package/dist/index-5MVT-ka0.mjs +0 -133
- package/dist/index-PoARbGVn.mjs +0 -355
- package/dist/info-CVaS8hdZ.mjs +0 -185
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { defineComponent as Z, ref as U, reactive as A, onActivated as x, resolveComponent as a, resolveDirective as ee, createElementBlock as $, openBlock as u, createElementVNode as N, createVNode as l, createBlock as h, createCommentVNode as E, withCtx as t, withKeys as R, unref as r, createTextVNode as p, toDisplayString as m, withDirectives as g, isRef as T } from "vue";
|
|
2
|
+
import { useTableHooks as oe } from "jmash-core";
|
|
3
|
+
import { useI18n as te } from "vue-i18n";
|
|
4
|
+
import { o as le } from "./index-CIhWvEaK.mjs";
|
|
5
|
+
import ne from "./edit-BFspmCb_.mjs";
|
|
6
|
+
import { useRouter as re } from "vue-router";
|
|
7
|
+
const ae = { class: "app-container" }, se = { class: "search-container" }, de = ["onClick"], ie = ["onClick"], ve = /* @__PURE__ */ Z({
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(me) {
|
|
10
|
+
const { t: b } = te();
|
|
11
|
+
re();
|
|
12
|
+
const d = U({}), {
|
|
13
|
+
tableHooks: s,
|
|
14
|
+
multipleTableRef: S,
|
|
15
|
+
queryFormRef: j,
|
|
16
|
+
listLoading: z,
|
|
17
|
+
tableData: D,
|
|
18
|
+
total: _
|
|
19
|
+
} = oe(b, le, d);
|
|
20
|
+
let c = U([
|
|
21
|
+
{
|
|
22
|
+
label: "orderUserAddress.note",
|
|
23
|
+
prop: "note",
|
|
24
|
+
minWidth: "150",
|
|
25
|
+
sortable: "custom",
|
|
26
|
+
isColumn: !0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "orderUserAddress.userName",
|
|
30
|
+
prop: "userName",
|
|
31
|
+
width: "150",
|
|
32
|
+
sortable: "custom",
|
|
33
|
+
isColumn: !0
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: "orderUserAddress.mobilePhone",
|
|
37
|
+
prop: "mobilePhoneIns",
|
|
38
|
+
slotName: "mobileIns",
|
|
39
|
+
columnType: "slot",
|
|
40
|
+
width: "150",
|
|
41
|
+
sortable: "custom",
|
|
42
|
+
isColumn: !0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "orderUserAddress.detailInfo",
|
|
46
|
+
prop: "detailInfo",
|
|
47
|
+
minWidth: "150",
|
|
48
|
+
sortable: "custom",
|
|
49
|
+
isColumn: !0,
|
|
50
|
+
slotName: "detailInfo",
|
|
51
|
+
columnType: "slot"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: "orderUserAddress.listOrder",
|
|
55
|
+
width: "60",
|
|
56
|
+
columnType: "slot",
|
|
57
|
+
slotName: "listOrder",
|
|
58
|
+
isColumn: !0
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
label: "common.operate",
|
|
62
|
+
width: "100",
|
|
63
|
+
slotName: "operation",
|
|
64
|
+
columnType: "slot",
|
|
65
|
+
fixed: "right",
|
|
66
|
+
isColumn: !0
|
|
67
|
+
}
|
|
68
|
+
]);
|
|
69
|
+
const i = U({
|
|
70
|
+
title: b("common.edit"),
|
|
71
|
+
visible: !1
|
|
72
|
+
});
|
|
73
|
+
function q(n) {
|
|
74
|
+
n.mobileEncrypt = !n.mobileEncrypt;
|
|
75
|
+
}
|
|
76
|
+
let w = A({});
|
|
77
|
+
function B() {
|
|
78
|
+
w = A({}), i.value.title = b("common.add"), i.value.visible = !0;
|
|
79
|
+
}
|
|
80
|
+
function L(n) {
|
|
81
|
+
w.addressId = n.addressId, i.value.title = b("common.edit"), i.value.visible = !0;
|
|
82
|
+
}
|
|
83
|
+
function K(n) {
|
|
84
|
+
s.selectionRows.value = n;
|
|
85
|
+
}
|
|
86
|
+
function Q(n) {
|
|
87
|
+
s.handleSort(n.prop, n.order);
|
|
88
|
+
}
|
|
89
|
+
function O(n) {
|
|
90
|
+
n && s.getList();
|
|
91
|
+
}
|
|
92
|
+
return x(() => {
|
|
93
|
+
s.getList();
|
|
94
|
+
}), (n, o) => {
|
|
95
|
+
const I = a("el-input"), C = a("el-form-item"), f = a("el-col"), v = a("el-button"), V = a("el-row"), F = a("el-form"), H = a("jmash-column-select"), M = a("jmash-mobileIns-component"), W = a("Bottom"), P = a("el-icon"), G = a("Top"), J = a("jmash-table"), X = a("jmash-pagination"), Y = a("el-card"), y = ee("hasPerm");
|
|
96
|
+
return u(), $("div", ae, [
|
|
97
|
+
N("div", se, [
|
|
98
|
+
l(F, {
|
|
99
|
+
ref_key: "queryFormRef",
|
|
100
|
+
ref: j,
|
|
101
|
+
model: d.value,
|
|
102
|
+
inline: !0
|
|
103
|
+
}, {
|
|
104
|
+
default: t(() => [
|
|
105
|
+
l(V, null, {
|
|
106
|
+
default: t(() => [
|
|
107
|
+
l(f, { span: 6 }, {
|
|
108
|
+
default: t(() => [
|
|
109
|
+
l(C, {
|
|
110
|
+
label: n.$t("orderUserAddress.note"),
|
|
111
|
+
prop: "likeNote"
|
|
112
|
+
}, {
|
|
113
|
+
default: t(() => [
|
|
114
|
+
l(I, {
|
|
115
|
+
modelValue: d.value.likeNote,
|
|
116
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeNote = e),
|
|
117
|
+
placeholder: n.$t("orderUserAddress.noteRequired"),
|
|
118
|
+
onKeyup: o[1] || (o[1] = R((e) => r(s).handleQuery(), ["enter"])),
|
|
119
|
+
class: "!w-[203px]"
|
|
120
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["label"])
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}),
|
|
127
|
+
l(f, { span: 6 }, {
|
|
128
|
+
default: t(() => [
|
|
129
|
+
l(C, {
|
|
130
|
+
label: n.$t("orderUserAddress.userName"),
|
|
131
|
+
prop: "likeUserName"
|
|
132
|
+
}, {
|
|
133
|
+
default: t(() => [
|
|
134
|
+
l(I, {
|
|
135
|
+
modelValue: d.value.likeUserName,
|
|
136
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeUserName = e),
|
|
137
|
+
placeholder: n.$t("orderUserAddress.userNameRequired"),
|
|
138
|
+
onKeyup: o[3] || (o[3] = R((e) => r(s).handleQuery(), ["enter"])),
|
|
139
|
+
class: "!w-[203px]"
|
|
140
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["label"])
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}),
|
|
147
|
+
l(f, { span: 12 }, {
|
|
148
|
+
default: t(() => [
|
|
149
|
+
l(C, { class: "search-btn" }, {
|
|
150
|
+
default: t(() => [
|
|
151
|
+
l(v, {
|
|
152
|
+
type: "primary",
|
|
153
|
+
onClick: o[4] || (o[4] = (e) => r(s).handleQuery())
|
|
154
|
+
}, {
|
|
155
|
+
default: t(() => [
|
|
156
|
+
p(m(n.$t("common.search")), 1)
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
}),
|
|
160
|
+
l(v, {
|
|
161
|
+
onClick: o[5] || (o[5] = (e) => r(s).resetQuery())
|
|
162
|
+
}, {
|
|
163
|
+
default: t(() => [
|
|
164
|
+
p(m(n.$t("common.reset")), 1)
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
})
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
})
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
})
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
}, 8, ["model"]),
|
|
180
|
+
o[13] || (o[13] = N("div", { class: "clear" }, null, -1))
|
|
181
|
+
]),
|
|
182
|
+
l(Y, {
|
|
183
|
+
shadow: "never",
|
|
184
|
+
class: "table-container"
|
|
185
|
+
}, {
|
|
186
|
+
header: t(() => [
|
|
187
|
+
l(V, null, {
|
|
188
|
+
default: t(() => [
|
|
189
|
+
l(f, { span: 17 }, {
|
|
190
|
+
default: t(() => [
|
|
191
|
+
g((u(), h(v, {
|
|
192
|
+
type: "primary",
|
|
193
|
+
onClick: B
|
|
194
|
+
}, {
|
|
195
|
+
default: t(() => [
|
|
196
|
+
p(m(n.$t("common.add")), 1)
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
})), [
|
|
200
|
+
[y, ["order:order_user_address:add"]]
|
|
201
|
+
]),
|
|
202
|
+
g((u(), h(v, {
|
|
203
|
+
type: "primary",
|
|
204
|
+
onClick: o[6] || (o[6] = (e) => r(s).deleteRecords())
|
|
205
|
+
}, {
|
|
206
|
+
default: t(() => [
|
|
207
|
+
p(m(n.$t("common.batchDelete")), 1)
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
})), [
|
|
211
|
+
[y, ["order:order_user_address:delete"]]
|
|
212
|
+
])
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
l(f, {
|
|
217
|
+
span: 7,
|
|
218
|
+
class: "container-float"
|
|
219
|
+
}, {
|
|
220
|
+
default: t(() => [
|
|
221
|
+
l(H, {
|
|
222
|
+
modelValue: r(c),
|
|
223
|
+
"onUpdate:modelValue": o[7] || (o[7] = (e) => T(c) ? c.value = e : c = e),
|
|
224
|
+
"label-name": "order/order-user-address"
|
|
225
|
+
}, null, 8, ["modelValue"])
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
})
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
})
|
|
232
|
+
]),
|
|
233
|
+
footer: t(() => [
|
|
234
|
+
r(_) > 0 ? (u(), h(X, {
|
|
235
|
+
key: 0,
|
|
236
|
+
total: r(_),
|
|
237
|
+
"onUpdate:total": o[8] || (o[8] = (e) => T(_) ? _.value = e : null),
|
|
238
|
+
"current-page": d.value.curPage,
|
|
239
|
+
"onUpdate:currentPage": o[9] || (o[9] = (e) => d.value.curPage = e),
|
|
240
|
+
"page-size": d.value.pageSize,
|
|
241
|
+
"onUpdate:pageSize": o[10] || (o[10] = (e) => d.value.pageSize = e),
|
|
242
|
+
onPagination: o[11] || (o[11] = (e) => r(s).getList())
|
|
243
|
+
}, null, 8, ["total", "current-page", "page-size"])) : E("", !0)
|
|
244
|
+
]),
|
|
245
|
+
default: t(() => [
|
|
246
|
+
l(J, {
|
|
247
|
+
ref_key: "multipleTableRef",
|
|
248
|
+
ref: S,
|
|
249
|
+
"row-key": "addressId",
|
|
250
|
+
"list-loading": r(z),
|
|
251
|
+
data: r(D),
|
|
252
|
+
"table-label": r(c),
|
|
253
|
+
onSelectionChange: K,
|
|
254
|
+
onSortChange: Q
|
|
255
|
+
}, {
|
|
256
|
+
mobileIns: t((e) => [
|
|
257
|
+
l(M, {
|
|
258
|
+
mobilePhoneIns: e.data.row.mobilePhoneIns,
|
|
259
|
+
mobilePhone: e.data.row.mobilePhone,
|
|
260
|
+
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
261
|
+
onToggleEncrypt: (k) => q(e.data.row)
|
|
262
|
+
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
263
|
+
]),
|
|
264
|
+
detailInfo: t((e) => [
|
|
265
|
+
N("span", null, m(e.data.row.cityName) + " " + m(e.data.row.detailInfo), 1)
|
|
266
|
+
]),
|
|
267
|
+
listOrder: t((e) => [
|
|
268
|
+
l(P, {
|
|
269
|
+
size: "16",
|
|
270
|
+
onClick: (k) => r(s).handleMove(e.data.row, !1)
|
|
271
|
+
}, {
|
|
272
|
+
default: t(() => [
|
|
273
|
+
l(W)
|
|
274
|
+
]),
|
|
275
|
+
_: 2
|
|
276
|
+
}, 1032, ["onClick"]),
|
|
277
|
+
l(P, {
|
|
278
|
+
size: "16",
|
|
279
|
+
onClick: (k) => r(s).handleMove(e.data.row, !0)
|
|
280
|
+
}, {
|
|
281
|
+
default: t(() => [
|
|
282
|
+
l(G)
|
|
283
|
+
]),
|
|
284
|
+
_: 2
|
|
285
|
+
}, 1032, ["onClick"])
|
|
286
|
+
]),
|
|
287
|
+
operation: t((e) => [
|
|
288
|
+
g((u(), $("span", {
|
|
289
|
+
class: "el-button-color",
|
|
290
|
+
onClick: (k) => L(e.data.row)
|
|
291
|
+
}, [
|
|
292
|
+
p(m(n.$t("common.edit")), 1)
|
|
293
|
+
], 8, de)), [
|
|
294
|
+
[y, ["order:order_user_address:update"]]
|
|
295
|
+
]),
|
|
296
|
+
g((u(), $("span", {
|
|
297
|
+
class: "el-button-color dropdown-left",
|
|
298
|
+
onClick: (k) => r(s).deleteRecord(e.data.row)
|
|
299
|
+
}, [
|
|
300
|
+
p(m(n.$t("common.delete")), 1)
|
|
301
|
+
], 8, ie)), [
|
|
302
|
+
[y, ["order:order_user_address:delete"]]
|
|
303
|
+
])
|
|
304
|
+
]),
|
|
305
|
+
_: 1
|
|
306
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
307
|
+
]),
|
|
308
|
+
_: 1
|
|
309
|
+
}),
|
|
310
|
+
i.value.visible ? (u(), h(ne, {
|
|
311
|
+
key: 0,
|
|
312
|
+
modelValue: i.value.visible,
|
|
313
|
+
"onUpdate:modelValue": o[12] || (o[12] = (e) => i.value.visible = e),
|
|
314
|
+
title: i.value.title,
|
|
315
|
+
"entity-key": r(w),
|
|
316
|
+
onRefresh: O,
|
|
317
|
+
width: "500px"
|
|
318
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : E("", !0)
|
|
319
|
+
]);
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
export {
|
|
324
|
+
ve as default
|
|
325
|
+
};
|
package/dist/index.mjs
CHANGED
|
@@ -360,7 +360,7 @@ function v(e) {
|
|
|
360
360
|
let i = e.global.getLocaleMessage("en");
|
|
361
361
|
i = d(i, g), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
|
|
362
362
|
}
|
|
363
|
-
const R = () => import("./index-DSwrPGyq.mjs"), P = () => import("./orderPaper-C6ua3CNE.mjs"), w = () => import("./payment-BcsD4Glh.mjs"), q = () => import("./orderAddress-
|
|
363
|
+
const R = () => import("./index-DSwrPGyq.mjs"), P = () => import("./orderPaper-C6ua3CNE.mjs"), w = () => import("./payment-BcsD4Glh.mjs"), q = () => import("./orderAddress-D4LKaLK_.mjs"), D = () => import("./invoice-Gr3U3ZFi.mjs"), N = () => import("./invoiceView-Cshwyw3t.mjs"), z = () => import("./applyEdit-CWE44lBB.mjs"), x = () => import("./info-DPgtOp9p.mjs"), t = [
|
|
364
364
|
{
|
|
365
365
|
path: "/buyer",
|
|
366
366
|
component: r,
|
|
@@ -513,7 +513,7 @@ const R = () => import("./index-DSwrPGyq.mjs"), P = () => import("./orderPaper-C
|
|
|
513
513
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
514
514
|
});
|
|
515
515
|
u.value = k;
|
|
516
|
-
const S = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-
|
|
516
|
+
const S = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-CWE44lBB.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-2-3T2C8U.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-DPgtOp9p.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Gr3U3ZFi.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-zNW26cGt.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-Cshwyw3t.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-BPfP8vsl.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-25fhb-Uj.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-0RXAbWze.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-B_W9Nbg_.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-DSwrPGyq.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-D4LKaLK_.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-C6ua3CNE.mjs"), "./views/buyer/order-newspaper/payment copy.vue": () => import("./payment copy-CyZWiAyq.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-BcsD4Glh.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-BFspmCb_.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-CvxCHZ3l.mjs") }), M = {
|
|
517
517
|
install(e) {
|
|
518
518
|
c(S, 7), l(t), v(f);
|
|
519
519
|
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { defineComponent as Y, ref as P, onMounted as Z, resolveComponent as a, createElementBlock as x, openBlock as M, createVNode as s, withCtx as l, createElementVNode as e, unref as m, toDisplayString as r, createTextVNode as p, createBlock as ee, createCommentVNode as oe } from "vue";
|
|
2
|
+
import { D as y } from "./index-BNXAgLr6.mjs";
|
|
3
|
+
import { o as F } from "./index-CT0KG-ax.mjs";
|
|
4
|
+
import { fileApi as G, routerUtil as te } from "jmash-core";
|
|
5
|
+
import { useRouter as se, useRoute as le } from "vue-router";
|
|
6
|
+
import { goodsSpuApi as ne } from "xyvcard-paper-goods";
|
|
7
|
+
import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const ie = { class: "app-container" }, ae = { class: "subscription-container" }, de = { class: "newspaper-image" }, ce = { class: "shanxi-worker-paper" }, ue = { class: "subscription-info" }, me = { class: "magazine-title" }, pe = { class: "info-item" }, _e = { class: "info-label" }, fe = { class: "info-item" }, be = { class: "info-label" }, ve = { class: "price" }, he = { class: "price-value" }, Ie = { class: "subscription-containers" }, ge = { class: "cell-item" }, ye = { class: "cell-item" }, Ee = { class: "cell-item" }, Pe = { class: "dialog-footer" }, ke = /* @__PURE__ */ Y({
|
|
9
|
+
__name: "info",
|
|
10
|
+
setup(Le) {
|
|
11
|
+
const H = se(), E = le(), k = P([]);
|
|
12
|
+
y.goodsCategoryListBizLayDict.useValues();
|
|
13
|
+
function J(o) {
|
|
14
|
+
o.mobileEncrypt = !o.mobileEncrypt;
|
|
15
|
+
}
|
|
16
|
+
function K() {
|
|
17
|
+
te.closeTagView(E.fullPath, H, !1);
|
|
18
|
+
}
|
|
19
|
+
const t = P(), L = P([]);
|
|
20
|
+
function Q() {
|
|
21
|
+
F.findById({ orderId: E.query.orderId }).then(({ data: o }) => {
|
|
22
|
+
var n, _, d, f, i, b, v, h, I, c;
|
|
23
|
+
t.value = [o], console.log((i = (f = (d = (_ = (n = t.value) == null ? void 0 : n[0]) == null ? void 0 : _.orderItemList) == null ? void 0 : d.results) == null ? void 0 : f[0]) == null ? void 0 : i.spuId), ne.findById({
|
|
24
|
+
spuId: (c = (I = (h = (v = (b = t.value) == null ? void 0 : b[0]) == null ? void 0 : v.orderItemList) == null ? void 0 : h.results) == null ? void 0 : I[0]) == null ? void 0 : c.spuId
|
|
25
|
+
}).then(({ data: u }) => {
|
|
26
|
+
L.value = u.categoryIds, console.log(u.categoryIds);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function X() {
|
|
31
|
+
F.findOrderAddressList({ orderId: E.query.orderId }).then(({ data: o }) => {
|
|
32
|
+
k.value = o.results;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return Z(() => {
|
|
36
|
+
Q(), X();
|
|
37
|
+
}), (o, n) => {
|
|
38
|
+
const _ = a("el-image"), d = a("el-descriptions-item"), f = a("el-descriptions"), i = a("el-table-column"), b = a("jmash-mobileIns-component"), v = a("el-table"), h = a("el-button"), I = a("el-card");
|
|
39
|
+
return M(), x("div", ie, [
|
|
40
|
+
s(I, { shadow: "never" }, {
|
|
41
|
+
footer: l(() => [
|
|
42
|
+
e("div", Pe, [
|
|
43
|
+
s(h, {
|
|
44
|
+
type: "primary",
|
|
45
|
+
onClick: K
|
|
46
|
+
}, {
|
|
47
|
+
default: l(() => [
|
|
48
|
+
p(r(o.$t("common.back")), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
})
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
default: l(() => {
|
|
55
|
+
var c, u, N, $, w, V, B, C, D, A, S, U, z, T, j, O, W, q, R;
|
|
56
|
+
return [
|
|
57
|
+
n[1] || (n[1] = e("div", { class: "title-content" }, "订单详情", -1)),
|
|
58
|
+
e("div", ae, [
|
|
59
|
+
e("div", de, [
|
|
60
|
+
e("div", ce, [
|
|
61
|
+
s(_, {
|
|
62
|
+
src: m(G).imageUrl(
|
|
63
|
+
(w = ($ = (N = (u = (c = t.value) == null ? void 0 : c[0]) == null ? void 0 : u.orderItemList) == null ? void 0 : N.results) == null ? void 0 : $[0]) == null ? void 0 : w.picUrl,
|
|
64
|
+
160,
|
|
65
|
+
160
|
|
66
|
+
),
|
|
67
|
+
"preview-src-list": [
|
|
68
|
+
m(G).imageUrl(
|
|
69
|
+
(A = (D = (C = (B = (V = t.value) == null ? void 0 : V[0]) == null ? void 0 : B.orderItemList) == null ? void 0 : C.results) == null ? void 0 : D[0]) == null ? void 0 : A.picUrl
|
|
70
|
+
)
|
|
71
|
+
],
|
|
72
|
+
"preview-teleported": "",
|
|
73
|
+
"hide-on-click-modal": "",
|
|
74
|
+
fit: "contain",
|
|
75
|
+
class: "magazine-image"
|
|
76
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
77
|
+
])
|
|
78
|
+
]),
|
|
79
|
+
e("div", ue, [
|
|
80
|
+
e("span", me, "《" + r((j = (T = (z = (U = (S = t.value) == null ? void 0 : S[0]) == null ? void 0 : U.orderItemList) == null ? void 0 : z.results) == null ? void 0 : T[0]) == null ? void 0 : j.spuName) + "》 ", 1),
|
|
81
|
+
e("div", pe, [
|
|
82
|
+
e("span", _e, [
|
|
83
|
+
n[0] || (n[0] = p("发行频率: ")),
|
|
84
|
+
e("span", null, r(m(y).goodsCategoryListBizLayDict.getValue(L.value.join(","))), 1)
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
e("div", fe, [
|
|
88
|
+
e("span", be, "订阅周期:" + r((W = (O = t.value) == null ? void 0 : O[0]) == null ? void 0 : W.remark), 1)
|
|
89
|
+
]),
|
|
90
|
+
e("div", ve, [
|
|
91
|
+
e("span", he, "¥" + r((R = (q = t.value) == null ? void 0 : q[0]) == null ? void 0 : R.salesPrice) + "/年", 1)
|
|
92
|
+
])
|
|
93
|
+
])
|
|
94
|
+
]),
|
|
95
|
+
n[2] || (n[2] = e("div", { class: "title-content" }, "付款信息", -1)),
|
|
96
|
+
e("div", Ie, [
|
|
97
|
+
t.value && t.value.length > 0 ? (M(), ee(f, {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: "margin-top",
|
|
100
|
+
"label-width": 420,
|
|
101
|
+
"label-align": "left",
|
|
102
|
+
column: 1
|
|
103
|
+
}, {
|
|
104
|
+
default: l(() => [
|
|
105
|
+
s(d, null, {
|
|
106
|
+
label: l(() => [
|
|
107
|
+
e("div", ge, r(o.$t("orderInfo.salesPrices")), 1)
|
|
108
|
+
]),
|
|
109
|
+
default: l(() => [
|
|
110
|
+
p(" ¥" + r(t.value[0].salesPrice), 1)
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}),
|
|
114
|
+
s(d, null, {
|
|
115
|
+
label: l(() => [
|
|
116
|
+
e("div", ye, r(o.$t("orderInfo.orderStatuss")), 1)
|
|
117
|
+
]),
|
|
118
|
+
default: l(() => [
|
|
119
|
+
p(" " + r(m(y).orderStatusEnum.getValue(t.value[0].orderStatus)), 1)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}),
|
|
123
|
+
s(d, null, {
|
|
124
|
+
label: l(() => [
|
|
125
|
+
e("div", Ee, r(o.$t("orderInfo.paymentWay")), 1)
|
|
126
|
+
]),
|
|
127
|
+
default: l(() => [
|
|
128
|
+
p(" " + r(m(y).paymentWayEnum.getEnumValue(t.value[0].paymentWay)), 1)
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
})
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
})) : oe("", !0)
|
|
135
|
+
]),
|
|
136
|
+
n[3] || (n[3] = e("div", { class: "title-content" }, "收报地址", -1)),
|
|
137
|
+
s(v, {
|
|
138
|
+
data: k.value,
|
|
139
|
+
border: ""
|
|
140
|
+
}, {
|
|
141
|
+
default: l(() => [
|
|
142
|
+
s(i, {
|
|
143
|
+
prop: "note",
|
|
144
|
+
label: o.$t("orderInfo.unitNames"),
|
|
145
|
+
width: "250"
|
|
146
|
+
}, null, 8, ["label"]),
|
|
147
|
+
s(i, {
|
|
148
|
+
prop: "userName",
|
|
149
|
+
label: o.$t("orderInfo.userName"),
|
|
150
|
+
width: "120"
|
|
151
|
+
}, null, 8, ["label"]),
|
|
152
|
+
s(i, {
|
|
153
|
+
label: o.$t("orderInfo.mobilePhone"),
|
|
154
|
+
width: "150"
|
|
155
|
+
}, {
|
|
156
|
+
default: l(({ row: g }) => [
|
|
157
|
+
s(b, {
|
|
158
|
+
mobileEncrypt: g.mobileEncrypt,
|
|
159
|
+
mobilePhoneIns: g.mobilePhoneIns,
|
|
160
|
+
mobilePhone: g.mobilePhone,
|
|
161
|
+
onToggleEncrypt: (Ne) => J(g)
|
|
162
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["label"]),
|
|
166
|
+
s(i, {
|
|
167
|
+
prop: "detailInfo",
|
|
168
|
+
label: o.$t("orderInfo.address")
|
|
169
|
+
}, null, 8, ["label"]),
|
|
170
|
+
s(i, {
|
|
171
|
+
prop: "goodsNum",
|
|
172
|
+
label: o.$t("orderInfo.paperNumber"),
|
|
173
|
+
width: "100"
|
|
174
|
+
}, null, 8, ["label"])
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}, 8, ["data"])
|
|
178
|
+
];
|
|
179
|
+
}),
|
|
180
|
+
_: 1,
|
|
181
|
+
__: [1, 2, 3]
|
|
182
|
+
})
|
|
183
|
+
]);
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}), Se = /* @__PURE__ */ re(ke, [["__scopeId", "data-v-752f0b33"]]);
|
|
187
|
+
export {
|
|
188
|
+
Se as default
|
|
189
|
+
};
|