xyvcard-settle 0.0.46 → 0.0.48

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 (33) hide show
  1. package/dist/{history-DCwgJuDo.mjs → history-BxhHHLWl.mjs} +1 -1
  2. package/dist/{history-DwIGzL72.mjs → history-DV6dRTjD.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs} +1 -1
  4. package/dist/history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs +403 -0
  5. package/dist/{index-yQjjxDcA.mjs → index-1jun1BI_.mjs} +1 -1
  6. package/dist/index-B4SCq7KH.mjs +33 -0
  7. package/dist/{index-d-nHEHMj.mjs → index-BCg9UNFw.mjs} +76 -70
  8. package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
  9. package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
  10. package/dist/{index-BOrI7JtW.mjs → index-C2M_dK36.mjs} +51 -51
  11. package/dist/{index-BpX-ZCaL.mjs → index-C4pzKlKF.mjs} +3 -2
  12. package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
  13. package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
  14. package/dist/{index-UPAK9M6D.mjs → index-CgbOnDFk.mjs} +1 -1
  15. package/dist/{index-DSAnrTJ1.mjs → index-CiDstsD9.mjs} +1 -1
  16. package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
  17. package/dist/{index-B65gCM1w.mjs → index-D4jXgbZE.mjs} +2 -2
  18. package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
  19. package/dist/index.mjs +1 -1
  20. package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
  21. package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/{today-CLfowatL.mjs → today-CryQp8d6.mjs} +1 -1
  24. package/dist/{today-eDeS0zsk.mjs → today-raAsbnbG.mjs} +1 -1
  25. package/dist/today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs +374 -0
  26. package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs} +1 -1
  27. package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +1 -0
  28. package/dts/src/constant.d.ts +1 -0
  29. package/dts/src/lang/settle/zh-cn.d.ts +1 -0
  30. package/package.json +62 -62
  31. package/dist/history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs +0 -365
  32. package/dist/index-B8Y2esGZ.mjs +0 -49
  33. package/dist/today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs +0 -308
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,7 +3,7 @@ import { useI18n as X } from "vue-i18n";
3
3
  import { useUserStore as I, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
4
4
  import { channelApi as ae } from "xyvcard-merchant";
5
5
  import { tokenExt as le } from "xyvcard-agent";
6
- import { D } from "./index-yz18Lhpm.mjs";
6
+ import { D } from "./index-BgbsFf1D.mjs";
7
7
  import { DateRange as ne } from "xyvcard-insts";
8
8
  import { g as oe } from "./agent-R-Ml-XTA.mjs";
9
9
  class re {
@@ -0,0 +1,403 @@
1
+ import { defineComponent as Z, getCurrentInstance as ee, ref as S, resolveComponent as i, resolveDirective as te, createBlock as _, openBlock as h, withCtx as t, createVNode as a, createCommentVNode as V, withKeys as C, unref as o, withDirectives as $, normalizeClass as ae, vShow as le, createTextVNode as c, toDisplayString as f, createElementBlock as ne, isRef as A } from "vue";
2
+ import { useI18n as oe } from "vue-i18n";
3
+ import { useRoute as re, useRouter as se } from "vue-router";
4
+ import { useUserStore as Y, clearEmpty as ie, request as de, useTableHooks as ue } from "jmash-core";
5
+ import { tokenExt as me } from "xyvcard-agent";
6
+ import { g as pe } from "./agent-R-Ml-XTA.mjs";
7
+ import { D as y, C as I } from "./index-BgbsFf1D.mjs";
8
+ import { DateRange as ce } from "xyvcard-insts";
9
+ class fe {
10
+ getKey(p) {
11
+ return {
12
+ receiptId: p.receiptId
13
+ };
14
+ }
15
+ // 查询翻页信息划款信息查询-到账(历史)
16
+ findPage(p) {
17
+ const v = Y().user.tenant;
18
+ return ie(p), de({
19
+ url: "/v1/settle/receipt/page/" + v,
20
+ method: "get",
21
+ params: p
22
+ });
23
+ }
24
+ }
25
+ const ye = new fe(), be = ["onClick"], Re = /* @__PURE__ */ Z({
26
+ __name: "history",
27
+ setup(z) {
28
+ const { t: p } = oe();
29
+ y.instsBizDict.useValues(), y.agentBizDict.useValues(), y.agentAgreeBizDict.useValues();
30
+ const v = re(), U = se(), T = v.query.tenant, { proxy: R } = ee(), r = S({
31
+ tokenExt: me.getTokenExt(Y().user.tenant)
32
+ }), {
33
+ tableHooks: d,
34
+ multipleTableRef: E,
35
+ queryFormRef: P,
36
+ listLoading: B,
37
+ tableData: j,
38
+ total: g
39
+ } = ue(p, ye, r);
40
+ let b = S([
41
+ // 序号
42
+ {
43
+ label: "settleTradeReceipt.index",
44
+ type: "index",
45
+ width: "60",
46
+ isColumn: !0
47
+ },
48
+ // 商户注册名称
49
+ {
50
+ label: "settleTradeReceipt.merchantName",
51
+ prop: "merchantName",
52
+ sortable: "custom",
53
+ minWidth: "200",
54
+ isColumn: !0
55
+ },
56
+ // 连锁号
57
+ {
58
+ label: "settleTradeReceipt.merchantNo",
59
+ prop: "merchantNo",
60
+ width: "190",
61
+ sortable: "custom",
62
+ isColumn: !0
63
+ },
64
+ // 划款时间
65
+ {
66
+ label: "settleTradeReceipt.transferMoneyDate",
67
+ prop: "transferMoneyDate",
68
+ slotName: "transferMoneyDate",
69
+ columnType: "slot",
70
+ width: "170",
71
+ sortable: "custom",
72
+ isColumn: !0
73
+ },
74
+ // 划款金额
75
+ {
76
+ label: "settleTradeReceipt.transferMoneyAmount",
77
+ prop: "transferMoneyAmount",
78
+ width: "120",
79
+ sortable: "custom",
80
+ isColumn: !0
81
+ },
82
+ // 手续费
83
+ {
84
+ label: "settleTradeReceipt.feeAmt",
85
+ prop: "feeAmt",
86
+ width: "120",
87
+ sortable: "custom",
88
+ isColumn: !0
89
+ },
90
+ // 到账状态
91
+ {
92
+ label: "settleTradeReceipt.transferMoneyStatusName",
93
+ prop: "transferMoneyStatusName",
94
+ width: "120",
95
+ sortable: "custom",
96
+ isColumn: !0
97
+ },
98
+ // 代理商编号
99
+ {
100
+ label: "settleTradeReceipt.agentName",
101
+ prop: "agentCode",
102
+ slotName: "agentCode",
103
+ columnType: "slot",
104
+ width: "200",
105
+ sortable: "custom",
106
+ isColumn: !0
107
+ },
108
+ // 失败原因
109
+ {
110
+ label: "settleTradeReceipt.chnlRespMsg",
111
+ prop: "chnlRespMsg",
112
+ width: "150",
113
+ sortable: "custom",
114
+ isColumn: !0
115
+ },
116
+ {
117
+ label: "common.operate",
118
+ width: "100",
119
+ slotName: "operation",
120
+ columnType: "slot",
121
+ fixed: "right",
122
+ isColumn: !0
123
+ }
124
+ ]);
125
+ function q(l) {
126
+ const e = new Date(l.transferMoneyDate).getTime() - 864e5;
127
+ U.push({
128
+ path: "/payment/pay-trade",
129
+ query: {
130
+ merchantId: l.merchantId,
131
+ analysisTime: R.$moment.formatDate(
132
+ e,
133
+ I.RPC_FORMAT_DATA
134
+ ),
135
+ tradeStatus: I.PAY_SUCCESS
136
+ }
137
+ });
138
+ }
139
+ function K(l) {
140
+ d.selectionRows.value = l;
141
+ }
142
+ function Q(l) {
143
+ d.handleSort(l.prop, l.order);
144
+ }
145
+ return d.getList(), (l, e) => {
146
+ const w = i("el-input"), u = i("el-form-item"), m = i("el-col"), H = i("el-tree-select"), L = i("jmash-select"), k = i("el-button"), N = i("el-row"), F = i("el-form"), x = i("jmash-column-select"), O = i("jmash-table"), W = i("jmash-pagination"), G = i("el-card"), J = i("el-tab-pane"), X = te("hasPerm");
147
+ return h(), _(J, {
148
+ label: "历史到账流水",
149
+ name: "one"
150
+ }, {
151
+ default: t(() => [
152
+ a(F, {
153
+ ref_key: "queryFormRef",
154
+ ref: P,
155
+ model: r.value,
156
+ inline: !0,
157
+ "label-width": "6em"
158
+ }, {
159
+ default: t(() => [
160
+ a(N, null, {
161
+ default: t(() => {
162
+ var n, M;
163
+ return [
164
+ a(m, { span: 6 }, {
165
+ default: t(() => [
166
+ a(u, {
167
+ label: l.$t("settleTradeReceipt.likeMerchantName"),
168
+ prop: "likeMerchantName"
169
+ }, {
170
+ default: t(() => [
171
+ a(w, {
172
+ modelValue: r.value.likeMerchantName,
173
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => r.value.likeMerchantName = s),
174
+ placeholder: l.$t("settleTradeReceipt.likeMerchantName"),
175
+ onKeyup: e[1] || (e[1] = C((s) => o(d).handleQuery(), ["enter"])),
176
+ class: "!w-[203px]"
177
+ }, null, 8, ["modelValue", "placeholder"])
178
+ ]),
179
+ _: 1
180
+ }, 8, ["label"])
181
+ ]),
182
+ _: 1
183
+ }),
184
+ a(m, { span: 6 }, {
185
+ default: t(() => [
186
+ a(u, {
187
+ label: l.$t("settleTradeReceipt.likeMerchantNo"),
188
+ prop: "likeMerchantNo"
189
+ }, {
190
+ default: t(() => [
191
+ a(w, {
192
+ modelValue: r.value.likeMerchantNo,
193
+ "onUpdate:modelValue": e[2] || (e[2] = (s) => r.value.likeMerchantNo = s),
194
+ placeholder: l.$t("settleTradeReceipt.likeMerchantNoRead"),
195
+ onKeyup: e[3] || (e[3] = C((s) => o(d).handleQuery(), ["enter"])),
196
+ class: "!w-[203px]"
197
+ }, null, 8, ["modelValue", "placeholder"])
198
+ ]),
199
+ _: 1
200
+ }, 8, ["label"])
201
+ ]),
202
+ _: 1
203
+ }),
204
+ (n = o(T)) != null && n.includes("@") ? V("", !0) : (h(), _(m, {
205
+ key: 0,
206
+ span: 6
207
+ }, {
208
+ default: t(() => [
209
+ a(u, {
210
+ label: l.$t("settleTradeAnalysis.agentName"),
211
+ prop: "agentCode"
212
+ }, {
213
+ default: t(() => [
214
+ a(H, {
215
+ modelValue: r.value.agentCode,
216
+ "onUpdate:modelValue": e[4] || (e[4] = (s) => r.value.agentCode = s),
217
+ data: o(y).agentBizDict.values,
218
+ "node-key": "value",
219
+ filterable: "",
220
+ clearable: "",
221
+ placeholder: l.$t("settleTradeAnalysis.agentCodeRead"),
222
+ class: "!w-[203px]"
223
+ }, null, 8, ["modelValue", "data", "placeholder"])
224
+ ]),
225
+ _: 1
226
+ }, 8, ["label"])
227
+ ]),
228
+ _: 1
229
+ })),
230
+ a(m, { span: 6 }, {
231
+ default: t(() => [
232
+ a(u, {
233
+ label: l.$t("settleTradeAnalysis.channelId"),
234
+ prop: "instsId"
235
+ }, {
236
+ default: t(() => [
237
+ a(L, {
238
+ modelValue: r.value.instsId,
239
+ "onUpdate:modelValue": e[5] || (e[5] = (s) => r.value.instsId = s),
240
+ placeholder: l.$t("settleTradeAnalysis.channelIdRead"),
241
+ data: o(y).instsBizDict.values,
242
+ onKeyup: e[6] || (e[6] = C((s) => o(d).handleQuery(), ["enter"])),
243
+ class: "!w-[203px]",
244
+ filterable: "",
245
+ clearable: ""
246
+ }, null, 8, ["modelValue", "placeholder", "data"])
247
+ ]),
248
+ _: 1
249
+ }, 8, ["label"])
250
+ ]),
251
+ _: 1
252
+ }),
253
+ a(m, { span: 6 }, {
254
+ default: t(() => [
255
+ a(u, {
256
+ label: l.$t("settleTradeReceipt.createTime"),
257
+ prop: "transferMoneyDateStart"
258
+ }, {
259
+ default: t(() => {
260
+ var s;
261
+ return [
262
+ a(o(ce), {
263
+ "start-time": r.value.transferMoneyDateStart,
264
+ "onUpdate:startTime": e[7] || (e[7] = (D) => r.value.transferMoneyDateStart = D),
265
+ "end-time": r.value.transferMoneyDateEnd,
266
+ "onUpdate:endTime": e[8] || (e[8] = (D) => r.value.transferMoneyDateEnd = D),
267
+ format: "YYYY-MM-DD",
268
+ "value-format": "YYYY-MM-DD",
269
+ "range-separator": "-",
270
+ "start-placeholder": l.$t("settleTradeReceipt.transferMoneyDateStart"),
271
+ "end-placeholder": l.$t("settleTradeReceipt.transferMoneyDateEnd"),
272
+ class: ae(((s = o(T)) == null ? void 0 : s.includes("@")) && "!w-[203px]")
273
+ }, null, 8, ["start-time", "end-time", "start-placeholder", "end-placeholder", "class"])
274
+ ];
275
+ }),
276
+ _: 1
277
+ }, 8, ["label"]),
278
+ $(a(u, { prop: "transferMoneyDateEnd" }, null, 512), [
279
+ [le, !1]
280
+ ])
281
+ ]),
282
+ _: 1
283
+ }),
284
+ a(m, {
285
+ span: (M = o(T)) != null && M.includes("@") ? 24 : 18
286
+ }, {
287
+ default: t(() => [
288
+ a(u, { class: "search-btn" }, {
289
+ default: t(() => [
290
+ a(k, {
291
+ type: "primary",
292
+ onClick: e[9] || (e[9] = (s) => o(d).handleQuery())
293
+ }, {
294
+ default: t(() => [
295
+ c(f(l.$t("common.search")), 1)
296
+ ]),
297
+ _: 1
298
+ }),
299
+ a(k, {
300
+ onClick: e[10] || (e[10] = (s) => o(d).resetQuery())
301
+ }, {
302
+ default: t(() => [
303
+ c(f(l.$t("common.reset")), 1)
304
+ ]),
305
+ _: 1
306
+ })
307
+ ]),
308
+ _: 1
309
+ })
310
+ ]),
311
+ _: 1
312
+ }, 8, ["span"])
313
+ ];
314
+ }),
315
+ _: 1
316
+ })
317
+ ]),
318
+ _: 1
319
+ }, 8, ["model"]),
320
+ a(G, {
321
+ shadow: "never",
322
+ class: "table-container"
323
+ }, {
324
+ header: t(() => [
325
+ a(N, null, {
326
+ default: t(() => [
327
+ a(m, {
328
+ span: 24,
329
+ class: "container-float"
330
+ }, {
331
+ default: t(() => [
332
+ a(x, {
333
+ modelValue: o(b),
334
+ "onUpdate:modelValue": e[11] || (e[11] = (n) => A(b) ? b.value = n : b = n),
335
+ "label-name": "settle/settle-trade-receipt"
336
+ }, null, 8, ["modelValue"])
337
+ ]),
338
+ _: 1
339
+ })
340
+ ]),
341
+ _: 1
342
+ })
343
+ ]),
344
+ footer: t(() => [
345
+ o(g) > 0 ? (h(), _(W, {
346
+ key: 0,
347
+ total: o(g),
348
+ "onUpdate:total": e[12] || (e[12] = (n) => A(g) ? g.value = n : null),
349
+ "current-page": r.value.curPage,
350
+ "onUpdate:currentPage": e[13] || (e[13] = (n) => r.value.curPage = n),
351
+ "page-size": r.value.pageSize,
352
+ "onUpdate:pageSize": e[14] || (e[14] = (n) => r.value.pageSize = n),
353
+ onPagination: e[15] || (e[15] = (n) => o(d).getList())
354
+ }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
355
+ ]),
356
+ default: t(() => [
357
+ a(O, {
358
+ ref_key: "multipleTableRef",
359
+ ref: E,
360
+ "row-key": "receiptId",
361
+ isSelection: !1,
362
+ "list-loading": o(B),
363
+ data: o(j),
364
+ "table-label": o(b),
365
+ onSelectionChange: K,
366
+ onSortChange: Q
367
+ }, {
368
+ instsId: t((n) => [
369
+ c(f(o(y).instsBizDict.getValue(n.data.row.instsId)), 1)
370
+ ]),
371
+ transferMoneyDate: t((n) => [
372
+ c(f(o(R).$moment.formatDate(
373
+ n.data.row.transferMoneyDate + " " + n.data.row.transferMoneyTime,
374
+ "YYYY-MM-DD HH:mm:ss"
375
+ )), 1)
376
+ ]),
377
+ agentCode: t((n) => [
378
+ c(f(o(pe)(n.data.row.agentCode)), 1)
379
+ ]),
380
+ operation: t((n) => [
381
+ $((h(), ne("span", {
382
+ class: "el-button-color",
383
+ onClick: (M) => q(n.data.row)
384
+ }, [
385
+ c(f(l.$t("settleTradeAnalysis.view")), 1)
386
+ ], 8, be)), [
387
+ [X, ["payment:trade_analysis:view"]]
388
+ ])
389
+ ]),
390
+ _: 1
391
+ }, 8, ["list-loading", "data", "table-label"])
392
+ ]),
393
+ _: 1
394
+ })
395
+ ]),
396
+ _: 1
397
+ });
398
+ };
399
+ }
400
+ });
401
+ export {
402
+ Re as _
403
+ };
@@ -2,7 +2,7 @@ import { defineComponent as G, getCurrentInstance as J, ref as R, onActivated as
2
2
  import { useI18n as ee } from "vue-i18n";
3
3
  import { useRoute as te } from "vue-router";
4
4
  import { useUserStore as A, clearEmpty as ae, request as le, useTableHooks as oe } from "jmash-core";
5
- import { D as y } from "./index-yz18Lhpm.mjs";
5
+ import { D as y } from "./index-BgbsFf1D.mjs";
6
6
  import { g as re } from "./agent-R-Ml-XTA.mjs";
7
7
  import { tokenExt as de } from "xyvcard-agent";
8
8
  import { DateRange as ne } from "xyvcard-insts";
@@ -0,0 +1,33 @@
1
+ import { defineComponent as c, ref as r, resolveComponent as m, createElementBlock as _, openBlock as i, createElementVNode as p, createVNode as o, withCtx as d } from "vue";
2
+ import { _ as u } from "./history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs";
3
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs";
4
+ const v = { class: "app-container" }, h = { class: "search-container" }, b = /* @__PURE__ */ c({
5
+ __name: "index",
6
+ setup(C) {
7
+ const e = r("one");
8
+ function a(t) {
9
+ e.value = t.props.name;
10
+ }
11
+ return (t, n) => {
12
+ const s = m("el-tabs");
13
+ return i(), _("div", v, [
14
+ p("div", h, [
15
+ o(s, {
16
+ modelValue: e.value,
17
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => e.value = l),
18
+ onTabClick: a
19
+ }, {
20
+ default: d(() => [
21
+ o(u),
22
+ o(f)
23
+ ]),
24
+ _: 1
25
+ }, 8, ["modelValue"])
26
+ ])
27
+ ]);
28
+ };
29
+ }
30
+ });
31
+ export {
32
+ b as default
33
+ };