xyvcard-paper-buyer 0.0.41 → 0.0.43
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-Cyj9Q0lP.mjs → applyEdit-DzxmV4oI.mjs} +2 -2
- package/dist/{edit-DHXk9uMQ.mjs → edit-DwsTiwF8.mjs} +48 -48
- package/dist/edit-Omp_CxC3.mjs +260 -0
- package/dist/{index-BGqp7CRm.mjs → index-BPKQNnjE.mjs} +30 -36
- package/dist/{index-BEPJuAyP.mjs → index-C18T6VjZ.mjs} +54 -58
- package/dist/{index-DrADb2uC.mjs → index-MoEV6c7S.mjs} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{info-BLkVF0dz.mjs → info-CSgoyt6A.mjs} +71 -80
- package/dist/{invoiceEdit-jwC6d-7m.mjs → invoiceEdit-D3qEYbNL.mjs} +2 -2
- package/dist/{onlineBanking-BjnT3Pli.mjs → onlineBanking-CdDAY0YQ.mjs} +6 -6
- package/dist/{orderAddress-DBPQQVGw.mjs → orderAddress-BXFhutnA.mjs} +98 -87
- package/dist/{orderInfo-D_KS6_dc.mjs → orderInfo-BP5ei-W0.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{userInvoice-DhoqnQE4.mjs → userInvoice-CZ7yW4I6.mjs} +1 -1
- package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-DV5JSa_i.mjs → userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs} +1 -1
- package/dts/api/buyer/index.d.ts +0 -1
- package/dts/constant.d.ts +0 -1
- package/package.json +2 -2
- package/dist/edit-BgQo-uqd.mjs +0 -227
|
@@ -1,34 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as m, C as w } from "./index-
|
|
3
|
-
import { o as
|
|
4
|
-
import { vueMetaEnv as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import {
|
|
1
|
+
import { defineComponent as pe, ref as T, onActivated as me, resolveComponent as i, resolveDirective as ce, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as r, withKeys as V, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as h, createCommentVNode as I, vShow as Y, createBlock as E, isRef as j } from "vue";
|
|
2
|
+
import { D as m, C as w } from "./index-BPKQNnjE.mjs";
|
|
3
|
+
import { o as Q } from "./index-BKZPqxLM.mjs";
|
|
4
|
+
import { vueMetaEnv as fe, useTableHooks as ye } from "jmash-core";
|
|
5
|
+
import { useI18n as ve } from "vue-i18n";
|
|
6
|
+
import { useRouter as Ie } from "vue-router";
|
|
7
7
|
const be = { class: "app-container" }, _e = { class: "search-container dis_bottom" }, he = { class: "total-num dis_bottom" }, we = { class: "blue_color" }, Ce = { class: "blue_color" }, ge = { class: "blue_color" }, Se = { key: 0 }, ke = { key: 0 }, Ne = { key: 1 }, Ve = {
|
|
8
8
|
key: 2,
|
|
9
9
|
class: "distance-left"
|
|
10
|
-
}, Pe = ["onClick"], $e = ["onClick"], De = ["onClick"], Te = ["onClick"], Ee = ["onClick"], Ye = /* @__PURE__ */
|
|
10
|
+
}, Pe = ["onClick"], $e = ["onClick"], De = ["onClick"], Te = ["onClick"], Ee = ["onClick"], Ye = /* @__PURE__ */ pe({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(Ue) {
|
|
13
|
-
|
|
14
|
-
const U = localStorage.getItem("unionUserInfo"), Q = (U ? JSON.parse(U) : {}).orgId;
|
|
13
|
+
const U = localStorage.getItem("unionUserInfo"), K = (U ? JSON.parse(U) : {}).orgId;
|
|
15
14
|
m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
|
|
16
|
-
const q =
|
|
15
|
+
const q = fe.APP_ORGAN_ID, { t: M } = ve(), C = Ie(), d = T({
|
|
17
16
|
curPage: 1,
|
|
18
17
|
pageSize: 10,
|
|
19
|
-
shopBranchId:
|
|
18
|
+
shopBranchId: K
|
|
20
19
|
}), {
|
|
21
20
|
tableHooks: v,
|
|
22
|
-
multipleTableRef:
|
|
23
|
-
queryFormRef:
|
|
21
|
+
multipleTableRef: F,
|
|
22
|
+
queryFormRef: W,
|
|
24
23
|
listLoading: G,
|
|
25
24
|
tableData: H,
|
|
26
25
|
total: N
|
|
27
|
-
} =
|
|
26
|
+
} = ye(M, Q, d), P = v.totalRecord;
|
|
28
27
|
function J(t) {
|
|
28
|
+
if (!t) return "0";
|
|
29
|
+
const o = parseFloat(String(t));
|
|
30
|
+
return Number.isInteger(o) ? o.toString() : o.toFixed(2);
|
|
31
|
+
}
|
|
32
|
+
const $ = T([]);
|
|
33
|
+
function X(t) {
|
|
29
34
|
d.value.startDate = t[0], d.value.endDate = t[1];
|
|
30
35
|
}
|
|
31
|
-
function
|
|
36
|
+
function Z() {
|
|
32
37
|
$.value = [], d.value.startDate = "", d.value.endDate = "", v.resetQuery();
|
|
33
38
|
}
|
|
34
39
|
let S = T([
|
|
@@ -84,14 +89,6 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
84
89
|
columnType: "slot",
|
|
85
90
|
isColumn: !0
|
|
86
91
|
},
|
|
87
|
-
{
|
|
88
|
-
label: "orderInfo.paymentWay",
|
|
89
|
-
prop: "paymentWay",
|
|
90
|
-
width: "90",
|
|
91
|
-
slotName: "paymentWay",
|
|
92
|
-
columnType: "slot",
|
|
93
|
-
isColumn: !0
|
|
94
|
-
},
|
|
95
92
|
{
|
|
96
93
|
label: "orderInfo.invoiceStatus",
|
|
97
94
|
prop: "invoiceStatus",
|
|
@@ -119,7 +116,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
119
116
|
{
|
|
120
117
|
label: "orderInfo.createTime",
|
|
121
118
|
prop: "createTime",
|
|
122
|
-
width: "
|
|
119
|
+
width: "160",
|
|
123
120
|
slotName: "createTime",
|
|
124
121
|
columnType: "slot",
|
|
125
122
|
isColumn: !0
|
|
@@ -133,19 +130,19 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
133
130
|
isColumn: !0
|
|
134
131
|
}
|
|
135
132
|
]);
|
|
136
|
-
function
|
|
133
|
+
function x(t) {
|
|
137
134
|
return t ? new Date(t).toLocaleString() : "";
|
|
138
135
|
}
|
|
139
136
|
function O(t) {
|
|
140
137
|
t.mobileEncrypt = !t.mobileEncrypt;
|
|
141
138
|
}
|
|
142
|
-
function
|
|
139
|
+
function ee(t) {
|
|
143
140
|
C.push({
|
|
144
141
|
path: "/buyer/order-info/info",
|
|
145
142
|
query: { orderId: t.orderId }
|
|
146
143
|
});
|
|
147
144
|
}
|
|
148
|
-
function
|
|
145
|
+
function oe(t) {
|
|
149
146
|
C.push({
|
|
150
147
|
path: "/buyer/order-info/invoice",
|
|
151
148
|
query: {
|
|
@@ -154,7 +151,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
154
151
|
}
|
|
155
152
|
});
|
|
156
153
|
}
|
|
157
|
-
function
|
|
154
|
+
function te(t) {
|
|
158
155
|
C.push({
|
|
159
156
|
path: "/buyer/order-info/invoiceView",
|
|
160
157
|
query: {
|
|
@@ -163,9 +160,9 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
163
160
|
}
|
|
164
161
|
});
|
|
165
162
|
}
|
|
166
|
-
async function
|
|
163
|
+
async function re(t) {
|
|
167
164
|
try {
|
|
168
|
-
const o = await
|
|
165
|
+
const o = await Q.queryOrderAddress({ orderId: t.orderId });
|
|
169
166
|
o && o.data === !0 ? C.push({
|
|
170
167
|
path: "/buyer/order-newspaper/orderDetails",
|
|
171
168
|
query: {
|
|
@@ -179,21 +176,21 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
179
176
|
} catch {
|
|
180
177
|
}
|
|
181
178
|
}
|
|
182
|
-
function
|
|
179
|
+
function ae(t) {
|
|
183
180
|
C.push({
|
|
184
181
|
path: "/buyer/order-info/applyEdit",
|
|
185
182
|
query: { orderId: t.orderId }
|
|
186
183
|
});
|
|
187
184
|
}
|
|
188
|
-
return
|
|
185
|
+
return me(() => {
|
|
189
186
|
v.getList();
|
|
190
187
|
}), (t, o) => {
|
|
191
|
-
const B = i("el-input"), g = i("el-form-item"), f = i("el-col"), L = i("jmash-select"),
|
|
188
|
+
const B = i("el-input"), g = i("el-form-item"), f = i("el-col"), L = i("jmash-select"), ne = i("el-date-picker"), z = i("el-button"), D = i("el-row"), le = i("el-form"), de = i("jmash-column-select"), R = i("el-tag"), A = i("svg-icon"), ue = i("jmash-table"), se = i("jmash-pagination"), ie = i("el-card"), k = ce("hasPerm");
|
|
192
189
|
return p(), y("div", be, [
|
|
193
190
|
c("div", _e, [
|
|
194
|
-
a(
|
|
191
|
+
a(le, {
|
|
195
192
|
ref_key: "queryFormRef",
|
|
196
|
-
ref:
|
|
193
|
+
ref: W,
|
|
197
194
|
model: d.value,
|
|
198
195
|
inline: !0
|
|
199
196
|
}, {
|
|
@@ -291,7 +288,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
291
288
|
prop: "startCreateTime"
|
|
292
289
|
}, {
|
|
293
290
|
default: r(() => [
|
|
294
|
-
a(
|
|
291
|
+
a(ne, {
|
|
295
292
|
modelValue: $.value,
|
|
296
293
|
"onUpdate:modelValue": o[8] || (o[8] = (e) => $.value = e),
|
|
297
294
|
type: "daterange",
|
|
@@ -299,7 +296,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
299
296
|
"end-placeholder": t.$t("orderInfo.endCreateTime"),
|
|
300
297
|
format: "YYYY-MM-DD",
|
|
301
298
|
"value-format": "YYYY-MM-DD",
|
|
302
|
-
onChange:
|
|
299
|
+
onChange: X
|
|
303
300
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
304
301
|
]),
|
|
305
302
|
_: 1
|
|
@@ -311,7 +308,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
311
308
|
default: r(() => [
|
|
312
309
|
a(g, { class: "search-btn" }, {
|
|
313
310
|
default: r(() => [
|
|
314
|
-
a(
|
|
311
|
+
a(z, {
|
|
315
312
|
type: "primary",
|
|
316
313
|
onClick: o[9] || (o[9] = (e) => n(v).handleQuery())
|
|
317
314
|
}, {
|
|
@@ -320,7 +317,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
320
317
|
]),
|
|
321
318
|
_: 1
|
|
322
319
|
}),
|
|
323
|
-
a(
|
|
320
|
+
a(z, { onClick: Z }, {
|
|
324
321
|
default: r(() => [
|
|
325
322
|
u(l(t.$t("common.reset")), 1)
|
|
326
323
|
]),
|
|
@@ -373,7 +370,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
373
370
|
_: 1
|
|
374
371
|
})
|
|
375
372
|
]),
|
|
376
|
-
a(
|
|
373
|
+
a(ie, {
|
|
377
374
|
shadow: "never",
|
|
378
375
|
class: "table-container"
|
|
379
376
|
}, {
|
|
@@ -385,9 +382,9 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
385
382
|
class: "container-float"
|
|
386
383
|
}, {
|
|
387
384
|
default: r(() => [
|
|
388
|
-
a(
|
|
385
|
+
a(de, {
|
|
389
386
|
modelValue: n(S),
|
|
390
|
-
"onUpdate:modelValue": o[10] || (o[10] = (e) =>
|
|
387
|
+
"onUpdate:modelValue": o[10] || (o[10] = (e) => j(S) ? S.value = e : S = e),
|
|
391
388
|
"label-name": "paper-order/order-info"
|
|
392
389
|
}, null, 8, ["modelValue"])
|
|
393
390
|
]),
|
|
@@ -398,10 +395,10 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
398
395
|
})
|
|
399
396
|
]),
|
|
400
397
|
footer: r(() => [
|
|
401
|
-
n(N) > 0 ? (p(), E(
|
|
398
|
+
n(N) > 0 ? (p(), E(se, {
|
|
402
399
|
key: 0,
|
|
403
400
|
total: n(N),
|
|
404
|
-
"onUpdate:total": o[11] || (o[11] = (e) =>
|
|
401
|
+
"onUpdate:total": o[11] || (o[11] = (e) => j(N) ? N.value = e : null),
|
|
405
402
|
"current-page": d.value.curPage,
|
|
406
403
|
"onUpdate:currentPage": o[12] || (o[12] = (e) => d.value.curPage = e),
|
|
407
404
|
"page-size": d.value.pageSize,
|
|
@@ -410,9 +407,9 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
410
407
|
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
|
411
408
|
]),
|
|
412
409
|
default: r(() => [
|
|
413
|
-
a(
|
|
410
|
+
a(ue, {
|
|
414
411
|
ref_key: "multipleTableRef",
|
|
415
|
-
ref:
|
|
412
|
+
ref: F,
|
|
416
413
|
"row-key": "orderId",
|
|
417
414
|
"list-loading": n(G),
|
|
418
415
|
data: n(H),
|
|
@@ -420,7 +417,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
420
417
|
isSelection: !1
|
|
421
418
|
}, {
|
|
422
419
|
createTime: r((e) => [
|
|
423
|
-
c("span", null, l(
|
|
420
|
+
c("span", null, l(x(e.data.row.createTime)), 1)
|
|
424
421
|
]),
|
|
425
422
|
spuName: r((e) => {
|
|
426
423
|
var s, b, _;
|
|
@@ -437,7 +434,9 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
437
434
|
unitPrice: r((e) => {
|
|
438
435
|
var s, b, _;
|
|
439
436
|
return [
|
|
440
|
-
c("span", null, l((
|
|
437
|
+
c("span", null, l(J(
|
|
438
|
+
(_ = (b = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : b[0]) == null ? void 0 : _.salesPrice
|
|
439
|
+
)), 1)
|
|
441
440
|
];
|
|
442
441
|
}),
|
|
443
442
|
orderCycle: r((e) => [
|
|
@@ -448,7 +447,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
448
447
|
]),
|
|
449
448
|
orderStatus: r((e) => [
|
|
450
449
|
c("div", null, [
|
|
451
|
-
e.data.row.orderStatus === n(w).UNPAY ? (p(), E(
|
|
450
|
+
e.data.row.orderStatus === n(w).UNPAY ? (p(), E(R, {
|
|
452
451
|
key: 0,
|
|
453
452
|
type: "danger"
|
|
454
453
|
}, {
|
|
@@ -457,7 +456,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
457
456
|
]),
|
|
458
457
|
_: 2
|
|
459
458
|
}, 1024)) : I("", !0),
|
|
460
|
-
e.data.row.orderStatus === n(w).UNPOST ? (p(), E(
|
|
459
|
+
e.data.row.orderStatus === n(w).UNPOST ? (p(), E(R, {
|
|
461
460
|
key: 1,
|
|
462
461
|
type: "success"
|
|
463
462
|
}, {
|
|
@@ -468,9 +467,6 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
468
467
|
}, 1024)) : I("", !0)
|
|
469
468
|
])
|
|
470
469
|
]),
|
|
471
|
-
paymentWay: r((e) => [
|
|
472
|
-
c("span", null, l(n(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
|
473
|
-
]),
|
|
474
470
|
invoiceStatus: r((e) => [
|
|
475
471
|
u(l(n(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
476
472
|
]),
|
|
@@ -500,7 +496,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
500
496
|
operation: r((e) => [
|
|
501
497
|
h((p(), y("span", {
|
|
502
498
|
class: "el-button-color",
|
|
503
|
-
onClick: (s) =>
|
|
499
|
+
onClick: (s) => ee(e.data.row)
|
|
504
500
|
}, [
|
|
505
501
|
u(l(t.$t("common.view")), 1)
|
|
506
502
|
], 8, Pe)), [
|
|
@@ -509,7 +505,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
509
505
|
e.data.row.invoiceStatus === n(w).UNINVOICE && e.data.row.orderStatus === n(w).UNPOST ? h((p(), y("span", {
|
|
510
506
|
key: 0,
|
|
511
507
|
class: "el-button-color dropdown-left",
|
|
512
|
-
onClick: (s) =>
|
|
508
|
+
onClick: (s) => ae(e.data.row)
|
|
513
509
|
}, [
|
|
514
510
|
u(l(t.$t("orderInfo.apply")), 1)
|
|
515
511
|
], 8, $e)), [
|
|
@@ -518,7 +514,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
518
514
|
e.data.row.invoiceStatus === n(w).INVOICING ? h((p(), y("span", {
|
|
519
515
|
key: 1,
|
|
520
516
|
class: "el-button-color dropdown-left",
|
|
521
|
-
onClick: (s) =>
|
|
517
|
+
onClick: (s) => oe(e.data.row)
|
|
522
518
|
}, [
|
|
523
519
|
u(l(t.$t("orderInfo.invoiceInformation")), 1)
|
|
524
520
|
], 8, De)), [
|
|
@@ -527,7 +523,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
527
523
|
e.data.row.orderStatus === n(w).UNPAY ? h((p(), y("span", {
|
|
528
524
|
key: 2,
|
|
529
525
|
class: "el-button-color dropdown-left",
|
|
530
|
-
onClick: (s) =>
|
|
526
|
+
onClick: (s) => re(e.data.row)
|
|
531
527
|
}, [
|
|
532
528
|
u(l(t.$t("orderInfo.payment")), 1)
|
|
533
529
|
], 8, Te)), [
|
|
@@ -536,7 +532,7 @@ const be = { class: "app-container" }, _e = { class: "search-container dis_botto
|
|
|
536
532
|
e.data.row.invoiceStatus === n(w).INVOICED ? h((p(), y("span", {
|
|
537
533
|
key: 3,
|
|
538
534
|
class: "el-button-color dropdown-left",
|
|
539
|
-
onClick: (s) =>
|
|
535
|
+
onClick: (s) => te(e.data.row)
|
|
540
536
|
}, [
|
|
541
537
|
u(l(t.$t("orderInfo.viewInvoice")), 1)
|
|
542
538
|
], 8, Ee)), [
|
|
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as C, reactive as T, onActivated as le, reso
|
|
|
2
2
|
import { useTableHooks as re } from "jmash-core";
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { o as se } from "./index-BP8zUjOw.mjs";
|
|
5
|
-
import de from "./edit-
|
|
5
|
+
import de from "./edit-DwsTiwF8.mjs";
|
|
6
6
|
const ie = { class: "app-container" }, me = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], ke = /* @__PURE__ */ te({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ce) {
|
package/dist/index.mjs
CHANGED
|
@@ -377,7 +377,7 @@ function g(e) {
|
|
|
377
377
|
let i = e.global.getLocaleMessage("en");
|
|
378
378
|
i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
|
|
379
379
|
}
|
|
380
|
-
const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-DAXED5UU.mjs"), P = () => import("./orderAddress-
|
|
380
|
+
const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-DAXED5UU.mjs"), P = () => import("./orderAddress-BXFhutnA.mjs"), q = () => import("./orderInfo-BP5ei-W0.mjs"), D = () => import("./payment-DD_Lhvf0.mjs"), N = () => import("./invoice-Ca967WuM.mjs"), z = () => import("./invoiceView-BQ20QFpo.mjs"), x = () => import("./applyEdit-DzxmV4oI.mjs"), C = () => import("./invoiceEdit-D3qEYbNL.mjs"), k = () => import("./info-CSgoyt6A.mjs"), t = [
|
|
381
381
|
{
|
|
382
382
|
path: "/buyer",
|
|
383
383
|
component: r,
|
|
@@ -543,7 +543,7 @@ const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-D
|
|
|
543
543
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
544
544
|
});
|
|
545
545
|
c.value = T;
|
|
546
|
-
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-
|
|
546
|
+
const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-DzxmV4oI.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-C18T6VjZ.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-CSgoyt6A.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Ca967WuM.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-D3qEYbNL.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-BQ20QFpo.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-CeY2OdrK.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-B0HE_2cs.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-CZ7yW4I6.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-BYEYokBP.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-Omp_CxC3.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BWV5njqv.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-CdDAY0YQ.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BXFhutnA.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-BP5ei-W0.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DAXED5UU.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-DD_Lhvf0.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DwsTiwF8.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-MoEV6c7S.mjs") }), M = {
|
|
547
547
|
install(e) {
|
|
548
548
|
l(A, 7), f(t), g(h);
|
|
549
549
|
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as
|
|
2
|
-
import { D as
|
|
3
|
-
import { o as
|
|
4
|
-
import { fileApi as
|
|
1
|
+
import { defineComponent as Y, ref as v, onMounted as Z, resolveComponent as a, createElementBlock as x, openBlock as q, createVNode as t, withCtx as n, createElementVNode as e, unref as _, toDisplayString as i, createTextVNode as m, createBlock as ee, createCommentVNode as oe } from "vue";
|
|
2
|
+
import { D as h } from "./index-BPKQNnjE.mjs";
|
|
3
|
+
import { o as R } from "./index-BKZPqxLM.mjs";
|
|
4
|
+
import { fileApi as M, routerUtil as te } from "jmash-core";
|
|
5
5
|
import { useRouter as se, useRoute as le } from "vue-router";
|
|
6
6
|
import { goodsSpuApi as ne } from "xyvcard-paper-goods";
|
|
7
7
|
import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
-
const
|
|
8
|
+
const re = { class: "app-container" }, ae = { class: "subscription-container" }, de = { class: "newspaper-image" }, ce = { class: "shanxi-worker-paper" }, me = { class: "subscription-info" }, ue = { 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: "dialog-footer" }, Ne = /* @__PURE__ */ Y({
|
|
9
9
|
__name: "info",
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
function
|
|
10
|
+
setup(Pe) {
|
|
11
|
+
const F = se(), f = le(), I = v([]);
|
|
12
|
+
h.goodsCategoryListBizLayDict.useValues();
|
|
13
|
+
function G(o) {
|
|
14
14
|
o.mobileEncrypt = !o.mobileEncrypt;
|
|
15
15
|
}
|
|
16
|
-
function G() {
|
|
17
|
-
te.closeTagView(b.fullPath, M, !1);
|
|
18
|
-
}
|
|
19
|
-
const n = h(), g = h([]);
|
|
20
16
|
function H() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
te.closeTagView(f.fullPath, F, !1);
|
|
18
|
+
}
|
|
19
|
+
const s = v(), g = v([]);
|
|
20
|
+
function J() {
|
|
21
|
+
R.findById({ orderId: f.query.orderId }).then(({ data: o }) => {
|
|
22
|
+
var l, u, c, p, r;
|
|
23
|
+
s.value = [o], ne.findById({
|
|
24
|
+
spuId: (r = (p = (c = (u = (l = s.value) == null ? void 0 : l[0]) == null ? void 0 : u.orderItemList) == null ? void 0 : c.results) == null ? void 0 : p[0]) == null ? void 0 : r.spuId
|
|
25
|
+
}).then(({ data: b }) => {
|
|
26
|
+
g.value = b.categoryIds;
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function K() {
|
|
31
|
+
R.findOrderAddressList({ orderId: f.query.orderId }).then(({ data: o }) => {
|
|
32
32
|
I.value = o.results;
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
return Z(() => {
|
|
36
|
-
|
|
37
|
-
}), (o,
|
|
38
|
-
const
|
|
39
|
-
return
|
|
36
|
+
J(), K();
|
|
37
|
+
}), (o, l) => {
|
|
38
|
+
const u = a("el-image"), c = a("el-descriptions-item"), p = a("el-descriptions"), r = a("el-table-column"), b = a("jmash-mobileIns-component"), Q = a("el-table"), W = a("el-button"), X = a("el-card");
|
|
39
|
+
return q(), x("div", re, [
|
|
40
40
|
t(X, { shadow: "never" }, {
|
|
41
|
-
footer:
|
|
42
|
-
e("div",
|
|
43
|
-
t(
|
|
41
|
+
footer: n(() => [
|
|
42
|
+
e("div", Ee, [
|
|
43
|
+
t(W, {
|
|
44
44
|
type: "primary",
|
|
45
|
-
onClick:
|
|
45
|
+
onClick: H
|
|
46
46
|
}, {
|
|
47
|
-
default:
|
|
48
|
-
m(
|
|
47
|
+
default: n(() => [
|
|
48
|
+
m(i(o.$t("common.back")), 1)
|
|
49
49
|
]),
|
|
50
50
|
_: 1
|
|
51
51
|
})
|
|
52
52
|
])
|
|
53
53
|
]),
|
|
54
|
-
default:
|
|
55
|
-
var y, E, N, P, k,
|
|
54
|
+
default: n(() => {
|
|
55
|
+
var y, E, N, P, k, L, $, w, B, V, C, D, A, S, U, z, T, j, O;
|
|
56
56
|
return [
|
|
57
|
-
|
|
58
|
-
e("div",
|
|
57
|
+
l[1] || (l[1] = e("div", { class: "title-content" }, "订单详情", -1)),
|
|
58
|
+
e("div", ae, [
|
|
59
59
|
e("div", de, [
|
|
60
60
|
e("div", ce, [
|
|
61
|
-
t(
|
|
62
|
-
src:
|
|
63
|
-
(k = (P = (N = (E = (y =
|
|
61
|
+
t(u, {
|
|
62
|
+
src: _(M).imageUrl(
|
|
63
|
+
(k = (P = (N = (E = (y = s.value) == null ? void 0 : y[0]) == null ? void 0 : E.orderItemList) == null ? void 0 : N.results) == null ? void 0 : P[0]) == null ? void 0 : k.picUrl,
|
|
64
64
|
160,
|
|
65
65
|
160
|
|
66
66
|
),
|
|
67
67
|
"preview-src-list": [
|
|
68
|
-
|
|
69
|
-
(
|
|
68
|
+
_(M).imageUrl(
|
|
69
|
+
(V = (B = (w = ($ = (L = s.value) == null ? void 0 : L[0]) == null ? void 0 : $.orderItemList) == null ? void 0 : w.results) == null ? void 0 : B[0]) == null ? void 0 : V.picUrl
|
|
70
70
|
)
|
|
71
71
|
],
|
|
72
72
|
"preview-teleported": "",
|
|
@@ -77,55 +77,46 @@ const ae = { class: "app-container" }, re = { class: "subscription-container" },
|
|
|
77
77
|
])
|
|
78
78
|
]),
|
|
79
79
|
e("div", me, [
|
|
80
|
-
e("span", ue, "《" +
|
|
80
|
+
e("span", ue, "《" + i((U = (S = (A = (D = (C = s.value) == null ? void 0 : C[0]) == null ? void 0 : D.orderItemList) == null ? void 0 : A.results) == null ? void 0 : S[0]) == null ? void 0 : U.spuName) + "》 ", 1),
|
|
81
81
|
e("div", pe, [
|
|
82
82
|
e("span", _e, [
|
|
83
|
-
|
|
84
|
-
e("span", null,
|
|
83
|
+
l[0] || (l[0] = m("发行频率: ")),
|
|
84
|
+
e("span", null, i(_(h).goodsCategoryListBizLayDict.getValue(g.value.join(","))), 1)
|
|
85
85
|
])
|
|
86
86
|
]),
|
|
87
87
|
e("div", fe, [
|
|
88
|
-
e("span", be, "订阅周期:" +
|
|
88
|
+
e("span", be, "订阅周期:" + i((T = (z = s.value) == null ? void 0 : z[0]) == null ? void 0 : T.remark), 1)
|
|
89
89
|
]),
|
|
90
90
|
e("div", ve, [
|
|
91
|
-
e("span", he, "¥" +
|
|
91
|
+
e("span", he, "¥" + i((O = (j = s.value) == null ? void 0 : j[0]) == null ? void 0 : O.salesPrice) + "/年", 1)
|
|
92
92
|
])
|
|
93
93
|
])
|
|
94
94
|
]),
|
|
95
|
-
|
|
95
|
+
l[2] || (l[2] = e("div", { class: "title-content" }, "付款信息", -1)),
|
|
96
96
|
e("div", Ie, [
|
|
97
|
-
|
|
97
|
+
s.value && s.value.length > 0 ? (q(), ee(p, {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "margin-top",
|
|
100
100
|
"label-width": 420,
|
|
101
101
|
"label-align": "left",
|
|
102
102
|
column: 1
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
104
|
+
default: n(() => [
|
|
105
105
|
t(c, null, {
|
|
106
|
-
label:
|
|
107
|
-
e("div", ge,
|
|
106
|
+
label: n(() => [
|
|
107
|
+
e("div", ge, i(o.$t("orderInfo.salesPrices")), 1)
|
|
108
108
|
]),
|
|
109
|
-
default:
|
|
110
|
-
m(" ¥" +
|
|
109
|
+
default: n(() => [
|
|
110
|
+
m(" ¥" + i(s.value[0].salesPrice), 1)
|
|
111
111
|
]),
|
|
112
112
|
_: 1
|
|
113
113
|
}),
|
|
114
114
|
t(c, null, {
|
|
115
|
-
label:
|
|
116
|
-
e("div", ye,
|
|
115
|
+
label: n(() => [
|
|
116
|
+
e("div", ye, i(o.$t("orderInfo.orderStatuss")), 1)
|
|
117
117
|
]),
|
|
118
|
-
default:
|
|
119
|
-
m(" " +
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}),
|
|
123
|
-
t(c, null, {
|
|
124
|
-
label: s(() => [
|
|
125
|
-
e("div", Ee, l(o.$t("orderInfo.paymentWay")), 1)
|
|
126
|
-
]),
|
|
127
|
-
default: s(() => [
|
|
128
|
-
m(" " + l(u(f).paymentWayEnum.getEnumValue(n.value[0].paymentWay)), 1)
|
|
118
|
+
default: n(() => [
|
|
119
|
+
m(" " + i(_(h).orderStatusEnum.getValue(s.value[0].orderStatus)), 1)
|
|
129
120
|
]),
|
|
130
121
|
_: 1
|
|
131
122
|
})
|
|
@@ -133,46 +124,46 @@ const ae = { class: "app-container" }, re = { class: "subscription-container" },
|
|
|
133
124
|
_: 1
|
|
134
125
|
})) : oe("", !0)
|
|
135
126
|
]),
|
|
136
|
-
|
|
137
|
-
t(
|
|
127
|
+
l[3] || (l[3] = e("div", { class: "title-content" }, "收报地址", -1)),
|
|
128
|
+
t(Q, {
|
|
138
129
|
data: I.value,
|
|
139
130
|
border: ""
|
|
140
131
|
}, {
|
|
141
|
-
default:
|
|
142
|
-
t(
|
|
132
|
+
default: n(() => [
|
|
133
|
+
t(r, {
|
|
143
134
|
prop: "note",
|
|
144
135
|
label: o.$t("orderInfo.unitNames"),
|
|
145
136
|
width: "250"
|
|
146
137
|
}, null, 8, ["label"]),
|
|
147
|
-
t(
|
|
138
|
+
t(r, {
|
|
148
139
|
prop: "userName",
|
|
149
140
|
label: o.$t("orderInfo.userName"),
|
|
150
141
|
width: "120"
|
|
151
142
|
}, null, 8, ["label"]),
|
|
152
|
-
t(
|
|
143
|
+
t(r, {
|
|
153
144
|
label: o.$t("orderInfo.mobilePhone"),
|
|
154
145
|
width: "170"
|
|
155
146
|
}, {
|
|
156
|
-
default:
|
|
157
|
-
t(
|
|
147
|
+
default: n(({ row: d }) => [
|
|
148
|
+
t(b, {
|
|
158
149
|
mobileEncrypt: d.mobileEncrypt,
|
|
159
150
|
mobilePhoneIns: d.mobilePhoneIns,
|
|
160
151
|
mobilePhone: d.mobilePhone,
|
|
161
|
-
onToggleEncrypt: (
|
|
152
|
+
onToggleEncrypt: (ke) => G(d)
|
|
162
153
|
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
|
|
163
154
|
]),
|
|
164
155
|
_: 1
|
|
165
156
|
}, 8, ["label"]),
|
|
166
|
-
t(
|
|
157
|
+
t(r, {
|
|
167
158
|
prop: "detailInfo",
|
|
168
159
|
label: o.$t("orderInfo.address")
|
|
169
160
|
}, {
|
|
170
|
-
default:
|
|
171
|
-
m(
|
|
161
|
+
default: n(({ row: d }) => [
|
|
162
|
+
m(i(d.cityName) + i(d.detailInfo), 1)
|
|
172
163
|
]),
|
|
173
164
|
_: 1
|
|
174
165
|
}, 8, ["label"]),
|
|
175
|
-
t(
|
|
166
|
+
t(r, {
|
|
176
167
|
prop: "goodsNum",
|
|
177
168
|
label: o.$t("orderInfo.paperNumber"),
|
|
178
169
|
width: "100"
|
|
@@ -188,7 +179,7 @@ const ae = { class: "app-container" }, re = { class: "subscription-container" },
|
|
|
188
179
|
]);
|
|
189
180
|
};
|
|
190
181
|
}
|
|
191
|
-
}),
|
|
182
|
+
}), Ae = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-94114052"]]);
|
|
192
183
|
export {
|
|
193
|
-
|
|
184
|
+
Ae as default
|
|
194
185
|
};
|
|
@@ -3,9 +3,9 @@ import { useI18n as W } from "vue-i18n";
|
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { routerUtil as F } from "jmash-core";
|
|
5
5
|
import { useRouter as X, useRoute as Y } from "vue-router";
|
|
6
|
-
import { D as U } from "./index-
|
|
6
|
+
import { D as U } from "./index-BPKQNnjE.mjs";
|
|
7
7
|
import { l as Z } from "./index-DspCttgG.mjs";
|
|
8
|
-
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ee, u as le } from "./userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs";
|
|
9
9
|
import { E as oe } from "./el-message-VSzNakoG.mjs";
|
|
10
10
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const ae = { class: "app-container" }, ne = { class: "search-container" }, se = { class: "form-footer" }, re = /* @__PURE__ */ O({
|