xyvcard-settle 0.0.25 → 0.0.27
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-B-gHLBwh.mjs → history-CLKzeQgr.mjs} +1 -1
- package/dist/{history-BLctAU0P.mjs → history-LA5ydGD3.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs → history.vue_vue_type_script_setup_true_lang-DKpNnK16.mjs} +60 -64
- package/dist/{history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs → history.vue_vue_type_script_setup_true_lang-DNAKjj2K.mjs} +59 -63
- package/dist/index-BC5efvjW.mjs +718 -0
- package/dist/{index-AgzuDVOr.mjs → index-BD3X5Rti.mjs} +68 -68
- package/dist/{index-CNAVEXHD.mjs → index-BedZ4YBW.mjs} +2 -2
- package/dist/{index-CwhZGNVj.mjs → index-BvNkY5ky.mjs} +1 -1
- package/dist/{index-YgHkUquv.mjs → index-COYrjW5J.mjs} +49 -48
- package/dist/{index-C7K8v7BO.mjs → index-CexLM-Ob.mjs} +788 -707
- package/dist/index-Cq9GZCQ5.mjs +704 -0
- package/dist/{index-C2vMy8ik.mjs → index-Dbi92nov.mjs} +61 -64
- package/dist/{index-Cg3fVoEi.mjs → index-ciHpwp7j.mjs} +2 -2
- package/dist/index.mjs +6 -2
- package/dist/style.css +1 -1
- package/dist/{today-r_ikFBLS.mjs → today-B95MJ59w.mjs} +1 -1
- package/dist/{today-t0-6m3Qr.mjs → today-BQqb8yMf.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs → today.vue_vue_type_script_setup_true_lang-C0qp5E2L.mjs} +70 -74
- package/dist/{today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs → today.vue_vue_type_script_setup_true_lang-ChWYCSDh.mjs} +47 -51
- package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -1
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
- package/dts/src/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/index-P-8jwHYX.mjs +0 -690
- package/dist/index-dcnBl8Xl.mjs +0 -690
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
import { defineComponent as ae, getCurrentInstance as te, ref as I, resolveComponent as f, createElementBlock as le, openBlock as N, createElementVNode as T, createVNode as t, withCtx as a, withKeys as v, unref as l, createBlock as R, createCommentVNode as A, createTextVNode as s, toDisplayString as p, createSlots as oe, isRef as _ } from "vue";
|
|
2
|
+
import { useI18n as re } from "vue-i18n";
|
|
3
|
+
import { useRoute as ne } from "vue-router";
|
|
4
|
+
import { useUserStore as z, clearEmpty as de, request as se, useTableHooks as ue } from "jmash-core";
|
|
5
|
+
import { D as y, C as P } from "./index-CpuvJ4Tw.mjs";
|
|
6
|
+
import { tokenExt as U } from "xyvcard-agent";
|
|
7
|
+
class pe {
|
|
8
|
+
getKey(m) {
|
|
9
|
+
return {
|
|
10
|
+
billId: m.billId
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
// 查询翻页信息支付订单
|
|
14
|
+
findPage(m) {
|
|
15
|
+
const w = z().user.tenant;
|
|
16
|
+
return m && (m.hasOrderStatus = m.orderStatus !== void 0, m.hasBillsStatus = m.billsStatus !== void 0, m.hasTradeType = m.tradeType !== void 0, m.hasPayMode = m.payMode !== void 0, m.hasTradeStatus = m.tradeStatus !== void 0), de(m), se({
|
|
17
|
+
url: "/v1/payment/trade/my/page/" + w,
|
|
18
|
+
method: "get",
|
|
19
|
+
params: m
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-container" }, fe = { class: "total-num" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, ce = { class: "blue_color" }, we = { class: "blue_color" }, Re = /* @__PURE__ */ ae({
|
|
24
|
+
__name: "index",
|
|
25
|
+
setup(E) {
|
|
26
|
+
y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
|
|
27
|
+
const { t: m } = re(), { proxy: w } = te(), k = ne(), M = k.query.tenant, n = I({
|
|
28
|
+
agentCode: k.query.agentCode,
|
|
29
|
+
merchantId: k.query.merchantId,
|
|
30
|
+
tokenExt: U.getTokenExt(z().user.tenant)
|
|
31
|
+
}), Q = I(U.getCurrentRole(z().user.tenant)), {
|
|
32
|
+
tableHooks: i,
|
|
33
|
+
multipleTableRef: Y,
|
|
34
|
+
queryFormRef: K,
|
|
35
|
+
listLoading: j,
|
|
36
|
+
tableData: O,
|
|
37
|
+
total: D
|
|
38
|
+
} = ue(m, me, n);
|
|
39
|
+
let g = i.totalRecord;
|
|
40
|
+
const $ = I([]);
|
|
41
|
+
function F(o) {
|
|
42
|
+
$.value = o, $.value.length === 2 && (n.value.startCreateTime = w.$moment.formatDate(
|
|
43
|
+
o[0],
|
|
44
|
+
P.RPC_FORMAT_TIME
|
|
45
|
+
), n.value.endCreateTime = w.$moment.formatDate(
|
|
46
|
+
o[1],
|
|
47
|
+
P.RPC_FORMAT_TIME
|
|
48
|
+
));
|
|
49
|
+
}
|
|
50
|
+
let S = I([
|
|
51
|
+
// 序号
|
|
52
|
+
{
|
|
53
|
+
label: "payTrade.index",
|
|
54
|
+
type: "index",
|
|
55
|
+
width: "60",
|
|
56
|
+
isColumn: !0
|
|
57
|
+
},
|
|
58
|
+
// 订单号
|
|
59
|
+
{
|
|
60
|
+
label: "payTrade.orderNo",
|
|
61
|
+
prop: "orderNo",
|
|
62
|
+
width: "280",
|
|
63
|
+
sortable: "custom",
|
|
64
|
+
isColumn: !0
|
|
65
|
+
},
|
|
66
|
+
// 商户号
|
|
67
|
+
{
|
|
68
|
+
label: "payTrade.merchantNo",
|
|
69
|
+
prop: "merchantNo",
|
|
70
|
+
width: "180",
|
|
71
|
+
sortable: "custom",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
},
|
|
74
|
+
// 商户名称
|
|
75
|
+
{
|
|
76
|
+
label: "payTrade.merchantId",
|
|
77
|
+
prop: "merchantId",
|
|
78
|
+
slotName: "merchantId",
|
|
79
|
+
columnType: "slot",
|
|
80
|
+
width: "320",
|
|
81
|
+
sortable: "custom",
|
|
82
|
+
isColumn: !0
|
|
83
|
+
},
|
|
84
|
+
// 终端号
|
|
85
|
+
{
|
|
86
|
+
label: "payTrade.termNo",
|
|
87
|
+
prop: "termNo",
|
|
88
|
+
width: "100",
|
|
89
|
+
sortable: "custom",
|
|
90
|
+
isColumn: !0
|
|
91
|
+
},
|
|
92
|
+
// 交易时间
|
|
93
|
+
{
|
|
94
|
+
label: "payTrade.createTimes",
|
|
95
|
+
prop: "createTime",
|
|
96
|
+
slotName: "createTime",
|
|
97
|
+
columnType: "slot",
|
|
98
|
+
width: "160",
|
|
99
|
+
sortable: "custom",
|
|
100
|
+
isColumn: !0
|
|
101
|
+
},
|
|
102
|
+
// 订单金额
|
|
103
|
+
{
|
|
104
|
+
label: "payTrade.totalAmount",
|
|
105
|
+
prop: "billsAmount",
|
|
106
|
+
width: "110",
|
|
107
|
+
sortable: "custom",
|
|
108
|
+
isColumn: !0
|
|
109
|
+
},
|
|
110
|
+
// 优惠金额
|
|
111
|
+
{
|
|
112
|
+
label: "payTrade.discountAmount",
|
|
113
|
+
prop: "discountAmount",
|
|
114
|
+
width: "110",
|
|
115
|
+
sortable: "custom",
|
|
116
|
+
isColumn: !0
|
|
117
|
+
},
|
|
118
|
+
// 交易金额
|
|
119
|
+
{
|
|
120
|
+
label: "payTrade.tradeAmount",
|
|
121
|
+
prop: "tradeAmount",
|
|
122
|
+
width: "110",
|
|
123
|
+
sortable: "custom",
|
|
124
|
+
isColumn: !0
|
|
125
|
+
},
|
|
126
|
+
// 交易类型
|
|
127
|
+
{
|
|
128
|
+
label: "payTrade.tradeType",
|
|
129
|
+
prop: "tradeType",
|
|
130
|
+
slotName: "tradeType",
|
|
131
|
+
columnType: "slot",
|
|
132
|
+
width: "110",
|
|
133
|
+
isColumn: !0
|
|
134
|
+
},
|
|
135
|
+
// 支付方式
|
|
136
|
+
{
|
|
137
|
+
label: "payTrade.payMode",
|
|
138
|
+
prop: "payMode",
|
|
139
|
+
slotName: "payMode",
|
|
140
|
+
columnType: "slot",
|
|
141
|
+
width: "110",
|
|
142
|
+
isColumn: !0
|
|
143
|
+
},
|
|
144
|
+
// 支付状态
|
|
145
|
+
{
|
|
146
|
+
label: "payTrade.tradeStatus",
|
|
147
|
+
prop: "tradeStatus",
|
|
148
|
+
slotName: "tradeStatus",
|
|
149
|
+
columnType: "slot",
|
|
150
|
+
width: "110",
|
|
151
|
+
isColumn: !0
|
|
152
|
+
},
|
|
153
|
+
// 交易流水号
|
|
154
|
+
{
|
|
155
|
+
label: "payTrade.tradeNo",
|
|
156
|
+
prop: "tradeNo",
|
|
157
|
+
width: "280",
|
|
158
|
+
isColumn: !0
|
|
159
|
+
},
|
|
160
|
+
// 支付渠道
|
|
161
|
+
{
|
|
162
|
+
label: "payTrade.instsId",
|
|
163
|
+
prop: "instsId",
|
|
164
|
+
slotName: "instsId",
|
|
165
|
+
columnType: "slot",
|
|
166
|
+
width: "160",
|
|
167
|
+
isColumn: !0
|
|
168
|
+
},
|
|
169
|
+
// 代理商名称
|
|
170
|
+
{
|
|
171
|
+
label: "payTrade.agentName",
|
|
172
|
+
prop: "agentCode",
|
|
173
|
+
slotName: "agentCode",
|
|
174
|
+
columnType: "slot",
|
|
175
|
+
minWidth: "160",
|
|
176
|
+
isColumn: !0
|
|
177
|
+
},
|
|
178
|
+
// 商户手续费
|
|
179
|
+
{
|
|
180
|
+
label: "payTrade.commission",
|
|
181
|
+
prop: "commission",
|
|
182
|
+
width: "100",
|
|
183
|
+
sortable: "custom",
|
|
184
|
+
isColumn: !0
|
|
185
|
+
},
|
|
186
|
+
// 商户率
|
|
187
|
+
{
|
|
188
|
+
label: "payTrade.feeRatePct",
|
|
189
|
+
prop: "feeRatePct",
|
|
190
|
+
slotName: "feeRatePct",
|
|
191
|
+
columnType: "slot",
|
|
192
|
+
width: "80",
|
|
193
|
+
sortable: "custom",
|
|
194
|
+
isColumn: !0
|
|
195
|
+
}
|
|
196
|
+
]);
|
|
197
|
+
function H() {
|
|
198
|
+
n.value.merchantId = "", $.value = [], n.value.startCreateTime = "", n.value.endCreateTime = "", i.resetQuery();
|
|
199
|
+
}
|
|
200
|
+
function L(o) {
|
|
201
|
+
i.selectionRows.value = o;
|
|
202
|
+
}
|
|
203
|
+
function W(o) {
|
|
204
|
+
i.handleSort(o.prop, o.order);
|
|
205
|
+
}
|
|
206
|
+
return i.getList(), (o, e) => {
|
|
207
|
+
const h = f("el-input"), b = f("el-form-item"), u = f("el-col"), C = f("jmash-select"), V = f("el-row"), G = f("el-tree-select"), J = f("el-date-picker"), B = f("el-button"), X = f("el-form"), Z = f("jmash-column-select"), x = f("jmash-table"), q = f("jmash-pagination"), ee = f("el-card");
|
|
208
|
+
return N(), le("div", ie, [
|
|
209
|
+
T("div", ye, [
|
|
210
|
+
t(X, {
|
|
211
|
+
ref_key: "queryFormRef",
|
|
212
|
+
ref: K,
|
|
213
|
+
model: n.value,
|
|
214
|
+
inline: !0,
|
|
215
|
+
"label-width": "6em"
|
|
216
|
+
}, {
|
|
217
|
+
default: a(() => [
|
|
218
|
+
t(V, null, {
|
|
219
|
+
default: a(() => [
|
|
220
|
+
t(u, { span: 6 }, {
|
|
221
|
+
default: a(() => [
|
|
222
|
+
t(b, {
|
|
223
|
+
label: o.$t("payTrade.likeMerchantNo"),
|
|
224
|
+
prop: "likeMerchantNo"
|
|
225
|
+
}, {
|
|
226
|
+
default: a(() => [
|
|
227
|
+
t(h, {
|
|
228
|
+
modelValue: n.value.likeMerchantNo,
|
|
229
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => n.value.likeMerchantNo = d),
|
|
230
|
+
placeholder: o.$t("payTrade.likeMerchantNoRead"),
|
|
231
|
+
onKeyup: e[1] || (e[1] = v((d) => l(i).handleQuery(), ["enter"])),
|
|
232
|
+
class: "!w-[203px]"
|
|
233
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 8, ["label"])
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}),
|
|
240
|
+
t(u, { span: 6 }, {
|
|
241
|
+
default: a(() => [
|
|
242
|
+
t(b, {
|
|
243
|
+
label: o.$t("payTrade.merchantId"),
|
|
244
|
+
prop: "version"
|
|
245
|
+
}, {
|
|
246
|
+
default: a(() => [
|
|
247
|
+
t(C, {
|
|
248
|
+
modelValue: n.value.merchantId,
|
|
249
|
+
"onUpdate:modelValue": e[2] || (e[2] = (d) => n.value.merchantId = d),
|
|
250
|
+
placeholder: o.$t("payTrade.merchantIdRead"),
|
|
251
|
+
data: l(y).merchantBizDict.values,
|
|
252
|
+
onKeyup: e[3] || (e[3] = v((d) => l(i).handleQuery(), ["enter"])),
|
|
253
|
+
class: "!w-[203px]",
|
|
254
|
+
filterable: "",
|
|
255
|
+
clearable: ""
|
|
256
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}, 8, ["label"])
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
}),
|
|
263
|
+
t(u, { span: 6 }, {
|
|
264
|
+
default: a(() => [
|
|
265
|
+
t(b, {
|
|
266
|
+
label: o.$t("payTrade.termNo"),
|
|
267
|
+
prop: "termNo"
|
|
268
|
+
}, {
|
|
269
|
+
default: a(() => [
|
|
270
|
+
t(h, {
|
|
271
|
+
modelValue: n.value.termNo,
|
|
272
|
+
"onUpdate:modelValue": e[4] || (e[4] = (d) => n.value.termNo = d),
|
|
273
|
+
placeholder: o.$t("payTrade.termNo"),
|
|
274
|
+
onKeyup: e[5] || (e[5] = v((d) => l(i).handleQuery(), ["enter"])),
|
|
275
|
+
class: "!w-[203px]"
|
|
276
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["label"])
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
}),
|
|
283
|
+
t(u, { span: 6 }, {
|
|
284
|
+
default: a(() => [
|
|
285
|
+
t(b, {
|
|
286
|
+
label: o.$t("payTrade.payMode"),
|
|
287
|
+
prop: "payMode"
|
|
288
|
+
}, {
|
|
289
|
+
default: a(() => [
|
|
290
|
+
t(C, {
|
|
291
|
+
modelValue: n.value.payMode,
|
|
292
|
+
"onUpdate:modelValue": e[6] || (e[6] = (d) => n.value.payMode = d),
|
|
293
|
+
placeholder: o.$t("payTrade.payModeRead"),
|
|
294
|
+
data: l(y).payModeBizDict.values,
|
|
295
|
+
onKeyup: e[7] || (e[7] = v((d) => l(i).handleQuery(), ["enter"])),
|
|
296
|
+
class: "!w-[203px]",
|
|
297
|
+
filterable: "",
|
|
298
|
+
clearable: ""
|
|
299
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}, 8, ["label"])
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
})
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
}),
|
|
309
|
+
t(V, null, {
|
|
310
|
+
default: a(() => {
|
|
311
|
+
var d;
|
|
312
|
+
return [
|
|
313
|
+
t(u, { span: 6 }, {
|
|
314
|
+
default: a(() => [
|
|
315
|
+
t(b, {
|
|
316
|
+
label: o.$t("payTrade.tradeType"),
|
|
317
|
+
prop: "tradeType"
|
|
318
|
+
}, {
|
|
319
|
+
default: a(() => [
|
|
320
|
+
t(C, {
|
|
321
|
+
modelValue: n.value.tradeType,
|
|
322
|
+
"onUpdate:modelValue": e[8] || (e[8] = (r) => n.value.tradeType = r),
|
|
323
|
+
placeholder: o.$t("payTrade.tradeTypeRead"),
|
|
324
|
+
data: l(y).tradeTypeBizDict.values,
|
|
325
|
+
onKeyup: e[9] || (e[9] = v((r) => l(i).handleQuery(), ["enter"])),
|
|
326
|
+
class: "!w-[203px]",
|
|
327
|
+
filterable: "",
|
|
328
|
+
clearable: ""
|
|
329
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
}, 8, ["label"])
|
|
333
|
+
]),
|
|
334
|
+
_: 1
|
|
335
|
+
}),
|
|
336
|
+
t(u, { span: 6 }, {
|
|
337
|
+
default: a(() => [
|
|
338
|
+
t(b, {
|
|
339
|
+
label: o.$t("payTrade.instsId"),
|
|
340
|
+
prop: "instsId"
|
|
341
|
+
}, {
|
|
342
|
+
default: a(() => [
|
|
343
|
+
t(C, {
|
|
344
|
+
modelValue: n.value.instsId,
|
|
345
|
+
"onUpdate:modelValue": e[10] || (e[10] = (r) => n.value.instsId = r),
|
|
346
|
+
placeholder: o.$t("payTrade.instsIdRead"),
|
|
347
|
+
data: l(y).instsBizDict.values,
|
|
348
|
+
onKeyup: e[11] || (e[11] = v((r) => l(i).handleQuery(), ["enter"])),
|
|
349
|
+
class: "!w-[203px]",
|
|
350
|
+
filterable: "",
|
|
351
|
+
clearable: ""
|
|
352
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
355
|
+
}, 8, ["label"])
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}),
|
|
359
|
+
t(u, { span: 6 }, {
|
|
360
|
+
default: a(() => [
|
|
361
|
+
t(b, {
|
|
362
|
+
label: o.$t("payTrade.orderNo"),
|
|
363
|
+
prop: "orderNo"
|
|
364
|
+
}, {
|
|
365
|
+
default: a(() => [
|
|
366
|
+
t(h, {
|
|
367
|
+
modelValue: n.value.orderNo,
|
|
368
|
+
"onUpdate:modelValue": e[12] || (e[12] = (r) => n.value.orderNo = r),
|
|
369
|
+
placeholder: o.$t("payTrade.orderNo"),
|
|
370
|
+
onKeyup: e[13] || (e[13] = v((r) => l(i).handleQuery(), ["enter"])),
|
|
371
|
+
class: "!w-[203px]"
|
|
372
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
373
|
+
]),
|
|
374
|
+
_: 1
|
|
375
|
+
}, 8, ["label"])
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
}),
|
|
379
|
+
(d = l(M)) != null && d.includes("@") ? (N(), R(u, {
|
|
380
|
+
key: 1,
|
|
381
|
+
span: 6
|
|
382
|
+
}, {
|
|
383
|
+
default: a(() => [
|
|
384
|
+
t(b, {
|
|
385
|
+
label: o.$t("payTrade.tradeStatus"),
|
|
386
|
+
prop: "orderStatus"
|
|
387
|
+
}, {
|
|
388
|
+
default: a(() => [
|
|
389
|
+
t(C, {
|
|
390
|
+
modelValue: n.value.tradeStatus,
|
|
391
|
+
"onUpdate:modelValue": e[15] || (e[15] = (r) => n.value.tradeStatus = r),
|
|
392
|
+
placeholder: o.$t("payTrade.tradeStatusRead"),
|
|
393
|
+
data: l(y).tradeStatusBizDict.values,
|
|
394
|
+
onKeyup: e[16] || (e[16] = v((r) => l(i).handleQuery(), ["enter"])),
|
|
395
|
+
class: "!w-[203px]",
|
|
396
|
+
filterable: "",
|
|
397
|
+
clearable: ""
|
|
398
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
401
|
+
}, 8, ["label"])
|
|
402
|
+
]),
|
|
403
|
+
_: 1
|
|
404
|
+
})) : (N(), R(u, {
|
|
405
|
+
key: 0,
|
|
406
|
+
span: 6
|
|
407
|
+
}, {
|
|
408
|
+
default: a(() => [
|
|
409
|
+
t(b, {
|
|
410
|
+
label: o.$t("settleTradeAnalysis.agentCode")
|
|
411
|
+
}, {
|
|
412
|
+
default: a(() => [
|
|
413
|
+
t(G, {
|
|
414
|
+
modelValue: n.value.agentCode,
|
|
415
|
+
"onUpdate:modelValue": e[14] || (e[14] = (r) => n.value.agentCode = r),
|
|
416
|
+
data: l(y).agentBizDict.values,
|
|
417
|
+
"node-key": "value",
|
|
418
|
+
filterable: "",
|
|
419
|
+
clearable: "",
|
|
420
|
+
placeholder: o.$t("settleTradeAnalysis.agentCodeRead"),
|
|
421
|
+
class: "!w-[203px]"
|
|
422
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
423
|
+
]),
|
|
424
|
+
_: 1
|
|
425
|
+
}, 8, ["label"])
|
|
426
|
+
]),
|
|
427
|
+
_: 1
|
|
428
|
+
}))
|
|
429
|
+
];
|
|
430
|
+
}),
|
|
431
|
+
_: 1
|
|
432
|
+
}),
|
|
433
|
+
t(V, null, {
|
|
434
|
+
default: a(() => {
|
|
435
|
+
var d, r;
|
|
436
|
+
return [
|
|
437
|
+
(d = l(M)) != null && d.includes("@") ? A("", !0) : (N(), R(u, {
|
|
438
|
+
key: 0,
|
|
439
|
+
span: 6
|
|
440
|
+
}, {
|
|
441
|
+
default: a(() => [
|
|
442
|
+
t(b, {
|
|
443
|
+
label: o.$t("payTrade.tradeStatus"),
|
|
444
|
+
prop: "tradeStatus"
|
|
445
|
+
}, {
|
|
446
|
+
default: a(() => [
|
|
447
|
+
t(C, {
|
|
448
|
+
modelValue: n.value.tradeStatus,
|
|
449
|
+
"onUpdate:modelValue": e[17] || (e[17] = (c) => n.value.tradeStatus = c),
|
|
450
|
+
placeholder: o.$t("payTrade.tradeStatusRead"),
|
|
451
|
+
data: l(y).tradeStatusBizDict.values,
|
|
452
|
+
onKeyup: e[18] || (e[18] = v((c) => l(i).handleQuery(), ["enter"])),
|
|
453
|
+
class: "!w-[203px]",
|
|
454
|
+
filterable: "",
|
|
455
|
+
clearable: ""
|
|
456
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
457
|
+
]),
|
|
458
|
+
_: 1
|
|
459
|
+
}, 8, ["label"])
|
|
460
|
+
]),
|
|
461
|
+
_: 1
|
|
462
|
+
})),
|
|
463
|
+
t(u, { span: 6 }, {
|
|
464
|
+
default: a(() => [
|
|
465
|
+
t(b, {
|
|
466
|
+
label: o.$t("payTrade.createTime"),
|
|
467
|
+
prop: "startCreateTime"
|
|
468
|
+
}, {
|
|
469
|
+
default: a(() => [
|
|
470
|
+
t(J, {
|
|
471
|
+
modelValue: $.value,
|
|
472
|
+
"onUpdate:modelValue": e[19] || (e[19] = (c) => $.value = c),
|
|
473
|
+
type: "daterange",
|
|
474
|
+
format: "YYYY-MM-DD",
|
|
475
|
+
"value-format": "YYYY-MM-DD",
|
|
476
|
+
"range-separator": "-",
|
|
477
|
+
"start-placeholder": o.$t("payTrade.startCreateTime"),
|
|
478
|
+
"end-placeholder": o.$t("payTrade.endCreateTime"),
|
|
479
|
+
onChange: F
|
|
480
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
481
|
+
]),
|
|
482
|
+
_: 1
|
|
483
|
+
}, 8, ["label"])
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
}),
|
|
487
|
+
t(u, {
|
|
488
|
+
span: (r = l(M)) != null && r.includes("@") ? 18 : 12
|
|
489
|
+
}, {
|
|
490
|
+
default: a(() => [
|
|
491
|
+
t(b, { class: "search-btn" }, {
|
|
492
|
+
default: a(() => [
|
|
493
|
+
t(B, {
|
|
494
|
+
type: "primary",
|
|
495
|
+
onClick: e[20] || (e[20] = (c) => l(i).handleQuery())
|
|
496
|
+
}, {
|
|
497
|
+
default: a(() => [
|
|
498
|
+
s(p(o.$t("common.search")), 1)
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}),
|
|
502
|
+
t(B, {
|
|
503
|
+
onClick: e[21] || (e[21] = (c) => H())
|
|
504
|
+
}, {
|
|
505
|
+
default: a(() => [
|
|
506
|
+
s(p(o.$t("common.reset")), 1)
|
|
507
|
+
]),
|
|
508
|
+
_: 1
|
|
509
|
+
})
|
|
510
|
+
]),
|
|
511
|
+
_: 1
|
|
512
|
+
})
|
|
513
|
+
]),
|
|
514
|
+
_: 1
|
|
515
|
+
}, 8, ["span"])
|
|
516
|
+
];
|
|
517
|
+
}),
|
|
518
|
+
_: 1
|
|
519
|
+
})
|
|
520
|
+
]),
|
|
521
|
+
_: 1
|
|
522
|
+
}, 8, ["model"]),
|
|
523
|
+
e[27] || (e[27] = T("div", { class: "clear" }, null, -1))
|
|
524
|
+
]),
|
|
525
|
+
t(ee, {
|
|
526
|
+
shadow: "never",
|
|
527
|
+
class: "table-container"
|
|
528
|
+
}, {
|
|
529
|
+
header: a(() => [
|
|
530
|
+
t(V, null, {
|
|
531
|
+
default: a(() => [
|
|
532
|
+
t(u, {
|
|
533
|
+
span: 24,
|
|
534
|
+
class: "container-float"
|
|
535
|
+
}, {
|
|
536
|
+
default: a(() => [
|
|
537
|
+
t(Z, {
|
|
538
|
+
modelValue: l(S),
|
|
539
|
+
"onUpdate:modelValue": e[22] || (e[22] = (d) => _(S) ? S.value = d : S = d),
|
|
540
|
+
"label-name": "settle/settle-trade-analysis"
|
|
541
|
+
}, null, 8, ["modelValue"])
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
})
|
|
545
|
+
]),
|
|
546
|
+
_: 1
|
|
547
|
+
})
|
|
548
|
+
]),
|
|
549
|
+
footer: a(() => [
|
|
550
|
+
l(D) > 0 ? (N(), R(q, {
|
|
551
|
+
key: 0,
|
|
552
|
+
total: l(D),
|
|
553
|
+
"onUpdate:total": e[23] || (e[23] = (d) => _(D) ? D.value = d : null),
|
|
554
|
+
"current-page": n.value.curPage,
|
|
555
|
+
"onUpdate:currentPage": e[24] || (e[24] = (d) => n.value.curPage = d),
|
|
556
|
+
"page-size": n.value.pageSize,
|
|
557
|
+
"onUpdate:pageSize": e[25] || (e[25] = (d) => n.value.pageSize = d),
|
|
558
|
+
onPagination: e[26] || (e[26] = (d) => l(i).getList())
|
|
559
|
+
}, null, 8, ["total", "current-page", "page-size"])) : A("", !0)
|
|
560
|
+
]),
|
|
561
|
+
default: a(() => {
|
|
562
|
+
var d;
|
|
563
|
+
return [
|
|
564
|
+
T("div", fe, [
|
|
565
|
+
t(V, { gutter: 20 }, {
|
|
566
|
+
default: a(() => [
|
|
567
|
+
t(u, { span: 5 }, {
|
|
568
|
+
default: a(() => [
|
|
569
|
+
e[28] || (e[28] = s(" 订单笔数: ")),
|
|
570
|
+
T("span", be, p(l(g).totalSize), 1),
|
|
571
|
+
e[29] || (e[29] = s(" 笔 "))
|
|
572
|
+
]),
|
|
573
|
+
_: 1
|
|
574
|
+
}),
|
|
575
|
+
t(u, { span: 5 }, {
|
|
576
|
+
default: a(() => [
|
|
577
|
+
e[30] || (e[30] = s(" 订单金额: ")),
|
|
578
|
+
T("span", Te, p(l(g).totalAmount), 1),
|
|
579
|
+
e[31] || (e[31] = s(" 元 "))
|
|
580
|
+
]),
|
|
581
|
+
_: 1
|
|
582
|
+
}),
|
|
583
|
+
t(u, { span: 5 }, {
|
|
584
|
+
default: a(() => [
|
|
585
|
+
e[32] || (e[32] = s(" 优惠金额: ")),
|
|
586
|
+
T("span", ve, p(l(g).discountAmount), 1),
|
|
587
|
+
e[33] || (e[33] = s(" 元 "))
|
|
588
|
+
]),
|
|
589
|
+
_: 1
|
|
590
|
+
}),
|
|
591
|
+
t(u, { span: 5 }, {
|
|
592
|
+
default: a(() => [
|
|
593
|
+
e[34] || (e[34] = s(" 交易金额: ")),
|
|
594
|
+
T("span", ge, p(l(g).tradeAmount), 1),
|
|
595
|
+
e[35] || (e[35] = s(" 元 "))
|
|
596
|
+
]),
|
|
597
|
+
_: 1
|
|
598
|
+
})
|
|
599
|
+
]),
|
|
600
|
+
_: 1
|
|
601
|
+
}),
|
|
602
|
+
t(V, {
|
|
603
|
+
gutter: 20,
|
|
604
|
+
style: { "margin-top": "10px" }
|
|
605
|
+
}, {
|
|
606
|
+
default: a(() => [
|
|
607
|
+
t(u, { span: 5 }, {
|
|
608
|
+
default: a(() => [
|
|
609
|
+
e[36] || (e[36] = s(" 收款笔数: ")),
|
|
610
|
+
T("span", Ce, p(l(g).paidOrder), 1),
|
|
611
|
+
e[37] || (e[37] = s(" 笔 "))
|
|
612
|
+
]),
|
|
613
|
+
_: 1
|
|
614
|
+
}),
|
|
615
|
+
t(u, { span: 5 }, {
|
|
616
|
+
default: a(() => [
|
|
617
|
+
e[38] || (e[38] = s(" 收款金额: ")),
|
|
618
|
+
T("span", Ve, p(l(g).paidAmount), 1),
|
|
619
|
+
e[39] || (e[39] = s(" 元 "))
|
|
620
|
+
]),
|
|
621
|
+
_: 1
|
|
622
|
+
}),
|
|
623
|
+
t(u, { span: 5 }, {
|
|
624
|
+
default: a(() => [
|
|
625
|
+
e[40] || (e[40] = s(" 退款笔数: ")),
|
|
626
|
+
T("span", ce, p(l(g).refundOrder), 1),
|
|
627
|
+
e[41] || (e[41] = s(" 笔 "))
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
}),
|
|
631
|
+
t(u, { span: 5 }, {
|
|
632
|
+
default: a(() => [
|
|
633
|
+
e[42] || (e[42] = s(" 退款金额: ")),
|
|
634
|
+
T("span", we, p(l(g).refundAmount), 1),
|
|
635
|
+
e[43] || (e[43] = s(" 元 "))
|
|
636
|
+
]),
|
|
637
|
+
_: 1
|
|
638
|
+
})
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
})
|
|
642
|
+
]),
|
|
643
|
+
t(x, {
|
|
644
|
+
ref_key: "multipleTableRef",
|
|
645
|
+
ref: Y,
|
|
646
|
+
"row-key": "payTradePk",
|
|
647
|
+
isSelection: !1,
|
|
648
|
+
"list-loading": l(j),
|
|
649
|
+
data: l(O),
|
|
650
|
+
"table-label": l(S),
|
|
651
|
+
onSelectionChange: L,
|
|
652
|
+
onSortChange: W
|
|
653
|
+
}, oe({
|
|
654
|
+
feeRatePct: a((r) => [
|
|
655
|
+
s(p(r.data.row.feeRatePct) + "% ", 1)
|
|
656
|
+
]),
|
|
657
|
+
tradeType: a((r) => [
|
|
658
|
+
s(p(l(y).tradeTypeBizDict.getEnumValue(r.data.row.tradeType)), 1)
|
|
659
|
+
]),
|
|
660
|
+
instsId: a((r) => [
|
|
661
|
+
s(p(l(y).instsBizDict.getValue(r.data.row.instsId)), 1)
|
|
662
|
+
]),
|
|
663
|
+
tradeStatus: a((r) => [
|
|
664
|
+
s(p(l(y).tradeStatusBizDict.getEnumValue(r.data.row.tradeStatus)), 1)
|
|
665
|
+
]),
|
|
666
|
+
payMode: a((r) => [
|
|
667
|
+
s(p(l(y).payModeBizDict.getEnumValue(r.data.row.payMode)), 1)
|
|
668
|
+
]),
|
|
669
|
+
merchantId: a((r) => [
|
|
670
|
+
s(p(l(y).merchantBizDict.getValue(r.data.row.merchantId)), 1)
|
|
671
|
+
]),
|
|
672
|
+
createTime: a((r) => [
|
|
673
|
+
s(p(l(w).$moment.formatDate(
|
|
674
|
+
r.data.row.createTime,
|
|
675
|
+
"YYYY-MM-DD HH:mm"
|
|
676
|
+
)), 1)
|
|
677
|
+
]),
|
|
678
|
+
_: 2
|
|
679
|
+
}, [
|
|
680
|
+
(d = l(M)) != null && d.includes("@") ? {
|
|
681
|
+
name: "agentCode",
|
|
682
|
+
fn: a((r) => [
|
|
683
|
+
s(p(Q.value._rawValue.agentAlias), 1)
|
|
684
|
+
]),
|
|
685
|
+
key: "1"
|
|
686
|
+
} : {
|
|
687
|
+
name: "agentCode",
|
|
688
|
+
fn: a((r) => [
|
|
689
|
+
s(p(l(y).agentBizDict.getValue(r.data.row.agentCode)), 1)
|
|
690
|
+
]),
|
|
691
|
+
key: "0"
|
|
692
|
+
}
|
|
693
|
+
]), 1032, ["list-loading", "data", "table-label"])
|
|
694
|
+
];
|
|
695
|
+
}),
|
|
696
|
+
_: 1
|
|
697
|
+
})
|
|
698
|
+
]);
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
});
|
|
702
|
+
export {
|
|
703
|
+
Re as default
|
|
704
|
+
};
|