xyvcard-settle 0.0.66 → 0.0.68
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/edit-_qW_TUSu.mjs +973 -0
- package/dist/{history-aX2T-oPL.mjs → history-DSoZjyeJ.mjs} +1 -1
- package/dist/{history-u3R-fodG.mjs → history-DjQMPey5.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Dkvs6Ie6.mjs → history.vue_vue_type_script_setup_true_lang-5ef0yv2J.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CIu67-r1.mjs → history.vue_vue_type_script_setup_true_lang-suUr-9bi.mjs} +133 -107
- package/dist/{index-2id6tMzF.mjs → index-7IN_MtAt.mjs} +176 -152
- package/dist/{index-yXa31PP8.mjs → index-8qD9VcOY.mjs} +2 -2
- package/dist/{index-CLO6qT_v.mjs → index-BCNuH7xs.mjs} +2 -2
- package/dist/{index-Cqcod_hk.mjs → index-BJ5B9Mo0.mjs} +1 -1
- package/dist/{index-89HBpXc_.mjs → index-BLnu6zqx.mjs} +2 -2
- package/dist/{index-D2z28-r8.mjs → index-BOkiZn0d.mjs} +2 -2
- package/dist/{index-CozTaJZ3.mjs → index-BRR6K_Rz.mjs} +1 -1
- package/dist/index-BV-bgJoz.mjs +602 -0
- package/dist/index-CgVOuj38.mjs +4735 -0
- package/dist/{index-CBM7x48B.mjs → index-CrAvX4gb.mjs} +1 -1
- package/dist/{index-BP1XNHav.mjs → index-Cv3Q3BLX.mjs} +1 -1
- package/dist/{index-BpUxQOus.mjs → index-D3EjTY-C.mjs} +167 -141
- package/dist/{index-DCRWBO-e.mjs → index-DQHNNxEk.mjs} +1 -1
- package/dist/{index-DYU7gFl7.mjs → index-DxaY2msl.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/info-BnEoPHLQ.mjs +4 -0
- package/dist/{payPal-C9goHtZj.mjs → payPal-DZCq6NIW.mjs} +1 -1
- package/dist/{payPal-D5As72Sp.mjs → payPal-uZjLzAy_.mjs} +1 -1
- package/dist/{today-C2B921Ki.mjs → today-BLS71Gmq.mjs} +1 -1
- package/dist/{today-B9bKqwX8.mjs → today-ZBVWvwL4.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BAEAjOis.mjs → today.vue_vue_type_script_setup_true_lang-BLTRtpUi.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-C2lgJqiR.mjs → today.vue_vue_type_script_setup_true_lang-BnkSJ9pV.mjs} +1 -1
- package/dts/src/api/settle/pay-trade/index.d.ts +2 -1
- package/dts/src/api/settle/pay-trade/types.d.ts +7 -1
- package/dts/src/api/settle/settle-trade-analysis/index.d.ts +2 -1
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +7 -1
- package/dts/src/api/settle/settle-trade-merchant/index.d.ts +2 -1
- package/dts/src/api/settle/settle-trade-merchant/types.d.ts +7 -1
- package/dts/src/api/settle/settle-trade-receipt/index.d.ts +2 -1
- package/dts/src/api/settle/settle-trade-receipt/types.d.ts +7 -1
- package/dts/src/lang/settle/zh-cn.d.ts +2 -0
- package/dts/src/utils/getCurrentDay.d.ts +1 -0
- package/dts/src/utils/timePlugin.d.ts +1 -1
- package/package.json +1 -1
- package/dist/edit-D0635Imi.mjs +0 -2380
- package/dist/index--zkvNLS6.mjs +0 -576
- package/dist/index-tymA5oFY.mjs +0 -3309
- package/dist/info-DcrVEfmo.mjs +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as E, ref as p, onMounted as A, getCurrentInstance as w, resolveComponent as v, resolveDirective as P, createElementBlock as $, openBlock as y, createElementVNode as t, createVNode as a, withCtx as o, toDisplayString as n, createTextVNode as m, withDirectives as R, createBlock as S } from "vue";
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-CGc-CaEO.mjs";
|
|
4
|
-
import { C as u } from "./index-
|
|
4
|
+
import { C as u } from "./index-CgVOuj38.mjs";
|
|
5
5
|
import I from "./pay-vKmygRqh.mjs";
|
|
6
|
-
import b from "./payPal-
|
|
6
|
+
import b from "./payPal-DZCq6NIW.mjs";
|
|
7
7
|
import F from "./trend-D5C46t4B.mjs";
|
|
8
8
|
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-b-hBu610.mjs";
|
|
9
9
|
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, ref as p, resolveComponent as s, createElementBlock as i, openBlock as d, createElementVNode as u, createVNode as e, withCtx as n } from "vue";
|
|
2
|
-
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-5ef0yv2J.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BnkSJ9pV.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -3,7 +3,7 @@ import { useRoute as ae, useRouter as oe } from "vue-router";
|
|
|
3
3
|
import { useI18n as ne } from "vue-i18n";
|
|
4
4
|
import { useUserStore as B, clearEmpty as se, request as re, useTableHooks as de } from "jmash-core";
|
|
5
5
|
import { tokenExt as ue } from "xyvcard-agent";
|
|
6
|
-
import { D as f } from "./index-
|
|
6
|
+
import { D as f } from "./index-CgVOuj38.mjs";
|
|
7
7
|
import { g as ie } from "./agent-R-Ml-XTA.mjs";
|
|
8
8
|
import { DateRange as me } from "xyvcard-insts";
|
|
9
9
|
import { g as pe } from "./merchant-D9rtENQd.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, ref as r, resolveComponent as m, createElementBlock as _, openBlock as i, createElementVNode as p, createVNode as o, withCtx as d } from "vue";
|
|
2
|
-
import { _ as u } from "./history.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as u } from "./history.vue_vue_type_script_setup_true_lang-suUr-9bi.mjs";
|
|
3
|
+
import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BLTRtpUi.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as T, reactive as te, resolveComponent as p, resolveDirective as le, createElementBlock as _, openBlock as c, createVNode as n, withCtx as a, Fragment as re, renderList as de, unref as u, createBlock as $, createElementVNode as r, createCommentVNode as D, withKeys as v, createTextVNode as R, toDisplayString as l, withDirectives as M, isRef as j } from "vue";
|
|
2
2
|
import { useTableHooks as ue } from "jmash-core";
|
|
3
3
|
import { useI18n as se } from "vue-i18n";
|
|
4
|
-
import { b as pe, a as ie } from "./edit-
|
|
5
|
-
import { D as me } from "./index-
|
|
4
|
+
import { b as pe, a as ie } from "./edit-_qW_TUSu.mjs";
|
|
5
|
+
import { D as me } from "./index-CgVOuj38.mjs";
|
|
6
6
|
const ce = { class: "app-container" }, be = { class: "search-container" }, ke = ["onClick"], fe = ["onClick"], Ne = /* @__PURE__ */ ne({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(we) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Z, getCurrentInstance as x, ref as z, onActivated as
|
|
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
4
|
import { useUserStore as P, clearEmpty as re, request as de, useTableHooks as ne } from "jmash-core";
|
|
5
|
-
import { D as b } from "./index-
|
|
5
|
+
import { D as b } from "./index-CgVOuj38.mjs";
|
|
6
6
|
import { g as se } from "./agent-R-Ml-XTA.mjs";
|
|
7
7
|
import { tokenExt as ue } from "xyvcard-agent";
|
|
8
8
|
import { DateRange as pe } from "xyvcard-insts";
|
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
import { defineComponent as le, ref as z, onActivated as ae, resolveComponent as p, resolveDirective as U, createElementBlock as E, openBlock as T, createElementVNode as c, createVNode as l, withCtx as t, withKeys as v, unref as n, createBlock as g, createCommentVNode as N, withDirectives as D, vShow as ne, createTextVNode as r, toDisplayString as i, isRef as B } from "vue";
|
|
2
|
+
import { useRoute as se, useRouter as oe } from "vue-router";
|
|
3
|
+
import { useI18n as re } from "vue-i18n";
|
|
4
|
+
import { useUserStore as M, clearEmpty as Q, request as P, useTableHooks as de } from "jmash-core";
|
|
5
|
+
import { q as ue, D as b, C as ie } from "./index-CgVOuj38.mjs";
|
|
6
|
+
import { tokenExt as me } from "xyvcard-agent";
|
|
7
|
+
import { DateRange as pe } from "xyvcard-insts";
|
|
8
|
+
import { g as ye } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
import { g as fe } from "./merchant-D9rtENQd.mjs";
|
|
10
|
+
class be {
|
|
11
|
+
getKey(y) {
|
|
12
|
+
return {
|
|
13
|
+
analysisTime: y.analysisTime,
|
|
14
|
+
channelId: y.channelId
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
// 查询翻页信息支付交易汇总统计;
|
|
18
|
+
findPage(y) {
|
|
19
|
+
const k = M().user.tenant;
|
|
20
|
+
return Q(y), P({
|
|
21
|
+
url: "/v1/settle/analysis/merchant/page/" + k,
|
|
22
|
+
method: "get",
|
|
23
|
+
params: y
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
// 导出商户支付交易汇总统计; PC:平台、代理商
|
|
27
|
+
exportExcel(y) {
|
|
28
|
+
const k = M().user.tenant;
|
|
29
|
+
Q(y);
|
|
30
|
+
const A = ue.stringify(y, {
|
|
31
|
+
arrayFormat: "brackets",
|
|
32
|
+
allowDots: !0
|
|
33
|
+
});
|
|
34
|
+
return P({
|
|
35
|
+
url: `/v1/settle/analysis/merchant/${k}/settle_trade_analysis.xlsx?${A}`,
|
|
36
|
+
method: "get",
|
|
37
|
+
responseType: "blob"
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const Te = new be(), ce = { class: "app-container" }, ve = { class: "search-container" }, ge = { class: "total-num" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, Ve = ["onClick"], Ue = /* @__PURE__ */ le({
|
|
42
|
+
__name: "index",
|
|
43
|
+
setup(Y) {
|
|
44
|
+
const { t: y } = re();
|
|
45
|
+
b.agentBizDict.useValues(), b.instsBizDict.useValues(), b.merchantBizDict.useValues();
|
|
46
|
+
const A = se().query.tenant, j = oe(), o = z({
|
|
47
|
+
tokenExt: me.getTokenExt(M().user.tenant)
|
|
48
|
+
}), {
|
|
49
|
+
tableHooks: d,
|
|
50
|
+
multipleTableRef: K,
|
|
51
|
+
queryFormRef: q,
|
|
52
|
+
listLoading: F,
|
|
53
|
+
tableData: H,
|
|
54
|
+
total: I
|
|
55
|
+
} = de(y, Te, o);
|
|
56
|
+
let C = d.totalRecord, h = z([
|
|
57
|
+
// 序号
|
|
58
|
+
{
|
|
59
|
+
label: "settleTradeAnalysis.index",
|
|
60
|
+
type: "index",
|
|
61
|
+
width: "60",
|
|
62
|
+
sortable: "custom",
|
|
63
|
+
isColumn: !0
|
|
64
|
+
},
|
|
65
|
+
// 商户名称
|
|
66
|
+
{
|
|
67
|
+
label: "settleTradeAnalysis.merchantId",
|
|
68
|
+
prop: "merchantId",
|
|
69
|
+
slotName: "merchantId",
|
|
70
|
+
columnType: "slot",
|
|
71
|
+
minWidth: "350",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
},
|
|
74
|
+
// 商户号
|
|
75
|
+
{
|
|
76
|
+
label: "settleTradeAnalysis.merchantNo",
|
|
77
|
+
prop: "merchantNo",
|
|
78
|
+
width: "150",
|
|
79
|
+
sortable: "custom",
|
|
80
|
+
isColumn: !0
|
|
81
|
+
},
|
|
82
|
+
// 订单笔数
|
|
83
|
+
{
|
|
84
|
+
label: "settleTradeAnalysis.orderCount",
|
|
85
|
+
prop: "orderCount",
|
|
86
|
+
width: "110",
|
|
87
|
+
sortable: "custom",
|
|
88
|
+
isColumn: !0
|
|
89
|
+
},
|
|
90
|
+
// 订单总额
|
|
91
|
+
{
|
|
92
|
+
label: "settleTradeAnalysis.orderAmount",
|
|
93
|
+
prop: "orderAmount",
|
|
94
|
+
width: "110",
|
|
95
|
+
sortable: "custom",
|
|
96
|
+
isColumn: !0
|
|
97
|
+
},
|
|
98
|
+
// 交易金额
|
|
99
|
+
{
|
|
100
|
+
label: "settleTradeAnalysis.tradeAmount",
|
|
101
|
+
prop: "tradeAmount",
|
|
102
|
+
width: "110",
|
|
103
|
+
sortable: "custom",
|
|
104
|
+
isColumn: !0
|
|
105
|
+
},
|
|
106
|
+
// 优惠金额
|
|
107
|
+
{
|
|
108
|
+
label: "settleTradeAnalysis.discountAmount",
|
|
109
|
+
prop: "discountAmount",
|
|
110
|
+
width: "110",
|
|
111
|
+
sortable: "custom",
|
|
112
|
+
isColumn: !0
|
|
113
|
+
},
|
|
114
|
+
// 手续费
|
|
115
|
+
{
|
|
116
|
+
label: "settleTradeAnalysis.feeAmt",
|
|
117
|
+
prop: "feeAmt",
|
|
118
|
+
width: "100",
|
|
119
|
+
sortable: "custom",
|
|
120
|
+
isColumn: !0
|
|
121
|
+
},
|
|
122
|
+
// 交易时间
|
|
123
|
+
{
|
|
124
|
+
label: "settleTradeAnalysis.analysisTime",
|
|
125
|
+
prop: "analysisTime",
|
|
126
|
+
width: "110",
|
|
127
|
+
sortable: "custom",
|
|
128
|
+
isColumn: !0
|
|
129
|
+
},
|
|
130
|
+
// 渠道
|
|
131
|
+
{
|
|
132
|
+
label: "payTrade.instsId",
|
|
133
|
+
prop: "instsId",
|
|
134
|
+
slotName: "instsId",
|
|
135
|
+
columnType: "slot",
|
|
136
|
+
width: "150",
|
|
137
|
+
sortable: "custom",
|
|
138
|
+
isColumn: !0
|
|
139
|
+
},
|
|
140
|
+
// 代理商名称
|
|
141
|
+
{
|
|
142
|
+
label: "settleTradeAnalysis.agentName",
|
|
143
|
+
prop: "agentCode",
|
|
144
|
+
slotName: "agentCode",
|
|
145
|
+
columnType: "slot",
|
|
146
|
+
minWidth: "200",
|
|
147
|
+
sortable: "custom",
|
|
148
|
+
isColumn: !0
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: "common.operate",
|
|
152
|
+
width: "100",
|
|
153
|
+
slotName: "operation",
|
|
154
|
+
columnType: "slot",
|
|
155
|
+
fixed: "right",
|
|
156
|
+
isColumn: !0
|
|
157
|
+
}
|
|
158
|
+
]);
|
|
159
|
+
function L(s) {
|
|
160
|
+
j.push({
|
|
161
|
+
path: "/payment/pay-trade",
|
|
162
|
+
query: {
|
|
163
|
+
merchantId: s.merchantId,
|
|
164
|
+
analysisTime: s.analysisTime,
|
|
165
|
+
tradeStatus: ie.PAY_SUCCESS
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
function x(s) {
|
|
170
|
+
d.selectionRows.value = s;
|
|
171
|
+
}
|
|
172
|
+
function O(s) {
|
|
173
|
+
d.handleSort(s.prop, s.order);
|
|
174
|
+
}
|
|
175
|
+
return ae(() => {
|
|
176
|
+
d.getList();
|
|
177
|
+
}), (s, e) => {
|
|
178
|
+
const _ = p("jmash-select"), f = p("el-form-item"), u = p("el-col"), S = p("el-input"), w = p("el-row"), W = p("el-tree-select"), $ = p("el-button"), Z = p("el-form"), G = p("jmash-column-select"), J = p("jmash-table"), X = p("jmash-pagination"), ee = p("el-card"), R = U("hasPerm"), te = U("loading");
|
|
179
|
+
return T(), E("div", ce, [
|
|
180
|
+
c("div", ve, [
|
|
181
|
+
l(Z, {
|
|
182
|
+
ref_key: "queryFormRef",
|
|
183
|
+
ref: q,
|
|
184
|
+
model: o.value,
|
|
185
|
+
inline: !0,
|
|
186
|
+
"label-width": "7em"
|
|
187
|
+
}, {
|
|
188
|
+
default: t(() => [
|
|
189
|
+
l(w, null, {
|
|
190
|
+
default: t(() => [
|
|
191
|
+
l(u, { span: 6 }, {
|
|
192
|
+
default: t(() => [
|
|
193
|
+
l(f, {
|
|
194
|
+
label: s.$t("payTrade.merchantId"),
|
|
195
|
+
prop: "merchantId"
|
|
196
|
+
}, {
|
|
197
|
+
default: t(() => [
|
|
198
|
+
l(_, {
|
|
199
|
+
modelValue: o.value.merchantId,
|
|
200
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => o.value.merchantId = a),
|
|
201
|
+
placeholder: s.$t("payTrade.merchantIdRead"),
|
|
202
|
+
data: n(b).merchantBizDict.values,
|
|
203
|
+
onKeyup: e[1] || (e[1] = v((a) => n(d).handleQuery(), ["enter"])),
|
|
204
|
+
class: "!w-[203px]",
|
|
205
|
+
filterable: "",
|
|
206
|
+
clearable: ""
|
|
207
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["label"])
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}),
|
|
214
|
+
l(u, { span: 6 }, {
|
|
215
|
+
default: t(() => [
|
|
216
|
+
l(f, {
|
|
217
|
+
label: s.$t("settleTradeAnalysis.payMode"),
|
|
218
|
+
prop: "payMode"
|
|
219
|
+
}, {
|
|
220
|
+
default: t(() => [
|
|
221
|
+
l(_, {
|
|
222
|
+
modelValue: o.value.payMode,
|
|
223
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => o.value.payMode = a),
|
|
224
|
+
placeholder: s.$t("settleTradeAnalysis.payModeRead"),
|
|
225
|
+
data: n(b).payModeBizDict.values,
|
|
226
|
+
onKeyup: e[3] || (e[3] = v((a) => n(d).handleQuery(), ["enter"])),
|
|
227
|
+
class: "!w-[203px]",
|
|
228
|
+
filterable: "",
|
|
229
|
+
clearable: ""
|
|
230
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["label"])
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}),
|
|
237
|
+
l(u, { span: 6 }, {
|
|
238
|
+
default: t(() => [
|
|
239
|
+
l(f, {
|
|
240
|
+
label: s.$t("settleTradeAnalysis.likeMerchantNo"),
|
|
241
|
+
prop: "likeMerchantNo"
|
|
242
|
+
}, {
|
|
243
|
+
default: t(() => [
|
|
244
|
+
l(S, {
|
|
245
|
+
modelValue: o.value.likeMerchantNo,
|
|
246
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => o.value.likeMerchantNo = a),
|
|
247
|
+
placeholder: s.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
248
|
+
onKeyup: e[5] || (e[5] = v((a) => n(d).handleQuery(), ["enter"])),
|
|
249
|
+
class: "!w-[203px]"
|
|
250
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 8, ["label"])
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
}),
|
|
257
|
+
l(u, { span: 6 }, {
|
|
258
|
+
default: t(() => [
|
|
259
|
+
l(f, {
|
|
260
|
+
label: s.$t("settleTradeAnalysis.termNo"),
|
|
261
|
+
prop: "termNo"
|
|
262
|
+
}, {
|
|
263
|
+
default: t(() => [
|
|
264
|
+
l(S, {
|
|
265
|
+
modelValue: o.value.termNo,
|
|
266
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => o.value.termNo = a),
|
|
267
|
+
placeholder: s.$t("settleTradeAnalysis.termNoRead"),
|
|
268
|
+
onKeyup: e[7] || (e[7] = v((a) => n(d).handleQuery(), ["enter"])),
|
|
269
|
+
class: "!w-[203px]"
|
|
270
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}, 8, ["label"])
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
})
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}),
|
|
280
|
+
l(w, null, {
|
|
281
|
+
default: t(() => {
|
|
282
|
+
var a, V;
|
|
283
|
+
return [
|
|
284
|
+
(a = n(A)) != null && a.includes("@") ? N("", !0) : (T(), g(u, {
|
|
285
|
+
key: 0,
|
|
286
|
+
span: 6
|
|
287
|
+
}, {
|
|
288
|
+
default: t(() => [
|
|
289
|
+
l(f, {
|
|
290
|
+
label: s.$t("settleTradeAnalysis.agentName"),
|
|
291
|
+
prop: "agentCode"
|
|
292
|
+
}, {
|
|
293
|
+
default: t(() => [
|
|
294
|
+
l(W, {
|
|
295
|
+
modelValue: o.value.agentCode,
|
|
296
|
+
"onUpdate:modelValue": e[8] || (e[8] = (m) => o.value.agentCode = m),
|
|
297
|
+
data: n(b).agentBizDict.values,
|
|
298
|
+
"node-key": "value",
|
|
299
|
+
filterable: "",
|
|
300
|
+
clearable: "",
|
|
301
|
+
placeholder: s.$t("settleTradeAnalysis.agentCodeRead"),
|
|
302
|
+
class: "!w-[203px]"
|
|
303
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
304
|
+
]),
|
|
305
|
+
_: 1
|
|
306
|
+
}, 8, ["label"])
|
|
307
|
+
]),
|
|
308
|
+
_: 1
|
|
309
|
+
})),
|
|
310
|
+
l(u, { span: 6 }, {
|
|
311
|
+
default: t(() => [
|
|
312
|
+
l(f, {
|
|
313
|
+
label: s.$t("settleTradeAnalysis.tradeType"),
|
|
314
|
+
prop: "tradeType"
|
|
315
|
+
}, {
|
|
316
|
+
default: t(() => [
|
|
317
|
+
l(_, {
|
|
318
|
+
modelValue: o.value.tradeType,
|
|
319
|
+
"onUpdate:modelValue": e[9] || (e[9] = (m) => o.value.tradeType = m),
|
|
320
|
+
placeholder: s.$t("settleTradeAnalysis.tradeTypeRead"),
|
|
321
|
+
data: n(b).tradeTypeBizDict.values,
|
|
322
|
+
onKeyup: e[10] || (e[10] = v((m) => n(d).handleQuery(), ["enter"])),
|
|
323
|
+
class: "!w-[203px]",
|
|
324
|
+
filterable: "",
|
|
325
|
+
clearable: ""
|
|
326
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
}, 8, ["label"])
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
}),
|
|
333
|
+
l(u, { span: 6 }, {
|
|
334
|
+
default: t(() => [
|
|
335
|
+
l(f, {
|
|
336
|
+
label: s.$t("settleTradeAnalysis.instsId"),
|
|
337
|
+
prop: "instsId"
|
|
338
|
+
}, {
|
|
339
|
+
default: t(() => [
|
|
340
|
+
l(_, {
|
|
341
|
+
modelValue: o.value.instsId,
|
|
342
|
+
"onUpdate:modelValue": e[11] || (e[11] = (m) => o.value.instsId = m),
|
|
343
|
+
placeholder: s.$t("settleTradeAnalysis.channelIdRead"),
|
|
344
|
+
data: n(b).instsBizDict.values,
|
|
345
|
+
onKeyup: e[12] || (e[12] = v((m) => n(d).handleQuery(), ["enter"])),
|
|
346
|
+
class: "!w-[203px]",
|
|
347
|
+
filterable: "",
|
|
348
|
+
clearable: ""
|
|
349
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
350
|
+
]),
|
|
351
|
+
_: 1
|
|
352
|
+
}, 8, ["label"])
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
355
|
+
}),
|
|
356
|
+
l(u, { span: 6 }, {
|
|
357
|
+
default: t(() => [
|
|
358
|
+
l(f, {
|
|
359
|
+
label: s.$t("settleTradeAnalysis.createTime"),
|
|
360
|
+
prop: "analysisTimeStart"
|
|
361
|
+
}, {
|
|
362
|
+
default: t(() => [
|
|
363
|
+
l(n(pe), {
|
|
364
|
+
class: "!w-[203px]",
|
|
365
|
+
"start-time": o.value.analysisTimeStart,
|
|
366
|
+
"onUpdate:startTime": e[13] || (e[13] = (m) => o.value.analysisTimeStart = m),
|
|
367
|
+
"end-time": o.value.analysisTimeEnd,
|
|
368
|
+
"onUpdate:endTime": e[14] || (e[14] = (m) => o.value.analysisTimeEnd = m),
|
|
369
|
+
format: "YYYY-MM-DD",
|
|
370
|
+
"value-format": "YYYY-MM-DDTHH:mm:ssZ",
|
|
371
|
+
"range-separator": "-",
|
|
372
|
+
"start-placeholder": s.$t("settleTradeAnalysis.analysisTimeStart"),
|
|
373
|
+
"end-placeholder": s.$t("settleTradeAnalysis.analysisTimeEnd")
|
|
374
|
+
}, null, 8, ["start-time", "end-time", "start-placeholder", "end-placeholder"])
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["label"]),
|
|
378
|
+
D(l(f, { prop: "analysisTimeEnd" }, null, 512), [
|
|
379
|
+
[ne, !1]
|
|
380
|
+
])
|
|
381
|
+
]),
|
|
382
|
+
_: 1
|
|
383
|
+
}),
|
|
384
|
+
(V = n(A)) != null && V.includes("@") ? (T(), g(u, {
|
|
385
|
+
key: 1,
|
|
386
|
+
span: 6
|
|
387
|
+
}, {
|
|
388
|
+
default: t(() => [
|
|
389
|
+
l(f, { class: "search-btn" }, {
|
|
390
|
+
default: t(() => [
|
|
391
|
+
l($, {
|
|
392
|
+
type: "primary",
|
|
393
|
+
onClick: e[15] || (e[15] = (m) => n(d).handleQuery())
|
|
394
|
+
}, {
|
|
395
|
+
default: t(() => [
|
|
396
|
+
r(i(s.$t("common.search")), 1)
|
|
397
|
+
]),
|
|
398
|
+
_: 1
|
|
399
|
+
}),
|
|
400
|
+
l($, {
|
|
401
|
+
onClick: e[16] || (e[16] = (m) => n(d).resetQuery())
|
|
402
|
+
}, {
|
|
403
|
+
default: t(() => [
|
|
404
|
+
r(i(s.$t("common.reset")), 1)
|
|
405
|
+
]),
|
|
406
|
+
_: 1
|
|
407
|
+
})
|
|
408
|
+
]),
|
|
409
|
+
_: 1
|
|
410
|
+
})
|
|
411
|
+
]),
|
|
412
|
+
_: 1
|
|
413
|
+
})) : N("", !0)
|
|
414
|
+
];
|
|
415
|
+
}),
|
|
416
|
+
_: 1
|
|
417
|
+
}),
|
|
418
|
+
l(w, null, {
|
|
419
|
+
default: t(() => {
|
|
420
|
+
var a;
|
|
421
|
+
return [
|
|
422
|
+
(a = n(A)) != null && a.includes("@") ? N("", !0) : (T(), g(u, {
|
|
423
|
+
key: 0,
|
|
424
|
+
span: 24
|
|
425
|
+
}, {
|
|
426
|
+
default: t(() => [
|
|
427
|
+
l(f, { class: "search-btn" }, {
|
|
428
|
+
default: t(() => [
|
|
429
|
+
l($, {
|
|
430
|
+
type: "primary",
|
|
431
|
+
onClick: e[17] || (e[17] = (V) => n(d).handleQuery())
|
|
432
|
+
}, {
|
|
433
|
+
default: t(() => [
|
|
434
|
+
r(i(s.$t("common.search")), 1)
|
|
435
|
+
]),
|
|
436
|
+
_: 1
|
|
437
|
+
}),
|
|
438
|
+
l($, {
|
|
439
|
+
onClick: e[18] || (e[18] = (V) => n(d).resetQuery())
|
|
440
|
+
}, {
|
|
441
|
+
default: t(() => [
|
|
442
|
+
r(i(s.$t("common.reset")), 1)
|
|
443
|
+
]),
|
|
444
|
+
_: 1
|
|
445
|
+
})
|
|
446
|
+
]),
|
|
447
|
+
_: 1
|
|
448
|
+
})
|
|
449
|
+
]),
|
|
450
|
+
_: 1
|
|
451
|
+
}))
|
|
452
|
+
];
|
|
453
|
+
}),
|
|
454
|
+
_: 1
|
|
455
|
+
})
|
|
456
|
+
]),
|
|
457
|
+
_: 1
|
|
458
|
+
}, 8, ["model"]),
|
|
459
|
+
e[25] || (e[25] = c("div", { class: "clear" }, null, -1))
|
|
460
|
+
]),
|
|
461
|
+
l(ee, {
|
|
462
|
+
shadow: "never",
|
|
463
|
+
class: "table-container"
|
|
464
|
+
}, {
|
|
465
|
+
header: t(() => [
|
|
466
|
+
l(w, null, {
|
|
467
|
+
default: t(() => [
|
|
468
|
+
l(u, {
|
|
469
|
+
span: 24,
|
|
470
|
+
class: "container-float"
|
|
471
|
+
}, {
|
|
472
|
+
default: t(() => [
|
|
473
|
+
D((T(), g($, {
|
|
474
|
+
plain: "",
|
|
475
|
+
type: "primary",
|
|
476
|
+
onClick: e[19] || (e[19] = (a) => n(d).handleExport(n(y)("settleTradeAnalysis.merchant")))
|
|
477
|
+
}, {
|
|
478
|
+
default: t(() => [
|
|
479
|
+
r(i(s.$t("common.export")), 1)
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
})), [
|
|
483
|
+
[R, ["payment:trade_analysis:export"]]
|
|
484
|
+
]),
|
|
485
|
+
l(G, {
|
|
486
|
+
modelValue: n(h),
|
|
487
|
+
"onUpdate:modelValue": e[20] || (e[20] = (a) => B(h) ? h.value = a : h = a),
|
|
488
|
+
"label-name": "settle/settle-trade-analysis"
|
|
489
|
+
}, null, 8, ["modelValue"])
|
|
490
|
+
]),
|
|
491
|
+
_: 1
|
|
492
|
+
})
|
|
493
|
+
]),
|
|
494
|
+
_: 1
|
|
495
|
+
})
|
|
496
|
+
]),
|
|
497
|
+
footer: t(() => [
|
|
498
|
+
n(I) > 0 ? (T(), g(X, {
|
|
499
|
+
key: 0,
|
|
500
|
+
total: n(I),
|
|
501
|
+
"onUpdate:total": e[21] || (e[21] = (a) => B(I) ? I.value = a : null),
|
|
502
|
+
"current-page": o.value.curPage,
|
|
503
|
+
"onUpdate:currentPage": e[22] || (e[22] = (a) => o.value.curPage = a),
|
|
504
|
+
"page-size": o.value.pageSize,
|
|
505
|
+
"onUpdate:pageSize": e[23] || (e[23] = (a) => o.value.pageSize = a),
|
|
506
|
+
onPagination: e[24] || (e[24] = (a) => n(d).getList())
|
|
507
|
+
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
|
508
|
+
]),
|
|
509
|
+
default: t(() => [
|
|
510
|
+
c("div", ge, [
|
|
511
|
+
l(w, { gutter: 20 }, {
|
|
512
|
+
default: t(() => [
|
|
513
|
+
l(u, { span: 4 }, {
|
|
514
|
+
default: t(() => [
|
|
515
|
+
e[26] || (e[26] = r(" 订单数: ")),
|
|
516
|
+
c("span", Ae, i(n(C).totalOrderCount), 1),
|
|
517
|
+
e[27] || (e[27] = r(" 笔 "))
|
|
518
|
+
]),
|
|
519
|
+
_: 1
|
|
520
|
+
}),
|
|
521
|
+
l(u, { span: 5 }, {
|
|
522
|
+
default: t(() => [
|
|
523
|
+
e[28] || (e[28] = r(" 订单金额: ")),
|
|
524
|
+
c("span", Ce, i(n(C).totalOrderAmount), 1),
|
|
525
|
+
e[29] || (e[29] = r(" 元 "))
|
|
526
|
+
]),
|
|
527
|
+
_: 1
|
|
528
|
+
}),
|
|
529
|
+
l(u, { span: 5 }, {
|
|
530
|
+
default: t(() => [
|
|
531
|
+
e[30] || (e[30] = r(" 交易金额: ")),
|
|
532
|
+
c("span", he, i(n(C).totalTradeAmount), 1),
|
|
533
|
+
e[31] || (e[31] = r(" 元 "))
|
|
534
|
+
]),
|
|
535
|
+
_: 1
|
|
536
|
+
}),
|
|
537
|
+
l(u, { span: 5 }, {
|
|
538
|
+
default: t(() => [
|
|
539
|
+
e[32] || (e[32] = r(" 优惠金额: ")),
|
|
540
|
+
c("span", we, i(n(C).totalDiscountAmount), 1),
|
|
541
|
+
e[33] || (e[33] = r(" 元 "))
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
}),
|
|
545
|
+
l(u, { span: 5 }, {
|
|
546
|
+
default: t(() => [
|
|
547
|
+
e[34] || (e[34] = r(" 手续费: ")),
|
|
548
|
+
c("span", $e, i(n(C).totalFeeAmt), 1),
|
|
549
|
+
e[35] || (e[35] = r(" 元 "))
|
|
550
|
+
]),
|
|
551
|
+
_: 1
|
|
552
|
+
})
|
|
553
|
+
]),
|
|
554
|
+
_: 1
|
|
555
|
+
})
|
|
556
|
+
]),
|
|
557
|
+
D((T(), g(J, {
|
|
558
|
+
ref_key: "multipleTableRef",
|
|
559
|
+
ref: K,
|
|
560
|
+
isSelection: !1,
|
|
561
|
+
"row-key": "settleTradeAnalysisPk",
|
|
562
|
+
data: n(H),
|
|
563
|
+
"table-label": n(h),
|
|
564
|
+
onSelectionChange: x,
|
|
565
|
+
onSortChange: O
|
|
566
|
+
}, {
|
|
567
|
+
merchantId: t((a) => [
|
|
568
|
+
r(i(n(fe)(a.data.row.merchantId)), 1)
|
|
569
|
+
]),
|
|
570
|
+
instsId: t((a) => [
|
|
571
|
+
r(i(n(b).instsBizDict.getValue(a.data.row.instsId)), 1)
|
|
572
|
+
]),
|
|
573
|
+
payMode: t((a) => [
|
|
574
|
+
r(i(n(b).payModeBizDict.getEnumValue(a.data.row.payMode)), 1)
|
|
575
|
+
]),
|
|
576
|
+
agentCode: t((a) => [
|
|
577
|
+
r(i(n(ye)(a.data.row.agentCode)), 1)
|
|
578
|
+
]),
|
|
579
|
+
operation: t((a) => [
|
|
580
|
+
D((T(), E("span", {
|
|
581
|
+
class: "el-button-color",
|
|
582
|
+
onClick: (V) => L(a.data.row)
|
|
583
|
+
}, [
|
|
584
|
+
r(i(s.$t("settleTradeAnalysis.view")), 1)
|
|
585
|
+
], 8, Ve)), [
|
|
586
|
+
[R, ["payment:trade_analysis:view"]]
|
|
587
|
+
])
|
|
588
|
+
]),
|
|
589
|
+
_: 1
|
|
590
|
+
}, 8, ["data", "table-label"])), [
|
|
591
|
+
[te, n(F)]
|
|
592
|
+
])
|
|
593
|
+
]),
|
|
594
|
+
_: 1
|
|
595
|
+
})
|
|
596
|
+
]);
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
export {
|
|
601
|
+
Ue as default
|
|
602
|
+
};
|