xyvcard-settle 0.0.60 → 0.0.62
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/README.md +51 -51
- package/dist/{edit-DzPBL82-.mjs → edit-D0635Imi.mjs} +1 -1
- package/dist/{history-CnMEO2CW.mjs → history-K9gCK-dy.mjs} +1 -1
- package/dist/{history-kl_jXsnW.mjs → history-n-i1O3HW.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CAVy5DVA.mjs → history.vue_vue_type_script_setup_true_lang-DApTPsCa.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CoTMeuBv.mjs → history.vue_vue_type_script_setup_true_lang-O9dIMAOf.mjs} +1 -1
- package/dist/{index-DIMYw-D2.mjs → index-3GtVD1Wk.mjs} +1 -1
- package/dist/{index-CN1fPWYT.mjs → index-A-WnC9N_.mjs} +1 -1
- package/dist/{index-CxAA6y4d.mjs → index-B26P-dbJ.mjs} +1 -1
- package/dist/{index-BwNNpY12.mjs → index-BiFQSzQC.mjs} +2 -2
- package/dist/{index-BFHtgunR.mjs → index-C7cjekvW.mjs} +9 -9
- package/dist/{index-DUHdbtZq.mjs → index-CEhzprsq.mjs} +85 -69
- package/dist/{index-DbjeEvNK.mjs → index-CZjhe7r7.mjs} +3 -3
- package/dist/{index-B20Lax-5.mjs → index-D6h_DI9O.mjs} +2 -2
- package/dist/{index-B3iittmi.mjs → index-DB6GmhZC.mjs} +1 -1
- package/dist/{index-CyrJT-cm.mjs → index-DIp1dXxV.mjs} +9 -9
- package/dist/{index-D1ZSiSHZ.mjs → index-DP4mEKbb.mjs} +2 -2
- package/dist/{index-CPx1PDuW.mjs → index-DU_ZJWiZ.mjs} +98 -82
- package/dist/{index-BALX50oa.mjs → index-HT_hvQpk.mjs} +1 -1
- package/dist/{index-DlzZSa1B.mjs → index-WmjvotMJ.mjs} +1 -1
- package/dist/{index-Bsp92E8u.mjs → index-j9qT-eAX.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/info-DRNe3ahX.mjs +4 -0
- package/dist/{pay-D5948kuF.mjs → pay-14RdzHFn.mjs} +5 -5
- package/dist/{pay-DE3hsH6b.mjs → pay-vKmygRqh.mjs} +5 -5
- package/dist/{payPal-CQ8yDjnQ.mjs → payPal-Cnuu0EW9.mjs} +8 -8
- package/dist/{payPal-Do1aiGtC.mjs → payPal-aIBSQv1O.mjs} +6 -6
- package/dist/style.css +1 -1
- package/dist/{today-CSCbz8w8.mjs → today-CUvEMPwQ.mjs} +1 -1
- package/dist/{today-BIoj6BkD.mjs → today-Mp8h8hpJ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BQY18Sy2.mjs → today.vue_vue_type_script_setup_true_lang-DN4-5vWQ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DGeGDGX8.mjs → today.vue_vue_type_script_setup_true_lang-Dk2NGhqI.mjs} +1 -1
- package/dist/{trend-DCJoR00O.mjs → trend-BLV9su_P.mjs} +1 -1
- package/dist/{trend-D__Df_wF.mjs → trend-D5C46t4B.mjs} +1 -1
- package/dist/{trend-CD-Orlre.mjs → trend-f1RTvIBC.mjs} +1 -1
- package/dts/src/views/payment/pay-bank-trade-record/edit.vue.d.ts +1 -1
- package/package.json +63 -63
- package/dist/info-D76iPRc2.mjs +0 -4
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as se, computed as ue, getCurrentInstance as pe, ref as h, onActivated as me, resolveComponent as
|
|
1
|
+
import { defineComponent as se, computed as ue, getCurrentInstance as pe, ref as h, onActivated as me, resolveComponent as T, resolveDirective as ie, createElementBlock as _, openBlock as f, createElementVNode as b, createVNode as a, withCtx as t, withKeys as c, unref as r, createBlock as g, createCommentVNode as A, Fragment as ye, renderList as Te, withDirectives as O, vShow as fe, createTextVNode as s, toDisplayString as p, isRef as U } from "vue";
|
|
2
2
|
import { useI18n as be } from "vue-i18n";
|
|
3
3
|
import { useRoute as ve, useRouter as ce } from "vue-router";
|
|
4
|
-
import { useUserStore as Ce, useTableHooks as
|
|
5
|
-
import { D as m, a as
|
|
4
|
+
import { useUserStore as Ce, useTableHooks as we } from "jmash-core";
|
|
5
|
+
import { D as m, a as ge, C as $ } from "./index-BiFQSzQC.mjs";
|
|
6
6
|
import { tokenExt as Ve } from "xyvcard-agent";
|
|
7
|
-
import { g as
|
|
8
|
-
import { g as
|
|
9
|
-
const Ne = { class: "app-container" },
|
|
7
|
+
import { g as De } from "./merchant-D9rtENQd.mjs";
|
|
8
|
+
import { g as $e } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
const Ne = { class: "app-container" }, Me = { class: "search-container" }, Re = { class: "total-num" }, Ie = { class: "blue_color" }, ke = { class: "blue_color" }, Se = { class: "blue_color" }, he = { class: "blue_color" }, _e = { class: "blue_color" }, Ae = { class: "blue_color" }, Pe = { class: "blue_color" }, Ye = { class: "blue_color" }, ze = ["onClick"], je = /* @__PURE__ */ se({
|
|
10
10
|
__name: "index",
|
|
11
|
-
setup(
|
|
11
|
+
setup(Be) {
|
|
12
12
|
m.instsBizDict.useValues(), m.instsIdBizDict.useValues(), m.agentBizDict.useValues(), m.agentAgreeBizDict.useValues(), m.merchantBizDict.useValues();
|
|
13
13
|
const E = ue(() => {
|
|
14
14
|
const l = m.instsIdBizDict.values.map((e) => e.key);
|
|
15
15
|
return m.instsBizDict.values.filter((e) => l.includes(e.key));
|
|
16
|
-
}), { t:
|
|
16
|
+
}), { t: H } = be(), { proxy: v } = pe(), N = ve(), P = ce(), I = N.query.tenant, d = h({
|
|
17
17
|
tokenExt: Ve.getTokenExt(Ce().user.tenant)
|
|
18
18
|
}), C = h([]);
|
|
19
|
-
function
|
|
20
|
-
C.value = l, d.value.startCreateTime =
|
|
19
|
+
function Q(l) {
|
|
20
|
+
C.value = l, d.value.startCreateTime = v.$moment.formatDate(
|
|
21
21
|
l[0],
|
|
22
|
-
|
|
23
|
-
), d.value.endCreateTime =
|
|
22
|
+
$.RPC_FORMAT_TIME
|
|
23
|
+
), d.value.endCreateTime = v.$moment.formatDate(
|
|
24
24
|
l[1],
|
|
25
|
-
|
|
25
|
+
$.RPC_FORMAT_TIME
|
|
26
26
|
), i.getList();
|
|
27
27
|
}
|
|
28
28
|
const {
|
|
29
29
|
tableHooks: i,
|
|
30
|
-
multipleTableRef:
|
|
30
|
+
multipleTableRef: q,
|
|
31
31
|
queryFormRef: F,
|
|
32
32
|
listLoading: K,
|
|
33
33
|
tableData: j,
|
|
34
34
|
total: k
|
|
35
|
-
} =
|
|
36
|
-
let
|
|
35
|
+
} = we(H, ge, d);
|
|
36
|
+
let w = i.totalRecord, M = h([
|
|
37
37
|
// 序号
|
|
38
38
|
{
|
|
39
39
|
label: "payTrade.index",
|
|
@@ -93,6 +93,16 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
93
93
|
sortable: "custom",
|
|
94
94
|
isColumn: !0
|
|
95
95
|
},
|
|
96
|
+
// 支付时间
|
|
97
|
+
{
|
|
98
|
+
label: "payTrade.createTime",
|
|
99
|
+
prop: "orderTime",
|
|
100
|
+
slotName: "orderTime",
|
|
101
|
+
columnType: "slot",
|
|
102
|
+
width: "160",
|
|
103
|
+
sortable: "custom",
|
|
104
|
+
isColumn: !0
|
|
105
|
+
},
|
|
96
106
|
// 交易分账类型
|
|
97
107
|
{
|
|
98
108
|
label: "payTrade.tradeProfitType",
|
|
@@ -242,32 +252,32 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
242
252
|
function J() {
|
|
243
253
|
const l = /* @__PURE__ */ new Date(), e = new Date(l.setHours(0, 0, 0, 0)), V = new Date(l.setHours(23, 59, 59, 999));
|
|
244
254
|
C.value = [
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
], d.value.startCreateTime =
|
|
255
|
+
v.$moment.formatDate(e, "YYYY-MM-DDTHH:mm:ssZ"),
|
|
256
|
+
v.$moment.formatDate(V, "YYYY-MM-DDTHH:mm:ssZ")
|
|
257
|
+
], d.value.startCreateTime = v.$moment.formatDate(
|
|
248
258
|
e,
|
|
249
|
-
|
|
250
|
-
), d.value.endCreateTime =
|
|
259
|
+
$.RPC_FORMAT_TIME
|
|
260
|
+
), d.value.endCreateTime = v.$moment.formatDate(
|
|
251
261
|
V,
|
|
252
|
-
|
|
262
|
+
$.RPC_FORMAT_TIME
|
|
253
263
|
);
|
|
254
264
|
}
|
|
255
265
|
return me(() => {
|
|
256
266
|
const l = N.query.analysisTime;
|
|
257
|
-
d.value.agentCode = N.query.agentCode, d.value.merchantId = N.query.merchantId, d.value.tradeStatus = N.query.tradeStatus, l ? (d.value.startCreateTime =
|
|
267
|
+
d.value.agentCode = N.query.agentCode, d.value.merchantId = N.query.merchantId, d.value.tradeStatus = N.query.tradeStatus, l ? (d.value.startCreateTime = v.$moment.formatDate(
|
|
258
268
|
l,
|
|
259
|
-
|
|
260
|
-
), d.value.endCreateTime =
|
|
269
|
+
$.RPC_FORMAT_TIME
|
|
270
|
+
), d.value.endCreateTime = v.$moment.formatDate(
|
|
261
271
|
l,
|
|
262
|
-
|
|
272
|
+
$.RPC_FORMAT_TIME
|
|
263
273
|
), C.value = [
|
|
264
274
|
d.value.startCreateTime,
|
|
265
275
|
d.value.endCreateTime
|
|
266
276
|
]) : (!C.value || C.value.length === 0) && J(), i.getList();
|
|
267
277
|
}), (l, e) => {
|
|
268
|
-
const V =
|
|
269
|
-
return
|
|
270
|
-
b("div",
|
|
278
|
+
const V = T("el-input"), y = T("el-form-item"), u = T("el-col"), D = T("jmash-select"), R = T("el-row"), X = T("el-option"), x = T("el-select"), ee = T("el-tree-select"), te = T("el-date-picker"), Y = T("el-button"), ae = T("el-form"), le = T("jmash-column-select"), oe = T("jmash-table"), re = T("jmash-pagination"), de = T("el-card"), ne = ie("loading");
|
|
279
|
+
return f(), _("div", Ne, [
|
|
280
|
+
b("div", Me, [
|
|
271
281
|
a(ae, {
|
|
272
282
|
ref_key: "queryFormRef",
|
|
273
283
|
ref: F,
|
|
@@ -276,7 +286,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
276
286
|
"label-width": "7em"
|
|
277
287
|
}, {
|
|
278
288
|
default: t(() => [
|
|
279
|
-
a(
|
|
289
|
+
a(R, null, {
|
|
280
290
|
default: t(() => [
|
|
281
291
|
a(u, { span: 6 }, {
|
|
282
292
|
default: t(() => [
|
|
@@ -289,7 +299,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
289
299
|
modelValue: d.value.likeMerchantNo,
|
|
290
300
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => d.value.likeMerchantNo = o),
|
|
291
301
|
placeholder: l.$t("payTrade.likeMerchantNoRead"),
|
|
292
|
-
onKeyup: e[1] || (e[1] =
|
|
302
|
+
onKeyup: e[1] || (e[1] = c((o) => r(i).handleQuery(), ["enter"])),
|
|
293
303
|
class: "!w-[203px]"
|
|
294
304
|
}, null, 8, ["modelValue", "placeholder"])
|
|
295
305
|
]),
|
|
@@ -305,12 +315,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
305
315
|
prop: "merchantId"
|
|
306
316
|
}, {
|
|
307
317
|
default: t(() => [
|
|
308
|
-
a(
|
|
318
|
+
a(D, {
|
|
309
319
|
modelValue: d.value.merchantId,
|
|
310
320
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => d.value.merchantId = o),
|
|
311
321
|
placeholder: l.$t("payTrade.merchantIdRead"),
|
|
312
322
|
data: r(m).merchantBizDict.values,
|
|
313
|
-
onKeyup: e[3] || (e[3] =
|
|
323
|
+
onKeyup: e[3] || (e[3] = c((o) => r(i).handleQuery(), ["enter"])),
|
|
314
324
|
class: "!w-[203px]",
|
|
315
325
|
filterable: "",
|
|
316
326
|
clearable: ""
|
|
@@ -332,7 +342,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
332
342
|
modelValue: d.value.termNo,
|
|
333
343
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => d.value.termNo = o),
|
|
334
344
|
placeholder: l.$t("payTrade.termNoRead"),
|
|
335
|
-
onKeyup: e[5] || (e[5] =
|
|
345
|
+
onKeyup: e[5] || (e[5] = c((o) => r(i).handleQuery(), ["enter"])),
|
|
336
346
|
class: "!w-[203px]"
|
|
337
347
|
}, null, 8, ["modelValue", "placeholder"])
|
|
338
348
|
]),
|
|
@@ -348,12 +358,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
348
358
|
prop: "payMode"
|
|
349
359
|
}, {
|
|
350
360
|
default: t(() => [
|
|
351
|
-
a(
|
|
361
|
+
a(D, {
|
|
352
362
|
modelValue: d.value.payMode,
|
|
353
363
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => d.value.payMode = o),
|
|
354
364
|
placeholder: l.$t("payTrade.payModeRead"),
|
|
355
365
|
data: r(m).payModeBizDict.values,
|
|
356
|
-
onKeyup: e[7] || (e[7] =
|
|
366
|
+
onKeyup: e[7] || (e[7] = c((o) => r(i).handleQuery(), ["enter"])),
|
|
357
367
|
class: "!w-[203px]",
|
|
358
368
|
filterable: "",
|
|
359
369
|
clearable: ""
|
|
@@ -367,9 +377,9 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
367
377
|
]),
|
|
368
378
|
_: 1
|
|
369
379
|
}),
|
|
370
|
-
a(
|
|
380
|
+
a(R, null, {
|
|
371
381
|
default: t(() => {
|
|
372
|
-
var o, S,
|
|
382
|
+
var o, S, z, B;
|
|
373
383
|
return [
|
|
374
384
|
a(u, { span: 6 }, {
|
|
375
385
|
default: t(() => [
|
|
@@ -378,12 +388,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
378
388
|
prop: "tradeType"
|
|
379
389
|
}, {
|
|
380
390
|
default: t(() => [
|
|
381
|
-
a(
|
|
391
|
+
a(D, {
|
|
382
392
|
modelValue: d.value.tradeType,
|
|
383
393
|
"onUpdate:modelValue": e[8] || (e[8] = (n) => d.value.tradeType = n),
|
|
384
394
|
placeholder: l.$t("payTrade.tradeTypeRead"),
|
|
385
395
|
data: r(m).tradeTypeBizDict.values,
|
|
386
|
-
onKeyup: e[9] || (e[9] =
|
|
396
|
+
onKeyup: e[9] || (e[9] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
387
397
|
class: "!w-[203px]",
|
|
388
398
|
filterable: "",
|
|
389
399
|
clearable: ""
|
|
@@ -394,7 +404,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
394
404
|
]),
|
|
395
405
|
_: 1
|
|
396
406
|
}),
|
|
397
|
-
(o = r(
|
|
407
|
+
(o = r(I)) != null && o.includes("@") ? (f(), g(u, {
|
|
398
408
|
key: 1,
|
|
399
409
|
span: 6
|
|
400
410
|
}, {
|
|
@@ -413,7 +423,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
413
423
|
clearable: ""
|
|
414
424
|
}, {
|
|
415
425
|
default: t(() => [
|
|
416
|
-
(
|
|
426
|
+
(f(!0), _(ye, null, Te(E.value, (n) => (f(), g(X, {
|
|
417
427
|
key: n.key,
|
|
418
428
|
label: n.value,
|
|
419
429
|
value: n.key
|
|
@@ -426,7 +436,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
426
436
|
}, 8, ["label"])
|
|
427
437
|
]),
|
|
428
438
|
_: 1
|
|
429
|
-
})) : (
|
|
439
|
+
})) : (f(), g(u, {
|
|
430
440
|
key: 0,
|
|
431
441
|
span: 6
|
|
432
442
|
}, {
|
|
@@ -436,12 +446,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
436
446
|
prop: "instsId"
|
|
437
447
|
}, {
|
|
438
448
|
default: t(() => [
|
|
439
|
-
a(
|
|
449
|
+
a(D, {
|
|
440
450
|
modelValue: d.value.instsId,
|
|
441
451
|
"onUpdate:modelValue": e[10] || (e[10] = (n) => d.value.instsId = n),
|
|
442
452
|
placeholder: l.$t("payTrade.instsIdRead"),
|
|
443
453
|
data: r(m).instsBizDict.values,
|
|
444
|
-
onKeyup: e[11] || (e[11] =
|
|
454
|
+
onKeyup: e[11] || (e[11] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
445
455
|
class: "!w-[203px]",
|
|
446
456
|
filterable: "",
|
|
447
457
|
clearable: ""
|
|
@@ -463,7 +473,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
463
473
|
modelValue: d.value.orderNo,
|
|
464
474
|
"onUpdate:modelValue": e[13] || (e[13] = (n) => d.value.orderNo = n),
|
|
465
475
|
placeholder: l.$t("payTrade.orderNoRead"),
|
|
466
|
-
onKeyup: e[14] || (e[14] =
|
|
476
|
+
onKeyup: e[14] || (e[14] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
467
477
|
class: "!w-[203px]"
|
|
468
478
|
}, null, 8, ["modelValue", "placeholder"])
|
|
469
479
|
]),
|
|
@@ -483,7 +493,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
483
493
|
modelValue: d.value.outOrderNo,
|
|
484
494
|
"onUpdate:modelValue": e[15] || (e[15] = (n) => d.value.outOrderNo = n),
|
|
485
495
|
placeholder: l.$t("payTrade.outOrderNoRead"),
|
|
486
|
-
onKeyup: e[16] || (e[16] =
|
|
496
|
+
onKeyup: e[16] || (e[16] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
487
497
|
class: "!w-[203px]"
|
|
488
498
|
}, null, 8, ["modelValue", "placeholder"])
|
|
489
499
|
]),
|
|
@@ -492,7 +502,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
492
502
|
]),
|
|
493
503
|
_: 1
|
|
494
504
|
}),
|
|
495
|
-
(S = r(
|
|
505
|
+
(S = r(I)) != null && S.includes("@") ? (f(), g(u, {
|
|
496
506
|
key: 3,
|
|
497
507
|
span: 6
|
|
498
508
|
}, {
|
|
@@ -502,12 +512,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
502
512
|
prop: "tradeStatus"
|
|
503
513
|
}, {
|
|
504
514
|
default: t(() => [
|
|
505
|
-
a(
|
|
515
|
+
a(D, {
|
|
506
516
|
modelValue: d.value.tradeStatus,
|
|
507
517
|
"onUpdate:modelValue": e[18] || (e[18] = (n) => d.value.tradeStatus = n),
|
|
508
518
|
placeholder: l.$t("payTrade.tradeStatusRead"),
|
|
509
519
|
data: r(m).tradeStatusBizDict.values,
|
|
510
|
-
onKeyup: e[19] || (e[19] =
|
|
520
|
+
onKeyup: e[19] || (e[19] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
511
521
|
class: "!w-[203px]",
|
|
512
522
|
filterable: "",
|
|
513
523
|
clearable: ""
|
|
@@ -517,7 +527,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
517
527
|
}, 8, ["label"])
|
|
518
528
|
]),
|
|
519
529
|
_: 1
|
|
520
|
-
})) : (
|
|
530
|
+
})) : (f(), g(u, {
|
|
521
531
|
key: 2,
|
|
522
532
|
span: 6
|
|
523
533
|
}, {
|
|
@@ -543,7 +553,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
543
553
|
]),
|
|
544
554
|
_: 1
|
|
545
555
|
})),
|
|
546
|
-
(
|
|
556
|
+
(z = r(I)) != null && z.includes("@") ? A("", !0) : (f(), g(u, {
|
|
547
557
|
key: 4,
|
|
548
558
|
span: 6
|
|
549
559
|
}, {
|
|
@@ -553,12 +563,12 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
553
563
|
prop: "tradeStatus"
|
|
554
564
|
}, {
|
|
555
565
|
default: t(() => [
|
|
556
|
-
a(
|
|
566
|
+
a(D, {
|
|
557
567
|
modelValue: d.value.tradeStatus,
|
|
558
568
|
"onUpdate:modelValue": e[20] || (e[20] = (n) => d.value.tradeStatus = n),
|
|
559
569
|
placeholder: l.$t("payTrade.tradeStatusRead"),
|
|
560
570
|
data: r(m).tradeStatusBizDict.values,
|
|
561
|
-
onKeyup: e[21] || (e[21] =
|
|
571
|
+
onKeyup: e[21] || (e[21] = c((n) => r(i).handleQuery(), ["enter"])),
|
|
562
572
|
class: "!w-[203px]",
|
|
563
573
|
filterable: "",
|
|
564
574
|
clearable: ""
|
|
@@ -582,7 +592,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
582
592
|
type: "daterange",
|
|
583
593
|
"start-placeholder": l.$t("payTrade.startCreateTime"),
|
|
584
594
|
"end-placeholder": l.$t("payTrade.endCreateTime"),
|
|
585
|
-
onChange:
|
|
595
|
+
onChange: Q,
|
|
586
596
|
format: "YYYY-MM-DD",
|
|
587
597
|
"value-format": "YYYY-MM-DDTHH:mm:ssZ",
|
|
588
598
|
clearable: !1
|
|
@@ -591,18 +601,18 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
591
601
|
_: 1
|
|
592
602
|
}, 8, ["label"]),
|
|
593
603
|
O(a(y, { prop: "endCreateTime" }, null, 512), [
|
|
594
|
-
[
|
|
604
|
+
[fe, !1]
|
|
595
605
|
])
|
|
596
606
|
]),
|
|
597
607
|
_: 1
|
|
598
608
|
}),
|
|
599
609
|
a(u, {
|
|
600
|
-
span: (
|
|
610
|
+
span: (B = r(I)) != null && B.includes("@") ? 12 : 6
|
|
601
611
|
}, {
|
|
602
612
|
default: t(() => [
|
|
603
613
|
a(y, { class: "search-btn" }, {
|
|
604
614
|
default: t(() => [
|
|
605
|
-
a(
|
|
615
|
+
a(Y, {
|
|
606
616
|
type: "primary",
|
|
607
617
|
onClick: e[23] || (e[23] = (n) => r(i).handleQuery())
|
|
608
618
|
}, {
|
|
@@ -611,7 +621,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
611
621
|
]),
|
|
612
622
|
_: 1
|
|
613
623
|
}),
|
|
614
|
-
a(
|
|
624
|
+
a(Y, {
|
|
615
625
|
onClick: e[24] || (e[24] = (n) => G())
|
|
616
626
|
}, {
|
|
617
627
|
default: t(() => [
|
|
@@ -639,7 +649,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
639
649
|
class: "table-container"
|
|
640
650
|
}, {
|
|
641
651
|
header: t(() => [
|
|
642
|
-
a(
|
|
652
|
+
a(R, null, {
|
|
643
653
|
default: t(() => [
|
|
644
654
|
a(u, {
|
|
645
655
|
span: 24,
|
|
@@ -647,8 +657,8 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
647
657
|
}, {
|
|
648
658
|
default: t(() => [
|
|
649
659
|
a(le, {
|
|
650
|
-
modelValue: r(
|
|
651
|
-
"onUpdate:modelValue": e[25] || (e[25] = (o) => U(
|
|
660
|
+
modelValue: r(M),
|
|
661
|
+
"onUpdate:modelValue": e[25] || (e[25] = (o) => U(M) ? M.value = o : M = o),
|
|
652
662
|
"label-name": "settle/settle-trade-analysis"
|
|
653
663
|
}, null, 8, ["modelValue"])
|
|
654
664
|
]),
|
|
@@ -659,7 +669,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
659
669
|
})
|
|
660
670
|
]),
|
|
661
671
|
footer: t(() => [
|
|
662
|
-
r(k) > 0 ? (
|
|
672
|
+
r(k) > 0 ? (f(), g(re, {
|
|
663
673
|
key: 0,
|
|
664
674
|
total: r(k),
|
|
665
675
|
"onUpdate:total": e[26] || (e[26] = (o) => U(k) ? k.value = o : null),
|
|
@@ -671,13 +681,13 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
671
681
|
}, null, 8, ["total", "current-page", "page-size"])) : A("", !0)
|
|
672
682
|
]),
|
|
673
683
|
default: t(() => [
|
|
674
|
-
b("div",
|
|
675
|
-
a(
|
|
684
|
+
b("div", Re, [
|
|
685
|
+
a(R, { gutter: 20 }, {
|
|
676
686
|
default: t(() => [
|
|
677
687
|
a(u, { span: 5 }, {
|
|
678
688
|
default: t(() => [
|
|
679
689
|
e[31] || (e[31] = s(" 订单笔数: ")),
|
|
680
|
-
b("span",
|
|
690
|
+
b("span", Ie, p(r(w).orderCount), 1),
|
|
681
691
|
e[32] || (e[32] = s(" 笔 "))
|
|
682
692
|
]),
|
|
683
693
|
_: 1
|
|
@@ -685,7 +695,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
685
695
|
a(u, { span: 5 }, {
|
|
686
696
|
default: t(() => [
|
|
687
697
|
e[33] || (e[33] = s(" 订单金额: ")),
|
|
688
|
-
b("span", ke, p(r(
|
|
698
|
+
b("span", ke, p(r(w).orderAmount), 1),
|
|
689
699
|
e[34] || (e[34] = s(" 元 "))
|
|
690
700
|
]),
|
|
691
701
|
_: 1
|
|
@@ -693,7 +703,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
693
703
|
a(u, { span: 5 }, {
|
|
694
704
|
default: t(() => [
|
|
695
705
|
e[35] || (e[35] = s(" 优惠金额: ")),
|
|
696
|
-
b("span", Se, p(r(
|
|
706
|
+
b("span", Se, p(r(w).orderDiscountAmount), 1),
|
|
697
707
|
e[36] || (e[36] = s(" 元 "))
|
|
698
708
|
]),
|
|
699
709
|
_: 1
|
|
@@ -701,7 +711,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
701
711
|
a(u, { span: 5 }, {
|
|
702
712
|
default: t(() => [
|
|
703
713
|
e[37] || (e[37] = s(" 交易金额: ")),
|
|
704
|
-
b("span", he, p(r(
|
|
714
|
+
b("span", he, p(r(w).tradeAmount), 1),
|
|
705
715
|
e[38] || (e[38] = s(" 元 "))
|
|
706
716
|
]),
|
|
707
717
|
_: 1
|
|
@@ -709,7 +719,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
709
719
|
]),
|
|
710
720
|
_: 1
|
|
711
721
|
}),
|
|
712
|
-
a(
|
|
722
|
+
a(R, {
|
|
713
723
|
gutter: 20,
|
|
714
724
|
style: { "margin-top": "10px" }
|
|
715
725
|
}, {
|
|
@@ -717,7 +727,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
717
727
|
a(u, { span: 5 }, {
|
|
718
728
|
default: t(() => [
|
|
719
729
|
e[39] || (e[39] = s(" 收款笔数: ")),
|
|
720
|
-
b("span", _e, p(r(
|
|
730
|
+
b("span", _e, p(r(w).paidOrder), 1),
|
|
721
731
|
e[40] || (e[40] = s(" 笔 "))
|
|
722
732
|
]),
|
|
723
733
|
_: 1
|
|
@@ -725,7 +735,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
725
735
|
a(u, { span: 5 }, {
|
|
726
736
|
default: t(() => [
|
|
727
737
|
e[41] || (e[41] = s(" 收款金额: ")),
|
|
728
|
-
b("span", Ae, p(r(
|
|
738
|
+
b("span", Ae, p(r(w).paidAmount), 1),
|
|
729
739
|
e[42] || (e[42] = s(" 元 "))
|
|
730
740
|
]),
|
|
731
741
|
_: 1
|
|
@@ -733,7 +743,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
733
743
|
a(u, { span: 5 }, {
|
|
734
744
|
default: t(() => [
|
|
735
745
|
e[43] || (e[43] = s(" 退款笔数: ")),
|
|
736
|
-
b("span", Pe, p(r(
|
|
746
|
+
b("span", Pe, p(r(w).refundOrder), 1),
|
|
737
747
|
e[44] || (e[44] = s(" 笔 "))
|
|
738
748
|
]),
|
|
739
749
|
_: 1
|
|
@@ -741,7 +751,7 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
741
751
|
a(u, { span: 5 }, {
|
|
742
752
|
default: t(() => [
|
|
743
753
|
e[45] || (e[45] = s(" 退款金额: ")),
|
|
744
|
-
b("span",
|
|
754
|
+
b("span", Ye, p(r(w).refundAmount), 1),
|
|
745
755
|
e[46] || (e[46] = s(" 元 "))
|
|
746
756
|
]),
|
|
747
757
|
_: 1
|
|
@@ -750,13 +760,13 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
750
760
|
_: 1
|
|
751
761
|
})
|
|
752
762
|
]),
|
|
753
|
-
O((
|
|
763
|
+
O((f(), g(oe, {
|
|
754
764
|
ref_key: "multipleTableRef",
|
|
755
|
-
ref:
|
|
765
|
+
ref: q,
|
|
756
766
|
"row-key": "payTradePk",
|
|
757
767
|
isSelection: !1,
|
|
758
768
|
data: r(j),
|
|
759
|
-
"table-label": r(
|
|
769
|
+
"table-label": r(M),
|
|
760
770
|
onSelectionChange: Z,
|
|
761
771
|
onSortChange: W
|
|
762
772
|
}, {
|
|
@@ -781,23 +791,29 @@ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie =
|
|
|
781
791
|
s(p(r(m).payModeBizDict.getEnumValue(o.data.row.payMode)), 1)
|
|
782
792
|
]),
|
|
783
793
|
merchantId: t((o) => [
|
|
784
|
-
s(p(r(
|
|
794
|
+
s(p(r(De)(o.data.row.merchantId)), 1)
|
|
785
795
|
]),
|
|
786
796
|
tradeTime: t((o) => [
|
|
787
|
-
s(p(r(
|
|
797
|
+
s(p(r(v).$moment.formatDate(
|
|
788
798
|
o.data.row.tradeTime,
|
|
789
799
|
"YYYY-MM-DD HH:mm"
|
|
790
800
|
)), 1)
|
|
791
801
|
]),
|
|
802
|
+
orderTime: t((o) => [
|
|
803
|
+
s(p(r(v).$moment.formatDate(
|
|
804
|
+
o.data.row.orderTime,
|
|
805
|
+
"YYYY-MM-DD HH:mm"
|
|
806
|
+
)), 1)
|
|
807
|
+
]),
|
|
792
808
|
agentCode: t((o) => [
|
|
793
|
-
s(p(r(
|
|
809
|
+
s(p(r($e)(o.data.row.agentCode)), 1)
|
|
794
810
|
]),
|
|
795
811
|
operation: t((o) => [
|
|
796
|
-
o.data.row.tradeProfitType === "PLATFORMT_PROFIT" ? (
|
|
812
|
+
o.data.row.tradeProfitType === "PLATFORMT_PROFIT" ? (f(), _("span", {
|
|
797
813
|
key: 0,
|
|
798
814
|
class: "el-button-color",
|
|
799
815
|
onClick: (S) => L(o.data.row)
|
|
800
|
-
}, p(l.$t("payTrade.views")), 9,
|
|
816
|
+
}, p(l.$t("payTrade.views")), 9, ze)) : A("", !0)
|
|
801
817
|
]),
|
|
802
818
|
_: 1
|
|
803
819
|
}, 8, ["data", "table-label"])), [
|
|
@@ -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-BiFQSzQC.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";
|
|
@@ -3,7 +3,7 @@ import { useI18n as x } from "vue-i18n";
|
|
|
3
3
|
import { useRouter as ee } from "vue-router";
|
|
4
4
|
import { useUserStore as R, clearEmpty as te, request as le, useTableHooks as ae } from "jmash-core";
|
|
5
5
|
import { tokenExt as oe } from "xyvcard-agent";
|
|
6
|
-
import { D as A, C as ne } from "./index-
|
|
6
|
+
import { D as A, C as ne } from "./index-BiFQSzQC.mjs";
|
|
7
7
|
import { DateRange as se } from "xyvcard-insts";
|
|
8
8
|
import { g as re } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class de {
|
|
@@ -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-DApTPsCa.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DN4-5vWQ.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, ref as m, onMounted as y, onUnmounted as h, createElementBlock as x, openBlock as _ } from "vue";
|
|
2
2
|
import { i as g } from "./index--_Po9Tig.mjs";
|
|
3
|
-
import { s as
|
|
4
|
-
import { merchantsApi as
|
|
3
|
+
import { s as b } from "./index-eUhFgNKx.mjs";
|
|
4
|
+
import { merchantsApi as w } from "xyvcard-merchant";
|
|
5
5
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const z = /* @__PURE__ */ v({
|
|
7
7
|
__name: "pay",
|
|
@@ -76,13 +76,13 @@ const z = /* @__PURE__ */ v({
|
|
|
76
76
|
e.setOption(s);
|
|
77
77
|
}, f = async () => {
|
|
78
78
|
try {
|
|
79
|
-
const r = u(), n = await
|
|
79
|
+
const r = u(), n = await b.orderAmount({
|
|
80
80
|
analysisTimeStart: r.analysisTimeStart,
|
|
81
81
|
analysisTimeEnd: r.analysisTimeEnd
|
|
82
82
|
});
|
|
83
83
|
for (let t = 0; t < n.data.results.length; t++)
|
|
84
84
|
if (n.data.results[t].merchantId && n.data.results[t].tradeAmount) {
|
|
85
|
-
const { data: s } = await
|
|
85
|
+
const { data: s } = await w.findBusinessName({
|
|
86
86
|
merchantId: n.data.results[t].merchantId
|
|
87
87
|
});
|
|
88
88
|
i.value.push({
|
|
@@ -120,7 +120,7 @@ const z = /* @__PURE__ */ v({
|
|
|
120
120
|
class: "chart-container"
|
|
121
121
|
}, null, 512));
|
|
122
122
|
}
|
|
123
|
-
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-
|
|
123
|
+
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-b91fa540"]]);
|
|
124
124
|
export {
|
|
125
125
|
M as default
|
|
126
126
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as l, onMounted as p, onUnmounted as f, createElementBlock as v, openBlock as h } from "vue";
|
|
2
2
|
import { s as _ } from "./index-CGc-CaEO.mjs";
|
|
3
3
|
import { i as y } from "./index--_Po9Tig.mjs";
|
|
4
4
|
import { merchantsApi as b } from "xyvcard-merchant";
|
|
5
5
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const x = /* @__PURE__ */
|
|
6
|
+
const x = /* @__PURE__ */ m({
|
|
7
7
|
__name: "pay",
|
|
8
8
|
setup(g) {
|
|
9
9
|
const r = l();
|
|
@@ -66,7 +66,7 @@ const x = /* @__PURE__ */ d({
|
|
|
66
66
|
]
|
|
67
67
|
};
|
|
68
68
|
t.setOption(a);
|
|
69
|
-
},
|
|
69
|
+
}, d = async () => {
|
|
70
70
|
try {
|
|
71
71
|
const a = await _.orderAmount({});
|
|
72
72
|
for (let e = 0; e < a.data.results.length; e++)
|
|
@@ -89,7 +89,7 @@ const x = /* @__PURE__ */ d({
|
|
|
89
89
|
t && t.resize();
|
|
90
90
|
};
|
|
91
91
|
return p(() => {
|
|
92
|
-
c(),
|
|
92
|
+
c(), d(), window.addEventListener("resize", i), r.value && (s = new ResizeObserver(() => {
|
|
93
93
|
t && t.resize();
|
|
94
94
|
}), s.observe(r.value));
|
|
95
95
|
}), f(() => {
|
|
@@ -100,7 +100,7 @@ const x = /* @__PURE__ */ d({
|
|
|
100
100
|
class: "chart-container"
|
|
101
101
|
}, null, 512));
|
|
102
102
|
}
|
|
103
|
-
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-
|
|
103
|
+
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-06edd8f4"]]);
|
|
104
104
|
export {
|
|
105
105
|
$ as default
|
|
106
106
|
};
|