xyvcard-settle 0.0.59 → 0.0.61

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