xyvcard-settle 0.0.47 → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{history-BQjgVD9D.mjs → history-CMyJKuis.mjs} +1 -1
- package/dist/{history-DCwgJuDo.mjs → history-DWaN_Nrb.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs +404 -0
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs} +96 -95
- package/dist/{index-BJDG5RJu.mjs → index-BeU6u9hH.mjs} +87 -85
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-DSAnrTJ1.mjs → index-BmSUfSfV.mjs} +77 -76
- package/dist/{index-BSjUBqhl.mjs → index-C6IvQBy0.mjs} +99 -98
- package/dist/{index-yQjjxDcA.mjs → index-CVrtwq6W.mjs} +62 -61
- package/dist/{index-ClDxB7Ty.mjs → index-Cw3Bhtc2.mjs} +75 -73
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B8Y2esGZ.mjs → index-D8LRYlta.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/{index-DYgHw7PE.mjs → index-Ds4E1nsC.mjs} +1 -1
- package/dist/{index-Cr3j3TRH.mjs → index-IYVODwmA.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-LT7qO1_c.mjs} +75 -74
- package/dist/{index-DUu1w36z.mjs → index-ZwyAUTzX.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
- package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
- package/dist/{today-DawV1DzV.mjs → today-BU8dRQhE.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-DO4wIwlZ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs} +51 -50
- package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs} +147 -114
- package/dts/src/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +0 -371
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { defineComponent as te, getCurrentInstance as ae, ref as V, resolveComponent as i, resolveDirective as $, createBlock as v, openBlock as g, withCtx as t, createVNode as a, createCommentVNode as A, withKeys as C, unref as o, withDirectives as R, normalizeClass as le, vShow as ne, createTextVNode as c, toDisplayString as f, createElementBlock as oe, isRef as I } from "vue";
|
|
2
|
+
import { useI18n as re } from "vue-i18n";
|
|
3
|
+
import { useRoute as se, useRouter as ie } from "vue-router";
|
|
4
|
+
import { useUserStore as z, clearEmpty as de, request as ue, useTableHooks as me } from "jmash-core";
|
|
5
|
+
import { tokenExt as pe } from "xyvcard-agent";
|
|
6
|
+
import { g as ce } from "./agent-R-Ml-XTA.mjs";
|
|
7
|
+
import { D as y, C as Y } from "./index-BgbsFf1D.mjs";
|
|
8
|
+
import { DateRange as fe } from "xyvcard-insts";
|
|
9
|
+
class ye {
|
|
10
|
+
getKey(p) {
|
|
11
|
+
return {
|
|
12
|
+
receiptId: p.receiptId
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
// 查询翻页信息划款信息查询-到账(历史)
|
|
16
|
+
findPage(p) {
|
|
17
|
+
const T = z().user.tenant;
|
|
18
|
+
return de(p), ue({
|
|
19
|
+
url: "/v1/settle/receipt/page/" + T,
|
|
20
|
+
method: "get",
|
|
21
|
+
params: p
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const be = new ye(), ge = ["onClick"], we = /* @__PURE__ */ te({
|
|
26
|
+
__name: "history",
|
|
27
|
+
setup(U) {
|
|
28
|
+
const { t: p } = re();
|
|
29
|
+
y.instsBizDict.useValues(), y.agentBizDict.useValues(), y.agentAgreeBizDict.useValues();
|
|
30
|
+
const T = se(), E = ie(), _ = T.query.tenant, { proxy: w } = ae(), r = V({
|
|
31
|
+
tokenExt: pe.getTokenExt(z().user.tenant)
|
|
32
|
+
}), {
|
|
33
|
+
tableHooks: d,
|
|
34
|
+
multipleTableRef: P,
|
|
35
|
+
queryFormRef: B,
|
|
36
|
+
listLoading: j,
|
|
37
|
+
tableData: q,
|
|
38
|
+
total: h
|
|
39
|
+
} = me(p, be, r);
|
|
40
|
+
let b = V([
|
|
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 K(l) {
|
|
126
|
+
const e = new Date(l.transferMoneyDate).getTime() - 864e5;
|
|
127
|
+
E.push({
|
|
128
|
+
path: "/payment/pay-trade",
|
|
129
|
+
query: {
|
|
130
|
+
merchantId: l.merchantId,
|
|
131
|
+
analysisTime: w.$moment.formatDate(
|
|
132
|
+
e,
|
|
133
|
+
Y.RPC_FORMAT_DATA
|
|
134
|
+
),
|
|
135
|
+
tradeStatus: Y.PAY_SUCCESS
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
function Q(l) {
|
|
140
|
+
d.selectionRows.value = l;
|
|
141
|
+
}
|
|
142
|
+
function H(l) {
|
|
143
|
+
d.handleSort(l.prop, l.order);
|
|
144
|
+
}
|
|
145
|
+
return d.getList(), (l, e) => {
|
|
146
|
+
const k = i("el-input"), u = i("el-form-item"), m = i("el-col"), L = i("el-tree-select"), F = i("jmash-select"), N = i("el-button"), S = i("el-row"), x = i("el-form"), O = i("jmash-column-select"), W = i("jmash-table"), G = i("jmash-pagination"), J = i("el-card"), X = i("el-tab-pane"), Z = $("hasPerm"), ee = $("loading");
|
|
147
|
+
return g(), v(X, {
|
|
148
|
+
label: "历史到账流水",
|
|
149
|
+
name: "one"
|
|
150
|
+
}, {
|
|
151
|
+
default: t(() => [
|
|
152
|
+
a(x, {
|
|
153
|
+
ref_key: "queryFormRef",
|
|
154
|
+
ref: B,
|
|
155
|
+
model: r.value,
|
|
156
|
+
inline: !0,
|
|
157
|
+
"label-width": "6em"
|
|
158
|
+
}, {
|
|
159
|
+
default: t(() => [
|
|
160
|
+
a(S, 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(k, {
|
|
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(k, {
|
|
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(_)) != null && n.includes("@") ? A("", !0) : (g(), v(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(L, {
|
|
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(F, {
|
|
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(fe), {
|
|
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: le(((s = o(_)) == 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
|
+
R(a(u, { prop: "transferMoneyDateEnd" }, null, 512), [
|
|
279
|
+
[ne, !1]
|
|
280
|
+
])
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}),
|
|
284
|
+
a(m, {
|
|
285
|
+
span: (M = o(_)) != null && M.includes("@") ? 24 : 18
|
|
286
|
+
}, {
|
|
287
|
+
default: t(() => [
|
|
288
|
+
a(u, { class: "search-btn" }, {
|
|
289
|
+
default: t(() => [
|
|
290
|
+
a(N, {
|
|
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(N, {
|
|
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(J, {
|
|
321
|
+
shadow: "never",
|
|
322
|
+
class: "table-container"
|
|
323
|
+
}, {
|
|
324
|
+
header: t(() => [
|
|
325
|
+
a(S, null, {
|
|
326
|
+
default: t(() => [
|
|
327
|
+
a(m, {
|
|
328
|
+
span: 24,
|
|
329
|
+
class: "container-float"
|
|
330
|
+
}, {
|
|
331
|
+
default: t(() => [
|
|
332
|
+
a(O, {
|
|
333
|
+
modelValue: o(b),
|
|
334
|
+
"onUpdate:modelValue": e[11] || (e[11] = (n) => I(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(h) > 0 ? (g(), v(G, {
|
|
346
|
+
key: 0,
|
|
347
|
+
total: o(h),
|
|
348
|
+
"onUpdate:total": e[12] || (e[12] = (n) => I(h) ? h.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"])) : A("", !0)
|
|
355
|
+
]),
|
|
356
|
+
default: t(() => [
|
|
357
|
+
R((g(), v(W, {
|
|
358
|
+
ref_key: "multipleTableRef",
|
|
359
|
+
ref: P,
|
|
360
|
+
"row-key": "receiptId",
|
|
361
|
+
isSelection: !1,
|
|
362
|
+
data: o(q),
|
|
363
|
+
"table-label": o(b),
|
|
364
|
+
onSelectionChange: Q,
|
|
365
|
+
onSortChange: H
|
|
366
|
+
}, {
|
|
367
|
+
instsId: t((n) => [
|
|
368
|
+
c(f(o(y).instsBizDict.getValue(n.data.row.instsId)), 1)
|
|
369
|
+
]),
|
|
370
|
+
transferMoneyDate: t((n) => [
|
|
371
|
+
c(f(o(w).$moment.formatDate(
|
|
372
|
+
n.data.row.transferMoneyDate + " " + n.data.row.transferMoneyTime,
|
|
373
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
374
|
+
)), 1)
|
|
375
|
+
]),
|
|
376
|
+
agentCode: t((n) => [
|
|
377
|
+
c(f(o(ce)(n.data.row.agentCode)), 1)
|
|
378
|
+
]),
|
|
379
|
+
operation: t((n) => [
|
|
380
|
+
R((g(), oe("span", {
|
|
381
|
+
class: "el-button-color",
|
|
382
|
+
onClick: (M) => K(n.data.row)
|
|
383
|
+
}, [
|
|
384
|
+
c(f(l.$t("settleTradeAnalysis.view")), 1)
|
|
385
|
+
], 8, ge)), [
|
|
386
|
+
[Z, ["payment:trade_analysis:view"]]
|
|
387
|
+
])
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
}, 8, ["data", "table-label"])), [
|
|
391
|
+
[ee, o(j)]
|
|
392
|
+
])
|
|
393
|
+
]),
|
|
394
|
+
_: 1
|
|
395
|
+
})
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
export {
|
|
403
|
+
we as _
|
|
404
|
+
};
|