xyvcard-settle 0.0.38 → 0.0.39
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/{constant-D4ZF_7dk.mjs → constant-CtDv38CM.mjs} +1 -1
- package/dist/{history-B-IkqJIh.mjs → history-CKm40RN0.mjs} +1 -1
- package/dist/{history-Bwh8KkP3.mjs → history-Uv5wF8tp.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs → history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs} +2 -2
- package/dist/{history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs → history.vue_vue_type_script_setup_true_lang-Dj7A2_XH.mjs} +101 -99
- package/dist/{index-CoFF2Ob7.mjs → index-BAU8_bL5.mjs} +8 -8
- package/dist/{index-2s-MEXAI.mjs → index-BF180-Dc.mjs} +2 -2
- package/dist/{index-7mx7BVcy.mjs → index-BOYpCJFd.mjs} +78 -70
- package/dist/{index-jCpwk7yw.mjs → index-BXr-5-X_.mjs} +8 -7
- package/dist/{index-DIBoxi0R.mjs → index-CAOauGAU.mjs} +2 -2
- package/dist/{index-cRii9rLo.mjs → index-Ce1JIAp_.mjs} +2 -2
- package/dist/{index-CkZwAxic.mjs → index-Che5xN0z.mjs} +2 -2
- package/dist/{index--PbK07xd.mjs → index-Cqpx7sK8.mjs} +2 -2
- package/dist/{index-CIgkwH9Q.mjs → index-DISA5kjA.mjs} +3 -3
- package/dist/{index-DALnGGtE.mjs → index-GI8dQtIV.mjs} +2 -2
- package/dist/{index-Dd8mEaP-.mjs → index-QIqV4ldo.mjs} +2 -2
- package/dist/index-V8g7-RWq.mjs +95 -0
- package/dist/index.mjs +1 -1
- package/dist/{pay-B83bWp1o.mjs → pay-D04R69xf.mjs} +1 -1
- package/dist/{pay-Cbkrx0kF.mjs → pay-ddopuD-7.mjs} +1 -1
- package/dist/{payPal-CxeWojgW.mjs → payPal-Bfu4en0b.mjs} +2 -2
- package/dist/{payPal-CSXQDwtc.mjs → payPal-Bp_Ivr7P.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{today-D-CvVI4s.mjs → today-BBWMuUFc.mjs} +1 -1
- package/dist/{today-fC0tD5z6.mjs → today-DFnsrdAZ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs → today.vue_vue_type_script_setup_true_lang-Cf3MjsXi.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs → today.vue_vue_type_script_setup_true_lang-CmzDkIbs.mjs} +63 -62
- package/dts/src/api/settle/index.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-receipt/types.d.ts +1 -0
- package/dts/src/constant.d.ts +1 -1
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +4 -4
- package/dist/index-vAEKctTI.mjs +0 -92
|
@@ -3,7 +3,7 @@ import { useI18n as X } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as v, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
|
|
4
4
|
import { tokenExt as V } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as le } from "xyvcard-merchant";
|
|
6
|
-
import { D as c } from "./index-
|
|
6
|
+
import { D as c } from "./index-V8g7-RWq.mjs";
|
|
7
7
|
class ae {
|
|
8
8
|
getKey(d) {
|
|
9
9
|
return {
|
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { channelApi as
|
|
6
|
-
import { D as
|
|
7
|
-
import { tokenExt as
|
|
8
|
-
class
|
|
9
|
-
getKey(
|
|
1
|
+
import { defineComponent as O, getCurrentInstance as X, ref as h, resolveComponent as s, createElementBlock as k, openBlock as g, createVNode as l, withCtx as a, withKeys as S, unref as n, Fragment as Z, renderList as ee, createBlock as M, createTextVNode as c, toDisplayString as p, createSlots as te, createCommentVNode as ae, isRef as $ } from "vue";
|
|
2
|
+
import { useI18n as le } from "vue-i18n";
|
|
3
|
+
import { useRoute as ne } from "vue-router";
|
|
4
|
+
import { useUserStore as C, clearEmpty as oe, request as re, useTableHooks as se } from "jmash-core";
|
|
5
|
+
import { channelApi as ue } from "xyvcard-merchant";
|
|
6
|
+
import { D as d } from "./index-V8g7-RWq.mjs";
|
|
7
|
+
import { tokenExt as z } from "xyvcard-agent";
|
|
8
|
+
class de {
|
|
9
|
+
getKey(m) {
|
|
10
10
|
return {
|
|
11
|
-
receiptId:
|
|
11
|
+
receiptId: m.receiptId
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
// 查询翻页信息划款信息查询-今日到账
|
|
15
|
-
findPage(
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
url: "/v1/settle/receipt/today/" +
|
|
15
|
+
findPage(m) {
|
|
16
|
+
const R = C().user.tenant;
|
|
17
|
+
return oe(m), re({
|
|
18
|
+
url: "/v1/settle/receipt/today/" + R,
|
|
19
19
|
method: "get",
|
|
20
|
-
params:
|
|
20
|
+
params: m
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
const me = new
|
|
24
|
+
const me = new de(), ie = { class: "app-container" }, _e = /* @__PURE__ */ O({
|
|
25
25
|
__name: "today",
|
|
26
|
-
setup(
|
|
27
|
-
const { t:
|
|
28
|
-
|
|
29
|
-
const { proxy: B } =
|
|
30
|
-
tokenExt:
|
|
31
|
-
channelId:
|
|
32
|
-
}), T = h(
|
|
26
|
+
setup(N) {
|
|
27
|
+
const { t: m } = le(), A = ne().query.tenant;
|
|
28
|
+
d.instsBizDict.useValues(), d.merchantBizDict.useValues(), d.agentBizDict.useValues();
|
|
29
|
+
const { proxy: B } = X(), _ = h([]), v = h(""), o = h({
|
|
30
|
+
tokenExt: z.getTokenExt(C().user.tenant),
|
|
31
|
+
channelId: v.value
|
|
32
|
+
}), T = h(z.getCurrentRole(C().user.tenant));
|
|
33
33
|
function j() {
|
|
34
|
-
o.value.channelId = "",
|
|
35
|
-
|
|
34
|
+
o.value.channelId = "", ue.findList({ merchantId: o.value.merchantId }).then((r) => {
|
|
35
|
+
if (o.value.merchantId) {
|
|
36
|
+
_.value = r.data.results, v.value = r.data.results.map((t) => t.channelId);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
_.value = [], v.value = "";
|
|
36
40
|
});
|
|
37
41
|
}
|
|
38
42
|
const {
|
|
@@ -42,7 +46,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
42
46
|
listLoading: P,
|
|
43
47
|
tableData: w,
|
|
44
48
|
total: b
|
|
45
|
-
} =
|
|
49
|
+
} = se(m, me, o);
|
|
46
50
|
let f = h([
|
|
47
51
|
// 序号
|
|
48
52
|
{
|
|
@@ -63,7 +67,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
63
67
|
{
|
|
64
68
|
label: "settleTradeReceipt.merchantNo",
|
|
65
69
|
prop: "merchantNo",
|
|
66
|
-
width: "
|
|
70
|
+
width: "190",
|
|
67
71
|
sortable: "custom",
|
|
68
72
|
isColumn: !0
|
|
69
73
|
},
|
|
@@ -73,7 +77,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
73
77
|
prop: "transferMoneyDate",
|
|
74
78
|
slotName: "transferMoneyDate",
|
|
75
79
|
columnType: "slot",
|
|
76
|
-
width: "
|
|
80
|
+
width: "170",
|
|
77
81
|
sortable: "custom",
|
|
78
82
|
isColumn: !0
|
|
79
83
|
},
|
|
@@ -126,16 +130,13 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
126
130
|
function L(r) {
|
|
127
131
|
i.selectionRows.value = r;
|
|
128
132
|
}
|
|
129
|
-
function
|
|
133
|
+
function q(r) {
|
|
130
134
|
i.handleSort(r.prop, r.order);
|
|
131
135
|
}
|
|
132
|
-
function q() {
|
|
133
|
-
i.handleQuery();
|
|
134
|
-
}
|
|
135
136
|
return (r, t) => {
|
|
136
|
-
const H = s("jmash-select"),
|
|
137
|
-
return g(), k("div",
|
|
138
|
-
l(
|
|
137
|
+
const H = s("jmash-select"), I = s("el-form-item"), y = s("el-col"), K = s("el-option"), Q = s("el-select"), D = s("el-button"), V = s("el-row"), Y = s("el-form"), F = s("jmash-column-select"), W = s("jmash-table"), G = s("jmash-pagination"), J = s("el-card");
|
|
138
|
+
return g(), k("div", ie, [
|
|
139
|
+
l(Y, {
|
|
139
140
|
ref_key: "queryFormRef",
|
|
140
141
|
ref: x,
|
|
141
142
|
model: o.value,
|
|
@@ -146,16 +147,16 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
146
147
|
default: a(() => [
|
|
147
148
|
l(y, { span: 6 }, {
|
|
148
149
|
default: a(() => [
|
|
149
|
-
l(
|
|
150
|
+
l(I, {
|
|
150
151
|
label: r.$t("payTrade.merchantId"),
|
|
151
|
-
prop: "
|
|
152
|
+
prop: "merchantId"
|
|
152
153
|
}, {
|
|
153
154
|
default: a(() => [
|
|
154
155
|
l(H, {
|
|
155
156
|
modelValue: o.value.merchantId,
|
|
156
157
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
|
|
157
158
|
placeholder: r.$t("payTrade.merchantIdRead"),
|
|
158
|
-
data: n(
|
|
159
|
+
data: n(d).merchantBizDict.values,
|
|
159
160
|
onKeyup: t[1] || (t[1] = S((e) => n(i).handleQuery(), ["enter"])),
|
|
160
161
|
class: "!w-[203px]",
|
|
161
162
|
filterable: "",
|
|
@@ -170,12 +171,12 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
170
171
|
}),
|
|
171
172
|
l(y, { span: 6 }, {
|
|
172
173
|
default: a(() => [
|
|
173
|
-
l(
|
|
174
|
+
l(I, {
|
|
174
175
|
label: r.$t("settleTradeAnalysis.channelId"),
|
|
175
176
|
prop: "channelId"
|
|
176
177
|
}, {
|
|
177
178
|
default: a(() => [
|
|
178
|
-
l(
|
|
179
|
+
l(Q, {
|
|
179
180
|
modelValue: o.value.channelId,
|
|
180
181
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
|
|
181
182
|
placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
|
|
@@ -185,9 +186,9 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
185
186
|
clearable: ""
|
|
186
187
|
}, {
|
|
187
188
|
default: a(() => [
|
|
188
|
-
(g(!0), k(
|
|
189
|
+
(g(!0), k(Z, null, ee(_.value, (e) => (g(), M(K, {
|
|
189
190
|
key: e.channelId,
|
|
190
|
-
label: n(
|
|
191
|
+
label: n(d).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
191
192
|
value: e.channelId
|
|
192
193
|
}, null, 8, ["label", "value"]))), 128))
|
|
193
194
|
]),
|
|
@@ -201,11 +202,11 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
201
202
|
}),
|
|
202
203
|
l(y, { span: 12 }, {
|
|
203
204
|
default: a(() => [
|
|
204
|
-
l(
|
|
205
|
+
l(I, { class: "search-btn" }, {
|
|
205
206
|
default: a(() => [
|
|
206
207
|
l(D, {
|
|
207
208
|
type: "primary",
|
|
208
|
-
onClick: t[4] || (t[4] = (e) =>
|
|
209
|
+
onClick: t[4] || (t[4] = (e) => n(i).handleQuery())
|
|
209
210
|
}, {
|
|
210
211
|
default: a(() => [
|
|
211
212
|
c(p(r.$t("common.search")), 1)
|
|
@@ -232,7 +233,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
232
233
|
]),
|
|
233
234
|
_: 1
|
|
234
235
|
}, 8, ["model"]),
|
|
235
|
-
l(
|
|
236
|
+
l(J, {
|
|
236
237
|
shadow: "never",
|
|
237
238
|
class: "table-container"
|
|
238
239
|
}, {
|
|
@@ -244,9 +245,9 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
244
245
|
class: "container-float"
|
|
245
246
|
}, {
|
|
246
247
|
default: a(() => [
|
|
247
|
-
l(
|
|
248
|
+
l(F, {
|
|
248
249
|
modelValue: n(f),
|
|
249
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) =>
|
|
250
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => $(f) ? f.value = e : f = e),
|
|
250
251
|
"label-name": "settle/settle-trade-receipt"
|
|
251
252
|
}, null, 8, ["modelValue"])
|
|
252
253
|
]),
|
|
@@ -257,21 +258,21 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
257
258
|
})
|
|
258
259
|
]),
|
|
259
260
|
footer: a(() => [
|
|
260
|
-
n(b) > 0 ? (g(), M(
|
|
261
|
+
n(b) > 0 ? (g(), M(G, {
|
|
261
262
|
key: 0,
|
|
262
263
|
total: n(b),
|
|
263
|
-
"onUpdate:total": t[7] || (t[7] = (e) =>
|
|
264
|
+
"onUpdate:total": t[7] || (t[7] = (e) => $(b) ? b.value = e : null),
|
|
264
265
|
"current-page": o.value.curPage,
|
|
265
266
|
"onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
|
|
266
267
|
"page-size": o.value.pageSize,
|
|
267
268
|
"onUpdate:pageSize": t[9] || (t[9] = (e) => o.value.pageSize = e),
|
|
268
269
|
onPagination: t[10] || (t[10] = (e) => n(i).getList())
|
|
269
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
270
|
+
}, null, 8, ["total", "current-page", "page-size"])) : ae("", !0)
|
|
270
271
|
]),
|
|
271
272
|
default: a(() => {
|
|
272
273
|
var e;
|
|
273
274
|
return [
|
|
274
|
-
l(
|
|
275
|
+
l(W, {
|
|
275
276
|
ref_key: "multipleTableRef",
|
|
276
277
|
ref: U,
|
|
277
278
|
"row-key": "receiptId",
|
|
@@ -280,28 +281,28 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
280
281
|
data: n(w),
|
|
281
282
|
"table-label": n(f),
|
|
282
283
|
onSelectionChange: L,
|
|
283
|
-
onSortChange:
|
|
284
|
-
},
|
|
285
|
-
transferMoneyDate: a((
|
|
284
|
+
onSortChange: q
|
|
285
|
+
}, te({
|
|
286
|
+
transferMoneyDate: a((u) => [
|
|
286
287
|
c(p(n(B).$moment.formatDate(
|
|
287
|
-
|
|
288
|
-
"YYYY-MM-DD HH:mm"
|
|
288
|
+
`${u.data.row.transferMoneyDate} ${u.data.row.transferMoneyTime}`,
|
|
289
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
289
290
|
)), 1)
|
|
290
291
|
]),
|
|
291
|
-
instsId: a((
|
|
292
|
-
c(p(n(
|
|
292
|
+
instsId: a((u) => [
|
|
293
|
+
c(p(n(d).instsBizDict.getValue(u.data.row.instsId)), 1)
|
|
293
294
|
]),
|
|
294
295
|
_: 2
|
|
295
296
|
}, [
|
|
296
297
|
!((e = n(A)) != null && e.includes("@")) || T.value.merchantId ? {
|
|
297
298
|
name: "agentCode",
|
|
298
|
-
fn: a((
|
|
299
|
-
c(p(n(
|
|
299
|
+
fn: a((u) => [
|
|
300
|
+
c(p(n(d).agentBizDict.getValue(u.data.row.agentCode)), 1)
|
|
300
301
|
]),
|
|
301
302
|
key: "0"
|
|
302
303
|
} : {
|
|
303
304
|
name: "agentCode",
|
|
304
|
-
fn: a((
|
|
305
|
+
fn: a((u) => [
|
|
305
306
|
c(p(T.value.agentAlias), 1)
|
|
306
307
|
]),
|
|
307
308
|
key: "1"
|
|
@@ -316,5 +317,5 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
316
317
|
}
|
|
317
318
|
});
|
|
318
319
|
export {
|
|
319
|
-
|
|
320
|
+
_e as _
|
|
320
321
|
};
|
|
@@ -2,6 +2,7 @@ import { EnumDict } from "jmash-core";
|
|
|
2
2
|
import { agentBizDict, InststBizDict, MerchantBizDict } from "./dict";
|
|
3
3
|
export declare class Dict {
|
|
4
4
|
static readonly agentBizDict: agentBizDict;
|
|
5
|
+
static readonly agentAgreeBizDict: agentBizDict;
|
|
5
6
|
static readonly instsBizDict: InststBizDict;
|
|
6
7
|
static readonly merchantBizDict: MerchantBizDict;
|
|
7
8
|
static readonly payModeBizDict: EnumDict;
|
package/dts/src/constant.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare class Constant {
|
|
2
2
|
static readonly PAYMENT_DICT = "payment";
|
|
3
|
-
static readonly RPC_FORMAT_TIME = "YYYY-MM-DDTHH:mm:
|
|
3
|
+
static readonly RPC_FORMAT_TIME = "YYYY-MM-DDTHH:mm:ssZ";
|
|
4
4
|
static readonly RPC_FORMAT_DATA = "YYYY-MM-DD";
|
|
5
5
|
static readonly PAY_MODE = "xyvcard.payment.protobuf.PayMode";
|
|
6
6
|
static readonly TRADE_TYPE = "xyvcard.payment.protobuf.PayTradeType";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-settle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"jmash-core": "^0.1.4",
|
|
29
29
|
"jmash-dict": "^0.1.1",
|
|
30
30
|
"jmash-rbac": "^0.1.1",
|
|
31
|
-
"xyvcard-agent": "0.0.
|
|
32
|
-
"xyvcard-merchant": "0.0.
|
|
33
|
-
"xyvcard-insts": "0.0.
|
|
31
|
+
"xyvcard-agent": "0.0.40",
|
|
32
|
+
"xyvcard-merchant": "0.0.36",
|
|
33
|
+
"xyvcard-insts": "0.0.31"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.14.0",
|
package/dist/index-vAEKctTI.mjs
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty;
|
|
2
|
-
var d = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
-
var n = (e, t, s) => d(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { BizLayDict as A, BizDict as l, EnumDict as c } from "jmash-core";
|
|
5
|
-
import { C as r } from "./constant-D4ZF_7dk.mjs";
|
|
6
|
-
import { infoApi as y } from "xyvcard-agent";
|
|
7
|
-
import { institutionApi as m } from "xyvcard-insts";
|
|
8
|
-
import { merchantsApi as T } from "xyvcard-merchant";
|
|
9
|
-
function o(e, t, s) {
|
|
10
|
-
return !Array.isArray(e) || e.length === 0 ? [] : e.map((i) => {
|
|
11
|
-
let a = [];
|
|
12
|
-
return Array.isArray(i.children) && i.children.length > 0 && (a = o(i.children, t, s)), {
|
|
13
|
-
value: i[s],
|
|
14
|
-
label: i[t],
|
|
15
|
-
parentId: i.parentId,
|
|
16
|
-
children: a
|
|
17
|
-
};
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
class D extends A {
|
|
21
|
-
// 实现 useValues 方法
|
|
22
|
-
useValues() {
|
|
23
|
-
return new Promise((t, s) => {
|
|
24
|
-
this.query.approved = r.AGENT_AGREE, this.query.hasApproved = !0, y.findList(this.query).then(({ data: h }) => {
|
|
25
|
-
this.values.length = 0, this.values.push(
|
|
26
|
-
...o(h.results, "agentAlias", "agentCode")
|
|
27
|
-
), t(this.values);
|
|
28
|
-
}).catch(s);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
class E extends l {
|
|
33
|
-
// 实现 useValues 方法
|
|
34
|
-
useValues() {
|
|
35
|
-
return new Promise((t, s) => {
|
|
36
|
-
m.findList(this.query).then(({ data: h }) => {
|
|
37
|
-
const i = h.results;
|
|
38
|
-
this.values.length = 0, this.values.push(
|
|
39
|
-
...i.map(
|
|
40
|
-
(a) => ({
|
|
41
|
-
key: a.instsId,
|
|
42
|
-
value: a.instsName
|
|
43
|
-
})
|
|
44
|
-
)
|
|
45
|
-
), t(this.values);
|
|
46
|
-
}).catch(s);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
class v extends l {
|
|
51
|
-
// 实现 useValues 方法
|
|
52
|
-
useValues() {
|
|
53
|
-
return new Promise((t, s) => {
|
|
54
|
-
T.findList(this.query).then(({ data: h }) => {
|
|
55
|
-
const i = h.results;
|
|
56
|
-
this.values.length = 0, this.values.push(
|
|
57
|
-
...i.map(
|
|
58
|
-
(a) => ({
|
|
59
|
-
key: a.merchantId,
|
|
60
|
-
value: a.merchantName
|
|
61
|
-
})
|
|
62
|
-
)
|
|
63
|
-
), t(this.values);
|
|
64
|
-
}).catch(s);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
class u {
|
|
69
|
-
}
|
|
70
|
-
// 代理商
|
|
71
|
-
n(u, "agentBizDict", new D({})), // 落地机构
|
|
72
|
-
n(u, "instsBizDict", new E({})), // 商户名称
|
|
73
|
-
n(u, "merchantBizDict", new v({})), // 支付方式
|
|
74
|
-
n(u, "payModeBizDict", new c(
|
|
75
|
-
r.PAYMENT_DICT,
|
|
76
|
-
r.PAY_MODE
|
|
77
|
-
)), // 交易类型
|
|
78
|
-
n(u, "tradeTypeBizDict", new c(
|
|
79
|
-
r.PAYMENT_DICT,
|
|
80
|
-
r.TRADE_TYPE
|
|
81
|
-
)), // 订单状态
|
|
82
|
-
n(u, "orderStatusBizDict", new c(
|
|
83
|
-
r.PAYMENT_DICT,
|
|
84
|
-
r.ORDER_STATUS
|
|
85
|
-
)), // 交易状态
|
|
86
|
-
n(u, "tradeStatusBizDict", new c(
|
|
87
|
-
r.PAYMENT_DICT,
|
|
88
|
-
r.TRADE_STATUS
|
|
89
|
-
));
|
|
90
|
-
export {
|
|
91
|
-
u as D
|
|
92
|
-
};
|