xyvcard-settle 0.0.47 → 0.0.48
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-BQjgVD9D.mjs → history-BxhHHLWl.mjs} +1 -1
- package/dist/{history-DCwgJuDo.mjs → history-DV6dRTjD.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs +403 -0
- package/dist/{index-yQjjxDcA.mjs → index-1jun1BI_.mjs} +1 -1
- package/dist/{index-DUu1w36z.mjs → index-B4SCq7KH.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-BCg9UNFw.mjs} +24 -24
- package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-Cr3j3TRH.mjs → index-C4pzKlKF.mjs} +2 -2
- package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
- package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
- package/dist/{index-DYgHw7PE.mjs → index-CgbOnDFk.mjs} +1 -1
- package/dist/{index-DSAnrTJ1.mjs → index-CiDstsD9.mjs} +1 -1
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B8Y2esGZ.mjs → index-D4jXgbZE.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
- package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
- package/dist/{today-DawV1DzV.mjs → today-CryQp8d6.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-raAsbnbG.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs} +145 -113
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs} +1 -1
- package/dts/src/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +0 -371
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import "vue-router";
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { channelApi as
|
|
6
|
-
import { D as
|
|
7
|
-
import { tokenExt as
|
|
8
|
-
import { g as
|
|
9
|
-
class
|
|
10
|
-
getKey(
|
|
1
|
+
import { defineComponent as J, getCurrentInstance as X, ref as T, resolveComponent as s, resolveDirective as Z, createBlock as C, openBlock as h, withCtx as a, createVNode as l, withKeys as M, unref as r, createElementBlock as A, Fragment as ee, renderList as te, createTextVNode as d, toDisplayString as i, withDirectives as ae, createCommentVNode as le, isRef as V } from "vue";
|
|
2
|
+
import { useI18n as ne } from "vue-i18n";
|
|
3
|
+
import { useRouter as oe } from "vue-router";
|
|
4
|
+
import { useUserStore as k, clearEmpty as re, request as se, useTableHooks as me } from "jmash-core";
|
|
5
|
+
import { channelApi as ue } from "xyvcard-merchant";
|
|
6
|
+
import { D as p, C as g } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { tokenExt as de } from "xyvcard-agent";
|
|
8
|
+
import { g as ie } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
class pe {
|
|
10
|
+
getKey(m) {
|
|
11
11
|
return {
|
|
12
|
-
receiptId:
|
|
12
|
+
receiptId: m.receiptId
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
// 查询翻页信息划款信息查询-今日到账
|
|
16
|
-
findPage(
|
|
17
|
-
const
|
|
18
|
-
return
|
|
19
|
-
url: "/v1/settle/receipt/today/" +
|
|
16
|
+
findPage(m) {
|
|
17
|
+
const D = k().user.tenant;
|
|
18
|
+
return re(m), se({
|
|
19
|
+
url: "/v1/settle/receipt/today/" + D,
|
|
20
20
|
method: "get",
|
|
21
|
-
params:
|
|
21
|
+
params: m
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const ce = new pe(), fe = ["onClick"], Re = /* @__PURE__ */ J({
|
|
26
26
|
__name: "today",
|
|
27
|
-
setup(
|
|
28
|
-
const { t:
|
|
29
|
-
|
|
30
|
-
const { proxy:
|
|
31
|
-
tokenExt:
|
|
32
|
-
transferMoneyDate:
|
|
27
|
+
setup(S) {
|
|
28
|
+
const { t: m } = ne();
|
|
29
|
+
p.instsBizDict.useValues(), p.merchantBizDict.useValues(), p.agentBizDict.useValues();
|
|
30
|
+
const D = oe(), { proxy: y } = X(), b = T([]), o = T({
|
|
31
|
+
tokenExt: de.getTokenExt(k().user.tenant),
|
|
32
|
+
transferMoneyDate: y.$moment.formatDate(
|
|
33
33
|
/* @__PURE__ */ new Date(),
|
|
34
|
-
|
|
34
|
+
g.RPC_FORMAT_DATA
|
|
35
35
|
)
|
|
36
36
|
});
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
if (
|
|
40
|
-
|
|
37
|
+
function $() {
|
|
38
|
+
o.value.channelId = "", ue.findList({ merchantId: o.value.merchantId }).then((n) => {
|
|
39
|
+
if (o.value.merchantId) {
|
|
40
|
+
b.value = n.data.results;
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
b.value = [];
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
const {
|
|
47
|
-
tableHooks:
|
|
48
|
-
multipleTableRef:
|
|
49
|
-
queryFormRef:
|
|
50
|
-
listLoading:
|
|
51
|
-
tableData:
|
|
52
|
-
total:
|
|
53
|
-
} =
|
|
54
|
-
let
|
|
47
|
+
tableHooks: u,
|
|
48
|
+
multipleTableRef: N,
|
|
49
|
+
queryFormRef: Y,
|
|
50
|
+
listLoading: P,
|
|
51
|
+
tableData: R,
|
|
52
|
+
total: _
|
|
53
|
+
} = me(m, ce, o);
|
|
54
|
+
let c = T([
|
|
55
55
|
// 序号
|
|
56
56
|
{
|
|
57
57
|
label: "settleTradeReceipt.index",
|
|
@@ -126,53 +126,75 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
126
126
|
width: "150",
|
|
127
127
|
sortable: "custom",
|
|
128
128
|
isColumn: !0
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: "common.operate",
|
|
132
|
+
width: "100",
|
|
133
|
+
slotName: "operation",
|
|
134
|
+
columnType: "slot",
|
|
135
|
+
fixed: "right",
|
|
136
|
+
isColumn: !0
|
|
129
137
|
}
|
|
130
138
|
]);
|
|
131
|
-
function
|
|
132
|
-
|
|
139
|
+
function z(n) {
|
|
140
|
+
const t = new Date(n.transferMoneyDate).getTime() - 864e5;
|
|
141
|
+
D.push({
|
|
142
|
+
path: "/payment/pay-trade",
|
|
143
|
+
query: {
|
|
144
|
+
merchantId: n.merchantId,
|
|
145
|
+
analysisTime: y.$moment.formatDate(
|
|
146
|
+
t,
|
|
147
|
+
g.RPC_FORMAT_DATA
|
|
148
|
+
),
|
|
149
|
+
tradeStatus: g.PAY_SUCCESS
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
function B() {
|
|
154
|
+
o.value.merchantId = "", o.value.channelId = "", o.value.transferMoneyDate = y.$moment.formatDate(
|
|
133
155
|
/* @__PURE__ */ new Date(),
|
|
134
|
-
|
|
135
|
-
),
|
|
156
|
+
g.RPC_FORMAT_DATA
|
|
157
|
+
), b.value = [], R.value = [];
|
|
136
158
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
159
|
+
function U(n) {
|
|
160
|
+
u.selectionRows.value = n;
|
|
139
161
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
162
|
+
function j(n) {
|
|
163
|
+
u.handleSort(n.prop, n.order);
|
|
142
164
|
}
|
|
143
|
-
return (
|
|
144
|
-
const
|
|
145
|
-
return
|
|
165
|
+
return (n, t) => {
|
|
166
|
+
const E = s("jmash-select"), v = s("el-form-item"), f = s("el-col"), F = s("el-option"), L = s("el-select"), q = s("el-date-picker"), w = s("el-button"), I = s("el-row"), x = s("el-form"), H = s("jmash-column-select"), K = s("jmash-table"), Q = s("jmash-pagination"), O = s("el-card"), W = s("el-tab-pane"), G = Z("hasPerm");
|
|
167
|
+
return h(), C(W, {
|
|
146
168
|
label: "今日到账流水",
|
|
147
169
|
name: "two"
|
|
148
170
|
}, {
|
|
149
171
|
default: a(() => [
|
|
150
|
-
l(
|
|
172
|
+
l(x, {
|
|
151
173
|
ref_key: "queryFormRef",
|
|
152
|
-
ref:
|
|
153
|
-
model:
|
|
174
|
+
ref: Y,
|
|
175
|
+
model: o.value,
|
|
154
176
|
inline: !0
|
|
155
177
|
}, {
|
|
156
178
|
default: a(() => [
|
|
157
|
-
l(
|
|
179
|
+
l(I, null, {
|
|
158
180
|
default: a(() => [
|
|
159
|
-
l(
|
|
181
|
+
l(f, { span: 6 }, {
|
|
160
182
|
default: a(() => [
|
|
161
|
-
l(
|
|
162
|
-
label:
|
|
183
|
+
l(v, {
|
|
184
|
+
label: n.$t("payTrade.merchantId"),
|
|
163
185
|
prop: "merchantId"
|
|
164
186
|
}, {
|
|
165
187
|
default: a(() => [
|
|
166
|
-
l(
|
|
167
|
-
modelValue:
|
|
168
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
169
|
-
placeholder:
|
|
170
|
-
data: r(
|
|
171
|
-
onKeyup: t[1] || (t[1] =
|
|
188
|
+
l(E, {
|
|
189
|
+
modelValue: o.value.merchantId,
|
|
190
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
|
|
191
|
+
placeholder: n.$t("payTrade.merchantIdRead"),
|
|
192
|
+
data: r(p).merchantBizDict.values,
|
|
193
|
+
onKeyup: t[1] || (t[1] = M((e) => r(u).handleQuery(), ["enter"])),
|
|
172
194
|
class: "!w-[203px]",
|
|
173
195
|
filterable: "",
|
|
174
196
|
clearable: "",
|
|
175
|
-
onChange:
|
|
197
|
+
onChange: $
|
|
176
198
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
177
199
|
]),
|
|
178
200
|
_: 1
|
|
@@ -180,26 +202,26 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
180
202
|
]),
|
|
181
203
|
_: 1
|
|
182
204
|
}),
|
|
183
|
-
l(
|
|
205
|
+
l(f, { span: 6 }, {
|
|
184
206
|
default: a(() => [
|
|
185
|
-
l(
|
|
186
|
-
label:
|
|
207
|
+
l(v, {
|
|
208
|
+
label: n.$t("settleTradeAnalysis.channelId"),
|
|
187
209
|
prop: "channelId"
|
|
188
210
|
}, {
|
|
189
211
|
default: a(() => [
|
|
190
|
-
l(
|
|
191
|
-
modelValue:
|
|
192
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
|
193
|
-
placeholder:
|
|
194
|
-
onKeyup: t[3] || (t[3] =
|
|
212
|
+
l(L, {
|
|
213
|
+
modelValue: o.value.channelId,
|
|
214
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
|
|
215
|
+
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
216
|
+
onKeyup: t[3] || (t[3] = M((e) => r(u).handleQuery(), ["enter"])),
|
|
195
217
|
class: "!w-[203px]",
|
|
196
218
|
filterable: "",
|
|
197
219
|
clearable: ""
|
|
198
220
|
}, {
|
|
199
221
|
default: a(() => [
|
|
200
|
-
(
|
|
222
|
+
(h(!0), A(ee, null, te(b.value, (e) => (h(), C(F, {
|
|
201
223
|
key: e.channelId,
|
|
202
|
-
label: r(
|
|
224
|
+
label: r(p).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
203
225
|
value: e.channelId
|
|
204
226
|
}, null, 8, ["label", "value"]))), 128))
|
|
205
227
|
]),
|
|
@@ -211,20 +233,20 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
211
233
|
]),
|
|
212
234
|
_: 1
|
|
213
235
|
}),
|
|
214
|
-
l(
|
|
236
|
+
l(f, { span: 6 }, {
|
|
215
237
|
default: a(() => [
|
|
216
|
-
l(
|
|
217
|
-
label:
|
|
238
|
+
l(v, {
|
|
239
|
+
label: n.$t("settleTradeReceipt.createTime"),
|
|
218
240
|
prop: "transferMoneyDate"
|
|
219
241
|
}, {
|
|
220
242
|
default: a(() => [
|
|
221
|
-
l(
|
|
222
|
-
modelValue:
|
|
223
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) =>
|
|
243
|
+
l(q, {
|
|
244
|
+
modelValue: o.value.transferMoneyDate,
|
|
245
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => o.value.transferMoneyDate = e),
|
|
224
246
|
type: "date",
|
|
225
247
|
format: "YYYY-MM-DD",
|
|
226
248
|
"value-format": "YYYY-MM-DD",
|
|
227
|
-
placeholder:
|
|
249
|
+
placeholder: n.$t("settleTradeReceipt.createTimeRead"),
|
|
228
250
|
clearable: !1
|
|
229
251
|
}, null, 8, ["modelValue", "placeholder"])
|
|
230
252
|
]),
|
|
@@ -233,24 +255,24 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
233
255
|
]),
|
|
234
256
|
_: 1
|
|
235
257
|
}),
|
|
236
|
-
l(
|
|
258
|
+
l(f, { span: 6 }, {
|
|
237
259
|
default: a(() => [
|
|
238
|
-
l(
|
|
260
|
+
l(v, { class: "search-btn" }, {
|
|
239
261
|
default: a(() => [
|
|
240
|
-
l(
|
|
262
|
+
l(w, {
|
|
241
263
|
type: "primary",
|
|
242
|
-
onClick: t[5] || (t[5] = (e) => r(
|
|
264
|
+
onClick: t[5] || (t[5] = (e) => r(u).handleQuery())
|
|
243
265
|
}, {
|
|
244
266
|
default: a(() => [
|
|
245
|
-
|
|
267
|
+
d(i(n.$t("common.search")), 1)
|
|
246
268
|
]),
|
|
247
269
|
_: 1
|
|
248
270
|
}),
|
|
249
|
-
l(
|
|
250
|
-
onClick: t[6] || (t[6] = (e) =>
|
|
271
|
+
l(w, {
|
|
272
|
+
onClick: t[6] || (t[6] = (e) => B())
|
|
251
273
|
}, {
|
|
252
274
|
default: a(() => [
|
|
253
|
-
|
|
275
|
+
d(i(n.$t("common.reset")), 1)
|
|
254
276
|
]),
|
|
255
277
|
_: 1
|
|
256
278
|
})
|
|
@@ -266,21 +288,21 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
266
288
|
]),
|
|
267
289
|
_: 1
|
|
268
290
|
}, 8, ["model"]),
|
|
269
|
-
l(
|
|
291
|
+
l(O, {
|
|
270
292
|
shadow: "never",
|
|
271
293
|
class: "table-container"
|
|
272
294
|
}, {
|
|
273
295
|
header: a(() => [
|
|
274
|
-
l(
|
|
296
|
+
l(I, null, {
|
|
275
297
|
default: a(() => [
|
|
276
|
-
l(
|
|
298
|
+
l(f, {
|
|
277
299
|
span: 24,
|
|
278
300
|
class: "container-float"
|
|
279
301
|
}, {
|
|
280
302
|
default: a(() => [
|
|
281
|
-
l(
|
|
282
|
-
modelValue: r(
|
|
283
|
-
"onUpdate:modelValue": t[7] || (t[7] = (e) =>
|
|
303
|
+
l(H, {
|
|
304
|
+
modelValue: r(c),
|
|
305
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => V(c) ? c.value = e : c = e),
|
|
284
306
|
"label-name": "settle/settle-trade-receipt"
|
|
285
307
|
}, null, 8, ["modelValue"])
|
|
286
308
|
]),
|
|
@@ -291,40 +313,50 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
291
313
|
})
|
|
292
314
|
]),
|
|
293
315
|
footer: a(() => [
|
|
294
|
-
r(
|
|
316
|
+
r(_) > 0 ? (h(), C(Q, {
|
|
295
317
|
key: 0,
|
|
296
|
-
total: r(
|
|
297
|
-
"onUpdate:total": t[8] || (t[8] = (e) =>
|
|
298
|
-
"current-page":
|
|
299
|
-
"onUpdate:currentPage": t[9] || (t[9] = (e) =>
|
|
300
|
-
"page-size":
|
|
301
|
-
"onUpdate:pageSize": t[10] || (t[10] = (e) =>
|
|
302
|
-
onPagination: t[11] || (t[11] = (e) => r(
|
|
303
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
318
|
+
total: r(_),
|
|
319
|
+
"onUpdate:total": t[8] || (t[8] = (e) => V(_) ? _.value = e : null),
|
|
320
|
+
"current-page": o.value.curPage,
|
|
321
|
+
"onUpdate:currentPage": t[9] || (t[9] = (e) => o.value.curPage = e),
|
|
322
|
+
"page-size": o.value.pageSize,
|
|
323
|
+
"onUpdate:pageSize": t[10] || (t[10] = (e) => o.value.pageSize = e),
|
|
324
|
+
onPagination: t[11] || (t[11] = (e) => r(u).getList())
|
|
325
|
+
}, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
|
|
304
326
|
]),
|
|
305
327
|
default: a(() => [
|
|
306
|
-
l(
|
|
328
|
+
l(K, {
|
|
307
329
|
ref_key: "multipleTableRef",
|
|
308
|
-
ref:
|
|
330
|
+
ref: N,
|
|
309
331
|
"row-key": "receiptId",
|
|
310
332
|
isSelection: !1,
|
|
311
|
-
"list-loading": r(
|
|
312
|
-
data: r(
|
|
313
|
-
"table-label": r(
|
|
314
|
-
onSelectionChange:
|
|
315
|
-
onSortChange:
|
|
333
|
+
"list-loading": r(P),
|
|
334
|
+
data: r(R),
|
|
335
|
+
"table-label": r(c),
|
|
336
|
+
onSelectionChange: U,
|
|
337
|
+
onSortChange: j
|
|
316
338
|
}, {
|
|
317
339
|
transferMoneyDate: a((e) => [
|
|
318
|
-
|
|
340
|
+
d(i(r(y).$moment.formatDate(
|
|
319
341
|
e.data.row.transferMoneyDate + " " + e.data.row.transferMoneyTime,
|
|
320
342
|
"YYYY-MM-DD HH:mm:ss"
|
|
321
343
|
)), 1)
|
|
322
344
|
]),
|
|
323
345
|
instsId: a((e) => [
|
|
324
|
-
|
|
346
|
+
d(i(r(p).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
325
347
|
]),
|
|
326
348
|
agentCode: a((e) => [
|
|
327
|
-
|
|
349
|
+
d(i(r(ie)(e.data.row.agentCode)), 1)
|
|
350
|
+
]),
|
|
351
|
+
operation: a((e) => [
|
|
352
|
+
ae((h(), A("span", {
|
|
353
|
+
class: "el-button-color",
|
|
354
|
+
onClick: (he) => z(e.data.row)
|
|
355
|
+
}, [
|
|
356
|
+
d(i(n.$t("settleTradeAnalysis.view")), 1)
|
|
357
|
+
], 8, fe)), [
|
|
358
|
+
[G, ["payment:trade_analysis:view"]]
|
|
359
|
+
])
|
|
328
360
|
]),
|
|
329
361
|
_: 1
|
|
330
362
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -338,5 +370,5 @@ const se = new re(), he = /* @__PURE__ */ q({
|
|
|
338
370
|
}
|
|
339
371
|
});
|
|
340
372
|
export {
|
|
341
|
-
|
|
373
|
+
Re as _
|
|
342
374
|
};
|
|
@@ -3,7 +3,7 @@ import { useI18n as O } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as k, clearEmpty as W, request as X, useTableHooks as Z } from "jmash-core";
|
|
4
4
|
import { tokenExt as ee } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as te } from "xyvcard-merchant";
|
|
6
|
-
import { D as c } from "./index-
|
|
6
|
+
import { D as c } from "./index-BgbsFf1D.mjs";
|
|
7
7
|
import { g as le } from "./agent-R-Ml-XTA.mjs";
|
|
8
8
|
class ae {
|
|
9
9
|
getKey(d) {
|
package/dts/src/constant.d.ts
CHANGED