xyvcard-settle 0.0.58 → 0.0.60

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.
Files changed (43) hide show
  1. package/dist/edit-DzPBL82-.mjs +2380 -0
  2. package/dist/{history-CMyJKuis.mjs → history-CnMEO2CW.mjs} +1 -1
  3. package/dist/{history-DWaN_Nrb.mjs → history-kl_jXsnW.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs → history.vue_vue_type_script_setup_true_lang-CAVy5DVA.mjs} +1 -1
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs → history.vue_vue_type_script_setup_true_lang-CoTMeuBv.mjs} +1 -1
  6. package/dist/{index-ZwyAUTzX.mjs → index-B20Lax-5.mjs} +2 -2
  7. package/dist/{index-BmSUfSfV.mjs → index-BALX50oa.mjs} +1 -1
  8. package/dist/{index-CVEOIlcb.mjs → index-BFHtgunR.mjs} +3 -3
  9. package/dist/{index-D8LRYlta.mjs → index-Bsp92E8u.mjs} +2 -2
  10. package/dist/index-BwNNpY12.mjs +3299 -0
  11. package/dist/{index-D6IsNjl5.mjs → index-CN1fPWYT.mjs} +1 -1
  12. package/dist/{index-CL4HN4Ts.mjs → index-CPx1PDuW.mjs} +310 -238
  13. package/dist/{index-BeU6u9hH.mjs → index-CxAA6y4d.mjs} +1 -1
  14. package/dist/{index-UpMheR8A.mjs → index-CyrJT-cm.mjs} +8 -8
  15. package/dist/index-D1ZSiSHZ.mjs +541 -0
  16. package/dist/index-DIMYw-D2.mjs +191 -0
  17. package/dist/{index-CMCuahPr.mjs → index-DUHdbtZq.mjs} +1 -1
  18. package/dist/{index-CBRg6gOE.mjs → index-DbjeEvNK.mjs} +1 -1
  19. package/dist/{index-D09KMqNV.mjs → index-DlzZSa1B.mjs} +1 -1
  20. package/dist/index.mjs +1 -1
  21. package/dist/info-D76iPRc2.mjs +4 -0
  22. package/dist/{payPal-BxEHOKHE.mjs → payPal-CQ8yDjnQ.mjs} +1 -1
  23. package/dist/{payPal-FS5kDoPy.mjs → payPal-Do1aiGtC.mjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{today-BU8dRQhE.mjs → today-BIoj6BkD.mjs} +1 -1
  26. package/dist/{today-DO4wIwlZ.mjs → today-CSCbz8w8.mjs} +1 -1
  27. package/dist/{today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs → today.vue_vue_type_script_setup_true_lang-BQY18Sy2.mjs} +1 -1
  28. package/dist/{today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs → today.vue_vue_type_script_setup_true_lang-DGeGDGX8.mjs} +1 -1
  29. package/dts/src/api/settle/dict.d.ts +9 -0
  30. package/dts/src/api/settle/index.d.ts +11 -2
  31. package/dts/src/api/settle/mcht-profit/index.d.ts +9 -0
  32. package/dts/src/api/settle/mcht-profit/type.d.ts +34 -0
  33. package/dts/src/api/settle/pay-bank-trade-record/index.d.ts +19 -0
  34. package/dts/src/api/settle/pay-bank-trade-record/types.d.ts +135 -0
  35. package/dts/src/constant.d.ts +27 -0
  36. package/dts/src/lang/settle/zh-cn.d.ts +48 -0
  37. package/dts/src/views/payment/merchant-profit/index.vue.d.ts +2 -0
  38. package/dts/src/views/payment/pay-bank-trade-record/edit.vue.d.ts +28 -0
  39. package/dts/src/views/payment/pay-bank-trade-record/index.vue.d.ts +2 -0
  40. package/dts/src/views/payment/pay-trade/info.vue.d.ts +2 -0
  41. package/package.json +2 -2
  42. package/dist/index-BgbsFf1D.mjs +0 -114
  43. package/dist/index-Cc7O7Na9.mjs +0 -2795
@@ -1,52 +1,39 @@
1
- import { defineComponent as le, getCurrentInstance as oe, ref as k, onActivated as re, resolveComponent as T, resolveDirective as de, createElementBlock as ne, openBlock as w, createElementVNode as b, createVNode as a, withCtx as t, withKeys as v, unref as l, createBlock as R, createCommentVNode as _, withDirectives as P, vShow as se, createTextVNode as n, toDisplayString as m, isRef as U } from "vue";
2
- import { useI18n as ue } from "vue-i18n";
3
- import { useRoute as pe, useRouter as me } from "vue-router";
4
- import { useUserStore as E, clearEmpty as ie, request as ye, useTableHooks as fe } from "jmash-core";
5
- import { tokenExt as Te } from "xyvcard-agent";
6
- import { D as y, C as I } from "./index-BgbsFf1D.mjs";
7
- import { g as be } from "./merchant-D9rtENQd.mjs";
8
- import { g as ve } from "./agent-R-Ml-XTA.mjs";
9
- class ge {
10
- getKey(i) {
11
- return {
12
- billId: i.billId
13
- };
14
- }
15
- // 查询翻页信息支付订单
16
- findPage(i) {
17
- const C = E().user.tenant;
18
- return i && (i.hasOrderStatus = i.orderStatus !== void 0, i.hasBillsStatus = i.billsStatus !== void 0, i.hasTradeType = i.tradeType !== void 0, i.hasPayMode = i.payMode !== void 0, i.hasTradeStatus = i.tradeStatus !== void 0), ie(i), ye({
19
- url: "/v1/payment/trade/page/" + C,
20
- method: "get",
21
- params: i
22
- });
23
- }
24
- }
25
- const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-container" }, ce = { class: "total-num" }, Ne = { class: "blue_color" }, $e = { class: "blue_color" }, Se = { class: "blue_color" }, Re = { class: "blue_color" }, Me = { class: "blue_color" }, De = { class: "blue_color" }, Ie = { class: "blue_color" }, he = { class: "blue_color" }, Qe = /* @__PURE__ */ le({
1
+ import { defineComponent as se, computed as ue, getCurrentInstance as pe, ref as h, onActivated as me, resolveComponent as f, resolveDirective as ie, createElementBlock as _, openBlock as T, createElementVNode as b, createVNode as a, withCtx as t, withKeys as v, unref as r, createBlock as w, createCommentVNode as A, Fragment as ye, renderList as fe, withDirectives as O, vShow as Te, createTextVNode as s, toDisplayString as p, isRef as U } from "vue";
2
+ import { useI18n as be } from "vue-i18n";
3
+ import { useRoute as ve, useRouter as ce } from "vue-router";
4
+ import { useUserStore as Ce, useTableHooks as ge } from "jmash-core";
5
+ import { D as m, a as we, C as D } from "./index-BwNNpY12.mjs";
6
+ import { tokenExt as Ve } from "xyvcard-agent";
7
+ import { g as $e } from "./merchant-D9rtENQd.mjs";
8
+ import { g as De } from "./agent-R-Ml-XTA.mjs";
9
+ const Ne = { class: "app-container" }, Re = { class: "search-container" }, Ie = { class: "total-num" }, Me = { 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" }, ze = { class: "blue_color" }, Be = ["onClick"], je = /* @__PURE__ */ se({
26
10
  __name: "index",
27
- setup(Q) {
28
- y.instsBizDict.useValues(), y.agentBizDict.useValues(), y.agentAgreeBizDict.useValues(), y.merchantBizDict.useValues();
29
- const { t: i } = ue(), { proxy: C } = oe(), c = pe(), K = me(), h = c.query.tenant, d = k({
30
- tokenExt: Te.getTokenExt(E().user.tenant)
31
- }), N = k([]);
32
- function O(o) {
33
- N.value = o, d.value.startCreateTime = C.$moment.formatDate(
34
- o[0],
35
- I.RPC_FORMAT_TIME
36
- ), d.value.endCreateTime = C.$moment.formatDate(
37
- o[1],
38
- I.RPC_FORMAT_TIME
39
- ), p.getList();
11
+ setup(Ye) {
12
+ m.instsBizDict.useValues(), m.instsIdBizDict.useValues(), m.agentBizDict.useValues(), m.agentAgreeBizDict.useValues(), m.merchantBizDict.useValues();
13
+ const E = ue(() => {
14
+ const l = m.instsIdBizDict.values.map((e) => e.key);
15
+ return m.instsBizDict.values.filter((e) => l.includes(e.key));
16
+ }), { t: Q } = be(), { proxy: c } = pe(), N = ve(), P = ce(), M = N.query.tenant, d = h({
17
+ tokenExt: Ve.getTokenExt(Ce().user.tenant)
18
+ }), C = h([]);
19
+ function q(l) {
20
+ C.value = l, d.value.startCreateTime = c.$moment.formatDate(
21
+ l[0],
22
+ D.RPC_FORMAT_TIME
23
+ ), d.value.endCreateTime = c.$moment.formatDate(
24
+ l[1],
25
+ D.RPC_FORMAT_TIME
26
+ ), i.getList();
40
27
  }
41
28
  const {
42
- tableHooks: p,
43
- multipleTableRef: Y,
44
- queryFormRef: j,
45
- listLoading: F,
46
- tableData: H,
47
- total: M
48
- } = fe(i, Ce, d);
49
- let g = p.totalRecord, $ = k([
29
+ tableHooks: i,
30
+ multipleTableRef: H,
31
+ queryFormRef: F,
32
+ listLoading: K,
33
+ tableData: j,
34
+ total: k
35
+ } = ge(Q, we, d);
36
+ let g = i.totalRecord, R = h([
50
37
  // 序号
51
38
  {
52
39
  label: "payTrade.index",
@@ -66,7 +53,7 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
66
53
  {
67
54
  label: "payTrade.merchantNo",
68
55
  prop: "merchantNo",
69
- width: "180",
56
+ width: "150",
70
57
  sortable: "custom",
71
58
  isColumn: !0
72
59
  },
@@ -76,7 +63,7 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
76
63
  prop: "merchantId",
77
64
  slotName: "merchantId",
78
65
  columnType: "slot",
79
- width: "320",
66
+ width: "120",
80
67
  sortable: "custom",
81
68
  isColumn: !0
82
69
  },
@@ -106,6 +93,16 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
106
93
  sortable: "custom",
107
94
  isColumn: !0
108
95
  },
96
+ // 交易分账类型
97
+ {
98
+ label: "payTrade.tradeProfitType",
99
+ prop: "tradeProfitType",
100
+ slotName: "tradeProfitType",
101
+ columnType: "slot",
102
+ width: "135",
103
+ sortable: "custom",
104
+ isColumn: !0
105
+ },
109
106
  // 订单金额
110
107
  {
111
108
  label: "payTrade.totalAmount",
@@ -208,64 +205,91 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
208
205
  sortable: "custom",
209
206
  isColumn: !0
210
207
  },
211
- // 订单描述
208
+ // 订单描述
212
209
  {
213
210
  label: "payTrade.description",
214
211
  prop: "description",
215
212
  width: "130",
216
213
  sortable: "custom",
217
214
  isColumn: !0
215
+ },
216
+ {
217
+ label: "common.operate",
218
+ width: "100",
219
+ slotName: "operation",
220
+ columnType: "slot",
221
+ fixed: "right",
222
+ isColumn: !0
218
223
  }
219
224
  ]);
220
- function L(o) {
221
- p.selectionRows.value = o;
225
+ function L(l) {
226
+ P.push({
227
+ path: "/payment/pay-trade/info",
228
+ query: { orderId: l.orderId, streamNo: l.streamNo }
229
+ });
230
+ }
231
+ function Z(l) {
232
+ i.selectionRows.value = l;
222
233
  }
223
- function W(o) {
224
- p.handleSort(o.prop, o.order);
234
+ function W(l) {
235
+ i.handleSort(l.prop, l.order);
225
236
  }
226
- function Z() {
227
- N.value = [], K.replace({
237
+ function G() {
238
+ C.value = [], P.replace({
228
239
  query: {}
229
- }), p.resetQuery();
240
+ }), i.resetQuery();
241
+ }
242
+ function J() {
243
+ const l = /* @__PURE__ */ new Date(), e = new Date(l.setHours(0, 0, 0, 0)), V = new Date(l.setHours(23, 59, 59, 999));
244
+ C.value = [
245
+ c.$moment.formatDate(e, "YYYY-MM-DDTHH:mm:ssZ"),
246
+ c.$moment.formatDate(V, "YYYY-MM-DDTHH:mm:ssZ")
247
+ ], d.value.startCreateTime = c.$moment.formatDate(
248
+ e,
249
+ D.RPC_FORMAT_TIME
250
+ ), d.value.endCreateTime = c.$moment.formatDate(
251
+ V,
252
+ D.RPC_FORMAT_TIME
253
+ );
230
254
  }
231
- return re(() => {
232
- const o = c.query.analysisTime;
233
- d.value.agentCode = c.query.agentCode, d.value.merchantId = c.query.merchantId, d.value.tradeStatus = c.query.tradeStatus, o && (d.value.startCreateTime = C.$moment.formatDate(
234
- o,
235
- I.RPC_FORMAT_TIME
236
- ), d.value.endCreateTime = C.$moment.formatDate(
237
- o,
238
- I.RPC_FORMAT_TIME
239
- ), N.value = [
255
+ return me(() => {
256
+ 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 = c.$moment.formatDate(
258
+ l,
259
+ D.RPC_FORMAT_TIME
260
+ ), d.value.endCreateTime = c.$moment.formatDate(
261
+ l,
262
+ D.RPC_FORMAT_TIME
263
+ ), C.value = [
240
264
  d.value.startCreateTime,
241
265
  d.value.endCreateTime
242
- ]), p.getList();
243
- }), (o, e) => {
244
- const D = T("el-input"), f = T("el-form-item"), u = T("el-col"), V = T("jmash-select"), S = T("el-row"), q = T("el-tree-select"), G = T("el-date-picker"), A = T("el-button"), J = T("el-form"), X = T("jmash-column-select"), x = T("jmash-table"), ee = T("jmash-pagination"), ae = T("el-card"), te = de("loading");
245
- return w(), ne("div", Ve, [
246
- b("div", we, [
247
- a(J, {
266
+ ]) : (!C.value || C.value.length === 0) && J(), i.getList();
267
+ }), (l, e) => {
268
+ const V = f("el-input"), y = f("el-form-item"), u = f("el-col"), $ = f("jmash-select"), I = f("el-row"), X = f("el-option"), x = f("el-select"), ee = f("el-tree-select"), te = f("el-date-picker"), z = f("el-button"), ae = f("el-form"), le = f("jmash-column-select"), oe = f("jmash-table"), re = f("jmash-pagination"), de = f("el-card"), ne = ie("loading");
269
+ return T(), _("div", Ne, [
270
+ b("div", Re, [
271
+ a(ae, {
248
272
  ref_key: "queryFormRef",
249
- ref: j,
273
+ ref: F,
250
274
  model: d.value,
251
275
  inline: !0,
252
276
  "label-width": "7em"
253
277
  }, {
254
278
  default: t(() => [
255
- a(S, null, {
279
+ a(I, null, {
256
280
  default: t(() => [
257
281
  a(u, { span: 6 }, {
258
282
  default: t(() => [
259
- a(f, {
260
- label: o.$t("payTrade.likeMerchantNo"),
283
+ a(y, {
284
+ label: l.$t("payTrade.likeMerchantNo"),
261
285
  prop: "likeMerchantNo"
262
286
  }, {
263
287
  default: t(() => [
264
- a(D, {
288
+ a(V, {
265
289
  modelValue: d.value.likeMerchantNo,
266
- "onUpdate:modelValue": e[0] || (e[0] = (r) => d.value.likeMerchantNo = r),
267
- placeholder: o.$t("payTrade.likeMerchantNoRead"),
268
- onKeyup: e[1] || (e[1] = v((r) => l(p).handleQuery(), ["enter"])),
290
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => d.value.likeMerchantNo = o),
291
+ placeholder: l.$t("payTrade.likeMerchantNoRead"),
292
+ onKeyup: e[1] || (e[1] = v((o) => r(i).handleQuery(), ["enter"])),
269
293
  class: "!w-[203px]"
270
294
  }, null, 8, ["modelValue", "placeholder"])
271
295
  ]),
@@ -276,17 +300,17 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
276
300
  }),
277
301
  a(u, { span: 6 }, {
278
302
  default: t(() => [
279
- a(f, {
280
- label: o.$t("payTrade.merchantId"),
303
+ a(y, {
304
+ label: l.$t("payTrade.merchantId"),
281
305
  prop: "merchantId"
282
306
  }, {
283
307
  default: t(() => [
284
- a(V, {
308
+ a($, {
285
309
  modelValue: d.value.merchantId,
286
- "onUpdate:modelValue": e[2] || (e[2] = (r) => d.value.merchantId = r),
287
- placeholder: o.$t("payTrade.merchantIdRead"),
288
- data: l(y).merchantBizDict.values,
289
- onKeyup: e[3] || (e[3] = v((r) => l(p).handleQuery(), ["enter"])),
310
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => d.value.merchantId = o),
311
+ placeholder: l.$t("payTrade.merchantIdRead"),
312
+ data: r(m).merchantBizDict.values,
313
+ onKeyup: e[3] || (e[3] = v((o) => r(i).handleQuery(), ["enter"])),
290
314
  class: "!w-[203px]",
291
315
  filterable: "",
292
316
  clearable: ""
@@ -299,16 +323,16 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
299
323
  }),
300
324
  a(u, { span: 6 }, {
301
325
  default: t(() => [
302
- a(f, {
303
- label: o.$t("payTrade.termNo"),
326
+ a(y, {
327
+ label: l.$t("payTrade.termNo"),
304
328
  prop: "termNo"
305
329
  }, {
306
330
  default: t(() => [
307
- a(D, {
331
+ a(V, {
308
332
  modelValue: d.value.termNo,
309
- "onUpdate:modelValue": e[4] || (e[4] = (r) => d.value.termNo = r),
310
- placeholder: o.$t("payTrade.termNoRead"),
311
- onKeyup: e[5] || (e[5] = v((r) => l(p).handleQuery(), ["enter"])),
333
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => d.value.termNo = o),
334
+ placeholder: l.$t("payTrade.termNoRead"),
335
+ onKeyup: e[5] || (e[5] = v((o) => r(i).handleQuery(), ["enter"])),
312
336
  class: "!w-[203px]"
313
337
  }, null, 8, ["modelValue", "placeholder"])
314
338
  ]),
@@ -319,17 +343,17 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
319
343
  }),
320
344
  a(u, { span: 6 }, {
321
345
  default: t(() => [
322
- a(f, {
323
- label: o.$t("payTrade.payMode"),
346
+ a(y, {
347
+ label: l.$t("payTrade.payMode"),
324
348
  prop: "payMode"
325
349
  }, {
326
350
  default: t(() => [
327
- a(V, {
351
+ a($, {
328
352
  modelValue: d.value.payMode,
329
- "onUpdate:modelValue": e[6] || (e[6] = (r) => d.value.payMode = r),
330
- placeholder: o.$t("payTrade.payModeRead"),
331
- data: l(y).payModeBizDict.values,
332
- onKeyup: e[7] || (e[7] = v((r) => l(p).handleQuery(), ["enter"])),
353
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => d.value.payMode = o),
354
+ placeholder: l.$t("payTrade.payModeRead"),
355
+ data: r(m).payModeBizDict.values,
356
+ onKeyup: e[7] || (e[7] = v((o) => r(i).handleQuery(), ["enter"])),
333
357
  class: "!w-[203px]",
334
358
  filterable: "",
335
359
  clearable: ""
@@ -343,23 +367,23 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
343
367
  ]),
344
368
  _: 1
345
369
  }),
346
- a(S, null, {
370
+ a(I, null, {
347
371
  default: t(() => {
348
- var r, z, B;
372
+ var o, S, B, Y;
349
373
  return [
350
374
  a(u, { span: 6 }, {
351
375
  default: t(() => [
352
- a(f, {
353
- label: o.$t("payTrade.tradeType"),
376
+ a(y, {
377
+ label: l.$t("payTrade.tradeType"),
354
378
  prop: "tradeType"
355
379
  }, {
356
380
  default: t(() => [
357
- a(V, {
381
+ a($, {
358
382
  modelValue: d.value.tradeType,
359
- "onUpdate:modelValue": e[8] || (e[8] = (s) => d.value.tradeType = s),
360
- placeholder: o.$t("payTrade.tradeTypeRead"),
361
- data: l(y).tradeTypeBizDict.values,
362
- onKeyup: e[9] || (e[9] = v((s) => l(p).handleQuery(), ["enter"])),
383
+ "onUpdate:modelValue": e[8] || (e[8] = (n) => d.value.tradeType = n),
384
+ placeholder: l.$t("payTrade.tradeTypeRead"),
385
+ data: r(m).tradeTypeBizDict.values,
386
+ onKeyup: e[9] || (e[9] = v((n) => r(i).handleQuery(), ["enter"])),
363
387
  class: "!w-[203px]",
364
388
  filterable: "",
365
389
  clearable: ""
@@ -370,19 +394,54 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
370
394
  ]),
371
395
  _: 1
372
396
  }),
373
- a(u, { span: 6 }, {
397
+ (o = r(M)) != null && o.includes("@") ? (T(), w(u, {
398
+ key: 1,
399
+ span: 6
400
+ }, {
374
401
  default: t(() => [
375
- a(f, {
376
- label: o.$t("payTrade.instsId"),
402
+ a(y, {
403
+ label: l.$t("payTrade.instsId"),
377
404
  prop: "instsId"
378
405
  }, {
379
406
  default: t(() => [
380
- a(V, {
407
+ a(x, {
408
+ modelValue: d.value.instsId,
409
+ "onUpdate:modelValue": e[12] || (e[12] = (n) => d.value.instsId = n),
410
+ placeholder: l.$t("payTrade.instsIdRead"),
411
+ class: "!w-[203px]",
412
+ filterable: "",
413
+ clearable: ""
414
+ }, {
415
+ default: t(() => [
416
+ (T(!0), _(ye, null, fe(E.value, (n) => (T(), w(X, {
417
+ key: n.key,
418
+ label: n.value,
419
+ value: n.key
420
+ }, null, 8, ["label", "value"]))), 128))
421
+ ]),
422
+ _: 1
423
+ }, 8, ["modelValue", "placeholder"])
424
+ ]),
425
+ _: 1
426
+ }, 8, ["label"])
427
+ ]),
428
+ _: 1
429
+ })) : (T(), w(u, {
430
+ key: 0,
431
+ span: 6
432
+ }, {
433
+ default: t(() => [
434
+ a(y, {
435
+ label: l.$t("payTrade.instsId"),
436
+ prop: "instsId"
437
+ }, {
438
+ default: t(() => [
439
+ a($, {
381
440
  modelValue: d.value.instsId,
382
- "onUpdate:modelValue": e[10] || (e[10] = (s) => d.value.instsId = s),
383
- placeholder: o.$t("payTrade.instsIdRead"),
384
- data: l(y).instsBizDict.values,
385
- onKeyup: e[11] || (e[11] = v((s) => l(p).handleQuery(), ["enter"])),
441
+ "onUpdate:modelValue": e[10] || (e[10] = (n) => d.value.instsId = n),
442
+ placeholder: l.$t("payTrade.instsIdRead"),
443
+ data: r(m).instsBizDict.values,
444
+ onKeyup: e[11] || (e[11] = v((n) => r(i).handleQuery(), ["enter"])),
386
445
  class: "!w-[203px]",
387
446
  filterable: "",
388
447
  clearable: ""
@@ -392,19 +451,19 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
392
451
  }, 8, ["label"])
393
452
  ]),
394
453
  _: 1
395
- }),
454
+ })),
396
455
  a(u, { span: 6 }, {
397
456
  default: t(() => [
398
- a(f, {
399
- label: o.$t("payTrade.orderNo"),
457
+ a(y, {
458
+ label: l.$t("payTrade.orderNo"),
400
459
  prop: "orderNo"
401
460
  }, {
402
461
  default: t(() => [
403
- a(D, {
462
+ a(V, {
404
463
  modelValue: d.value.orderNo,
405
- "onUpdate:modelValue": e[12] || (e[12] = (s) => d.value.orderNo = s),
406
- placeholder: o.$t("payTrade.orderNoRead"),
407
- onKeyup: e[13] || (e[13] = v((s) => l(p).handleQuery(), ["enter"])),
464
+ "onUpdate:modelValue": e[13] || (e[13] = (n) => d.value.orderNo = n),
465
+ placeholder: l.$t("payTrade.orderNoRead"),
466
+ onKeyup: e[14] || (e[14] = v((n) => r(i).handleQuery(), ["enter"])),
408
467
  class: "!w-[203px]"
409
468
  }, null, 8, ["modelValue", "placeholder"])
410
469
  ]),
@@ -415,16 +474,16 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
415
474
  }),
416
475
  a(u, { span: 6 }, {
417
476
  default: t(() => [
418
- a(f, {
419
- label: o.$t("payTrade.outOrderNo"),
477
+ a(y, {
478
+ label: l.$t("payTrade.outOrderNo"),
420
479
  prop: "outOrderNo"
421
480
  }, {
422
481
  default: t(() => [
423
- a(D, {
482
+ a(V, {
424
483
  modelValue: d.value.outOrderNo,
425
- "onUpdate:modelValue": e[14] || (e[14] = (s) => d.value.outOrderNo = s),
426
- placeholder: o.$t("payTrade.outOrderNoRead"),
427
- onKeyup: e[15] || (e[15] = v((s) => l(p).handleQuery(), ["enter"])),
484
+ "onUpdate:modelValue": e[15] || (e[15] = (n) => d.value.outOrderNo = n),
485
+ placeholder: l.$t("payTrade.outOrderNoRead"),
486
+ onKeyup: e[16] || (e[16] = v((n) => r(i).handleQuery(), ["enter"])),
428
487
  class: "!w-[203px]"
429
488
  }, null, 8, ["modelValue", "placeholder"])
430
489
  ]),
@@ -433,22 +492,22 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
433
492
  ]),
434
493
  _: 1
435
494
  }),
436
- (r = l(h)) != null && r.includes("@") ? (w(), R(u, {
437
- key: 1,
495
+ (S = r(M)) != null && S.includes("@") ? (T(), w(u, {
496
+ key: 3,
438
497
  span: 6
439
498
  }, {
440
499
  default: t(() => [
441
- a(f, {
442
- label: o.$t("payTrade.tradeStatus"),
500
+ a(y, {
501
+ label: l.$t("payTrade.tradeStatus"),
443
502
  prop: "tradeStatus"
444
503
  }, {
445
504
  default: t(() => [
446
- a(V, {
505
+ a($, {
447
506
  modelValue: d.value.tradeStatus,
448
- "onUpdate:modelValue": e[17] || (e[17] = (s) => d.value.tradeStatus = s),
449
- placeholder: o.$t("payTrade.tradeStatusRead"),
450
- data: l(y).tradeStatusBizDict.values,
451
- onKeyup: e[18] || (e[18] = v((s) => l(p).handleQuery(), ["enter"])),
507
+ "onUpdate:modelValue": e[18] || (e[18] = (n) => d.value.tradeStatus = n),
508
+ placeholder: l.$t("payTrade.tradeStatusRead"),
509
+ data: r(m).tradeStatusBizDict.values,
510
+ onKeyup: e[19] || (e[19] = v((n) => r(i).handleQuery(), ["enter"])),
452
511
  class: "!w-[203px]",
453
512
  filterable: "",
454
513
  clearable: ""
@@ -458,24 +517,24 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
458
517
  }, 8, ["label"])
459
518
  ]),
460
519
  _: 1
461
- })) : (w(), R(u, {
462
- key: 0,
520
+ })) : (T(), w(u, {
521
+ key: 2,
463
522
  span: 6
464
523
  }, {
465
524
  default: t(() => [
466
- a(f, {
467
- label: o.$t("settleTradeAnalysis.agentName"),
525
+ a(y, {
526
+ label: l.$t("settleTradeAnalysis.agentName"),
468
527
  prop: "agentCode"
469
528
  }, {
470
529
  default: t(() => [
471
- a(q, {
530
+ a(ee, {
472
531
  modelValue: d.value.agentCode,
473
- "onUpdate:modelValue": e[16] || (e[16] = (s) => d.value.agentCode = s),
474
- data: l(y).agentAgreeBizDict.values,
532
+ "onUpdate:modelValue": e[17] || (e[17] = (n) => d.value.agentCode = n),
533
+ data: r(m).agentAgreeBizDict.values,
475
534
  "node-key": "value",
476
535
  filterable: "",
477
536
  clearable: "",
478
- placeholder: o.$t("settleTradeAnalysis.agentCodeRead"),
537
+ placeholder: l.$t("settleTradeAnalysis.agentCodeRead"),
479
538
  class: "!w-[203px]"
480
539
  }, null, 8, ["modelValue", "data", "placeholder"])
481
540
  ]),
@@ -484,22 +543,22 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
484
543
  ]),
485
544
  _: 1
486
545
  })),
487
- (z = l(h)) != null && z.includes("@") ? _("", !0) : (w(), R(u, {
488
- key: 2,
546
+ (B = r(M)) != null && B.includes("@") ? A("", !0) : (T(), w(u, {
547
+ key: 4,
489
548
  span: 6
490
549
  }, {
491
550
  default: t(() => [
492
- a(f, {
493
- label: o.$t("payTrade.tradeStatus"),
551
+ a(y, {
552
+ label: l.$t("payTrade.tradeStatus"),
494
553
  prop: "tradeStatus"
495
554
  }, {
496
555
  default: t(() => [
497
- a(V, {
556
+ a($, {
498
557
  modelValue: d.value.tradeStatus,
499
- "onUpdate:modelValue": e[19] || (e[19] = (s) => d.value.tradeStatus = s),
500
- placeholder: o.$t("payTrade.tradeStatusRead"),
501
- data: l(y).tradeStatusBizDict.values,
502
- onKeyup: e[20] || (e[20] = v((s) => l(p).handleQuery(), ["enter"])),
558
+ "onUpdate:modelValue": e[20] || (e[20] = (n) => d.value.tradeStatus = n),
559
+ placeholder: l.$t("payTrade.tradeStatusRead"),
560
+ data: r(m).tradeStatusBizDict.values,
561
+ onKeyup: e[21] || (e[21] = v((n) => r(i).handleQuery(), ["enter"])),
503
562
  class: "!w-[203px]",
504
563
  filterable: "",
505
564
  clearable: ""
@@ -512,50 +571,51 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
512
571
  })),
513
572
  a(u, { span: 6 }, {
514
573
  default: t(() => [
515
- a(f, {
516
- label: o.$t("payTrade.createTime"),
574
+ a(y, {
575
+ label: l.$t("payTrade.createTime"),
517
576
  prop: "startCreateTime"
518
577
  }, {
519
578
  default: t(() => [
520
- a(G, {
521
- modelValue: N.value,
522
- "onUpdate:modelValue": e[21] || (e[21] = (s) => N.value = s),
579
+ a(te, {
580
+ modelValue: C.value,
581
+ "onUpdate:modelValue": e[22] || (e[22] = (n) => C.value = n),
523
582
  type: "daterange",
524
- "start-placeholder": o.$t("payTrade.startCreateTime"),
525
- "end-placeholder": o.$t("payTrade.endCreateTime"),
526
- onChange: O,
583
+ "start-placeholder": l.$t("payTrade.startCreateTime"),
584
+ "end-placeholder": l.$t("payTrade.endCreateTime"),
585
+ onChange: q,
527
586
  format: "YYYY-MM-DD",
528
- "value-format": "YYYY-MM-DDTHH:mm:ssZ"
587
+ "value-format": "YYYY-MM-DDTHH:mm:ssZ",
588
+ clearable: !1
529
589
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
530
590
  ]),
531
591
  _: 1
532
592
  }, 8, ["label"]),
533
- P(a(f, { prop: "endCreateTime" }, null, 512), [
534
- [se, !1]
593
+ O(a(y, { prop: "endCreateTime" }, null, 512), [
594
+ [Te, !1]
535
595
  ])
536
596
  ]),
537
597
  _: 1
538
598
  }),
539
599
  a(u, {
540
- span: (B = l(h)) != null && B.includes("@") ? 12 : 6
600
+ span: (Y = r(M)) != null && Y.includes("@") ? 12 : 6
541
601
  }, {
542
602
  default: t(() => [
543
- a(f, { class: "search-btn" }, {
603
+ a(y, { class: "search-btn" }, {
544
604
  default: t(() => [
545
- a(A, {
605
+ a(z, {
546
606
  type: "primary",
547
- onClick: e[22] || (e[22] = (s) => l(p).handleQuery())
607
+ onClick: e[23] || (e[23] = (n) => r(i).handleQuery())
548
608
  }, {
549
609
  default: t(() => [
550
- n(m(o.$t("common.search")), 1)
610
+ s(p(l.$t("common.search")), 1)
551
611
  ]),
552
612
  _: 1
553
613
  }),
554
- a(A, {
555
- onClick: e[23] || (e[23] = (s) => Z())
614
+ a(z, {
615
+ onClick: e[24] || (e[24] = (n) => G())
556
616
  }, {
557
617
  default: t(() => [
558
- n(m(o.$t("common.reset")), 1)
618
+ s(p(l.$t("common.reset")), 1)
559
619
  ]),
560
620
  _: 1
561
621
  })
@@ -572,23 +632,23 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
572
632
  ]),
573
633
  _: 1
574
634
  }, 8, ["model"]),
575
- e[29] || (e[29] = b("div", { class: "clear" }, null, -1))
635
+ e[30] || (e[30] = b("div", { class: "clear" }, null, -1))
576
636
  ]),
577
- a(ae, {
637
+ a(de, {
578
638
  shadow: "never",
579
639
  class: "table-container"
580
640
  }, {
581
641
  header: t(() => [
582
- a(S, null, {
642
+ a(I, null, {
583
643
  default: t(() => [
584
644
  a(u, {
585
645
  span: 24,
586
646
  class: "container-float"
587
647
  }, {
588
648
  default: t(() => [
589
- a(X, {
590
- modelValue: l($),
591
- "onUpdate:modelValue": e[24] || (e[24] = (r) => U($) ? $.value = r : $ = r),
649
+ a(le, {
650
+ modelValue: r(R),
651
+ "onUpdate:modelValue": e[25] || (e[25] = (o) => U(R) ? R.value = o : R = o),
592
652
  "label-name": "settle/settle-trade-analysis"
593
653
  }, null, 8, ["modelValue"])
594
654
  ]),
@@ -599,90 +659,90 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
599
659
  })
600
660
  ]),
601
661
  footer: t(() => [
602
- l(M) > 0 ? (w(), R(ee, {
662
+ r(k) > 0 ? (T(), w(re, {
603
663
  key: 0,
604
- total: l(M),
605
- "onUpdate:total": e[25] || (e[25] = (r) => U(M) ? M.value = r : null),
664
+ total: r(k),
665
+ "onUpdate:total": e[26] || (e[26] = (o) => U(k) ? k.value = o : null),
606
666
  "current-page": d.value.curPage,
607
- "onUpdate:currentPage": e[26] || (e[26] = (r) => d.value.curPage = r),
667
+ "onUpdate:currentPage": e[27] || (e[27] = (o) => d.value.curPage = o),
608
668
  "page-size": d.value.pageSize,
609
- "onUpdate:pageSize": e[27] || (e[27] = (r) => d.value.pageSize = r),
610
- onPagination: e[28] || (e[28] = (r) => l(p).getList())
611
- }, null, 8, ["total", "current-page", "page-size"])) : _("", !0)
669
+ "onUpdate:pageSize": e[28] || (e[28] = (o) => d.value.pageSize = o),
670
+ onPagination: e[29] || (e[29] = (o) => r(i).getList())
671
+ }, null, 8, ["total", "current-page", "page-size"])) : A("", !0)
612
672
  ]),
613
673
  default: t(() => [
614
- b("div", ce, [
615
- a(S, { gutter: 20 }, {
674
+ b("div", Ie, [
675
+ a(I, { gutter: 20 }, {
616
676
  default: t(() => [
617
677
  a(u, { span: 5 }, {
618
678
  default: t(() => [
619
- e[30] || (e[30] = n(" 订单笔数: ")),
620
- b("span", Ne, m(l(g).orderCount), 1),
621
- e[31] || (e[31] = n(" 笔 "))
679
+ e[31] || (e[31] = s(" 订单笔数: ")),
680
+ b("span", Me, p(r(g).orderCount), 1),
681
+ e[32] || (e[32] = s(" 笔 "))
622
682
  ]),
623
683
  _: 1
624
684
  }),
625
685
  a(u, { span: 5 }, {
626
686
  default: t(() => [
627
- e[32] || (e[32] = n(" 订单金额: ")),
628
- b("span", $e, m(l(g).orderAmount), 1),
629
- e[33] || (e[33] = n(" 元 "))
687
+ e[33] || (e[33] = s(" 订单金额: ")),
688
+ b("span", ke, p(r(g).orderAmount), 1),
689
+ e[34] || (e[34] = s(" 元 "))
630
690
  ]),
631
691
  _: 1
632
692
  }),
633
693
  a(u, { span: 5 }, {
634
694
  default: t(() => [
635
- e[34] || (e[34] = n(" 优惠金额: ")),
636
- b("span", Se, m(l(g).orderDiscountAmount), 1),
637
- e[35] || (e[35] = n(" 元 "))
695
+ e[35] || (e[35] = s(" 优惠金额: ")),
696
+ b("span", Se, p(r(g).orderDiscountAmount), 1),
697
+ e[36] || (e[36] = s(" 元 "))
638
698
  ]),
639
699
  _: 1
640
700
  }),
641
701
  a(u, { span: 5 }, {
642
702
  default: t(() => [
643
- e[36] || (e[36] = n(" 交易金额: ")),
644
- b("span", Re, m(l(g).tradeAmount), 1),
645
- e[37] || (e[37] = n(" 元 "))
703
+ e[37] || (e[37] = s(" 交易金额: ")),
704
+ b("span", he, p(r(g).tradeAmount), 1),
705
+ e[38] || (e[38] = s(" 元 "))
646
706
  ]),
647
707
  _: 1
648
708
  })
649
709
  ]),
650
710
  _: 1
651
711
  }),
652
- a(S, {
712
+ a(I, {
653
713
  gutter: 20,
654
714
  style: { "margin-top": "10px" }
655
715
  }, {
656
716
  default: t(() => [
657
717
  a(u, { span: 5 }, {
658
718
  default: t(() => [
659
- e[38] || (e[38] = n(" 收款笔数: ")),
660
- b("span", Me, m(l(g).paidOrder), 1),
661
- e[39] || (e[39] = n(" 笔 "))
719
+ e[39] || (e[39] = s(" 收款笔数: ")),
720
+ b("span", _e, p(r(g).paidOrder), 1),
721
+ e[40] || (e[40] = s(" 笔 "))
662
722
  ]),
663
723
  _: 1
664
724
  }),
665
725
  a(u, { span: 5 }, {
666
726
  default: t(() => [
667
- e[40] || (e[40] = n(" 收款金额: ")),
668
- b("span", De, m(l(g).paidAmount), 1),
669
- e[41] || (e[41] = n(" 元 "))
727
+ e[41] || (e[41] = s(" 收款金额: ")),
728
+ b("span", Ae, p(r(g).paidAmount), 1),
729
+ e[42] || (e[42] = s(" 元 "))
670
730
  ]),
671
731
  _: 1
672
732
  }),
673
733
  a(u, { span: 5 }, {
674
734
  default: t(() => [
675
- e[42] || (e[42] = n(" 退款笔数: ")),
676
- b("span", Ie, m(l(g).refundOrder), 1),
677
- e[43] || (e[43] = n(" 笔 "))
735
+ e[43] || (e[43] = s(" 退款笔数: ")),
736
+ b("span", Pe, p(r(g).refundOrder), 1),
737
+ e[44] || (e[44] = s(" 笔 "))
678
738
  ]),
679
739
  _: 1
680
740
  }),
681
741
  a(u, { span: 5 }, {
682
742
  default: t(() => [
683
- e[44] || (e[44] = n(" 退款金额: ")),
684
- b("span", he, m(l(g).refundAmount), 1),
685
- e[45] || (e[45] = n(" 元 "))
743
+ e[45] || (e[45] = s(" 退款金额: ")),
744
+ b("span", ze, p(r(g).refundAmount), 1),
745
+ e[46] || (e[46] = s(" 元 "))
686
746
  ]),
687
747
  _: 1
688
748
  })
@@ -690,46 +750,58 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
690
750
  _: 1
691
751
  })
692
752
  ]),
693
- P((w(), R(x, {
753
+ O((T(), w(oe, {
694
754
  ref_key: "multipleTableRef",
695
- ref: Y,
755
+ ref: H,
696
756
  "row-key": "payTradePk",
697
757
  isSelection: !1,
698
- data: l(H),
699
- "table-label": l($),
700
- onSelectionChange: L,
758
+ data: r(j),
759
+ "table-label": r(R),
760
+ onSelectionChange: Z,
701
761
  onSortChange: W
702
762
  }, {
703
- feeRatePct: t((r) => [
704
- n(m(r.data.row.feeRatePct) + "% ", 1)
763
+ feeRatePct: t((o) => [
764
+ s(p(o.data.row.feeRatePct) + "% ", 1)
705
765
  ]),
706
- tradeType: t((r) => [
707
- n(m(l(y).tradeTypeBizDict.getEnumValue(r.data.row.tradeType)), 1)
766
+ tradeType: t((o) => [
767
+ s(p(r(m).tradeTypeBizDict.getEnumValue(o.data.row.tradeType)), 1)
708
768
  ]),
709
- instsId: t((r) => [
710
- n(m(l(y).instsBizDict.getValue(r.data.row.instsId)), 1)
769
+ tradeProfitType: t((o) => [
770
+ s(p(r(m).tradeProfitTypeEnum.getEnumValue(
771
+ o.data.row.tradeProfitType
772
+ )), 1)
773
+ ]),
774
+ instsId: t((o) => [
775
+ s(p(r(m).instsBizDict.getValue(o.data.row.instsId)), 1)
711
776
  ]),
712
- tradeStatus: t((r) => [
713
- n(m(l(y).tradeStatusBizDict.getEnumValue(r.data.row.tradeStatus)), 1)
777
+ tradeStatus: t((o) => [
778
+ s(p(r(m).tradeStatusBizDict.getEnumValue(o.data.row.tradeStatus)), 1)
714
779
  ]),
715
- payMode: t((r) => [
716
- n(m(l(y).payModeBizDict.getEnumValue(r.data.row.payMode)), 1)
780
+ payMode: t((o) => [
781
+ s(p(r(m).payModeBizDict.getEnumValue(o.data.row.payMode)), 1)
717
782
  ]),
718
- merchantId: t((r) => [
719
- n(m(l(be)(r.data.row.merchantId)), 1)
783
+ merchantId: t((o) => [
784
+ s(p(r($e)(o.data.row.merchantId)), 1)
720
785
  ]),
721
- tradeTime: t((r) => [
722
- n(m(l(C).$moment.formatDate(
723
- r.data.row.tradeTime,
786
+ tradeTime: t((o) => [
787
+ s(p(r(c).$moment.formatDate(
788
+ o.data.row.tradeTime,
724
789
  "YYYY-MM-DD HH:mm"
725
790
  )), 1)
726
791
  ]),
727
- agentCode: t((r) => [
728
- n(m(l(ve)(r.data.row.agentCode)), 1)
792
+ agentCode: t((o) => [
793
+ s(p(r(De)(o.data.row.agentCode)), 1)
794
+ ]),
795
+ operation: t((o) => [
796
+ o.data.row.tradeProfitType === "PLATFORMT_PROFIT" ? (T(), _("span", {
797
+ key: 0,
798
+ class: "el-button-color",
799
+ onClick: (S) => L(o.data.row)
800
+ }, p(l.$t("payTrade.views")), 9, Be)) : A("", !0)
729
801
  ]),
730
802
  _: 1
731
803
  }, 8, ["data", "table-label"])), [
732
- [te, l(F)]
804
+ [ne, r(K)]
733
805
  ])
734
806
  ]),
735
807
  _: 1
@@ -739,5 +811,5 @@ const Ce = new ge(), Ve = { class: "app-container" }, we = { class: "search-cont
739
811
  }
740
812
  });
741
813
  export {
742
- Qe as default
814
+ je as default
743
815
  };