xyvcard-settle 0.0.23 → 0.0.24
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-B8rLL6cg.mjs → history-C3l8NaI6.mjs} +1 -1
- package/dist/{history-GWPuNly4.mjs → history-DQ0J8NCy.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs → history.vue_vue_type_script_setup_true_lang-B8FBizdu.mjs} +17 -18
- package/dist/{history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs → history.vue_vue_type_script_setup_true_lang-DB8PERVD.mjs} +33 -33
- package/dist/index--l5ns2E2.mjs +690 -0
- package/dist/{index-C3Kdmtt0.mjs → index-B1h4IWy4.mjs} +2 -2
- package/dist/{index-CEE_6GTV.mjs → index-BwZZ71lS.mjs} +118 -104
- package/dist/{index-Cb7J-gqJ.mjs → index-C9xiSbGi.mjs} +117 -100
- package/dist/{index-by_iuKQb.mjs → index-D0mKdcOp.mjs} +2 -2
- package/dist/index-DXSCg5PP.mjs +102 -0
- package/dist/{index-CGm_qU0S.mjs → index-DsYV-De4.mjs} +165 -140
- package/dist/{index-Cd659aKC.mjs → index-Gj815brY.mjs} +145 -144
- package/dist/index.mjs +69 -65
- package/dist/style.css +1 -0
- package/dist/{today-BYQ_Njq5.mjs → today-DK4xzzKV.mjs} +1 -1
- package/dist/{today-CGeC5FRK.mjs → today-DX1djaLC.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs → today.vue_vue_type_script_setup_true_lang-BBSo18Bt.mjs} +71 -81
- package/dist/{today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs → today.vue_vue_type_script_setup_true_lang-C7uvcmd6.mjs} +10 -10
- package/dts/src/api/settle/index.d.ts +1 -0
- package/dts/src/api/settle/pay-trade/types.d.ts +1 -0
- package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-merchant/types.d.ts +3 -0
- package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +2 -0
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/en.d.ts +0 -89
- package/dts/src/lang/settle/zh-cn.d.ts +6 -0
- package/package.json +61 -61
- package/dist/index-NM7NGo1Y.mjs +0 -534
- package/dist/index-q_VWJKNr.mjs +0 -99
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { defineComponent as G, getCurrentInstance as W, ref as y, resolveComponent as o, createElementBlock as h, openBlock as p, createVNode as l, withCtx as a, withKeys as w, unref as r, Fragment as X, renderList as Z, createBlock as I, createTextVNode as v, toDisplayString as _, createCommentVNode as ee, isRef as S } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
class ue {
|
|
2
|
+
import { useI18n as te } from "vue-i18n";
|
|
3
|
+
import { useUserStore as M, clearEmpty as ae, request as le, useTableHooks as ne } from "jmash-core";
|
|
4
|
+
import { channelApi as oe } from "xyvcard-merchant";
|
|
5
|
+
import { tokenExt as re } from "xyvcard-agent";
|
|
6
|
+
import { D as T, C as k } from "./index-DXSCg5PP.mjs";
|
|
7
|
+
class se {
|
|
9
8
|
getKey(d) {
|
|
10
9
|
return {
|
|
11
10
|
receiptId: d.receiptId
|
|
@@ -14,22 +13,22 @@ class ue {
|
|
|
14
13
|
// 查询翻页信息划款信息查询-到账(历史)
|
|
15
14
|
findPage(d) {
|
|
16
15
|
const i = M().user.tenant;
|
|
17
|
-
return
|
|
16
|
+
return ae(d), le({
|
|
18
17
|
url: "/v1/settle/receipt/my/page/" + i,
|
|
19
18
|
method: "get",
|
|
20
19
|
params: d
|
|
21
20
|
});
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
|
-
const
|
|
23
|
+
const ue = new se(), de = { class: "app-container" }, pe = { key: 0 }, ie = { key: 1 }, be = /* @__PURE__ */ G({
|
|
25
24
|
__name: "history",
|
|
26
25
|
setup(V) {
|
|
27
|
-
const { t: d } =
|
|
28
|
-
T.instsBizDict.useValues()
|
|
26
|
+
const { t: d } = te();
|
|
27
|
+
T.instsBizDict.useValues();
|
|
29
28
|
const { proxy: i } = W(), s = y({
|
|
30
|
-
tokenExt:
|
|
29
|
+
tokenExt: re.getTokenExt(M().user.tenant)
|
|
31
30
|
}), D = y([]), N = localStorage.getItem("selectMerchantId");
|
|
32
|
-
|
|
31
|
+
oe.myFindList({ merchantId: N }).then((n) => {
|
|
33
32
|
D.value = n.data.results;
|
|
34
33
|
});
|
|
35
34
|
const $ = y(
|
|
@@ -53,7 +52,7 @@ const de = new ue(), pe = { class: "app-container" }, ie = { key: 0 }, me = { ke
|
|
|
53
52
|
listLoading: z,
|
|
54
53
|
tableData: P,
|
|
55
54
|
total: g
|
|
56
|
-
} =
|
|
55
|
+
} = ne(d, ue, s);
|
|
57
56
|
let c = y([
|
|
58
57
|
// 序号
|
|
59
58
|
{
|
|
@@ -142,7 +141,7 @@ const de = new ue(), pe = { class: "app-container" }, ie = { key: 0 }, me = { ke
|
|
|
142
141
|
}
|
|
143
142
|
return u.getList(), (n, t) => {
|
|
144
143
|
const F = o("el-input"), b = o("el-form-item"), f = o("el-col"), L = o("el-option"), Q = o("el-select"), x = o("el-date-picker"), R = o("el-row"), C = o("el-button"), H = o("el-form"), K = o("jmash-column-select"), q = o("jmash-table"), O = o("jmash-pagination"), J = o("el-card");
|
|
145
|
-
return p(), h("div",
|
|
144
|
+
return p(), h("div", de, [
|
|
146
145
|
l(H, {
|
|
147
146
|
ref_key: "queryFormRef",
|
|
148
147
|
ref: E,
|
|
@@ -318,10 +317,10 @@ const de = new ue(), pe = { class: "app-container" }, ie = { key: 0 }, me = { ke
|
|
|
318
317
|
v(_(r(T).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
319
318
|
]),
|
|
320
319
|
transferMoneyDate: a((e) => [
|
|
321
|
-
e.data.row.transferMoneyDate ? (p(), h("span",
|
|
320
|
+
e.data.row.transferMoneyDate ? (p(), h("span", pe, _(r(i).$moment.formatDate(
|
|
322
321
|
new Date(e.data.row.transferMoneyDate),
|
|
323
322
|
"YYYY-MM-DD HH:mm"
|
|
324
|
-
)), 1)) : (p(), h("span",
|
|
323
|
+
)), 1)) : (p(), h("span", ie))
|
|
325
324
|
]),
|
|
326
325
|
agentCode: a((e) => [
|
|
327
326
|
v(_($.value.agentAlias), 1)
|
|
@@ -336,5 +335,5 @@ const de = new ue(), pe = { class: "app-container" }, ie = { key: 0 }, me = { ke
|
|
|
336
335
|
}
|
|
337
336
|
});
|
|
338
337
|
export {
|
|
339
|
-
|
|
338
|
+
be as _
|
|
340
339
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as k, resolveComponent as d, createElementBlock as x, openBlock as y, createVNode as a, withCtx as t, createBlock as b, withKeys as D, unref as o, createCommentVNode as A, createTextVNode as m, toDisplayString as c, createSlots as ee, isRef as E } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { useRoute as oe } from "vue-router";
|
|
2
|
+
import { useI18n as te } from "vue-i18n";
|
|
3
|
+
import { useRoute as ae } from "vue-router";
|
|
4
|
+
import { useUserStore as w, clearEmpty as le, request as ne, useTableHooks as oe } from "jmash-core";
|
|
6
5
|
import { tokenExt as re } from "xyvcard-agent";
|
|
6
|
+
import { D as v, C as U } from "./index-DXSCg5PP.mjs";
|
|
7
7
|
class se {
|
|
8
8
|
getKey(g) {
|
|
9
9
|
return {
|
|
@@ -13,7 +13,7 @@ class se {
|
|
|
13
13
|
// 查询翻页信息划款信息查询-到账(历史)
|
|
14
14
|
findPage(g) {
|
|
15
15
|
const S = w().user.tenant;
|
|
16
|
-
return
|
|
16
|
+
return le(g), ne({
|
|
17
17
|
url: "/v1/settle/receipt/page/" + S,
|
|
18
18
|
method: "get",
|
|
19
19
|
params: g
|
|
@@ -23,9 +23,9 @@ class se {
|
|
|
23
23
|
const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
24
24
|
__name: "history",
|
|
25
25
|
setup(z) {
|
|
26
|
-
const { t: g } =
|
|
26
|
+
const { t: g } = te();
|
|
27
27
|
v.instsBizDict.useValues(), v.agentBizDict.useValues();
|
|
28
|
-
const R =
|
|
28
|
+
const R = ae().query.tenant, { proxy: $ } = Z(), r = k({
|
|
29
29
|
tokenExt: re.getTokenExt(w().user.tenant)
|
|
30
30
|
}), j = k(
|
|
31
31
|
JSON.parse(
|
|
@@ -33,10 +33,10 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
33
33
|
)
|
|
34
34
|
), f = k([]);
|
|
35
35
|
function N(l) {
|
|
36
|
-
f.value = l, f.value.length === 2 && (
|
|
36
|
+
f.value = l, f.value.length === 2 && (r.value.transferMoneyDateStart = $.$moment.formatDate(
|
|
37
37
|
l[0],
|
|
38
38
|
U.RPC_FORMAT_TIME
|
|
39
|
-
),
|
|
39
|
+
), r.value.transferMoneyDateEnd = $.$moment.formatDate(
|
|
40
40
|
l[1],
|
|
41
41
|
U.RPC_FORMAT_TIME
|
|
42
42
|
));
|
|
@@ -48,7 +48,7 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
48
48
|
listLoading: Q,
|
|
49
49
|
tableData: K,
|
|
50
50
|
total: T
|
|
51
|
-
} =
|
|
51
|
+
} = oe(g, de, r);
|
|
52
52
|
let h = k([
|
|
53
53
|
// 序号
|
|
54
54
|
{
|
|
@@ -127,7 +127,7 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
127
127
|
}
|
|
128
128
|
]);
|
|
129
129
|
function Y() {
|
|
130
|
-
f.value = [], u.resetQuery();
|
|
130
|
+
f.value = [], r.value.transferMoneyDateStart = "", r.value.transferMoneyDateEnd = "", u.resetQuery();
|
|
131
131
|
}
|
|
132
132
|
function q(l) {
|
|
133
133
|
u.selectionRows.value = l;
|
|
@@ -141,13 +141,13 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
141
141
|
a(O, {
|
|
142
142
|
ref_key: "queryFormRef",
|
|
143
143
|
ref: P,
|
|
144
|
-
model:
|
|
144
|
+
model: r.value,
|
|
145
145
|
inline: !0
|
|
146
146
|
}, {
|
|
147
147
|
default: t(() => [
|
|
148
148
|
a(_, null, {
|
|
149
149
|
default: t(() => {
|
|
150
|
-
var
|
|
150
|
+
var s;
|
|
151
151
|
return [
|
|
152
152
|
a(p, { span: 6 }, {
|
|
153
153
|
default: t(() => [
|
|
@@ -157,8 +157,8 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
157
157
|
}, {
|
|
158
158
|
default: t(() => [
|
|
159
159
|
a(V, {
|
|
160
|
-
modelValue:
|
|
161
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) =>
|
|
160
|
+
modelValue: r.value.likeMerchantName,
|
|
161
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => r.value.likeMerchantName = n),
|
|
162
162
|
placeholder: l.$t("settleTradeReceipt.likeMerchantName"),
|
|
163
163
|
onKeyup: e[1] || (e[1] = D((n) => o(u).handleQuery(), ["enter"])),
|
|
164
164
|
class: "!w-[203px]"
|
|
@@ -177,8 +177,8 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
177
177
|
}, {
|
|
178
178
|
default: t(() => [
|
|
179
179
|
a(V, {
|
|
180
|
-
modelValue:
|
|
181
|
-
"onUpdate:modelValue": e[2] || (e[2] = (n) =>
|
|
180
|
+
modelValue: r.value.likeMerchantNo,
|
|
181
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => r.value.likeMerchantNo = n),
|
|
182
182
|
placeholder: l.$t("settleTradeReceipt.likeMerchantNoRead"),
|
|
183
183
|
onKeyup: e[3] || (e[3] = D((n) => o(u).handleQuery(), ["enter"])),
|
|
184
184
|
class: "!w-[203px]"
|
|
@@ -189,7 +189,7 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
191
191
|
}),
|
|
192
|
-
(
|
|
192
|
+
(s = o(R)) != null && s.includes("@") ? (y(), b(p, {
|
|
193
193
|
key: 1,
|
|
194
194
|
span: 6
|
|
195
195
|
}, {
|
|
@@ -227,8 +227,8 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
227
227
|
}, {
|
|
228
228
|
default: t(() => [
|
|
229
229
|
a(V, {
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue": e[4] || (e[4] = (n) =>
|
|
230
|
+
modelValue: r.value.agentCode,
|
|
231
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => r.value.agentCode = n),
|
|
232
232
|
placeholder: l.$t("settleTradeReceipt.agentCodeRead"),
|
|
233
233
|
onKeyup: e[5] || (e[5] = D((n) => o(u).handleQuery(), ["enter"])),
|
|
234
234
|
class: "!w-[203px]"
|
|
@@ -247,8 +247,8 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
247
247
|
}, {
|
|
248
248
|
default: t(() => [
|
|
249
249
|
a(L, {
|
|
250
|
-
modelValue:
|
|
251
|
-
"onUpdate:modelValue": e[7] || (e[7] = (n) =>
|
|
250
|
+
modelValue: r.value.channelId,
|
|
251
|
+
"onUpdate:modelValue": e[7] || (e[7] = (n) => r.value.channelId = n),
|
|
252
252
|
placeholder: l.$t("settleTradeAnalysis.channelIdRead"),
|
|
253
253
|
data: o(v).instsBizDict.values,
|
|
254
254
|
onKeyup: e[8] || (e[8] = D((n) => o(u).handleQuery(), ["enter"])),
|
|
@@ -268,9 +268,9 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
268
268
|
}),
|
|
269
269
|
a(_, null, {
|
|
270
270
|
default: t(() => {
|
|
271
|
-
var
|
|
271
|
+
var s, n;
|
|
272
272
|
return [
|
|
273
|
-
(
|
|
273
|
+
(s = o(R)) != null && s.includes("@") ? A("", !0) : (y(), b(p, {
|
|
274
274
|
key: 0,
|
|
275
275
|
span: 6
|
|
276
276
|
}, {
|
|
@@ -377,7 +377,7 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
377
377
|
default: t(() => [
|
|
378
378
|
a(H, {
|
|
379
379
|
modelValue: o(h),
|
|
380
|
-
"onUpdate:modelValue": e[14] || (e[14] = (
|
|
380
|
+
"onUpdate:modelValue": e[14] || (e[14] = (s) => E(h) ? h.value = s : h = s),
|
|
381
381
|
"label-name": "settle/settle-trade-receipt"
|
|
382
382
|
}, null, 8, ["modelValue"])
|
|
383
383
|
]),
|
|
@@ -391,16 +391,16 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
391
391
|
o(T) > 0 ? (y(), b(W, {
|
|
392
392
|
key: 0,
|
|
393
393
|
total: o(T),
|
|
394
|
-
"onUpdate:total": e[15] || (e[15] = (
|
|
395
|
-
"current-page":
|
|
396
|
-
"onUpdate:currentPage": e[16] || (e[16] = (
|
|
397
|
-
"page-size":
|
|
398
|
-
"onUpdate:pageSize": e[17] || (e[17] = (
|
|
399
|
-
onPagination: e[18] || (e[18] = (
|
|
394
|
+
"onUpdate:total": e[15] || (e[15] = (s) => E(T) ? T.value = s : null),
|
|
395
|
+
"current-page": r.value.curPage,
|
|
396
|
+
"onUpdate:currentPage": e[16] || (e[16] = (s) => r.value.curPage = s),
|
|
397
|
+
"page-size": r.value.pageSize,
|
|
398
|
+
"onUpdate:pageSize": e[17] || (e[17] = (s) => r.value.pageSize = s),
|
|
399
|
+
onPagination: e[18] || (e[18] = (s) => o(u).getList())
|
|
400
400
|
}, null, 8, ["total", "current-page", "page-size"])) : A("", !0)
|
|
401
401
|
]),
|
|
402
402
|
default: t(() => {
|
|
403
|
-
var
|
|
403
|
+
var s;
|
|
404
404
|
return [
|
|
405
405
|
a(J, {
|
|
406
406
|
ref_key: "multipleTableRef",
|
|
@@ -424,7 +424,7 @@ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ X({
|
|
|
424
424
|
]),
|
|
425
425
|
_: 2
|
|
426
426
|
}, [
|
|
427
|
-
(
|
|
427
|
+
(s = o(R)) != null && s.includes("@") ? {
|
|
428
428
|
name: "agentCode",
|
|
429
429
|
fn: t((n) => [
|
|
430
430
|
m(c(j.value.agentAlias), 1)
|