xyvcard-settle 0.0.41 → 0.0.42

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 (30) hide show
  1. package/dist/{history-CKm40RN0.mjs → history-Bjxjxy_1.mjs} +1 -1
  2. package/dist/{history-Djpk-wxw.mjs → history-CyGeajMX.mjs} +1 -1
  3. package/dist/history.vue_vue_type_script_setup_true_lang-DzyW9ohx.mjs +378 -0
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs → history.vue_vue_type_script_setup_true_lang-dd7Qrf3A.mjs} +111 -127
  5. package/dist/{index-GI8dQtIV.mjs → index-BA1OfmNb.mjs} +1 -1
  6. package/dist/{index-Ce1JIAp_.mjs → index-BMj5XmMX.mjs} +266 -282
  7. package/dist/{index-DISA5kjA.mjs → index-BpcmzxBU.mjs} +55 -53
  8. package/dist/{index-QIqV4ldo.mjs → index-C-A0Y3EK.mjs} +143 -159
  9. package/dist/index-C6Tt7EGW.mjs +726 -0
  10. package/dist/index-CGyzqfPx.mjs +541 -0
  11. package/dist/index-Doq8ZiUn.mjs +136 -0
  12. package/dist/{index-BAU8_bL5.mjs → index-DsTHP6ez.mjs} +66 -64
  13. package/dist/{index-TLbN5F_1.mjs → index-I-KFULpq.mjs} +425 -422
  14. package/dist/{index-uB6SZpRm.mjs → index-vIbGxvHd.mjs} +2 -2
  15. package/dist/index-x556wvD_.mjs +588 -0
  16. package/dist/index.mjs +1 -1
  17. package/dist/pay-BK10dbR-.mjs +121 -0
  18. package/dist/payPal-C5Hhq3pQ.mjs +118 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{today-BBWMuUFc.mjs → today-DYd5N03E.mjs} +1 -1
  21. package/dist/{today.vue_vue_type_script_setup_true_lang-CmzDkIbs.mjs → today.vue_vue_type_script_setup_true_lang-D2JX696c.mjs} +8 -8
  22. package/dts/src/utils/timePlugin.d.ts +1 -0
  23. package/package.json +3 -3
  24. package/dist/history.vue_vue_type_script_setup_true_lang-DuKstKV7.mjs +0 -458
  25. package/dist/index-BOYpCJFd.mjs +0 -756
  26. package/dist/index-CAOauGAU.mjs +0 -605
  27. package/dist/index-Che5xN0z.mjs +0 -603
  28. package/dist/index-RBvZYqWi.mjs +0 -134
  29. package/dist/pay-ddopuD-7.mjs +0 -98
  30. package/dist/payPal-Bp_Ivr7P.mjs +0 -110
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DzyW9ohx.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-DuKstKV7.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-dd7Qrf3A.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,378 @@
1
+ import { defineComponent as G, getCurrentInstance as J, ref as M, resolveComponent as u, createElementBlock as O, openBlock as R, createVNode as t, withCtx as a, createBlock as S, createCommentVNode as $, withKeys as D, unref as l, withDirectives as X, normalizeClass as Z, vShow as ee, createTextVNode as b, toDisplayString as g, createSlots as te, isRef as I } from "vue";
2
+ import { useI18n as ae } from "vue-i18n";
3
+ import { useRoute as le } from "vue-router";
4
+ import { useUserStore as C, clearEmpty as ne, request as oe, useTableHooks as re } from "jmash-core";
5
+ import { tokenExt as z } from "xyvcard-agent";
6
+ import { D as c } from "./index-V8g7-RWq.mjs";
7
+ import { DateRange as se } from "xyvcard-insts";
8
+ class ue {
9
+ getKey(f) {
10
+ return {
11
+ receiptId: f.receiptId
12
+ };
13
+ }
14
+ // 查询翻页信息划款信息查询-到账(历史)
15
+ findPage(f) {
16
+ const k = C().user.tenant;
17
+ return ne(f), oe({
18
+ url: "/v1/settle/receipt/page/" + k,
19
+ method: "get",
20
+ params: f
21
+ });
22
+ }
23
+ }
24
+ const de = new ue(), ie = { class: "app-container" }, he = /* @__PURE__ */ G({
25
+ __name: "history",
26
+ setup(A) {
27
+ const { t: f } = ae();
28
+ c.instsBizDict.useValues(), c.agentBizDict.useValues(), c.agentAgreeBizDict.useValues();
29
+ const h = le().query.tenant, { proxy: Y } = J(), n = M({
30
+ tokenExt: z.getTokenExt(C().user.tenant)
31
+ }), w = M(z.getCurrentRole(C().user.tenant)), {
32
+ tableHooks: i,
33
+ multipleTableRef: U,
34
+ queryFormRef: B,
35
+ listLoading: j,
36
+ tableData: E,
37
+ total: v
38
+ } = re(f, de, n);
39
+ let y = M([
40
+ // 序号
41
+ {
42
+ label: "settleTradeReceipt.index",
43
+ type: "index",
44
+ width: "60",
45
+ isColumn: !0
46
+ },
47
+ // 商户注册名称
48
+ {
49
+ label: "settleTradeReceipt.merchantName",
50
+ prop: "merchantName",
51
+ sortable: "custom",
52
+ minWidth: "200",
53
+ isColumn: !0
54
+ },
55
+ // 连锁号
56
+ {
57
+ label: "settleTradeReceipt.merchantNo",
58
+ prop: "merchantNo",
59
+ width: "190",
60
+ sortable: "custom",
61
+ isColumn: !0
62
+ },
63
+ // 划款时间
64
+ {
65
+ label: "settleTradeReceipt.transferMoneyDate",
66
+ prop: "transferMoneyDate",
67
+ slotName: "transferMoneyDate",
68
+ columnType: "slot",
69
+ width: "170",
70
+ sortable: "custom",
71
+ isColumn: !0
72
+ },
73
+ // 划款金额
74
+ {
75
+ label: "settleTradeReceipt.transferMoneyAmount",
76
+ prop: "transferMoneyAmount",
77
+ width: "120",
78
+ sortable: "custom",
79
+ isColumn: !0
80
+ },
81
+ // 手续费
82
+ {
83
+ label: "settleTradeReceipt.feeAmt",
84
+ prop: "feeAmt",
85
+ width: "120",
86
+ sortable: "custom",
87
+ isColumn: !0
88
+ },
89
+ // 到账状态
90
+ {
91
+ label: "settleTradeReceipt.transferMoneyStatusName",
92
+ prop: "transferMoneyStatusName",
93
+ width: "120",
94
+ sortable: "custom",
95
+ isColumn: !0
96
+ },
97
+ // 代理商编号
98
+ {
99
+ label: "settleTradeReceipt.agentName",
100
+ prop: "agentCode",
101
+ slotName: "agentCode",
102
+ columnType: "slot",
103
+ width: "200",
104
+ sortable: "custom",
105
+ isColumn: !0
106
+ },
107
+ // 失败原因
108
+ {
109
+ label: "settleTradeReceipt.chnlRespMsg",
110
+ prop: "chnlRespMsg",
111
+ width: "150",
112
+ sortable: "custom",
113
+ isColumn: !0
114
+ }
115
+ ]);
116
+ function P(o) {
117
+ i.selectionRows.value = o;
118
+ }
119
+ function K(o) {
120
+ i.handleSort(o.prop, o.order);
121
+ }
122
+ return i.getList(), (o, e) => {
123
+ const _ = u("el-input"), p = u("el-form-item"), m = u("el-col"), Q = u("el-tree-select"), q = u("jmash-select"), N = u("el-button"), V = u("el-row"), H = u("el-form"), L = u("jmash-column-select"), x = u("jmash-table"), F = u("jmash-pagination"), W = u("el-card");
124
+ return R(), O("div", ie, [
125
+ t(H, {
126
+ ref_key: "queryFormRef",
127
+ ref: B,
128
+ model: n.value,
129
+ inline: !0,
130
+ "label-width": "6em"
131
+ }, {
132
+ default: a(() => [
133
+ t(V, null, {
134
+ default: a(() => {
135
+ var r, d;
136
+ return [
137
+ t(m, { span: 6 }, {
138
+ default: a(() => [
139
+ t(p, {
140
+ label: o.$t("settleTradeReceipt.likeMerchantName"),
141
+ prop: "likeMerchantName"
142
+ }, {
143
+ default: a(() => [
144
+ t(_, {
145
+ modelValue: n.value.likeMerchantName,
146
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => n.value.likeMerchantName = s),
147
+ placeholder: o.$t("settleTradeReceipt.likeMerchantName"),
148
+ onKeyup: e[1] || (e[1] = D((s) => l(i).handleQuery(), ["enter"])),
149
+ class: "!w-[203px]"
150
+ }, null, 8, ["modelValue", "placeholder"])
151
+ ]),
152
+ _: 1
153
+ }, 8, ["label"])
154
+ ]),
155
+ _: 1
156
+ }),
157
+ t(m, { span: 6 }, {
158
+ default: a(() => [
159
+ t(p, {
160
+ label: o.$t("settleTradeReceipt.likeMerchantNo"),
161
+ prop: "likeMerchantNo"
162
+ }, {
163
+ default: a(() => [
164
+ t(_, {
165
+ modelValue: n.value.likeMerchantNo,
166
+ "onUpdate:modelValue": e[2] || (e[2] = (s) => n.value.likeMerchantNo = s),
167
+ placeholder: o.$t("settleTradeReceipt.likeMerchantNoRead"),
168
+ onKeyup: e[3] || (e[3] = D((s) => l(i).handleQuery(), ["enter"])),
169
+ class: "!w-[203px]"
170
+ }, null, 8, ["modelValue", "placeholder"])
171
+ ]),
172
+ _: 1
173
+ }, 8, ["label"])
174
+ ]),
175
+ _: 1
176
+ }),
177
+ (r = l(h)) != null && r.includes("@") ? $("", !0) : (R(), S(m, {
178
+ key: 0,
179
+ span: 6
180
+ }, {
181
+ default: a(() => [
182
+ t(p, {
183
+ label: o.$t("settleTradeAnalysis.agentName"),
184
+ prop: "agentCode"
185
+ }, {
186
+ default: a(() => [
187
+ t(Q, {
188
+ modelValue: n.value.agentCode,
189
+ "onUpdate:modelValue": e[4] || (e[4] = (s) => n.value.agentCode = s),
190
+ data: l(c).agentBizDict.values,
191
+ "node-key": "value",
192
+ filterable: "",
193
+ clearable: "",
194
+ placeholder: o.$t("settleTradeAnalysis.agentCodeRead"),
195
+ class: "!w-[203px]"
196
+ }, null, 8, ["modelValue", "data", "placeholder"])
197
+ ]),
198
+ _: 1
199
+ }, 8, ["label"])
200
+ ]),
201
+ _: 1
202
+ })),
203
+ t(m, { span: 6 }, {
204
+ default: a(() => [
205
+ t(p, {
206
+ label: o.$t("settleTradeAnalysis.channelId"),
207
+ prop: "instsId"
208
+ }, {
209
+ default: a(() => [
210
+ t(q, {
211
+ modelValue: n.value.instsId,
212
+ "onUpdate:modelValue": e[5] || (e[5] = (s) => n.value.instsId = s),
213
+ placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
214
+ data: l(c).instsBizDict.values,
215
+ onKeyup: e[6] || (e[6] = D((s) => l(i).handleQuery(), ["enter"])),
216
+ class: "!w-[203px]",
217
+ filterable: "",
218
+ clearable: ""
219
+ }, null, 8, ["modelValue", "placeholder", "data"])
220
+ ]),
221
+ _: 1
222
+ }, 8, ["label"])
223
+ ]),
224
+ _: 1
225
+ }),
226
+ t(m, { span: 6 }, {
227
+ default: a(() => [
228
+ t(p, {
229
+ label: o.$t("settleTradeReceipt.createTime"),
230
+ prop: "analysisTimeStart"
231
+ }, {
232
+ default: a(() => {
233
+ var s;
234
+ return [
235
+ t(l(se), {
236
+ "start-time": n.value.transferMoneyDateStart,
237
+ "onUpdate:startTime": e[7] || (e[7] = (T) => n.value.transferMoneyDateStart = T),
238
+ "end-time": n.value.transferMoneyDateEnd,
239
+ "onUpdate:endTime": e[8] || (e[8] = (T) => n.value.transferMoneyDateEnd = T),
240
+ format: "YYYY-MM-DD",
241
+ "value-format": "YYYY-MM-DD",
242
+ "range-separator": "-",
243
+ "start-placeholder": o.$t("settleTradeReceipt.transferMoneyDateStart"),
244
+ "end-placeholder": o.$t("settleTradeReceipt.transferMoneyDateEnd"),
245
+ class: Z(((s = l(h)) == null ? void 0 : s.includes("@")) && "!w-[203px]")
246
+ }, null, 8, ["start-time", "end-time", "start-placeholder", "end-placeholder", "class"])
247
+ ];
248
+ }),
249
+ _: 1
250
+ }, 8, ["label"]),
251
+ X(t(p, { prop: "endCreateTime" }, null, 512), [
252
+ [ee, !1]
253
+ ])
254
+ ]),
255
+ _: 1
256
+ }),
257
+ t(m, {
258
+ span: (d = l(h)) != null && d.includes("@") ? 24 : 18
259
+ }, {
260
+ default: a(() => [
261
+ t(p, { class: "search-btn" }, {
262
+ default: a(() => [
263
+ t(N, {
264
+ type: "primary",
265
+ onClick: e[9] || (e[9] = (s) => l(i).handleQuery())
266
+ }, {
267
+ default: a(() => [
268
+ b(g(o.$t("common.search")), 1)
269
+ ]),
270
+ _: 1
271
+ }),
272
+ t(N, {
273
+ onClick: e[10] || (e[10] = (s) => l(i).resetQuery())
274
+ }, {
275
+ default: a(() => [
276
+ b(g(o.$t("common.reset")), 1)
277
+ ]),
278
+ _: 1
279
+ })
280
+ ]),
281
+ _: 1
282
+ })
283
+ ]),
284
+ _: 1
285
+ }, 8, ["span"])
286
+ ];
287
+ }),
288
+ _: 1
289
+ })
290
+ ]),
291
+ _: 1
292
+ }, 8, ["model"]),
293
+ t(W, {
294
+ shadow: "never",
295
+ class: "table-container"
296
+ }, {
297
+ header: a(() => [
298
+ t(V, null, {
299
+ default: a(() => [
300
+ t(m, {
301
+ span: 24,
302
+ class: "container-float"
303
+ }, {
304
+ default: a(() => [
305
+ t(L, {
306
+ modelValue: l(y),
307
+ "onUpdate:modelValue": e[11] || (e[11] = (r) => I(y) ? y.value = r : y = r),
308
+ "label-name": "settle/settle-trade-receipt"
309
+ }, null, 8, ["modelValue"])
310
+ ]),
311
+ _: 1
312
+ })
313
+ ]),
314
+ _: 1
315
+ })
316
+ ]),
317
+ footer: a(() => [
318
+ l(v) > 0 ? (R(), S(F, {
319
+ key: 0,
320
+ total: l(v),
321
+ "onUpdate:total": e[12] || (e[12] = (r) => I(v) ? v.value = r : null),
322
+ "current-page": n.value.curPage,
323
+ "onUpdate:currentPage": e[13] || (e[13] = (r) => n.value.curPage = r),
324
+ "page-size": n.value.pageSize,
325
+ "onUpdate:pageSize": e[14] || (e[14] = (r) => n.value.pageSize = r),
326
+ onPagination: e[15] || (e[15] = (r) => l(i).getList())
327
+ }, null, 8, ["total", "current-page", "page-size"])) : $("", !0)
328
+ ]),
329
+ default: a(() => {
330
+ var r;
331
+ return [
332
+ t(x, {
333
+ ref_key: "multipleTableRef",
334
+ ref: U,
335
+ "row-key": "receiptId",
336
+ isSelection: !1,
337
+ "list-loading": l(j),
338
+ data: l(E),
339
+ "table-label": l(y),
340
+ onSelectionChange: P,
341
+ onSortChange: K
342
+ }, te({
343
+ instsId: a((d) => [
344
+ b(g(l(c).instsBizDict.getValue(d.data.row.instsId)), 1)
345
+ ]),
346
+ transferMoneyDate: a((d) => [
347
+ b(g(l(Y).$moment.formatDate(
348
+ d.data.row.transferMoneyDate + " " + d.data.row.transferMoneyTime,
349
+ "YYYY-MM-DD HH:mm:ss"
350
+ )), 1)
351
+ ]),
352
+ _: 2
353
+ }, [
354
+ !((r = l(h)) != null && r.includes("@")) || w.value.merchantId ? {
355
+ name: "agentCode",
356
+ fn: a((d) => [
357
+ b(g(l(c).agentBizDict.getValue(d.data.row.agentCode)), 1)
358
+ ]),
359
+ key: "0"
360
+ } : {
361
+ name: "agentCode",
362
+ fn: a((d) => [
363
+ b(g(w.value.agentAlias), 1)
364
+ ]),
365
+ key: "1"
366
+ }
367
+ ]), 1032, ["list-loading", "data", "table-label"])
368
+ ];
369
+ }),
370
+ _: 1
371
+ })
372
+ ]);
373
+ };
374
+ }
375
+ });
376
+ export {
377
+ he as _
378
+ };