xyvcard-settle 0.0.47 → 0.0.49
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-BQjgVD9D.mjs → history-CMyJKuis.mjs} +1 -1
- package/dist/{history-DCwgJuDo.mjs → history-DWaN_Nrb.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs +404 -0
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs} +96 -95
- package/dist/{index-BJDG5RJu.mjs → index-BeU6u9hH.mjs} +87 -85
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-DSAnrTJ1.mjs → index-BmSUfSfV.mjs} +77 -76
- package/dist/{index-BSjUBqhl.mjs → index-C6IvQBy0.mjs} +99 -98
- package/dist/{index-yQjjxDcA.mjs → index-CVrtwq6W.mjs} +62 -61
- package/dist/{index-ClDxB7Ty.mjs → index-Cw3Bhtc2.mjs} +75 -73
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B8Y2esGZ.mjs → index-D8LRYlta.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/{index-DYgHw7PE.mjs → index-Ds4E1nsC.mjs} +1 -1
- package/dist/{index-Cr3j3TRH.mjs → index-IYVODwmA.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-LT7qO1_c.mjs} +75 -74
- package/dist/{index-DUu1w36z.mjs → index-ZwyAUTzX.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/{today-DawV1DzV.mjs → today-BU8dRQhE.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-DO4wIwlZ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs} +51 -50
- package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs} +147 -114
- package/dts/src/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +0 -371
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { tokenExt as
|
|
6
|
-
import { D as f } from "./index-
|
|
7
|
-
import { DateRange as
|
|
8
|
-
import { g as
|
|
9
|
-
import { g as
|
|
10
|
-
class
|
|
1
|
+
import { defineComponent as ee, ref as S, onActivated as te, resolveComponent as p, resolveDirective as R, createElementBlock as z, openBlock as c, createElementVNode as b, createVNode as t, withCtx as l, withKeys as v, unref as n, createBlock as w, createCommentVNode as I, withDirectives as _, vShow as le, createTextVNode as r, toDisplayString as i, isRef as U } from "vue";
|
|
2
|
+
import { useRoute as ae, useRouter as ne } from "vue-router";
|
|
3
|
+
import { useI18n as oe } from "vue-i18n";
|
|
4
|
+
import { useUserStore as B, clearEmpty as se, request as re, useTableHooks as de } from "jmash-core";
|
|
5
|
+
import { tokenExt as ue } from "xyvcard-agent";
|
|
6
|
+
import { D as f, C as ie } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { DateRange as me } from "xyvcard-insts";
|
|
8
|
+
import { g as pe } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
import { g as ye } from "./merchant-D9rtENQd.mjs";
|
|
10
|
+
class fe {
|
|
11
11
|
getKey(T) {
|
|
12
12
|
return {
|
|
13
13
|
analysisTime: T.analysisTime,
|
|
@@ -16,30 +16,30 @@ class pe {
|
|
|
16
16
|
}
|
|
17
17
|
// 查询翻页信息支付交易汇总统计;
|
|
18
18
|
findPage(T) {
|
|
19
|
-
const D =
|
|
20
|
-
return
|
|
19
|
+
const D = B().user.tenant;
|
|
20
|
+
return se(T), re({
|
|
21
21
|
url: "/v1/settle/analysis/merchant/page/" + D,
|
|
22
22
|
method: "get",
|
|
23
23
|
params: T
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const be = new fe(), Te = { class: "app-container" }, ce = { class: "search-container" }, ve = { class: "total-num" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, we = { class: "blue_color" }, Ve = ["onClick"], ze = /* @__PURE__ */ ee({
|
|
28
28
|
__name: "index",
|
|
29
|
-
setup(
|
|
30
|
-
const { t: T } =
|
|
29
|
+
setup(E) {
|
|
30
|
+
const { t: T } = oe();
|
|
31
31
|
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
32
|
-
const N =
|
|
33
|
-
tokenExt:
|
|
32
|
+
const N = ae().query.tenant, P = ne(), s = S({
|
|
33
|
+
tokenExt: ue.getTokenExt(B().user.tenant)
|
|
34
34
|
}), {
|
|
35
35
|
tableHooks: u,
|
|
36
36
|
multipleTableRef: Q,
|
|
37
|
-
queryFormRef:
|
|
37
|
+
queryFormRef: Y,
|
|
38
38
|
listLoading: j,
|
|
39
39
|
tableData: K,
|
|
40
|
-
total:
|
|
41
|
-
} =
|
|
42
|
-
let g = u.totalRecord, A =
|
|
40
|
+
total: V
|
|
41
|
+
} = de(T, be, s);
|
|
42
|
+
let g = u.totalRecord, A = S([
|
|
43
43
|
// 序号
|
|
44
44
|
{
|
|
45
45
|
label: "settleTradeAnalysis.index",
|
|
@@ -142,36 +142,37 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
142
142
|
isColumn: !0
|
|
143
143
|
}
|
|
144
144
|
]);
|
|
145
|
-
function
|
|
146
|
-
|
|
145
|
+
function q(o) {
|
|
146
|
+
P.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: ie.PAY_SUCCESS
|
|
151
152
|
}
|
|
152
153
|
});
|
|
153
154
|
}
|
|
154
|
-
function
|
|
155
|
+
function H(o) {
|
|
155
156
|
u.selectionRows.value = o;
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function L(o) {
|
|
158
159
|
u.handleSort(o.prop, o.order);
|
|
159
160
|
}
|
|
160
|
-
return
|
|
161
|
+
return te(() => {
|
|
161
162
|
u.getList();
|
|
162
163
|
}), (o, e) => {
|
|
163
|
-
const
|
|
164
|
-
return
|
|
165
|
-
b("div",
|
|
166
|
-
t(
|
|
164
|
+
const $ = p("jmash-select"), y = p("el-form-item"), d = p("el-col"), M = p("el-input"), C = p("el-row"), F = p("el-tree-select"), k = p("el-button"), O = p("el-form"), W = p("jmash-column-select"), Z = p("jmash-table"), G = p("jmash-pagination"), J = p("el-card"), X = R("hasPerm"), x = R("loading");
|
|
165
|
+
return c(), z("div", Te, [
|
|
166
|
+
b("div", ce, [
|
|
167
|
+
t(O, {
|
|
167
168
|
ref_key: "queryFormRef",
|
|
168
|
-
ref:
|
|
169
|
+
ref: Y,
|
|
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(() => [
|
|
@@ -180,12 +181,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
180
181
|
prop: "merchantId"
|
|
181
182
|
}, {
|
|
182
183
|
default: l(() => [
|
|
183
|
-
t(
|
|
184
|
+
t($, {
|
|
184
185
|
modelValue: s.value.merchantId,
|
|
185
186
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.merchantId = a),
|
|
186
187
|
placeholder: o.$t("payTrade.merchantIdRead"),
|
|
187
188
|
data: n(f).merchantBizDict.values,
|
|
188
|
-
onKeyup: e[1] || (e[1] =
|
|
189
|
+
onKeyup: e[1] || (e[1] = v((a) => n(u).handleQuery(), ["enter"])),
|
|
189
190
|
class: "!w-[203px]",
|
|
190
191
|
filterable: "",
|
|
191
192
|
clearable: ""
|
|
@@ -203,12 +204,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
203
204
|
prop: "payMode"
|
|
204
205
|
}, {
|
|
205
206
|
default: l(() => [
|
|
206
|
-
t(
|
|
207
|
+
t($, {
|
|
207
208
|
modelValue: s.value.payMode,
|
|
208
209
|
"onUpdate:modelValue": e[2] || (e[2] = (a) => s.value.payMode = a),
|
|
209
210
|
placeholder: o.$t("settleTradeAnalysis.payModeRead"),
|
|
210
211
|
data: n(f).payModeBizDict.values,
|
|
211
|
-
onKeyup: e[3] || (e[3] =
|
|
212
|
+
onKeyup: e[3] || (e[3] = v((a) => n(u).handleQuery(), ["enter"])),
|
|
212
213
|
class: "!w-[203px]",
|
|
213
214
|
filterable: "",
|
|
214
215
|
clearable: ""
|
|
@@ -230,7 +231,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
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"),
|
|
233
|
-
onKeyup: e[5] || (e[5] =
|
|
234
|
+
onKeyup: e[5] || (e[5] = v((a) => n(u).handleQuery(), ["enter"])),
|
|
234
235
|
class: "!w-[203px]"
|
|
235
236
|
}, null, 8, ["modelValue", "placeholder"])
|
|
236
237
|
]),
|
|
@@ -250,7 +251,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
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"),
|
|
253
|
-
onKeyup: e[7] || (e[7] =
|
|
254
|
+
onKeyup: e[7] || (e[7] = v((a) => n(u).handleQuery(), ["enter"])),
|
|
254
255
|
class: "!w-[203px]"
|
|
255
256
|
}, null, 8, ["modelValue", "placeholder"])
|
|
256
257
|
]),
|
|
@@ -262,11 +263,11 @@ 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
|
-
(a = n(N)) != null && a.includes("@") ? I("", !0) : (
|
|
270
|
+
(a = n(N)) != null && a.includes("@") ? I("", !0) : (c(), w(d, {
|
|
270
271
|
key: 0,
|
|
271
272
|
span: 6
|
|
272
273
|
}, {
|
|
@@ -276,7 +277,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
276
277
|
prop: "agentCode"
|
|
277
278
|
}, {
|
|
278
279
|
default: l(() => [
|
|
279
|
-
t(
|
|
280
|
+
t(F, {
|
|
280
281
|
modelValue: s.value.agentCode,
|
|
281
282
|
"onUpdate:modelValue": e[8] || (e[8] = (m) => s.value.agentCode = m),
|
|
282
283
|
data: n(f).agentBizDict.values,
|
|
@@ -299,12 +300,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
299
300
|
prop: "tradeType"
|
|
300
301
|
}, {
|
|
301
302
|
default: l(() => [
|
|
302
|
-
t(
|
|
303
|
+
t($, {
|
|
303
304
|
modelValue: s.value.tradeType,
|
|
304
305
|
"onUpdate:modelValue": e[9] || (e[9] = (m) => s.value.tradeType = m),
|
|
305
306
|
placeholder: o.$t("settleTradeAnalysis.tradeTypeRead"),
|
|
306
307
|
data: n(f).tradeTypeBizDict.values,
|
|
307
|
-
onKeyup: e[10] || (e[10] =
|
|
308
|
+
onKeyup: e[10] || (e[10] = v((m) => n(u).handleQuery(), ["enter"])),
|
|
308
309
|
class: "!w-[203px]",
|
|
309
310
|
filterable: "",
|
|
310
311
|
clearable: ""
|
|
@@ -322,12 +323,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
322
323
|
prop: "instsId"
|
|
323
324
|
}, {
|
|
324
325
|
default: l(() => [
|
|
325
|
-
t(
|
|
326
|
+
t($, {
|
|
326
327
|
modelValue: s.value.instsId,
|
|
327
328
|
"onUpdate:modelValue": e[11] || (e[11] = (m) => s.value.instsId = m),
|
|
328
329
|
placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
|
|
329
330
|
data: n(f).instsBizDict.values,
|
|
330
|
-
onKeyup: e[12] || (e[12] =
|
|
331
|
+
onKeyup: e[12] || (e[12] = v((m) => n(u).handleQuery(), ["enter"])),
|
|
331
332
|
class: "!w-[203px]",
|
|
332
333
|
filterable: "",
|
|
333
334
|
clearable: ""
|
|
@@ -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(me), {
|
|
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,20 +361,20 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
360
361
|
]),
|
|
361
362
|
_: 1
|
|
362
363
|
}, 8, ["label"]),
|
|
363
|
-
|
|
364
|
-
[
|
|
364
|
+
_(t(y, { prop: "analysisTimeEnd" }, null, 512), [
|
|
365
|
+
[le, !1]
|
|
365
366
|
])
|
|
366
367
|
]),
|
|
367
368
|
_: 1
|
|
368
369
|
}),
|
|
369
|
-
(
|
|
370
|
+
(h = n(N)) != null && h.includes("@") ? (c(), w(d, {
|
|
370
371
|
key: 1,
|
|
371
372
|
span: 6
|
|
372
373
|
}, {
|
|
373
374
|
default: l(() => [
|
|
374
375
|
t(y, { class: "search-btn" }, {
|
|
375
376
|
default: l(() => [
|
|
376
|
-
t(
|
|
377
|
+
t(k, {
|
|
377
378
|
type: "primary",
|
|
378
379
|
onClick: e[15] || (e[15] = (m) => n(u).handleQuery())
|
|
379
380
|
}, {
|
|
@@ -382,7 +383,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
382
383
|
]),
|
|
383
384
|
_: 1
|
|
384
385
|
}),
|
|
385
|
-
t(
|
|
386
|
+
t(k, {
|
|
386
387
|
onClick: e[16] || (e[16] = (m) => n(u).resetQuery())
|
|
387
388
|
}, {
|
|
388
389
|
default: l(() => [
|
|
@@ -400,28 +401,28 @@ 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 [
|
|
407
|
-
(a = n(N)) != null && a.includes("@") ? I("", !0) : (
|
|
408
|
+
(a = n(N)) != null && a.includes("@") ? I("", !0) : (c(), w(d, {
|
|
408
409
|
key: 0,
|
|
409
410
|
span: 24
|
|
410
411
|
}, {
|
|
411
412
|
default: l(() => [
|
|
412
413
|
t(y, { class: "search-btn" }, {
|
|
413
414
|
default: l(() => [
|
|
414
|
-
t(
|
|
415
|
+
t(k, {
|
|
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)
|
|
420
421
|
]),
|
|
421
422
|
_: 1
|
|
422
423
|
}),
|
|
423
|
-
t(
|
|
424
|
-
onClick: e[18] || (e[18] = (
|
|
424
|
+
t(k, {
|
|
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)
|
|
@@ -443,21 +444,21 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
443
444
|
}, 8, ["model"]),
|
|
444
445
|
e[24] || (e[24] = b("div", { class: "clear" }, null, -1))
|
|
445
446
|
]),
|
|
446
|
-
t(
|
|
447
|
+
t(J, {
|
|
447
448
|
shadow: "never",
|
|
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,
|
|
455
456
|
class: "container-float"
|
|
456
457
|
}, {
|
|
457
458
|
default: l(() => [
|
|
458
|
-
t(
|
|
459
|
+
t(W, {
|
|
459
460
|
modelValue: n(A),
|
|
460
|
-
"onUpdate:modelValue": e[19] || (e[19] = (a) =>
|
|
461
|
+
"onUpdate:modelValue": e[19] || (e[19] = (a) => U(A) ? A.value = a : A = a),
|
|
461
462
|
"label-name": "settle/settle-trade-analysis"
|
|
462
463
|
}, null, 8, ["modelValue"])
|
|
463
464
|
]),
|
|
@@ -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(V) > 0 ? (c(), w(G, {
|
|
472
473
|
key: 0,
|
|
473
|
-
total: n(
|
|
474
|
-
"onUpdate:total": e[20] || (e[20] = (a) =>
|
|
474
|
+
total: n(V),
|
|
475
|
+
"onUpdate:total": e[20] || (e[20] = (a) => U(V) ? V.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", ge, 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", Ae, 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", Ce, 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", he, i(n(g).totalDiscountAmount), 1),
|
|
514
515
|
e[32] || (e[32] = r(" 元 "))
|
|
515
516
|
]),
|
|
516
517
|
_: 1
|
|
@@ -518,7 +519,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
518
519
|
t(d, { span: 4 }, {
|
|
519
520
|
default: l(() => [
|
|
520
521
|
e[33] || (e[33] = r(" 手续费: ")),
|
|
521
|
-
b("span",
|
|
522
|
+
b("span", we, i(n(g).totalFeeAmt), 1),
|
|
522
523
|
e[34] || (e[34] = r(" 元 "))
|
|
523
524
|
]),
|
|
524
525
|
_: 1
|
|
@@ -527,19 +528,18 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
527
528
|
_: 1
|
|
528
529
|
})
|
|
529
530
|
]),
|
|
530
|
-
|
|
531
|
+
_((c(), w(Z, {
|
|
531
532
|
ref_key: "multipleTableRef",
|
|
532
533
|
ref: Q,
|
|
533
534
|
isSelection: !1,
|
|
534
535
|
"row-key": "settleTradeAnalysisPk",
|
|
535
|
-
"list-loading": n(j),
|
|
536
536
|
data: n(K),
|
|
537
537
|
"table-label": n(A),
|
|
538
|
-
onSelectionChange:
|
|
539
|
-
onSortChange:
|
|
538
|
+
onSelectionChange: H,
|
|
539
|
+
onSortChange: L
|
|
540
540
|
}, {
|
|
541
541
|
merchantId: l((a) => [
|
|
542
|
-
r(i(n(
|
|
542
|
+
r(i(n(ye)(a.data.row.merchantId)), 1)
|
|
543
543
|
]),
|
|
544
544
|
instsId: l((a) => [
|
|
545
545
|
r(i(n(f).instsBizDict.getValue(a.data.row.instsId)), 1)
|
|
@@ -548,20 +548,22 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
548
548
|
r(i(n(f).payModeBizDict.getEnumValue(a.data.row.payMode)), 1)
|
|
549
549
|
]),
|
|
550
550
|
agentCode: l((a) => [
|
|
551
|
-
r(i(n(
|
|
551
|
+
r(i(n(pe)(a.data.row.agentCode)), 1)
|
|
552
552
|
]),
|
|
553
553
|
operation: l((a) => [
|
|
554
|
-
|
|
554
|
+
_((c(), z("span", {
|
|
555
555
|
class: "el-button-color",
|
|
556
|
-
onClick: (
|
|
556
|
+
onClick: (h) => q(a.data.row)
|
|
557
557
|
}, [
|
|
558
558
|
r(i(o.$t("settleTradeAnalysis.view")), 1)
|
|
559
|
-
], 8,
|
|
560
|
-
[
|
|
559
|
+
], 8, Ve)), [
|
|
560
|
+
[X, ["payment:trade_analysis:view"]]
|
|
561
561
|
])
|
|
562
562
|
]),
|
|
563
563
|
_: 1
|
|
564
|
-
}, 8, ["
|
|
564
|
+
}, 8, ["data", "table-label"])), [
|
|
565
|
+
[x, n(j)]
|
|
566
|
+
])
|
|
565
567
|
]),
|
|
566
568
|
_: 1
|
|
567
569
|
})
|
|
@@ -570,5 +572,5 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
570
572
|
}
|
|
571
573
|
});
|
|
572
574
|
export {
|
|
573
|
-
|
|
575
|
+
ze as default
|
|
574
576
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var l = (a, s, i) => s in a ? p(a, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[s] = i;
|
|
3
3
|
var e = (a, s, i) => l(a, typeof s != "symbol" ? s + "" : s, i);
|
|
4
|
-
import { BizLayDict as y, BizDict as E, EnumDict as
|
|
4
|
+
import { BizLayDict as y, BizDict as E, EnumDict as n } from "jmash-core";
|
|
5
5
|
import { infoApi as D } from "xyvcard-agent";
|
|
6
|
-
import { institutionApi as
|
|
7
|
-
import { merchantsApi as
|
|
6
|
+
import { institutionApi as _ } from "xyvcard-insts";
|
|
7
|
+
import { merchantsApi as d } from "xyvcard-merchant";
|
|
8
8
|
class t {
|
|
9
9
|
}
|
|
10
10
|
//模块
|
|
@@ -22,7 +22,8 @@ e(t, "PAYMENT_COLORS", {
|
|
|
22
22
|
UQRCODEPAY: "#F8A3A3",
|
|
23
23
|
BALANCE: "#FBD564",
|
|
24
24
|
NUCSPAY: "#C36433"
|
|
25
|
-
}), e(t, "MCHT_CHAIN_HEAD", "MCHT_CHAIN_HEAD"), e(t, "MCHT_CHAIN_BRANCH", "MCHT_CHAIN_BRANCH")
|
|
25
|
+
}), e(t, "MCHT_CHAIN_HEAD", "MCHT_CHAIN_HEAD"), e(t, "MCHT_CHAIN_BRANCH", "MCHT_CHAIN_BRANCH"), // 交易状态 成功
|
|
26
|
+
e(t, "PAY_SUCCESS", "PAY_SUCCESS");
|
|
26
27
|
function h(a, s, i) {
|
|
27
28
|
return !Array.isArray(a) || a.length === 0 ? [] : a.map((r) => {
|
|
28
29
|
let A = [];
|
|
@@ -38,20 +39,20 @@ class T extends y {
|
|
|
38
39
|
// 实现 useValues 方法
|
|
39
40
|
useValues() {
|
|
40
41
|
return new Promise((s, i) => {
|
|
41
|
-
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, D.findList(this.query).then(({ data:
|
|
42
|
+
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, D.findList(this.query).then(({ data: u }) => {
|
|
42
43
|
this.values.length = 0, this.values.push(
|
|
43
|
-
...h(
|
|
44
|
+
...h(u.results, "agentAlias", "agentCode")
|
|
44
45
|
), s(this.values);
|
|
45
46
|
}).catch(i);
|
|
46
47
|
});
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
class
|
|
50
|
+
class P extends E {
|
|
50
51
|
// 实现 useValues 方法
|
|
51
52
|
useValues() {
|
|
52
53
|
return new Promise((s, i) => {
|
|
53
|
-
|
|
54
|
-
const r =
|
|
54
|
+
_.findList(this.query).then(({ data: u }) => {
|
|
55
|
+
const r = u.results;
|
|
55
56
|
this.values.length = 0, this.values.push(
|
|
56
57
|
...r.map(
|
|
57
58
|
(A) => ({
|
|
@@ -64,12 +65,12 @@ class m extends E {
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
class
|
|
68
|
+
class m extends E {
|
|
68
69
|
// 实现 useValues 方法
|
|
69
70
|
useValues() {
|
|
70
71
|
return new Promise((s, i) => {
|
|
71
|
-
|
|
72
|
-
const r =
|
|
72
|
+
d.findList(this.query).then(({ data: u }) => {
|
|
73
|
+
const r = u.results;
|
|
73
74
|
this.values.length = 0, this.values.push(
|
|
74
75
|
...r.map(
|
|
75
76
|
(A) => ({
|
|
@@ -89,21 +90,21 @@ e(c, "agentBizDict", new T({})), // 审核通过的代理商
|
|
|
89
90
|
e(c, "agentAgreeBizDict", new T({
|
|
90
91
|
approved: t.AGENT_AGREE
|
|
91
92
|
})), // 落地机构
|
|
92
|
-
e(c, "instsBizDict", new
|
|
93
|
-
e(c, "merchantBizDict", new
|
|
94
|
-
e(c, "payModeBizDict", new
|
|
93
|
+
e(c, "instsBizDict", new P({})), // 商户名称
|
|
94
|
+
e(c, "merchantBizDict", new m({})), // 支付方式
|
|
95
|
+
e(c, "payModeBizDict", new n(
|
|
95
96
|
t.PAYMENT_DICT,
|
|
96
97
|
t.PAY_MODE
|
|
97
98
|
)), // 交易类型
|
|
98
|
-
e(c, "tradeTypeBizDict", new
|
|
99
|
+
e(c, "tradeTypeBizDict", new n(
|
|
99
100
|
t.PAYMENT_DICT,
|
|
100
101
|
t.TRADE_TYPE
|
|
101
102
|
)), // 订单状态
|
|
102
|
-
e(c, "orderStatusBizDict", new
|
|
103
|
+
e(c, "orderStatusBizDict", new n(
|
|
103
104
|
t.PAYMENT_DICT,
|
|
104
105
|
t.ORDER_STATUS
|
|
105
106
|
)), // 交易状态
|
|
106
|
-
e(c, "tradeStatusBizDict", new
|
|
107
|
+
e(c, "tradeStatusBizDict", new n(
|
|
107
108
|
t.PAYMENT_DICT,
|
|
108
109
|
t.TRADE_STATUS
|
|
109
110
|
));
|