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