xyvcard-settle 0.0.47 → 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.
- package/dist/{history-BQjgVD9D.mjs → history-BxhHHLWl.mjs} +1 -1
- package/dist/{history-DCwgJuDo.mjs → history-DV6dRTjD.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs +403 -0
- package/dist/{index-yQjjxDcA.mjs → index-1jun1BI_.mjs} +1 -1
- package/dist/{index-DUu1w36z.mjs → index-B4SCq7KH.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-BCg9UNFw.mjs} +24 -24
- package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-Cr3j3TRH.mjs → index-C4pzKlKF.mjs} +2 -2
- package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
- package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
- package/dist/{index-DYgHw7PE.mjs → index-CgbOnDFk.mjs} +1 -1
- package/dist/{index-DSAnrTJ1.mjs → index-CiDstsD9.mjs} +1 -1
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B8Y2esGZ.mjs → index-D4jXgbZE.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.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-CryQp8d6.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-raAsbnbG.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs} +145 -113
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs} +1 -1
- 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
|
@@ -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-
|
|
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-
|
|
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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-
|
|
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
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as ee, getCurrentInstance as ae, ref as A, onActivated as te, resolveComponent as T, createElementBlock as le, openBlock as
|
|
1
|
+
import { defineComponent as ee, getCurrentInstance as ae, ref as A, onActivated as te, resolveComponent as T, createElementBlock as le, openBlock as M, createElementVNode as b, createVNode as a, withCtx as t, withKeys as v, unref as o, createBlock as D, createCommentVNode as z, withDirectives as oe, vShow as re, createTextVNode as n, toDisplayString as u, isRef as B } from "vue";
|
|
2
2
|
import { useI18n as de } from "vue-i18n";
|
|
3
3
|
import { useRoute as ne, useRouter as se } from "vue-router";
|
|
4
4
|
import { useUserStore as P, clearEmpty as ue, request as pe, useTableHooks as me } from "jmash-core";
|
|
5
5
|
import { tokenExt as ie } from "xyvcard-agent";
|
|
6
|
-
import { D as y, C as I } from "./index-
|
|
6
|
+
import { D as y, C as I } from "./index-BgbsFf1D.mjs";
|
|
7
7
|
import { g as ye } from "./merchant-D9rtENQd.mjs";
|
|
8
8
|
import { g as fe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class Te {
|
|
@@ -26,11 +26,11 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
26
26
|
__name: "index",
|
|
27
27
|
setup(U) {
|
|
28
28
|
y.instsBizDict.useValues(), y.agentBizDict.useValues(), y.agentAgreeBizDict.useValues(), y.merchantBizDict.useValues();
|
|
29
|
-
const { t: p } = de(), { proxy: C } = ae(),
|
|
29
|
+
const { t: p } = de(), { proxy: C } = ae(), N = ne(), E = se(), h = N.query.tenant, d = A({
|
|
30
30
|
tokenExt: ie.getTokenExt(P().user.tenant)
|
|
31
|
-
}),
|
|
31
|
+
}), $ = A([]);
|
|
32
32
|
function Q(r) {
|
|
33
|
-
|
|
33
|
+
$.value = r, d.value.startCreateTime = C.$moment.formatDate(
|
|
34
34
|
r[0],
|
|
35
35
|
I.RPC_FORMAT_TIME
|
|
36
36
|
), d.value.endCreateTime = C.$moment.formatDate(
|
|
@@ -46,7 +46,7 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
46
46
|
tableData: O,
|
|
47
47
|
total: R
|
|
48
48
|
} = me(p, be, d);
|
|
49
|
-
let g = m.totalRecord,
|
|
49
|
+
let g = m.totalRecord, S = A([
|
|
50
50
|
// 序号
|
|
51
51
|
{
|
|
52
52
|
label: "payTrade.index",
|
|
@@ -224,27 +224,27 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
224
224
|
m.handleSort(r.prop, r.order);
|
|
225
225
|
}
|
|
226
226
|
function L() {
|
|
227
|
-
|
|
227
|
+
$.value = [], E.replace({
|
|
228
228
|
query: {}
|
|
229
229
|
}), m.resetQuery();
|
|
230
230
|
}
|
|
231
231
|
return te(() => {
|
|
232
|
-
const r =
|
|
233
|
-
d.value.agentCode =
|
|
232
|
+
const r = N.query.analysisTime;
|
|
233
|
+
d.value.agentCode = N.query.agentCode, d.value.merchantId = N.query.merchantId, d.value.tradeStatus = N.query.tradeStatus, r && (d.value.startCreateTime = C.$moment.formatDate(
|
|
234
234
|
r,
|
|
235
235
|
I.RPC_FORMAT_TIME
|
|
236
236
|
), d.value.endCreateTime = C.$moment.formatDate(
|
|
237
237
|
r,
|
|
238
238
|
I.RPC_FORMAT_TIME
|
|
239
|
-
),
|
|
239
|
+
), $.value = [
|
|
240
240
|
d.value.startCreateTime,
|
|
241
241
|
d.value.endCreateTime
|
|
242
242
|
]), m.getList();
|
|
243
243
|
}), (r, e) => {
|
|
244
|
-
const k = T("el-input"), f = T("el-form-item"), s = T("el-col"), c = T("jmash-select"), w = T("el-row"), W = T("el-tree-select"), Z = T("el-date-picker"), _ = T("el-button"),
|
|
245
|
-
return
|
|
244
|
+
const k = T("el-input"), f = T("el-form-item"), s = T("el-col"), c = T("jmash-select"), w = T("el-row"), W = T("el-tree-select"), Z = T("el-date-picker"), _ = T("el-button"), q = T("el-form"), G = T("jmash-column-select"), J = T("jmash-table"), X = T("jmash-pagination"), x = T("el-card");
|
|
245
|
+
return M(), le("div", ve, [
|
|
246
246
|
b("div", ge, [
|
|
247
|
-
a(
|
|
247
|
+
a(q, {
|
|
248
248
|
ref_key: "queryFormRef",
|
|
249
249
|
ref: K,
|
|
250
250
|
model: d.value,
|
|
@@ -413,7 +413,7 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
413
413
|
]),
|
|
414
414
|
_: 1
|
|
415
415
|
}),
|
|
416
|
-
(l = o(h)) != null && l.includes("@") ? (
|
|
416
|
+
(l = o(h)) != null && l.includes("@") ? (M(), D(s, {
|
|
417
417
|
key: 1,
|
|
418
418
|
span: 6
|
|
419
419
|
}, {
|
|
@@ -438,7 +438,7 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
438
438
|
}, 8, ["label"])
|
|
439
439
|
]),
|
|
440
440
|
_: 1
|
|
441
|
-
})) : (
|
|
441
|
+
})) : (M(), D(s, {
|
|
442
442
|
key: 0,
|
|
443
443
|
span: 6
|
|
444
444
|
}, {
|
|
@@ -472,7 +472,7 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
472
472
|
default: t(() => {
|
|
473
473
|
var l, i;
|
|
474
474
|
return [
|
|
475
|
-
(l = o(h)) != null && l.includes("@") ? z("", !0) : (
|
|
475
|
+
(l = o(h)) != null && l.includes("@") ? z("", !0) : (M(), D(s, {
|
|
476
476
|
key: 0,
|
|
477
477
|
span: 6
|
|
478
478
|
}, {
|
|
@@ -506,8 +506,8 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
506
506
|
}, {
|
|
507
507
|
default: t(() => [
|
|
508
508
|
a(Z, {
|
|
509
|
-
modelValue:
|
|
510
|
-
"onUpdate:modelValue": e[19] || (e[19] = (V) =>
|
|
509
|
+
modelValue: $.value,
|
|
510
|
+
"onUpdate:modelValue": e[19] || (e[19] = (V) => $.value = V),
|
|
511
511
|
type: "daterange",
|
|
512
512
|
"start-placeholder": r.$t("payTrade.startCreateTime"),
|
|
513
513
|
"end-placeholder": r.$t("payTrade.endCreateTime"),
|
|
@@ -574,9 +574,9 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
574
574
|
class: "container-float"
|
|
575
575
|
}, {
|
|
576
576
|
default: t(() => [
|
|
577
|
-
a(
|
|
578
|
-
modelValue: o(
|
|
579
|
-
"onUpdate:modelValue": e[22] || (e[22] = (l) => B(
|
|
577
|
+
a(G, {
|
|
578
|
+
modelValue: o(S),
|
|
579
|
+
"onUpdate:modelValue": e[22] || (e[22] = (l) => B(S) ? S.value = l : S = l),
|
|
580
580
|
"label-name": "settle/settle-trade-analysis"
|
|
581
581
|
}, null, 8, ["modelValue"])
|
|
582
582
|
]),
|
|
@@ -587,7 +587,7 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
587
587
|
})
|
|
588
588
|
]),
|
|
589
589
|
footer: t(() => [
|
|
590
|
-
o(R) > 0 ? (
|
|
590
|
+
o(R) > 0 ? (M(), D(X, {
|
|
591
591
|
key: 0,
|
|
592
592
|
total: o(R),
|
|
593
593
|
"onUpdate:total": e[23] || (e[23] = (l) => B(R) ? R.value = l : null),
|
|
@@ -678,14 +678,14 @@ const be = new Te(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
678
678
|
_: 1
|
|
679
679
|
})
|
|
680
680
|
]),
|
|
681
|
-
a(
|
|
681
|
+
a(J, {
|
|
682
682
|
ref_key: "multipleTableRef",
|
|
683
683
|
ref: Y,
|
|
684
684
|
"row-key": "payTradePk",
|
|
685
685
|
isSelection: !1,
|
|
686
686
|
"list-loading": o(j),
|
|
687
687
|
data: o(O),
|
|
688
|
-
"table-label": o(
|
|
688
|
+
"table-label": o(S),
|
|
689
689
|
onSelectionChange: F,
|
|
690
690
|
onSortChange: H
|
|
691
691
|
}, {
|