xyvcard-paper-buyer 0.0.7 → 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/{applyEdit-u3SPAGEW.mjs → applyEdit-D38xp4fr.mjs} +1 -1
- package/dist/{index-CT0KG-ax.mjs → index-1iQKY0yJ.mjs} +512 -494
- package/dist/{index-0hEUyaRA.mjs → index-CG84xqTl.mjs} +103 -105
- package/dist/index.mjs +2 -2
- package/dist/{info-CVaS8hdZ.mjs → info-BRVKRWmR.mjs} +1 -1
- package/package.json +3 -3
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as
|
|
3
|
-
import { o as
|
|
4
|
-
import { useTableHooks as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { useRoute as
|
|
7
|
-
import { E as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as fe, ref as V, onActivated as ye, resolveComponent as p, resolveDirective as ve, createElementBlock as f, openBlock as i, createElementVNode as c, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as l, withDirectives as h, createCommentVNode as y, vShow as W, createBlock as $, isRef as j } from "vue";
|
|
2
|
+
import { D as m, C as w } from "./index-5MVT-ka0.mjs";
|
|
3
|
+
import { o as M } from "./index-1iQKY0yJ.mjs";
|
|
4
|
+
import { useTableHooks as be } from "jmash-core";
|
|
5
|
+
import { useI18n as we } from "vue-i18n";
|
|
6
|
+
import { useRoute as _e, useRouter as Ie } from "vue-router";
|
|
7
|
+
import { E as Q } from "./el-message-D5NtBelf.mjs";
|
|
8
|
+
const he = { class: "app-container" }, Ce = { class: "search-container dis_bottom" }, ge = { class: "total-num dis_bottom" }, Se = { class: "blue_color" }, ke = { class: "blue_color" }, Ne = { class: "blue_color" }, Ve = { key: 0 }, Pe = { key: 0 }, $e = { key: 1 }, Ee = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "distance-left"
|
|
11
|
-
},
|
|
11
|
+
}, Te = ["onClick"], De = ["onClick"], Ue = ["onClick"], qe = ["onClick"], Oe = ["onClick"], Le = ["onClick"], Ke = /* @__PURE__ */ fe({
|
|
12
12
|
__name: "index",
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const { t:
|
|
13
|
+
setup(Be) {
|
|
14
|
+
const K = _e(), q = localStorage.getItem("unionUserInfo"), F = (q ? JSON.parse(q) : {}).orgId;
|
|
15
|
+
m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
|
|
16
|
+
const O = void 0, { t: H } = we(), C = Ie(), d = V({
|
|
17
17
|
curPage: 1,
|
|
18
18
|
pageSize: 10,
|
|
19
|
-
shopBranchId:
|
|
19
|
+
shopBranchId: F
|
|
20
20
|
}), {
|
|
21
21
|
tableHooks: b,
|
|
22
|
-
multipleTableRef:
|
|
23
|
-
queryFormRef:
|
|
24
|
-
listLoading:
|
|
25
|
-
tableData:
|
|
22
|
+
multipleTableRef: G,
|
|
23
|
+
queryFormRef: J,
|
|
24
|
+
listLoading: X,
|
|
25
|
+
tableData: Z,
|
|
26
26
|
total: N
|
|
27
|
-
} =
|
|
28
|
-
function
|
|
27
|
+
} = be(H, M, d), E = b.totalRecord, T = V([]);
|
|
28
|
+
function x(t) {
|
|
29
29
|
d.value.startDate = t[0], d.value.endDate = t[1];
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function ee() {
|
|
32
32
|
T.value = [], d.value.startDate = "", d.value.endDate = "", b.resetQuery();
|
|
33
33
|
}
|
|
34
34
|
let k = V([
|
|
@@ -133,74 +133,72 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
133
133
|
isColumn: !0
|
|
134
134
|
}
|
|
135
135
|
]);
|
|
136
|
-
function
|
|
136
|
+
function oe(t) {
|
|
137
137
|
return t ? new Date(t).toLocaleString() : "";
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function L(t) {
|
|
140
140
|
t.mobileEncrypt = !t.mobileEncrypt;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function te(t) {
|
|
143
143
|
C.push({
|
|
144
144
|
path: "/buyer/order-info/info",
|
|
145
145
|
query: { orderId: t.orderId }
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function re(t) {
|
|
149
149
|
C.push({
|
|
150
150
|
path: "/buyer/order-info/invoice",
|
|
151
151
|
query: {
|
|
152
152
|
orderCode: t.orderCode,
|
|
153
|
-
|
|
154
|
-
shopId: "830a53a17aa3490dbd4b53f4d218af05"
|
|
153
|
+
shopId: O
|
|
155
154
|
}
|
|
156
155
|
});
|
|
157
156
|
}
|
|
158
|
-
function
|
|
157
|
+
function ae(t) {
|
|
159
158
|
C.push({
|
|
160
159
|
path: "/buyer/order-info/invoiceView",
|
|
161
160
|
query: {
|
|
162
161
|
orderCode: t.orderCode,
|
|
163
|
-
|
|
164
|
-
shopId: "830a53a17aa3490dbd4b53f4d218af05"
|
|
162
|
+
shopId: O
|
|
165
163
|
}
|
|
166
164
|
});
|
|
167
165
|
}
|
|
168
|
-
function
|
|
166
|
+
function ne(t) {
|
|
169
167
|
C.push({
|
|
170
168
|
path: "/buyer/order-newspaper/orderAddress",
|
|
171
169
|
query: { orderId: t.orderId }
|
|
172
170
|
});
|
|
173
171
|
}
|
|
174
|
-
const
|
|
175
|
-
async function
|
|
172
|
+
const B = V("");
|
|
173
|
+
async function le(t) {
|
|
176
174
|
try {
|
|
177
|
-
const o = await
|
|
175
|
+
const o = await M.pay({
|
|
178
176
|
orderId: t.orderId,
|
|
179
|
-
tenant:
|
|
177
|
+
tenant: K.query.tenant
|
|
180
178
|
});
|
|
181
|
-
console.log(o.data, "=>res "),
|
|
179
|
+
console.log(o.data, "=>res "), B.value = o.data.counterUrl, console.log(o.data.counterUrl, "=>counterUrl "), C.push({
|
|
182
180
|
path: "/buyer/order-newspaper/payment",
|
|
183
|
-
query: { orderId: t.orderId, counterUrl:
|
|
181
|
+
query: { orderId: t.orderId, counterUrl: B.value }
|
|
184
182
|
});
|
|
185
183
|
} catch (o) {
|
|
186
|
-
o instanceof Error ?
|
|
184
|
+
o instanceof Error ? Q.error("获取支付信息失败: " + o.message) : Q.error("获取支付信息失败,请稍后重试");
|
|
187
185
|
}
|
|
188
186
|
}
|
|
189
|
-
function
|
|
187
|
+
function de(t) {
|
|
190
188
|
C.push({
|
|
191
189
|
path: "/buyer/order-info/applyEdit",
|
|
192
190
|
query: { orderId: t.orderId }
|
|
193
191
|
});
|
|
194
192
|
}
|
|
195
|
-
return
|
|
193
|
+
return ye(() => {
|
|
196
194
|
b.getList();
|
|
197
195
|
}), (t, o) => {
|
|
198
|
-
const
|
|
199
|
-
return i(), f("div",
|
|
200
|
-
c("div",
|
|
201
|
-
n(
|
|
196
|
+
const z = p("el-input"), g = p("el-form-item"), v = p("el-col"), R = p("jmash-select"), ue = p("el-date-picker"), A = p("el-button"), D = p("el-row"), se = p("el-form"), ie = p("jmash-column-select"), U = p("el-tag"), Y = p("svg-icon"), pe = p("jmash-table"), me = p("jmash-pagination"), ce = p("el-card"), S = ve("hasPerm");
|
|
197
|
+
return i(), f("div", he, [
|
|
198
|
+
c("div", Ce, [
|
|
199
|
+
n(se, {
|
|
202
200
|
ref_key: "queryFormRef",
|
|
203
|
-
ref:
|
|
201
|
+
ref: J,
|
|
204
202
|
model: d.value,
|
|
205
203
|
inline: !0
|
|
206
204
|
}, {
|
|
@@ -214,7 +212,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
214
212
|
prop: "likeOrderCode"
|
|
215
213
|
}, {
|
|
216
214
|
default: r(() => [
|
|
217
|
-
n(
|
|
215
|
+
n(z, {
|
|
218
216
|
modelValue: d.value.likeOrderCode,
|
|
219
217
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeOrderCode = e),
|
|
220
218
|
placeholder: t.$t("orderInfo.orderCodeRequired"),
|
|
@@ -235,7 +233,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
235
233
|
prop: "likeSpuName"
|
|
236
234
|
}, {
|
|
237
235
|
default: r(() => [
|
|
238
|
-
n(
|
|
236
|
+
n(z, {
|
|
239
237
|
modelValue: d.value.likeSpuName,
|
|
240
238
|
"onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeSpuName = e),
|
|
241
239
|
placeholder: t.$t("orderInfo.spuNameRequired"),
|
|
@@ -256,10 +254,10 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
256
254
|
prop: "orderStatusPc"
|
|
257
255
|
}, {
|
|
258
256
|
default: r(() => [
|
|
259
|
-
n(
|
|
257
|
+
n(R, {
|
|
260
258
|
modelValue: d.value.orderStatusPc,
|
|
261
259
|
"onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.orderStatusPc = e),
|
|
262
|
-
data: a(
|
|
260
|
+
data: a(m).orderStatusEnum.values,
|
|
263
261
|
placeholder: t.$t("orderInfo.orderStatusRequired"),
|
|
264
262
|
clearable: "",
|
|
265
263
|
onKeyup: o[5] || (o[5] = P((e) => a(b).handleQuery(), ["enter"]))
|
|
@@ -277,10 +275,10 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
277
275
|
prop: "invoiceStatus"
|
|
278
276
|
}, {
|
|
279
277
|
default: r(() => [
|
|
280
|
-
n(
|
|
278
|
+
n(R, {
|
|
281
279
|
modelValue: d.value.invoiceStatus,
|
|
282
280
|
"onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.invoiceStatus = e),
|
|
283
|
-
data: a(
|
|
281
|
+
data: a(m).invoiceStatusEnum.values,
|
|
284
282
|
placeholder: t.$t("orderInfo.invoiceStatusRequired"),
|
|
285
283
|
clearable: "",
|
|
286
284
|
onKeyup: o[7] || (o[7] = P((e) => a(b).handleQuery(), ["enter"]))
|
|
@@ -298,7 +296,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
298
296
|
prop: "startCreateTime"
|
|
299
297
|
}, {
|
|
300
298
|
default: r(() => [
|
|
301
|
-
n(
|
|
299
|
+
n(ue, {
|
|
302
300
|
modelValue: T.value,
|
|
303
301
|
"onUpdate:modelValue": o[8] || (o[8] = (e) => T.value = e),
|
|
304
302
|
type: "daterange",
|
|
@@ -306,7 +304,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
306
304
|
"end-placeholder": t.$t("orderInfo.endCreateTime"),
|
|
307
305
|
format: "YYYY-MM-DD",
|
|
308
306
|
"value-format": "YYYY-MM-DD",
|
|
309
|
-
onChange:
|
|
307
|
+
onChange: x
|
|
310
308
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
311
309
|
]),
|
|
312
310
|
_: 1
|
|
@@ -318,7 +316,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
318
316
|
default: r(() => [
|
|
319
317
|
n(g, { class: "search-btn" }, {
|
|
320
318
|
default: r(() => [
|
|
321
|
-
n(
|
|
319
|
+
n(A, {
|
|
322
320
|
type: "primary",
|
|
323
321
|
onClick: o[9] || (o[9] = (e) => a(b).handleQuery())
|
|
324
322
|
}, {
|
|
@@ -327,7 +325,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
327
325
|
]),
|
|
328
326
|
_: 1
|
|
329
327
|
}),
|
|
330
|
-
n(
|
|
328
|
+
n(A, { onClick: ee }, {
|
|
331
329
|
default: r(() => [
|
|
332
330
|
u(l(t.$t("common.reset")), 1)
|
|
333
331
|
]),
|
|
@@ -346,13 +344,13 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
346
344
|
_: 1
|
|
347
345
|
}, 8, ["model"])
|
|
348
346
|
]),
|
|
349
|
-
c("div",
|
|
347
|
+
c("div", ge, [
|
|
350
348
|
n(D, { gutter: 20 }, {
|
|
351
349
|
default: r(() => [
|
|
352
350
|
n(v, { span: 4 }, {
|
|
353
351
|
default: r(() => [
|
|
354
352
|
o[15] || (o[15] = u("订阅单位:")),
|
|
355
|
-
c("span",
|
|
353
|
+
c("span", Se, l(a(E).totalUnit || 0), 1),
|
|
356
354
|
o[16] || (o[16] = u("家 "))
|
|
357
355
|
]),
|
|
358
356
|
_: 1,
|
|
@@ -361,7 +359,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
361
359
|
n(v, { span: 4 }, {
|
|
362
360
|
default: r(() => [
|
|
363
361
|
o[17] || (o[17] = u(" 订阅报刊:")),
|
|
364
|
-
c("span",
|
|
362
|
+
c("span", ke, l(a(E).totalQuantity || 0), 1),
|
|
365
363
|
o[18] || (o[18] = u("份 "))
|
|
366
364
|
]),
|
|
367
365
|
_: 1,
|
|
@@ -370,7 +368,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
370
368
|
n(v, { span: 4 }, {
|
|
371
369
|
default: r(() => [
|
|
372
370
|
o[19] || (o[19] = u("订购总金额:")),
|
|
373
|
-
c("span",
|
|
371
|
+
c("span", Ne, l(a(E).totalAmount || 0), 1),
|
|
374
372
|
o[20] || (o[20] = u("元 "))
|
|
375
373
|
]),
|
|
376
374
|
_: 1,
|
|
@@ -380,7 +378,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
380
378
|
_: 1
|
|
381
379
|
})
|
|
382
380
|
]),
|
|
383
|
-
n(
|
|
381
|
+
n(ce, {
|
|
384
382
|
shadow: "never",
|
|
385
383
|
class: "table-container"
|
|
386
384
|
}, {
|
|
@@ -392,9 +390,9 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
392
390
|
class: "container-float"
|
|
393
391
|
}, {
|
|
394
392
|
default: r(() => [
|
|
395
|
-
n(
|
|
393
|
+
n(ie, {
|
|
396
394
|
modelValue: a(k),
|
|
397
|
-
"onUpdate:modelValue": o[10] || (o[10] = (e) =>
|
|
395
|
+
"onUpdate:modelValue": o[10] || (o[10] = (e) => j(k) ? k.value = e : k = e),
|
|
398
396
|
"label-name": "paper-order/order-info"
|
|
399
397
|
}, null, 8, ["modelValue"])
|
|
400
398
|
]),
|
|
@@ -405,10 +403,10 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
405
403
|
})
|
|
406
404
|
]),
|
|
407
405
|
footer: r(() => [
|
|
408
|
-
a(N) > 0 ? (i(), $(
|
|
406
|
+
a(N) > 0 ? (i(), $(me, {
|
|
409
407
|
key: 0,
|
|
410
408
|
total: a(N),
|
|
411
|
-
"onUpdate:total": o[11] || (o[11] = (e) =>
|
|
409
|
+
"onUpdate:total": o[11] || (o[11] = (e) => j(N) ? N.value = e : null),
|
|
412
410
|
"current-page": d.value.curPage,
|
|
413
411
|
"onUpdate:currentPage": o[12] || (o[12] = (e) => d.value.curPage = e),
|
|
414
412
|
"page-size": d.value.pageSize,
|
|
@@ -417,41 +415,41 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
417
415
|
}, null, 8, ["total", "current-page", "page-size"])) : y("", !0)
|
|
418
416
|
]),
|
|
419
417
|
default: r(() => [
|
|
420
|
-
n(
|
|
418
|
+
n(pe, {
|
|
421
419
|
ref_key: "multipleTableRef",
|
|
422
|
-
ref:
|
|
420
|
+
ref: G,
|
|
423
421
|
"row-key": "orderId",
|
|
424
|
-
"list-loading": a(
|
|
425
|
-
data: a(
|
|
422
|
+
"list-loading": a(X),
|
|
423
|
+
data: a(Z),
|
|
426
424
|
"table-label": a(k),
|
|
427
425
|
isSelection: !1
|
|
428
426
|
}, {
|
|
429
427
|
createTime: r((e) => [
|
|
430
|
-
c("span", null, l(
|
|
428
|
+
c("span", null, l(oe(e.data.row.createTime)), 1)
|
|
431
429
|
]),
|
|
432
430
|
spuName: r((e) => {
|
|
433
|
-
var s,
|
|
431
|
+
var s, _, I;
|
|
434
432
|
return [
|
|
435
|
-
c("span", null, l((
|
|
433
|
+
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.spuName), 1)
|
|
436
434
|
];
|
|
437
435
|
}),
|
|
438
436
|
quantity: r((e) => {
|
|
439
|
-
var s,
|
|
437
|
+
var s, _, I;
|
|
440
438
|
return [
|
|
441
|
-
c("span", null, l((
|
|
439
|
+
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.quantity), 1)
|
|
442
440
|
];
|
|
443
441
|
}),
|
|
444
442
|
unitPrice: r((e) => {
|
|
445
|
-
var s,
|
|
443
|
+
var s, _, I;
|
|
446
444
|
return [
|
|
447
|
-
c("span", null, l((
|
|
445
|
+
c("span", null, l((I = (_ = (s = e.data.row.orderItemList) == null ? void 0 : s.results) == null ? void 0 : _[0]) == null ? void 0 : I.salesPrice), 1)
|
|
448
446
|
];
|
|
449
447
|
}),
|
|
450
448
|
orderCycle: r((e) => [
|
|
451
|
-
e.data.row.remark !== "undefined至undefined" ? (i(), f("span",
|
|
449
|
+
e.data.row.remark !== "undefined至undefined" ? (i(), f("span", Ve, l(e.data.row.remark), 1)) : y("", !0)
|
|
452
450
|
]),
|
|
453
451
|
unitName: r((e) => [
|
|
454
|
-
c("span", null, l(a(
|
|
452
|
+
c("span", null, l(a(m).unionOrgBizLayDict.getValue(e.data.row.shopBrancheId)), 1)
|
|
455
453
|
]),
|
|
456
454
|
orderStatus: r((e) => [
|
|
457
455
|
c("div", null, [
|
|
@@ -460,7 +458,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
460
458
|
type: "danger"
|
|
461
459
|
}, {
|
|
462
460
|
default: r(() => [
|
|
463
|
-
u(l(a(
|
|
461
|
+
u(l(a(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
464
462
|
]),
|
|
465
463
|
_: 2
|
|
466
464
|
}, 1024)) : y("", !0),
|
|
@@ -469,7 +467,7 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
469
467
|
type: "warning"
|
|
470
468
|
}, {
|
|
471
469
|
default: r(() => [
|
|
472
|
-
u(l(a(
|
|
470
|
+
u(l(a(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
473
471
|
]),
|
|
474
472
|
_: 2
|
|
475
473
|
}, 1024)) : y("", !0),
|
|
@@ -478,93 +476,93 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
478
476
|
type: "success"
|
|
479
477
|
}, {
|
|
480
478
|
default: r(() => [
|
|
481
|
-
u(l(a(
|
|
479
|
+
u(l(a(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
|
|
482
480
|
]),
|
|
483
481
|
_: 2
|
|
484
482
|
}, 1024)) : y("", !0)
|
|
485
483
|
])
|
|
486
484
|
]),
|
|
487
485
|
paymentWay: r((e) => [
|
|
488
|
-
c("span", null, l(a(
|
|
486
|
+
c("span", null, l(a(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
|
|
489
487
|
]),
|
|
490
488
|
invoiceStatus: r((e) => [
|
|
491
|
-
u(l(a(
|
|
489
|
+
u(l(a(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
|
|
492
490
|
]),
|
|
493
491
|
mobilePhone: r((e) => [
|
|
494
|
-
e.data.row.mobileEncrypt ? (i(), f("span",
|
|
492
|
+
e.data.row.mobileEncrypt ? (i(), f("span", $e, l(a(m).unionOrgPhoneBizLayDict.getValue(
|
|
495
493
|
e.data.row.shopBrancheId
|
|
496
|
-
)), 1)) : (i(), f("span",
|
|
494
|
+
)), 1)) : (i(), f("span", Pe, l(a(m).unionOrgPhoneInsBizLayDict.getValue(
|
|
497
495
|
e.data.row.shopBrancheId
|
|
498
496
|
)), 1)),
|
|
499
|
-
a(
|
|
497
|
+
a(m).unionOrgPhoneBizLayDict.getValue(
|
|
500
498
|
e.data.row.shopBrancheId
|
|
501
|
-
) ? (i(), f("span",
|
|
502
|
-
h(n(
|
|
499
|
+
) ? (i(), f("span", Ee, [
|
|
500
|
+
h(n(Y, {
|
|
503
501
|
"icon-class": "close-eye",
|
|
504
|
-
onClick: (s) =>
|
|
502
|
+
onClick: (s) => L(e.data.row)
|
|
505
503
|
}, null, 8, ["onClick"]), [
|
|
506
|
-
[
|
|
504
|
+
[W, !e.data.row.mobileEncrypt]
|
|
507
505
|
]),
|
|
508
|
-
h(n(
|
|
506
|
+
h(n(Y, {
|
|
509
507
|
"icon-class": "eye-open",
|
|
510
|
-
onClick: (s) =>
|
|
508
|
+
onClick: (s) => L(e.data.row)
|
|
511
509
|
}, null, 8, ["onClick"]), [
|
|
512
|
-
[
|
|
510
|
+
[W, e.data.row.mobileEncrypt]
|
|
513
511
|
])
|
|
514
512
|
])) : y("", !0)
|
|
515
513
|
]),
|
|
516
514
|
operation: r((e) => [
|
|
517
515
|
h((i(), f("span", {
|
|
518
516
|
class: "el-button-color",
|
|
519
|
-
onClick: (s) =>
|
|
517
|
+
onClick: (s) => te(e.data.row)
|
|
520
518
|
}, [
|
|
521
519
|
u(l(t.$t("common.view")), 1)
|
|
522
|
-
], 8,
|
|
520
|
+
], 8, Te)), [
|
|
523
521
|
[S, ["order:order_info:view"]]
|
|
524
522
|
]),
|
|
525
523
|
e.data.row.invoiceStatus === a(w).UNINVOICE && e.data.row.orderStatus === a(w).COMPLETE ? h((i(), f("span", {
|
|
526
524
|
key: 0,
|
|
527
525
|
class: "el-button-color dropdown-left",
|
|
528
|
-
onClick: (s) =>
|
|
526
|
+
onClick: (s) => de(e.data.row)
|
|
529
527
|
}, [
|
|
530
528
|
u(l(t.$t("orderInfo.apply")), 1)
|
|
531
|
-
], 8,
|
|
529
|
+
], 8, De)), [
|
|
532
530
|
[S, ["order:order_info:view"]]
|
|
533
531
|
]) : y("", !0),
|
|
534
532
|
e.data.row.invoiceStatus === a(w).INVOICING ? h((i(), f("span", {
|
|
535
533
|
key: 1,
|
|
536
534
|
class: "el-button-color dropdown-left",
|
|
537
|
-
onClick: (s) =>
|
|
535
|
+
onClick: (s) => re(e.data.row)
|
|
538
536
|
}, [
|
|
539
537
|
u(l(t.$t("orderInfo.invoiceInformation")), 1)
|
|
540
|
-
], 8,
|
|
538
|
+
], 8, Ue)), [
|
|
541
539
|
[S, ["order:order_info:view"]]
|
|
542
540
|
]) : y("", !0),
|
|
543
541
|
e.data.row.orderStatus === a(w).UNPAY ? h((i(), f("span", {
|
|
544
542
|
key: 2,
|
|
545
543
|
class: "el-button-color dropdown-left",
|
|
546
|
-
onClick: (s) =>
|
|
544
|
+
onClick: (s) => le(e.data.row)
|
|
547
545
|
}, [
|
|
548
546
|
u(l(t.$t("orderInfo.payment")), 1)
|
|
549
|
-
], 8,
|
|
547
|
+
], 8, qe)), [
|
|
550
548
|
[S, ["order:order_info:view"]]
|
|
551
549
|
]) : y("", !0),
|
|
552
550
|
e.data.row.orderStatus === a(w).UNPOST ? h((i(), f("span", {
|
|
553
551
|
key: 3,
|
|
554
552
|
class: "el-button-color dropdown-left",
|
|
555
|
-
onClick: (s) =>
|
|
553
|
+
onClick: (s) => ne(e.data.row)
|
|
556
554
|
}, [
|
|
557
555
|
u(l(t.$t("orderInfo.assignAddress")), 1)
|
|
558
|
-
], 8,
|
|
556
|
+
], 8, Oe)), [
|
|
559
557
|
[S, ["order:order_info:view"]]
|
|
560
558
|
]) : y("", !0),
|
|
561
559
|
e.data.row.invoiceStatus === a(w).INVOICED ? h((i(), f("span", {
|
|
562
560
|
key: 4,
|
|
563
561
|
class: "el-button-color dropdown-left",
|
|
564
|
-
onClick: (s) =>
|
|
562
|
+
onClick: (s) => ae(e.data.row)
|
|
565
563
|
}, [
|
|
566
564
|
u(l(t.$t("orderInfo.viewInvoice")), 1)
|
|
567
|
-
], 8,
|
|
565
|
+
], 8, Le)), [
|
|
568
566
|
[S, ["order:order_info:view"]]
|
|
569
567
|
]) : y("", !0)
|
|
570
568
|
]),
|
|
@@ -578,5 +576,5 @@ const _e = { class: "app-container" }, he = { class: "search-container dis_botto
|
|
|
578
576
|
}
|
|
579
577
|
});
|
|
580
578
|
export {
|
|
581
|
-
|
|
579
|
+
Ke as default
|
|
582
580
|
};
|
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-_2Kq65vV.mjs"), w = () => import("./payment-BcsD4Glh.mjs"), q = () => import("./orderAddress-ByTTzFrR.mjs"), D = () => import("./invoice-DG1zDaqb.mjs"), N = () => import("./invoiceView-Cshwyw3t.mjs"), z = () => import("./applyEdit-
|
|
363
|
+
const R = () => import("./index-DSwrPGyq.mjs"), P = () => import("./orderPaper-_2Kq65vV.mjs"), w = () => import("./payment-BcsD4Glh.mjs"), q = () => import("./orderAddress-ByTTzFrR.mjs"), D = () => import("./invoice-DG1zDaqb.mjs"), N = () => import("./invoiceView-Cshwyw3t.mjs"), z = () => import("./applyEdit-D38xp4fr.mjs"), x = () => import("./info-BRVKRWmR.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-_
|
|
|
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-D38xp4fr.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CG84xqTl.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BRVKRWmR.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-DG1zDaqb.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-CvwEEzhX.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-25fhb-Uj.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-CCsRE3bA.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-ByTTzFrR.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-_2Kq65vV.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-DT79EUCr.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-BmhkFkvJ.mjs") }), M = {
|
|
517
517
|
install(e) {
|
|
518
518
|
c(S, 7), l(t), v(f);
|
|
519
519
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as X, ref as U, onMounted as Y, resolveComponent as i, createElementBlock as Z, openBlock as L, createVNode as t, withCtx as l, createElementVNode as e, unref as m, toDisplayString as s, createBlock as x, createCommentVNode as ee, createTextVNode as u } from "vue";
|
|
2
2
|
import { D as S } from "./index-5MVT-ka0.mjs";
|
|
3
|
-
import { o as O } from "./index-
|
|
3
|
+
import { o as O } from "./index-1iQKY0yJ.mjs";
|
|
4
4
|
import { fileApi as W, routerUtil as oe } from "jmash-core";
|
|
5
5
|
import { useRouter as te, useRoute as le } from "vue-router";
|
|
6
6
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-paper-buyer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"pinia": "^2.1.7",
|
|
26
26
|
"element-plus": "^2.7.5",
|
|
27
27
|
"axios": "^1.6.7",
|
|
28
|
-
"jmash-core": "^0.1.
|
|
28
|
+
"jmash-core": "^0.1.11",
|
|
29
29
|
"jmash-dict": "^0.1.2",
|
|
30
30
|
"jmash-rbac": "^0.1.17",
|
|
31
31
|
"jmash-region": "^0.1.0",
|
|
32
32
|
"xyvcard-union": "^0.0.82",
|
|
33
|
-
"xyvcard-paper-union": "^0.0.
|
|
33
|
+
"xyvcard-paper-union": "^0.0.13"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@rushstack/eslint-patch": "^1.3.3",
|