xyvcard-settle 0.0.21 → 0.0.22
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-BgXCgEWe.mjs → history-B8rLL6cg.mjs} +1 -1
- package/dist/{history-DtjmHKa9.mjs → history-DOq3Euuf.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs → history.vue_vue_type_script_setup_true_lang-BcoBU5uq.mjs} +187 -164
- package/dist/{history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs → history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs} +90 -81
- package/dist/{index-BPvCTpAw.mjs → index-0UYX9qoK.mjs} +58 -76
- package/dist/{index-A83m_bq9.mjs → index-BgQiV0cV.mjs} +2 -2
- package/dist/{index-mgS8Yk77.mjs → index-C3Kdmtt0.mjs} +2 -2
- package/dist/{index-DBd3Gkwy.mjs → index-CEE_6GTV.mjs} +1 -1
- package/dist/{index-Dk7c4clB.mjs → index-Cd659aKC.mjs} +1 -1
- package/dist/{index-AM0oEBSy.mjs → index-DEjceLAF.mjs} +1 -1
- package/dist/{index-B_A1F3k3.mjs → index-NM7NGo1Y.mjs} +1 -1
- package/dist/{index-D_DrLyqR.mjs → index-q_VWJKNr.mjs} +25 -24
- package/dist/index.mjs +15 -13
- package/dist/{today-D7Qw-W1d.mjs → today-CGeC5FRK.mjs} +1 -1
- package/dist/{today-DO4goI_2.mjs → today-CjR56HHC.mjs} +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-Cv8Zmnrj.mjs +333 -0
- package/dist/{today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs → today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs} +90 -81
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/en.d.ts +89 -0
- package/dts/src/lang/settle/zh-cn.d.ts +2 -0
- package/package.json +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs +0 -309
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { defineComponent as W, getCurrentInstance as X, ref as h, resolveComponent as s, createElementBlock as k, openBlock as y, createVNode as l, withCtx as a, withKeys as S, unref as o, Fragment as Z, renderList as ee, createBlock as V, createTextVNode as m, toDisplayString as p, createSlots as te, createCommentVNode as ae, isRef as M } from "vue";
|
|
2
|
+
import { useUserStore as v, clearEmpty as le, request as ne, useTableHooks as oe } from "jmash-core";
|
|
3
|
+
import { useI18n as re } from "vue-i18n";
|
|
4
|
+
import { D as c } from "./index-q_VWJKNr.mjs";
|
|
5
|
+
import { channelApi as se } from "xyvcard-merchant";
|
|
6
|
+
import { tokenExt as ue } from "xyvcard-agent";
|
|
7
|
+
import { useRoute as de } from "vue-router";
|
|
8
|
+
class ie {
|
|
9
|
+
getKey(d) {
|
|
10
|
+
return {
|
|
11
|
+
receiptId: d.receiptId
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
// 查询翻页信息划款信息查询-今日到账
|
|
15
|
+
findPage(d) {
|
|
16
|
+
const I = v().user.tenant;
|
|
17
|
+
return le(d), ne({
|
|
18
|
+
url: "/v1/settle/receipt/today/" + I,
|
|
19
|
+
method: "get",
|
|
20
|
+
params: d
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const me = new ie(), pe = { class: "app-container" }, ve = /* @__PURE__ */ W({
|
|
25
|
+
__name: "today",
|
|
26
|
+
setup(N) {
|
|
27
|
+
const { t: d } = re(), A = de().query.tenant;
|
|
28
|
+
c.instsBizDict.useValues(), c.merchantBizDict.useValues();
|
|
29
|
+
const { proxy: z } = X(), C = h([]), T = h(""), r = h({
|
|
30
|
+
tokenExt: ue.getTokenExt(v().user.tenant),
|
|
31
|
+
channelId: T.value
|
|
32
|
+
}), $ = h(
|
|
33
|
+
JSON.parse(
|
|
34
|
+
sessionStorage.getItem("SelectAgent:" + v().user.tenant) || "{}"
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
function B() {
|
|
38
|
+
r.value.channelId = "", se.findList({ merchantId: r.value.merchantId }).then((n) => {
|
|
39
|
+
console.log(n, "=> res1231"), C.value = n.data.results, T.value = n.data.results.map((t) => t.channelId);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
const {
|
|
43
|
+
tableHooks: u,
|
|
44
|
+
multipleTableRef: j,
|
|
45
|
+
queryFormRef: U,
|
|
46
|
+
listLoading: x,
|
|
47
|
+
tableData: R,
|
|
48
|
+
total: b
|
|
49
|
+
} = oe(d, me, r);
|
|
50
|
+
let f = h([
|
|
51
|
+
// 序号
|
|
52
|
+
{
|
|
53
|
+
label: "settleTradeReceipt.index",
|
|
54
|
+
type: "index",
|
|
55
|
+
width: "60",
|
|
56
|
+
isColumn: !0
|
|
57
|
+
},
|
|
58
|
+
// 商户注册名称
|
|
59
|
+
{
|
|
60
|
+
label: "settleTradeReceipt.merchantName",
|
|
61
|
+
prop: "merchantName",
|
|
62
|
+
width: "300",
|
|
63
|
+
sortable: "custom",
|
|
64
|
+
isColumn: !0
|
|
65
|
+
},
|
|
66
|
+
// 渠道
|
|
67
|
+
{
|
|
68
|
+
label: "settleTradeReceipt.channelId",
|
|
69
|
+
prop: "instsId",
|
|
70
|
+
slotName: "instsId",
|
|
71
|
+
columnType: "slot",
|
|
72
|
+
width: "150",
|
|
73
|
+
isColumn: !0
|
|
74
|
+
},
|
|
75
|
+
// 连锁号
|
|
76
|
+
{
|
|
77
|
+
label: "settleTradeReceipt.likeMerchantNo",
|
|
78
|
+
prop: "merchantNo",
|
|
79
|
+
width: "300",
|
|
80
|
+
sortable: "custom",
|
|
81
|
+
isColumn: !0
|
|
82
|
+
},
|
|
83
|
+
// 划款时间
|
|
84
|
+
{
|
|
85
|
+
label: "settleTradeReceipt.transferMoneyDate",
|
|
86
|
+
prop: "transferMoneyDate",
|
|
87
|
+
slotName: "transferMoneyDate",
|
|
88
|
+
columnType: "slot",
|
|
89
|
+
width: "200",
|
|
90
|
+
sortable: "custom",
|
|
91
|
+
isColumn: !0
|
|
92
|
+
},
|
|
93
|
+
// 划款金额
|
|
94
|
+
{
|
|
95
|
+
label: "settleTradeReceipt.transferMoneyAmount",
|
|
96
|
+
prop: "transferMoneyAmount",
|
|
97
|
+
width: "150",
|
|
98
|
+
sortable: "custom",
|
|
99
|
+
isColumn: !0
|
|
100
|
+
},
|
|
101
|
+
// 手续费
|
|
102
|
+
{
|
|
103
|
+
label: "settleTradeReceipt.feeAmt",
|
|
104
|
+
prop: "feeAmt",
|
|
105
|
+
width: "150",
|
|
106
|
+
sortable: "custom",
|
|
107
|
+
isColumn: !0
|
|
108
|
+
},
|
|
109
|
+
// 到账状态
|
|
110
|
+
{
|
|
111
|
+
label: "settleTradeReceipt.transferMoneyStatusName",
|
|
112
|
+
prop: "transferMoneyStatusName",
|
|
113
|
+
width: "150",
|
|
114
|
+
sortable: "custom",
|
|
115
|
+
isColumn: !0
|
|
116
|
+
},
|
|
117
|
+
// 代理商编号
|
|
118
|
+
{
|
|
119
|
+
label: "settleTradeReceipt.agentCode",
|
|
120
|
+
prop: "agentCode",
|
|
121
|
+
slotName: "agentCode",
|
|
122
|
+
columnType: "slot",
|
|
123
|
+
width: "200",
|
|
124
|
+
sortable: "custom",
|
|
125
|
+
isColumn: !0
|
|
126
|
+
},
|
|
127
|
+
// 失败原因
|
|
128
|
+
{
|
|
129
|
+
label: "settleTradeReceipt.chnlRespMsg",
|
|
130
|
+
prop: "chnlRespMsg",
|
|
131
|
+
width: "150",
|
|
132
|
+
sortable: "custom",
|
|
133
|
+
isColumn: !0
|
|
134
|
+
}
|
|
135
|
+
]);
|
|
136
|
+
function L() {
|
|
137
|
+
r.value.merchantId = "", r.value.channelId = "", R.value = [];
|
|
138
|
+
}
|
|
139
|
+
function P(n) {
|
|
140
|
+
u.selectionRows.value = n;
|
|
141
|
+
}
|
|
142
|
+
function E(n) {
|
|
143
|
+
u.handleSort(n.prop, n.order);
|
|
144
|
+
}
|
|
145
|
+
function Q() {
|
|
146
|
+
u.handleQuery(), u.getList();
|
|
147
|
+
}
|
|
148
|
+
return (n, t) => {
|
|
149
|
+
const q = s("jmash-select"), _ = s("el-form-item"), g = s("el-col"), H = s("el-option"), K = s("el-select"), w = s("el-button"), D = s("el-row"), Y = s("el-form"), F = s("jmash-column-select"), J = s("jmash-table"), O = s("jmash-pagination"), G = s("el-card");
|
|
150
|
+
return y(), k("div", pe, [
|
|
151
|
+
l(Y, {
|
|
152
|
+
ref_key: "queryFormRef",
|
|
153
|
+
ref: U,
|
|
154
|
+
model: r.value,
|
|
155
|
+
inline: !0
|
|
156
|
+
}, {
|
|
157
|
+
default: a(() => [
|
|
158
|
+
l(D, null, {
|
|
159
|
+
default: a(() => [
|
|
160
|
+
l(g, { span: 6 }, {
|
|
161
|
+
default: a(() => [
|
|
162
|
+
l(_, {
|
|
163
|
+
label: n.$t("payTrade.merchantId"),
|
|
164
|
+
prop: "version"
|
|
165
|
+
}, {
|
|
166
|
+
default: a(() => [
|
|
167
|
+
l(q, {
|
|
168
|
+
modelValue: r.value.merchantId,
|
|
169
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.merchantId = e),
|
|
170
|
+
placeholder: n.$t("payTrade.merchantIdRead"),
|
|
171
|
+
data: o(c).merchantBizDict.values,
|
|
172
|
+
onKeyup: t[1] || (t[1] = S((e) => o(u).handleQuery(), ["enter"])),
|
|
173
|
+
class: "!w-[203px]",
|
|
174
|
+
filterable: "",
|
|
175
|
+
clearable: "",
|
|
176
|
+
onChange: B
|
|
177
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
}, 8, ["label"])
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}),
|
|
184
|
+
l(g, { span: 6 }, {
|
|
185
|
+
default: a(() => [
|
|
186
|
+
l(_, {
|
|
187
|
+
label: n.$t("settleTradeAnalysis.channelId"),
|
|
188
|
+
prop: "channelId"
|
|
189
|
+
}, {
|
|
190
|
+
default: a(() => [
|
|
191
|
+
l(K, {
|
|
192
|
+
modelValue: r.value.channelId,
|
|
193
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
|
|
194
|
+
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
195
|
+
onKeyup: t[3] || (t[3] = S((e) => o(u).handleQuery(), ["enter"])),
|
|
196
|
+
class: "!w-[203px]",
|
|
197
|
+
filterable: "",
|
|
198
|
+
clearable: ""
|
|
199
|
+
}, {
|
|
200
|
+
default: a(() => [
|
|
201
|
+
(y(!0), k(Z, null, ee(C.value, (e) => (y(), V(H, {
|
|
202
|
+
key: e.channelId,
|
|
203
|
+
label: o(c).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
204
|
+
value: e.channelId
|
|
205
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["modelValue", "placeholder"])
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
}, 8, ["label"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}),
|
|
215
|
+
l(g, { span: 12 }, {
|
|
216
|
+
default: a(() => [
|
|
217
|
+
l(_, { class: "search-btn" }, {
|
|
218
|
+
default: a(() => [
|
|
219
|
+
l(w, {
|
|
220
|
+
type: "primary",
|
|
221
|
+
onClick: t[4] || (t[4] = (e) => Q())
|
|
222
|
+
}, {
|
|
223
|
+
default: a(() => [
|
|
224
|
+
m(p(n.$t("common.search")), 1)
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
l(w, {
|
|
229
|
+
onClick: t[5] || (t[5] = (e) => L())
|
|
230
|
+
}, {
|
|
231
|
+
default: a(() => [
|
|
232
|
+
m(p(n.$t("common.reset")), 1)
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
})
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
})
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
})
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["model"]),
|
|
248
|
+
l(G, {
|
|
249
|
+
shadow: "never",
|
|
250
|
+
class: "table-container"
|
|
251
|
+
}, {
|
|
252
|
+
header: a(() => [
|
|
253
|
+
l(D, null, {
|
|
254
|
+
default: a(() => [
|
|
255
|
+
l(g, {
|
|
256
|
+
span: 24,
|
|
257
|
+
class: "container-float"
|
|
258
|
+
}, {
|
|
259
|
+
default: a(() => [
|
|
260
|
+
l(F, {
|
|
261
|
+
modelValue: o(f),
|
|
262
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => M(f) ? f.value = e : f = e),
|
|
263
|
+
"label-name": "settle/settle-trade-receipt"
|
|
264
|
+
}, null, 8, ["modelValue"])
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
})
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
})
|
|
271
|
+
]),
|
|
272
|
+
footer: a(() => [
|
|
273
|
+
o(b) > 0 ? (y(), V(O, {
|
|
274
|
+
key: 0,
|
|
275
|
+
total: o(b),
|
|
276
|
+
"onUpdate:total": t[7] || (t[7] = (e) => M(b) ? b.value = e : null),
|
|
277
|
+
"current-page": r.value.curPage,
|
|
278
|
+
"onUpdate:currentPage": t[8] || (t[8] = (e) => r.value.curPage = e),
|
|
279
|
+
"page-size": r.value.pageSize,
|
|
280
|
+
"onUpdate:pageSize": t[9] || (t[9] = (e) => r.value.pageSize = e),
|
|
281
|
+
onPagination: t[10] || (t[10] = (e) => o(u).getList())
|
|
282
|
+
}, null, 8, ["total", "current-page", "page-size"])) : ae("", !0)
|
|
283
|
+
]),
|
|
284
|
+
default: a(() => {
|
|
285
|
+
var e;
|
|
286
|
+
return [
|
|
287
|
+
l(J, {
|
|
288
|
+
ref_key: "multipleTableRef",
|
|
289
|
+
ref: j,
|
|
290
|
+
"row-key": "receiptId",
|
|
291
|
+
isSelection: !1,
|
|
292
|
+
"list-loading": o(x),
|
|
293
|
+
data: o(R),
|
|
294
|
+
"table-label": o(f),
|
|
295
|
+
onSelectionChange: P,
|
|
296
|
+
onSortChange: E
|
|
297
|
+
}, te({
|
|
298
|
+
transferMoneyDate: a((i) => [
|
|
299
|
+
m(p(o(z).$moment.formatDate(
|
|
300
|
+
i.data.row.transferMoneyDate,
|
|
301
|
+
"YYYY-MM-DD HH:mm"
|
|
302
|
+
)), 1)
|
|
303
|
+
]),
|
|
304
|
+
instsId: a((i) => [
|
|
305
|
+
m(p(o(c).instsBizDict.getValue(i.data.row.instsId)), 1)
|
|
306
|
+
]),
|
|
307
|
+
_: 2
|
|
308
|
+
}, [
|
|
309
|
+
(e = o(A)) != null && e.includes("@") ? {
|
|
310
|
+
name: "agentCode",
|
|
311
|
+
fn: a((i) => [
|
|
312
|
+
m(p($.value.agentAlias), 1)
|
|
313
|
+
]),
|
|
314
|
+
key: "1"
|
|
315
|
+
} : {
|
|
316
|
+
name: "agentCode",
|
|
317
|
+
fn: a((i) => [
|
|
318
|
+
m(p(o(c).agentBizDict.getValue(i.data.row.agentCode)), 1)
|
|
319
|
+
]),
|
|
320
|
+
key: "0"
|
|
321
|
+
}
|
|
322
|
+
]), 1032, ["list-loading", "data", "table-label"])
|
|
323
|
+
];
|
|
324
|
+
}),
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
327
|
+
]);
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
export {
|
|
332
|
+
ve as _
|
|
333
|
+
};
|
|
@@ -1,45 +1,49 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useUserStore as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { D as
|
|
5
|
-
import { channelApi as
|
|
6
|
-
import { tokenExt as
|
|
7
|
-
class
|
|
8
|
-
getKey(
|
|
1
|
+
import { defineComponent as Y, getCurrentInstance as q, ref as y, resolveComponent as s, createElementBlock as R, openBlock as h, createVNode as a, withCtx as l, withKeys as w, unref as o, Fragment as J, renderList as O, createBlock as D, createTextVNode as m, toDisplayString as p, createCommentVNode as G, isRef as S } from "vue";
|
|
2
|
+
import { useUserStore as v, clearEmpty as W, request as X, useTableHooks as Z } from "jmash-core";
|
|
3
|
+
import { useI18n as ee } from "vue-i18n";
|
|
4
|
+
import { D as c } from "./index-q_VWJKNr.mjs";
|
|
5
|
+
import { channelApi as te } from "xyvcard-merchant";
|
|
6
|
+
import { tokenExt as le } from "xyvcard-agent";
|
|
7
|
+
class ae {
|
|
8
|
+
getKey(d) {
|
|
9
9
|
return {
|
|
10
|
-
receiptId:
|
|
10
|
+
receiptId: d.receiptId
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
// 查询翻页信息划款信息查询-今日到账
|
|
14
|
-
findPage(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
url: "/v1/settle/receipt/today/my/" +
|
|
14
|
+
findPage(d) {
|
|
15
|
+
const g = v().user.tenant;
|
|
16
|
+
return W(d), X({
|
|
17
|
+
url: "/v1/settle/receipt/today/my/" + g,
|
|
18
18
|
method: "get",
|
|
19
|
-
params:
|
|
19
|
+
params: d
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
|
|
24
24
|
__name: "today",
|
|
25
|
-
setup(
|
|
26
|
-
const { t:
|
|
27
|
-
|
|
28
|
-
const { proxy:
|
|
29
|
-
tokenExt:
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
setup(k) {
|
|
26
|
+
const { t: d } = ee();
|
|
27
|
+
c.instsBizDict.useValues(), c.merchantBizDict.useValues();
|
|
28
|
+
const { proxy: g } = q(), I = y([]), r = y({
|
|
29
|
+
tokenExt: le.getTokenExt(v().user.tenant)
|
|
30
|
+
}), V = y(
|
|
31
|
+
JSON.parse(
|
|
32
|
+
sessionStorage.getItem("SelectAgent:" + v().user.tenant) || "{}"
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
te.myFindList({}).then((n) => {
|
|
36
|
+
I.value = n.data.results;
|
|
33
37
|
});
|
|
34
38
|
const {
|
|
35
39
|
tableHooks: u,
|
|
36
|
-
multipleTableRef:
|
|
37
|
-
queryFormRef:
|
|
38
|
-
listLoading:
|
|
39
|
-
tableData:
|
|
40
|
-
total:
|
|
41
|
-
} =
|
|
42
|
-
let
|
|
40
|
+
multipleTableRef: M,
|
|
41
|
+
queryFormRef: N,
|
|
42
|
+
listLoading: A,
|
|
43
|
+
tableData: $,
|
|
44
|
+
total: f
|
|
45
|
+
} = Z(d, ne, r);
|
|
46
|
+
let i = y([
|
|
43
47
|
// 序号
|
|
44
48
|
{
|
|
45
49
|
label: "settleTradeReceipt.index",
|
|
@@ -74,9 +78,9 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
74
78
|
},
|
|
75
79
|
// 划款时间
|
|
76
80
|
{
|
|
77
|
-
label: "settleTradeReceipt.
|
|
78
|
-
prop: "
|
|
79
|
-
slotName: "
|
|
81
|
+
label: "settleTradeReceipt.transferMoneyDate",
|
|
82
|
+
prop: "transferMoneyDate",
|
|
83
|
+
slotName: "transferMoneyDate",
|
|
80
84
|
columnType: "slot",
|
|
81
85
|
width: "200",
|
|
82
86
|
sortable: "custom",
|
|
@@ -100,8 +104,8 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
100
104
|
},
|
|
101
105
|
// 到账状态
|
|
102
106
|
{
|
|
103
|
-
label: "settleTradeReceipt.
|
|
104
|
-
prop: "
|
|
107
|
+
label: "settleTradeReceipt.transferMoneyStatusName",
|
|
108
|
+
prop: "transferMoneyStatusName",
|
|
105
109
|
width: "150",
|
|
106
110
|
sortable: "custom",
|
|
107
111
|
isColumn: !0
|
|
@@ -110,7 +114,9 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
110
114
|
{
|
|
111
115
|
label: "settleTradeReceipt.agentCode",
|
|
112
116
|
prop: "agentCode",
|
|
113
|
-
|
|
117
|
+
slotName: "agentCode",
|
|
118
|
+
columnType: "slot",
|
|
119
|
+
width: "200",
|
|
114
120
|
sortable: "custom",
|
|
115
121
|
isColumn: !0
|
|
116
122
|
},
|
|
@@ -123,42 +129,42 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
123
129
|
isColumn: !0
|
|
124
130
|
}
|
|
125
131
|
]);
|
|
126
|
-
function
|
|
132
|
+
function z() {
|
|
127
133
|
r.value.merchantId = "", r.value.channelId = "";
|
|
128
134
|
}
|
|
129
|
-
function
|
|
135
|
+
function j(n) {
|
|
130
136
|
u.selectionRows.value = n;
|
|
131
137
|
}
|
|
132
|
-
function
|
|
138
|
+
function B(n) {
|
|
133
139
|
u.handleSort(n.prop, n.order);
|
|
134
140
|
}
|
|
135
|
-
function
|
|
141
|
+
function U() {
|
|
136
142
|
u.handleQuery(), u.getList();
|
|
137
143
|
}
|
|
138
144
|
return (n, t) => {
|
|
139
|
-
const
|
|
140
|
-
return
|
|
141
|
-
a(
|
|
145
|
+
const x = s("jmash-select"), _ = s("el-form-item"), b = s("el-col"), L = s("el-option"), P = s("el-select"), T = s("el-button"), C = s("el-row"), E = s("el-form"), Q = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card");
|
|
146
|
+
return h(), R("div", oe, [
|
|
147
|
+
a(E, {
|
|
142
148
|
ref_key: "queryFormRef",
|
|
143
|
-
ref:
|
|
149
|
+
ref: N,
|
|
144
150
|
model: r.value,
|
|
145
151
|
inline: !0
|
|
146
152
|
}, {
|
|
147
153
|
default: l(() => [
|
|
148
|
-
a(
|
|
154
|
+
a(C, null, {
|
|
149
155
|
default: l(() => [
|
|
150
|
-
a(
|
|
156
|
+
a(b, { span: 6 }, {
|
|
151
157
|
default: l(() => [
|
|
152
158
|
a(_, {
|
|
153
159
|
label: n.$t("payTrade.merchantId"),
|
|
154
160
|
prop: "version"
|
|
155
161
|
}, {
|
|
156
162
|
default: l(() => [
|
|
157
|
-
a(
|
|
163
|
+
a(x, {
|
|
158
164
|
modelValue: r.value.merchantId,
|
|
159
165
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.merchantId = e),
|
|
160
166
|
placeholder: n.$t("payTrade.merchantIdRead"),
|
|
161
|
-
data: o(
|
|
167
|
+
data: o(c).merchantBizDict.values,
|
|
162
168
|
onKeyup: t[1] || (t[1] = w((e) => o(u).handleQuery(), ["enter"])),
|
|
163
169
|
class: "!w-[203px]",
|
|
164
170
|
filterable: "",
|
|
@@ -170,14 +176,14 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
170
176
|
]),
|
|
171
177
|
_: 1
|
|
172
178
|
}),
|
|
173
|
-
a(
|
|
179
|
+
a(b, { span: 6 }, {
|
|
174
180
|
default: l(() => [
|
|
175
181
|
a(_, {
|
|
176
182
|
label: n.$t("settleTradeAnalysis.channelId"),
|
|
177
183
|
prop: "channelId"
|
|
178
184
|
}, {
|
|
179
185
|
default: l(() => [
|
|
180
|
-
a(
|
|
186
|
+
a(P, {
|
|
181
187
|
modelValue: r.value.channelId,
|
|
182
188
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
|
|
183
189
|
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
@@ -187,9 +193,9 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
187
193
|
clearable: ""
|
|
188
194
|
}, {
|
|
189
195
|
default: l(() => [
|
|
190
|
-
(
|
|
196
|
+
(h(!0), R(J, null, O(I.value, (e) => (h(), D(L, {
|
|
191
197
|
key: e.channelId,
|
|
192
|
-
label: o(
|
|
198
|
+
label: o(c).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
193
199
|
value: e.channelId
|
|
194
200
|
}, null, 8, ["label", "value"]))), 128))
|
|
195
201
|
]),
|
|
@@ -201,24 +207,24 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
201
207
|
]),
|
|
202
208
|
_: 1
|
|
203
209
|
}),
|
|
204
|
-
a(
|
|
210
|
+
a(b, { span: 12 }, {
|
|
205
211
|
default: l(() => [
|
|
206
212
|
a(_, { class: "search-btn" }, {
|
|
207
213
|
default: l(() => [
|
|
208
|
-
a(
|
|
214
|
+
a(T, {
|
|
209
215
|
type: "primary",
|
|
210
|
-
onClick: t[4] || (t[4] = (e) =>
|
|
216
|
+
onClick: t[4] || (t[4] = (e) => U())
|
|
211
217
|
}, {
|
|
212
218
|
default: l(() => [
|
|
213
|
-
|
|
219
|
+
m(p(n.$t("common.search")), 1)
|
|
214
220
|
]),
|
|
215
221
|
_: 1
|
|
216
222
|
}),
|
|
217
|
-
a(
|
|
218
|
-
onClick: t[5] || (t[5] = (e) =>
|
|
223
|
+
a(T, {
|
|
224
|
+
onClick: t[5] || (t[5] = (e) => z())
|
|
219
225
|
}, {
|
|
220
226
|
default: l(() => [
|
|
221
|
-
|
|
227
|
+
m(p(n.$t("common.reset")), 1)
|
|
222
228
|
]),
|
|
223
229
|
_: 1
|
|
224
230
|
})
|
|
@@ -234,21 +240,21 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
234
240
|
]),
|
|
235
241
|
_: 1
|
|
236
242
|
}, 8, ["model"]),
|
|
237
|
-
a(
|
|
243
|
+
a(K, {
|
|
238
244
|
shadow: "never",
|
|
239
245
|
class: "table-container"
|
|
240
246
|
}, {
|
|
241
247
|
header: l(() => [
|
|
242
|
-
a(
|
|
248
|
+
a(C, null, {
|
|
243
249
|
default: l(() => [
|
|
244
|
-
a(
|
|
250
|
+
a(b, {
|
|
245
251
|
span: 24,
|
|
246
252
|
class: "container-float"
|
|
247
253
|
}, {
|
|
248
254
|
default: l(() => [
|
|
249
|
-
a(
|
|
250
|
-
modelValue: o(
|
|
251
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) =>
|
|
255
|
+
a(Q, {
|
|
256
|
+
modelValue: o(i),
|
|
257
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => S(i) ? i.value = e : i = e),
|
|
252
258
|
"label-name": "settle/settle-trade-receipt"
|
|
253
259
|
}, null, 8, ["modelValue"])
|
|
254
260
|
]),
|
|
@@ -259,37 +265,40 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
259
265
|
})
|
|
260
266
|
]),
|
|
261
267
|
footer: l(() => [
|
|
262
|
-
o(
|
|
268
|
+
o(f) > 0 ? (h(), D(H, {
|
|
263
269
|
key: 0,
|
|
264
|
-
total: o(
|
|
265
|
-
"onUpdate:total": t[7] || (t[7] = (e) =>
|
|
270
|
+
total: o(f),
|
|
271
|
+
"onUpdate:total": t[7] || (t[7] = (e) => S(f) ? f.value = e : null),
|
|
266
272
|
"current-page": r.value.curPage,
|
|
267
273
|
"onUpdate:currentPage": t[8] || (t[8] = (e) => r.value.curPage = e),
|
|
268
274
|
"page-size": r.value.pageSize,
|
|
269
275
|
"onUpdate:pageSize": t[9] || (t[9] = (e) => r.value.pageSize = e),
|
|
270
276
|
onPagination: t[10] || (t[10] = (e) => o(u).getList())
|
|
271
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
277
|
+
}, null, 8, ["total", "current-page", "page-size"])) : G("", !0)
|
|
272
278
|
]),
|
|
273
279
|
default: l(() => [
|
|
274
|
-
a(
|
|
280
|
+
a(F, {
|
|
275
281
|
ref_key: "multipleTableRef",
|
|
276
|
-
ref:
|
|
282
|
+
ref: M,
|
|
277
283
|
"row-key": "receiptId",
|
|
278
284
|
isSelection: !1,
|
|
279
|
-
"list-loading": o(
|
|
280
|
-
data: o(
|
|
281
|
-
"table-label": o(
|
|
282
|
-
onSelectionChange:
|
|
283
|
-
onSortChange:
|
|
285
|
+
"list-loading": o(A),
|
|
286
|
+
data: o($),
|
|
287
|
+
"table-label": o(i),
|
|
288
|
+
onSelectionChange: j,
|
|
289
|
+
onSortChange: B
|
|
284
290
|
}, {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
e.data.row.
|
|
291
|
+
transferMoneyDate: l((e) => [
|
|
292
|
+
m(p(o(g).$moment.formatDate(
|
|
293
|
+
e.data.row.transferMoneyDate,
|
|
288
294
|
"YYYY-MM-DD HH:mm"
|
|
289
295
|
)), 1)
|
|
290
296
|
]),
|
|
291
297
|
instsId: l((e) => [
|
|
292
|
-
|
|
298
|
+
m(p(o(c).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
299
|
+
]),
|
|
300
|
+
agentCode: l((e) => [
|
|
301
|
+
m(p(V.value.agentAlias), 1)
|
|
293
302
|
]),
|
|
294
303
|
_: 1
|
|
295
304
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -301,5 +310,5 @@ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
|
|
|
301
310
|
}
|
|
302
311
|
});
|
|
303
312
|
export {
|
|
304
|
-
|
|
313
|
+
pe as _
|
|
305
314
|
};
|
package/dts/src/constant.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export declare class Constant {
|
|
|
4
4
|
static readonly PAY_MODE = "xyvcard.payment.protobuf.PayMode";
|
|
5
5
|
static readonly TRADE_TYPE = "xyvcard.payment.protobuf.TradeType";
|
|
6
6
|
static readonly ORDER_STATUS = "xyvcard.payment.protobuf.OrderStatus";
|
|
7
|
+
static readonly AGENT_AGREE = "AGENT_AGREE";
|
|
7
8
|
}
|