xyvcard-settle 0.0.46 → 0.0.48
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/{history-DCwgJuDo.mjs → history-BxhHHLWl.mjs} +1 -1
- package/dist/{history-DwIGzL72.mjs → history-DV6dRTjD.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs +403 -0
- package/dist/{index-yQjjxDcA.mjs → index-1jun1BI_.mjs} +1 -1
- package/dist/index-B4SCq7KH.mjs +33 -0
- package/dist/{index-d-nHEHMj.mjs → index-BCg9UNFw.mjs} +76 -70
- package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-BOrI7JtW.mjs → index-C2M_dK36.mjs} +51 -51
- package/dist/{index-BpX-ZCaL.mjs → index-C4pzKlKF.mjs} +3 -2
- package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
- package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
- package/dist/{index-UPAK9M6D.mjs → index-CgbOnDFk.mjs} +1 -1
- package/dist/{index-DSAnrTJ1.mjs → index-CiDstsD9.mjs} +1 -1
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B65gCM1w.mjs → index-D4jXgbZE.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
- package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-CLfowatL.mjs → today-CryQp8d6.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-raAsbnbG.mjs} +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs +374 -0
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs} +1 -1
- package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +1 -0
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +62 -62
- package/dist/history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs +0 -365
- package/dist/index-B8Y2esGZ.mjs +0 -49
- package/dist/today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs +0 -308
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { useUserStore as P, clearEmpty as
|
|
5
|
-
import { tokenExt as
|
|
6
|
-
import { D as y, C as I } from "./index-
|
|
7
|
-
import { g as
|
|
8
|
-
import { g as
|
|
9
|
-
class
|
|
1
|
+
import { defineComponent as ee, getCurrentInstance as ae, ref as A, onActivated as te, resolveComponent as T, createElementBlock as le, openBlock as M, createElementVNode as b, createVNode as a, withCtx as t, withKeys as v, unref as o, createBlock as D, createCommentVNode as z, withDirectives as oe, vShow as re, createTextVNode as n, toDisplayString as u, isRef as B } from "vue";
|
|
2
|
+
import { useI18n as de } from "vue-i18n";
|
|
3
|
+
import { useRoute as ne, useRouter as se } from "vue-router";
|
|
4
|
+
import { useUserStore as P, clearEmpty as ue, request as pe, useTableHooks as me } from "jmash-core";
|
|
5
|
+
import { tokenExt as ie } from "xyvcard-agent";
|
|
6
|
+
import { D as y, C as I } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { g as ye } from "./merchant-D9rtENQd.mjs";
|
|
8
|
+
import { g as fe } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
class Te {
|
|
10
10
|
getKey(p) {
|
|
11
11
|
return {
|
|
12
12
|
billId: p.billId
|
|
@@ -15,22 +15,22 @@ class ye {
|
|
|
15
15
|
// 查询翻页信息支付订单
|
|
16
16
|
findPage(p) {
|
|
17
17
|
const C = P().user.tenant;
|
|
18
|
-
return p && (p.hasOrderStatus = p.orderStatus !== void 0, p.hasBillsStatus = p.billsStatus !== void 0, p.hasTradeType = p.tradeType !== void 0, p.hasPayMode = p.payMode !== void 0, p.hasTradeStatus = p.tradeStatus !== void 0),
|
|
18
|
+
return p && (p.hasOrderStatus = p.orderStatus !== void 0, p.hasBillsStatus = p.billsStatus !== void 0, p.hasTradeType = p.tradeType !== void 0, p.hasPayMode = p.payMode !== void 0, p.hasTradeStatus = p.tradeStatus !== void 0), ue(p), pe({
|
|
19
19
|
url: "/v1/payment/trade/page/" + C,
|
|
20
20
|
method: "get",
|
|
21
21
|
params: p
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ce = { class: "total-num" }, ce = { class: "blue_color" }, we = { class: "blue_color" }, Ve = { class: "blue_color" }, Ne = { class: "blue_color" }, $e = { class: "blue_color" }, Se = { class: "blue_color" }, Me = { class: "blue_color" }, Re = { class: "blue_color" }, Pe = /* @__PURE__ */ ee({
|
|
26
26
|
__name: "index",
|
|
27
27
|
setup(U) {
|
|
28
28
|
y.instsBizDict.useValues(), y.agentBizDict.useValues(), y.agentAgreeBizDict.useValues(), y.merchantBizDict.useValues();
|
|
29
|
-
const { t: p } =
|
|
30
|
-
tokenExt:
|
|
31
|
-
}),
|
|
32
|
-
function
|
|
33
|
-
|
|
29
|
+
const { t: p } = de(), { proxy: C } = ae(), N = ne(), E = se(), h = N.query.tenant, d = A({
|
|
30
|
+
tokenExt: ie.getTokenExt(P().user.tenant)
|
|
31
|
+
}), $ = A([]);
|
|
32
|
+
function Q(r) {
|
|
33
|
+
$.value = r, d.value.startCreateTime = C.$moment.formatDate(
|
|
34
34
|
r[0],
|
|
35
35
|
I.RPC_FORMAT_TIME
|
|
36
36
|
), d.value.endCreateTime = C.$moment.formatDate(
|
|
@@ -40,13 +40,13 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
40
40
|
}
|
|
41
41
|
const {
|
|
42
42
|
tableHooks: m,
|
|
43
|
-
multipleTableRef:
|
|
44
|
-
queryFormRef:
|
|
45
|
-
listLoading:
|
|
46
|
-
tableData:
|
|
43
|
+
multipleTableRef: Y,
|
|
44
|
+
queryFormRef: K,
|
|
45
|
+
listLoading: j,
|
|
46
|
+
tableData: O,
|
|
47
47
|
total: R
|
|
48
|
-
} =
|
|
49
|
-
let g = m.totalRecord,
|
|
48
|
+
} = me(p, be, d);
|
|
49
|
+
let g = m.totalRecord, S = A([
|
|
50
50
|
// 序号
|
|
51
51
|
{
|
|
52
52
|
label: "payTrade.index",
|
|
@@ -217,31 +217,36 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
217
217
|
isColumn: !0
|
|
218
218
|
}
|
|
219
219
|
]);
|
|
220
|
-
function
|
|
220
|
+
function F(r) {
|
|
221
221
|
m.selectionRows.value = r;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function H(r) {
|
|
224
224
|
m.handleSort(r.prop, r.order);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
|
|
226
|
+
function L() {
|
|
227
|
+
$.value = [], E.replace({
|
|
228
|
+
query: {}
|
|
229
|
+
}), m.resetQuery();
|
|
228
230
|
}
|
|
229
|
-
return
|
|
230
|
-
const r =
|
|
231
|
-
d.value.agentCode =
|
|
231
|
+
return te(() => {
|
|
232
|
+
const r = N.query.analysisTime;
|
|
233
|
+
d.value.agentCode = N.query.agentCode, d.value.merchantId = N.query.merchantId, d.value.tradeStatus = N.query.tradeStatus, r && (d.value.startCreateTime = C.$moment.formatDate(
|
|
232
234
|
r,
|
|
233
235
|
I.RPC_FORMAT_TIME
|
|
234
236
|
), d.value.endCreateTime = C.$moment.formatDate(
|
|
235
237
|
r,
|
|
236
238
|
I.RPC_FORMAT_TIME
|
|
237
|
-
)
|
|
239
|
+
), $.value = [
|
|
240
|
+
d.value.startCreateTime,
|
|
241
|
+
d.value.endCreateTime
|
|
242
|
+
]), m.getList();
|
|
238
243
|
}), (r, e) => {
|
|
239
|
-
const k =
|
|
240
|
-
return
|
|
241
|
-
|
|
242
|
-
a(
|
|
244
|
+
const k = T("el-input"), f = T("el-form-item"), s = T("el-col"), c = T("jmash-select"), w = T("el-row"), W = T("el-tree-select"), Z = T("el-date-picker"), _ = T("el-button"), q = T("el-form"), G = T("jmash-column-select"), J = T("jmash-table"), X = T("jmash-pagination"), x = T("el-card");
|
|
245
|
+
return M(), le("div", ve, [
|
|
246
|
+
b("div", ge, [
|
|
247
|
+
a(q, {
|
|
243
248
|
ref_key: "queryFormRef",
|
|
244
|
-
ref:
|
|
249
|
+
ref: K,
|
|
245
250
|
model: d.value,
|
|
246
251
|
inline: !0,
|
|
247
252
|
"label-width": "6em"
|
|
@@ -408,7 +413,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
408
413
|
]),
|
|
409
414
|
_: 1
|
|
410
415
|
}),
|
|
411
|
-
(l = o(h)) != null && l.includes("@") ? (
|
|
416
|
+
(l = o(h)) != null && l.includes("@") ? (M(), D(s, {
|
|
412
417
|
key: 1,
|
|
413
418
|
span: 6
|
|
414
419
|
}, {
|
|
@@ -433,16 +438,17 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
433
438
|
}, 8, ["label"])
|
|
434
439
|
]),
|
|
435
440
|
_: 1
|
|
436
|
-
})) : (
|
|
441
|
+
})) : (M(), D(s, {
|
|
437
442
|
key: 0,
|
|
438
443
|
span: 6
|
|
439
444
|
}, {
|
|
440
445
|
default: t(() => [
|
|
441
446
|
a(f, {
|
|
442
|
-
label: r.$t("settleTradeAnalysis.agentName")
|
|
447
|
+
label: r.$t("settleTradeAnalysis.agentName"),
|
|
448
|
+
prop: "agentCode"
|
|
443
449
|
}, {
|
|
444
450
|
default: t(() => [
|
|
445
|
-
a(
|
|
451
|
+
a(W, {
|
|
446
452
|
modelValue: d.value.agentCode,
|
|
447
453
|
"onUpdate:modelValue": e[14] || (e[14] = (i) => d.value.agentCode = i),
|
|
448
454
|
data: o(y).agentAgreeBizDict.values,
|
|
@@ -466,7 +472,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
466
472
|
default: t(() => {
|
|
467
473
|
var l, i;
|
|
468
474
|
return [
|
|
469
|
-
(l = o(h)) != null && l.includes("@") ? z("", !0) : (
|
|
475
|
+
(l = o(h)) != null && l.includes("@") ? z("", !0) : (M(), D(s, {
|
|
470
476
|
key: 0,
|
|
471
477
|
span: 6
|
|
472
478
|
}, {
|
|
@@ -499,21 +505,21 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
499
505
|
prop: "startCreateTime"
|
|
500
506
|
}, {
|
|
501
507
|
default: t(() => [
|
|
502
|
-
a(
|
|
503
|
-
modelValue:
|
|
504
|
-
"onUpdate:modelValue": e[19] || (e[19] = (V) =>
|
|
508
|
+
a(Z, {
|
|
509
|
+
modelValue: $.value,
|
|
510
|
+
"onUpdate:modelValue": e[19] || (e[19] = (V) => $.value = V),
|
|
505
511
|
type: "daterange",
|
|
506
512
|
"start-placeholder": r.$t("payTrade.startCreateTime"),
|
|
507
513
|
"end-placeholder": r.$t("payTrade.endCreateTime"),
|
|
508
|
-
onChange:
|
|
514
|
+
onChange: Q,
|
|
509
515
|
format: "YYYY-MM-DD",
|
|
510
516
|
"value-format": "YYYY-MM-DDTHH:mm:ssZ"
|
|
511
517
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
512
518
|
]),
|
|
513
519
|
_: 1
|
|
514
520
|
}, 8, ["label"]),
|
|
515
|
-
|
|
516
|
-
[
|
|
521
|
+
oe(a(f, { prop: "endCreateTime" }, null, 512), [
|
|
522
|
+
[re, !1]
|
|
517
523
|
])
|
|
518
524
|
]),
|
|
519
525
|
_: 1
|
|
@@ -534,7 +540,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
534
540
|
_: 1
|
|
535
541
|
}),
|
|
536
542
|
a(_, {
|
|
537
|
-
onClick: e[21] || (e[21] = (V) =>
|
|
543
|
+
onClick: e[21] || (e[21] = (V) => L())
|
|
538
544
|
}, {
|
|
539
545
|
default: t(() => [
|
|
540
546
|
n(u(r.$t("common.reset")), 1)
|
|
@@ -554,9 +560,9 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
554
560
|
]),
|
|
555
561
|
_: 1
|
|
556
562
|
}, 8, ["model"]),
|
|
557
|
-
e[27] || (e[27] =
|
|
563
|
+
e[27] || (e[27] = b("div", { class: "clear" }, null, -1))
|
|
558
564
|
]),
|
|
559
|
-
a(
|
|
565
|
+
a(x, {
|
|
560
566
|
shadow: "never",
|
|
561
567
|
class: "table-container"
|
|
562
568
|
}, {
|
|
@@ -569,8 +575,8 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
569
575
|
}, {
|
|
570
576
|
default: t(() => [
|
|
571
577
|
a(G, {
|
|
572
|
-
modelValue: o(
|
|
573
|
-
"onUpdate:modelValue": e[22] || (e[22] = (l) => B(
|
|
578
|
+
modelValue: o(S),
|
|
579
|
+
"onUpdate:modelValue": e[22] || (e[22] = (l) => B(S) ? S.value = l : S = l),
|
|
574
580
|
"label-name": "settle/settle-trade-analysis"
|
|
575
581
|
}, null, 8, ["modelValue"])
|
|
576
582
|
]),
|
|
@@ -581,7 +587,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
581
587
|
})
|
|
582
588
|
]),
|
|
583
589
|
footer: t(() => [
|
|
584
|
-
o(R) > 0 ? (
|
|
590
|
+
o(R) > 0 ? (M(), D(X, {
|
|
585
591
|
key: 0,
|
|
586
592
|
total: o(R),
|
|
587
593
|
"onUpdate:total": e[23] || (e[23] = (l) => B(R) ? R.value = l : null),
|
|
@@ -593,13 +599,13 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
593
599
|
}, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
|
|
594
600
|
]),
|
|
595
601
|
default: t(() => [
|
|
596
|
-
|
|
602
|
+
b("div", Ce, [
|
|
597
603
|
a(w, { gutter: 20 }, {
|
|
598
604
|
default: t(() => [
|
|
599
605
|
a(s, { span: 5 }, {
|
|
600
606
|
default: t(() => [
|
|
601
607
|
e[28] || (e[28] = n(" 订单笔数: ")),
|
|
602
|
-
|
|
608
|
+
b("span", ce, u(o(g).totalSize), 1),
|
|
603
609
|
e[29] || (e[29] = n(" 笔 "))
|
|
604
610
|
]),
|
|
605
611
|
_: 1
|
|
@@ -607,7 +613,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
607
613
|
a(s, { span: 5 }, {
|
|
608
614
|
default: t(() => [
|
|
609
615
|
e[30] || (e[30] = n(" 订单金额: ")),
|
|
610
|
-
|
|
616
|
+
b("span", we, u(o(g).totalAmount), 1),
|
|
611
617
|
e[31] || (e[31] = n(" 元 "))
|
|
612
618
|
]),
|
|
613
619
|
_: 1
|
|
@@ -615,7 +621,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
615
621
|
a(s, { span: 5 }, {
|
|
616
622
|
default: t(() => [
|
|
617
623
|
e[32] || (e[32] = n(" 优惠金额: ")),
|
|
618
|
-
|
|
624
|
+
b("span", Ve, u(o(g).discountAmount), 1),
|
|
619
625
|
e[33] || (e[33] = n(" 元 "))
|
|
620
626
|
]),
|
|
621
627
|
_: 1
|
|
@@ -623,7 +629,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
623
629
|
a(s, { span: 5 }, {
|
|
624
630
|
default: t(() => [
|
|
625
631
|
e[34] || (e[34] = n(" 交易金额: ")),
|
|
626
|
-
|
|
632
|
+
b("span", Ne, u(o(g).tradeAmount), 1),
|
|
627
633
|
e[35] || (e[35] = n(" 元 "))
|
|
628
634
|
]),
|
|
629
635
|
_: 1
|
|
@@ -639,7 +645,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
639
645
|
a(s, { span: 5 }, {
|
|
640
646
|
default: t(() => [
|
|
641
647
|
e[36] || (e[36] = n(" 收款笔数: ")),
|
|
642
|
-
|
|
648
|
+
b("span", $e, u(o(g).paidOrder), 1),
|
|
643
649
|
e[37] || (e[37] = n(" 笔 "))
|
|
644
650
|
]),
|
|
645
651
|
_: 1
|
|
@@ -647,7 +653,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
647
653
|
a(s, { span: 5 }, {
|
|
648
654
|
default: t(() => [
|
|
649
655
|
e[38] || (e[38] = n(" 收款金额: ")),
|
|
650
|
-
|
|
656
|
+
b("span", Se, u(o(g).paidAmount), 1),
|
|
651
657
|
e[39] || (e[39] = n(" 元 "))
|
|
652
658
|
]),
|
|
653
659
|
_: 1
|
|
@@ -655,7 +661,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
655
661
|
a(s, { span: 5 }, {
|
|
656
662
|
default: t(() => [
|
|
657
663
|
e[40] || (e[40] = n(" 退款笔数: ")),
|
|
658
|
-
|
|
664
|
+
b("span", Me, u(o(g).refundOrder), 1),
|
|
659
665
|
e[41] || (e[41] = n(" 笔 "))
|
|
660
666
|
]),
|
|
661
667
|
_: 1
|
|
@@ -663,7 +669,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
663
669
|
a(s, { span: 5 }, {
|
|
664
670
|
default: t(() => [
|
|
665
671
|
e[42] || (e[42] = n(" 退款金额: ")),
|
|
666
|
-
|
|
672
|
+
b("span", Re, u(o(g).refundAmount), 1),
|
|
667
673
|
e[43] || (e[43] = n(" 元 "))
|
|
668
674
|
]),
|
|
669
675
|
_: 1
|
|
@@ -674,14 +680,14 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
674
680
|
]),
|
|
675
681
|
a(J, {
|
|
676
682
|
ref_key: "multipleTableRef",
|
|
677
|
-
ref:
|
|
683
|
+
ref: Y,
|
|
678
684
|
"row-key": "payTradePk",
|
|
679
685
|
isSelection: !1,
|
|
680
|
-
"list-loading": o(
|
|
681
|
-
data: o(
|
|
682
|
-
"table-label": o(
|
|
683
|
-
onSelectionChange:
|
|
684
|
-
onSortChange:
|
|
686
|
+
"list-loading": o(j),
|
|
687
|
+
data: o(O),
|
|
688
|
+
"table-label": o(S),
|
|
689
|
+
onSelectionChange: F,
|
|
690
|
+
onSortChange: H
|
|
685
691
|
}, {
|
|
686
692
|
feeRatePct: t((l) => [
|
|
687
693
|
n(u(l.data.row.feeRatePct) + "% ", 1)
|
|
@@ -699,7 +705,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
699
705
|
n(u(o(y).payModeBizDict.getEnumValue(l.data.row.payMode)), 1)
|
|
700
706
|
]),
|
|
701
707
|
merchantId: t((l) => [
|
|
702
|
-
n(u(o(
|
|
708
|
+
n(u(o(ye)(l.data.row.merchantId)), 1)
|
|
703
709
|
]),
|
|
704
710
|
tradeTime: t((l) => [
|
|
705
711
|
n(u(o(C).$moment.formatDate(
|
|
@@ -708,7 +714,7 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
708
714
|
)), 1)
|
|
709
715
|
]),
|
|
710
716
|
agentCode: t((l) => [
|
|
711
|
-
n(u(o(
|
|
717
|
+
n(u(o(fe)(l.data.row.agentCode)), 1)
|
|
712
718
|
]),
|
|
713
719
|
_: 1
|
|
714
720
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -720,5 +726,5 @@ const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-cont
|
|
|
720
726
|
}
|
|
721
727
|
});
|
|
722
728
|
export {
|
|
723
|
-
|
|
729
|
+
Pe as default
|
|
724
730
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as X, ref as
|
|
1
|
+
import { defineComponent as X, ref as M, onActivated as x, resolveComponent as p, resolveDirective as ee, createElementBlock as S, openBlock as v, createElementVNode as b, createVNode as t, withCtx as l, withKeys as c, unref as n, createBlock as k, createCommentVNode as I, withDirectives as R, vShow as te, createTextVNode as r, toDisplayString as i, isRef as z } from "vue";
|
|
2
2
|
import { useRoute as le, useRouter as ae } from "vue-router";
|
|
3
3
|
import { useI18n as ne } from "vue-i18n";
|
|
4
4
|
import { useUserStore as U, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
|
|
5
5
|
import { tokenExt as de } from "xyvcard-agent";
|
|
6
|
-
import { D as f } from "./index-
|
|
7
|
-
import { DateRange as
|
|
8
|
-
import { g as
|
|
9
|
-
import { g as
|
|
10
|
-
class
|
|
6
|
+
import { D as f, C as ue } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { DateRange as ie } from "xyvcard-insts";
|
|
8
|
+
import { g as me } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
import { g as pe } from "./merchant-D9rtENQd.mjs";
|
|
10
|
+
class ye {
|
|
11
11
|
getKey(T) {
|
|
12
12
|
return {
|
|
13
13
|
analysisTime: T.analysisTime,
|
|
@@ -24,22 +24,22 @@ class pe {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-container" }, ve = { class: "total-num" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, we = ["onClick"], Re = /* @__PURE__ */ X({
|
|
28
28
|
__name: "index",
|
|
29
29
|
setup(B) {
|
|
30
30
|
const { t: T } = ne();
|
|
31
31
|
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
32
|
-
const N = le().query.tenant, E = ae(), s =
|
|
32
|
+
const N = le().query.tenant, E = ae(), s = M({
|
|
33
33
|
tokenExt: de.getTokenExt(U().user.tenant)
|
|
34
34
|
}), {
|
|
35
35
|
tableHooks: u,
|
|
36
|
-
multipleTableRef:
|
|
37
|
-
queryFormRef:
|
|
38
|
-
listLoading:
|
|
39
|
-
tableData:
|
|
40
|
-
total:
|
|
41
|
-
} = re(T,
|
|
42
|
-
let g = u.totalRecord, A =
|
|
36
|
+
multipleTableRef: P,
|
|
37
|
+
queryFormRef: Q,
|
|
38
|
+
listLoading: Y,
|
|
39
|
+
tableData: j,
|
|
40
|
+
total: w
|
|
41
|
+
} = re(T, fe, s);
|
|
42
|
+
let g = u.totalRecord, A = M([
|
|
43
43
|
// 序号
|
|
44
44
|
{
|
|
45
45
|
label: "settleTradeAnalysis.index",
|
|
@@ -142,12 +142,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
142
142
|
isColumn: !0
|
|
143
143
|
}
|
|
144
144
|
]);
|
|
145
|
-
function
|
|
145
|
+
function K(o) {
|
|
146
146
|
E.push({
|
|
147
147
|
path: "/payment/pay-trade",
|
|
148
148
|
query: {
|
|
149
149
|
merchantId: o.merchantId,
|
|
150
|
-
analysisTime: o.analysisTime
|
|
150
|
+
analysisTime: o.analysisTime,
|
|
151
|
+
tradeStatus: ue.PAY_SUCCESS
|
|
151
152
|
}
|
|
152
153
|
});
|
|
153
154
|
}
|
|
@@ -160,18 +161,18 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
160
161
|
return x(() => {
|
|
161
162
|
u.getList();
|
|
162
163
|
}), (o, e) => {
|
|
163
|
-
const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"),
|
|
164
|
-
return v(),
|
|
165
|
-
b("div",
|
|
164
|
+
const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"), _ = p("el-input"), C = p("el-row"), L = p("el-tree-select"), $ = p("el-button"), F = p("el-form"), O = p("jmash-column-select"), W = p("jmash-table"), Z = p("jmash-pagination"), G = p("el-card"), J = ee("hasPerm");
|
|
165
|
+
return v(), S("div", be, [
|
|
166
|
+
b("div", Te, [
|
|
166
167
|
t(F, {
|
|
167
168
|
ref_key: "queryFormRef",
|
|
168
|
-
ref:
|
|
169
|
+
ref: Q,
|
|
169
170
|
model: s.value,
|
|
170
171
|
inline: !0,
|
|
171
172
|
"label-width": "6em"
|
|
172
173
|
}, {
|
|
173
174
|
default: l(() => [
|
|
174
|
-
t(
|
|
175
|
+
t(C, null, {
|
|
175
176
|
default: l(() => [
|
|
176
177
|
t(d, { span: 6 }, {
|
|
177
178
|
default: l(() => [
|
|
@@ -226,7 +227,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
226
227
|
prop: "likeMerchantNo"
|
|
227
228
|
}, {
|
|
228
229
|
default: l(() => [
|
|
229
|
-
t(
|
|
230
|
+
t(_, {
|
|
230
231
|
modelValue: s.value.likeMerchantNo,
|
|
231
232
|
"onUpdate:modelValue": e[4] || (e[4] = (a) => s.value.likeMerchantNo = a),
|
|
232
233
|
placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
@@ -246,7 +247,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
246
247
|
prop: "termNo"
|
|
247
248
|
}, {
|
|
248
249
|
default: l(() => [
|
|
249
|
-
t(
|
|
250
|
+
t(_, {
|
|
250
251
|
modelValue: s.value.termNo,
|
|
251
252
|
"onUpdate:modelValue": e[6] || (e[6] = (a) => s.value.termNo = a),
|
|
252
253
|
placeholder: o.$t("settleTradeAnalysis.termNoRead"),
|
|
@@ -262,9 +263,9 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
262
263
|
]),
|
|
263
264
|
_: 1
|
|
264
265
|
}),
|
|
265
|
-
t(
|
|
266
|
+
t(C, null, {
|
|
266
267
|
default: l(() => {
|
|
267
|
-
var a,
|
|
268
|
+
var a, h;
|
|
268
269
|
return [
|
|
269
270
|
(a = n(N)) != null && a.includes("@") ? I("", !0) : (v(), k(d, {
|
|
270
271
|
key: 0,
|
|
@@ -345,7 +346,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
345
346
|
prop: "analysisTimeStart"
|
|
346
347
|
}, {
|
|
347
348
|
default: l(() => [
|
|
348
|
-
t(n(
|
|
349
|
+
t(n(ie), {
|
|
349
350
|
class: "!w-[203px]",
|
|
350
351
|
"start-time": s.value.analysisTimeStart,
|
|
351
352
|
"onUpdate:startTime": e[13] || (e[13] = (m) => s.value.analysisTimeStart = m),
|
|
@@ -360,13 +361,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
360
361
|
]),
|
|
361
362
|
_: 1
|
|
362
363
|
}, 8, ["label"]),
|
|
363
|
-
|
|
364
|
+
R(t(y, { prop: "analysisTimeEnd" }, null, 512), [
|
|
364
365
|
[te, !1]
|
|
365
366
|
])
|
|
366
367
|
]),
|
|
367
368
|
_: 1
|
|
368
369
|
}),
|
|
369
|
-
(
|
|
370
|
+
(h = n(N)) != null && h.includes("@") ? (v(), k(d, {
|
|
370
371
|
key: 1,
|
|
371
372
|
span: 6
|
|
372
373
|
}, {
|
|
@@ -400,7 +401,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
400
401
|
}),
|
|
401
402
|
_: 1
|
|
402
403
|
}),
|
|
403
|
-
t(
|
|
404
|
+
t(C, null, {
|
|
404
405
|
default: l(() => {
|
|
405
406
|
var a;
|
|
406
407
|
return [
|
|
@@ -413,7 +414,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
413
414
|
default: l(() => [
|
|
414
415
|
t($, {
|
|
415
416
|
type: "primary",
|
|
416
|
-
onClick: e[17] || (e[17] = (
|
|
417
|
+
onClick: e[17] || (e[17] = (h) => n(u).handleQuery())
|
|
417
418
|
}, {
|
|
418
419
|
default: l(() => [
|
|
419
420
|
r(i(o.$t("common.search")), 1)
|
|
@@ -421,7 +422,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
421
422
|
_: 1
|
|
422
423
|
}),
|
|
423
424
|
t($, {
|
|
424
|
-
onClick: e[18] || (e[18] = (
|
|
425
|
+
onClick: e[18] || (e[18] = (h) => n(u).resetQuery())
|
|
425
426
|
}, {
|
|
426
427
|
default: l(() => [
|
|
427
428
|
r(i(o.$t("common.reset")), 1)
|
|
@@ -448,7 +449,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
448
449
|
class: "table-container"
|
|
449
450
|
}, {
|
|
450
451
|
header: l(() => [
|
|
451
|
-
t(
|
|
452
|
+
t(C, null, {
|
|
452
453
|
default: l(() => [
|
|
453
454
|
t(d, {
|
|
454
455
|
span: 24,
|
|
@@ -468,10 +469,10 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
468
469
|
})
|
|
469
470
|
]),
|
|
470
471
|
footer: l(() => [
|
|
471
|
-
n(
|
|
472
|
+
n(w) > 0 ? (v(), k(Z, {
|
|
472
473
|
key: 0,
|
|
473
|
-
total: n(
|
|
474
|
-
"onUpdate:total": e[20] || (e[20] = (a) => z(
|
|
474
|
+
total: n(w),
|
|
475
|
+
"onUpdate:total": e[20] || (e[20] = (a) => z(w) ? w.value = a : null),
|
|
475
476
|
"current-page": s.value.curPage,
|
|
476
477
|
"onUpdate:currentPage": e[21] || (e[21] = (a) => s.value.curPage = a),
|
|
477
478
|
"page-size": s.value.pageSize,
|
|
@@ -480,13 +481,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
480
481
|
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
|
481
482
|
]),
|
|
482
483
|
default: l(() => [
|
|
483
|
-
b("div",
|
|
484
|
-
t(
|
|
484
|
+
b("div", ve, [
|
|
485
|
+
t(C, { gutter: 20 }, {
|
|
485
486
|
default: l(() => [
|
|
486
487
|
t(d, { span: 4 }, {
|
|
487
488
|
default: l(() => [
|
|
488
489
|
e[25] || (e[25] = r(" 订单数: ")),
|
|
489
|
-
b("span",
|
|
490
|
+
b("span", ce, i(n(g).totalOrderCount), 1),
|
|
490
491
|
e[26] || (e[26] = r(" 笔 "))
|
|
491
492
|
]),
|
|
492
493
|
_: 1
|
|
@@ -494,7 +495,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
494
495
|
t(d, { span: 4 }, {
|
|
495
496
|
default: l(() => [
|
|
496
497
|
e[27] || (e[27] = r(" 订单金额: ")),
|
|
497
|
-
b("span",
|
|
498
|
+
b("span", ge, i(n(g).totalOrderAmount), 1),
|
|
498
499
|
e[28] || (e[28] = r(" 元 "))
|
|
499
500
|
]),
|
|
500
501
|
_: 1
|
|
@@ -502,7 +503,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
502
503
|
t(d, { span: 4 }, {
|
|
503
504
|
default: l(() => [
|
|
504
505
|
e[29] || (e[29] = r(" 交易金额: ")),
|
|
505
|
-
b("span",
|
|
506
|
+
b("span", Ae, i(n(g).totalTradeAmount), 1),
|
|
506
507
|
e[30] || (e[30] = r(" 元 "))
|
|
507
508
|
]),
|
|
508
509
|
_: 1
|
|
@@ -510,7 +511,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
510
511
|
t(d, { span: 4 }, {
|
|
511
512
|
default: l(() => [
|
|
512
513
|
e[31] || (e[31] = r(" 优惠金额: ")),
|
|
513
|
-
b("span",
|
|
514
|
+
b("span", Ce, i(n(g).totalDiscountAmount), 1),
|
|
514
515
|
e[32] || (e[32] = r(" 元 "))
|
|
515
516
|
]),
|
|
516
517
|
_: 1
|
|
@@ -529,17 +530,17 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
529
530
|
]),
|
|
530
531
|
t(W, {
|
|
531
532
|
ref_key: "multipleTableRef",
|
|
532
|
-
ref:
|
|
533
|
+
ref: P,
|
|
533
534
|
isSelection: !1,
|
|
534
535
|
"row-key": "settleTradeAnalysisPk",
|
|
535
|
-
"list-loading": n(
|
|
536
|
-
data: n(
|
|
536
|
+
"list-loading": n(Y),
|
|
537
|
+
data: n(j),
|
|
537
538
|
"table-label": n(A),
|
|
538
539
|
onSelectionChange: q,
|
|
539
540
|
onSortChange: H
|
|
540
541
|
}, {
|
|
541
542
|
merchantId: l((a) => [
|
|
542
|
-
r(i(n(
|
|
543
|
+
r(i(n(pe)(a.data.row.merchantId)), 1)
|
|
543
544
|
]),
|
|
544
545
|
instsId: l((a) => [
|
|
545
546
|
r(i(n(f).instsBizDict.getValue(a.data.row.instsId)), 1)
|
|
@@ -548,12 +549,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
548
549
|
r(i(n(f).payModeBizDict.getEnumValue(a.data.row.payMode)), 1)
|
|
549
550
|
]),
|
|
550
551
|
agentCode: l((a) => [
|
|
551
|
-
r(i(n(
|
|
552
|
+
r(i(n(me)(a.data.row.agentCode)), 1)
|
|
552
553
|
]),
|
|
553
554
|
operation: l((a) => [
|
|
554
|
-
|
|
555
|
+
R((v(), S("span", {
|
|
555
556
|
class: "el-button-color",
|
|
556
|
-
onClick: (
|
|
557
|
+
onClick: (h) => K(a.data.row)
|
|
557
558
|
}, [
|
|
558
559
|
r(i(o.$t("settleTradeAnalysis.view")), 1)
|
|
559
560
|
], 8, we)), [
|