xyvcard-settle 0.0.34 → 0.0.35
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-BC3TB9eA.mjs → history-DppKTWsM.mjs} +1 -1
- package/dist/{history-BUclRbel.mjs → history-Dv2zWu7t.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Ckmyrwct.mjs → history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs} +152 -165
- package/dist/{history.vue_vue_type_script_setup_true_lang-Cd1HTqlw.mjs → history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs} +97 -110
- package/dist/{index-ziENx26r.mjs → index--ePSl3VP.mjs} +193 -202
- package/dist/{index-CgthiwpC.mjs → index-B1T6GA_X.mjs} +91 -104
- package/dist/{index-DcOxpuPI.mjs → index-B7xd6ock.mjs} +1 -1
- package/dist/{index-CL6yVyGz.mjs → index-BV7Yx1ZN.mjs} +200 -213
- package/dist/{index-GU7-SzuX.mjs → index-CFBavxqo.mjs} +1 -1
- package/dist/{index-C7mTT8UR.mjs → index-CTi-ETJs.mjs} +105 -118
- package/dist/{index-CZpZionn.mjs → index-DHS0CvTn.mjs} +148 -161
- package/dist/{index-BzQRjJke.mjs → index-Zo3QX_fX.mjs} +1 -1
- package/dist/{index-Cjw03ApZ.mjs → index-ydbomkpG.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,73 +1,62 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useUserStore as
|
|
4
|
-
import { channelApi as
|
|
1
|
+
import { defineComponent as W, getCurrentInstance as X, ref as g, resolveComponent as o, createElementBlock as R, openBlock as i, createVNode as n, withCtx as l, withKeys as I, unref as r, Fragment as Z, renderList as ee, createBlock as k, createTextVNode as D, toDisplayString as y, createCommentVNode as te, isRef as S } from "vue";
|
|
2
|
+
import { useI18n as ae } from "vue-i18n";
|
|
3
|
+
import { useUserStore as v, clearEmpty as le, request as ne, useTableHooks as oe } from "jmash-core";
|
|
4
|
+
import { channelApi as re } from "xyvcard-merchant";
|
|
5
5
|
import { tokenExt as V } from "xyvcard-agent";
|
|
6
|
-
import { D as
|
|
7
|
-
class
|
|
8
|
-
getKey(
|
|
6
|
+
import { D as T, C as N } from "./index-CxsNyMdg.mjs";
|
|
7
|
+
class se {
|
|
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/my/page/" +
|
|
14
|
+
findPage(d) {
|
|
15
|
+
const p = v().user.tenant;
|
|
16
|
+
return le(d), ne({
|
|
17
|
+
url: "/v1/settle/receipt/my/page/" + p,
|
|
18
18
|
method: "get",
|
|
19
|
-
params:
|
|
19
|
+
params: d
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const ue = new se(), de = { class: "app-container" }, pe = { key: 0 }, ie = { key: 1 }, be = /* @__PURE__ */ W({
|
|
24
24
|
__name: "history",
|
|
25
|
-
setup(
|
|
26
|
-
const { t:
|
|
27
|
-
|
|
28
|
-
const { proxy:
|
|
29
|
-
tokenExt: V.getTokenExt(
|
|
30
|
-
}), w =
|
|
31
|
-
|
|
25
|
+
setup($) {
|
|
26
|
+
const { t: d } = ae();
|
|
27
|
+
T.instsBizDict.useValues();
|
|
28
|
+
const { proxy: p } = X(), s = g({
|
|
29
|
+
tokenExt: V.getTokenExt(v().user.tenant)
|
|
30
|
+
}), w = g([]), Y = localStorage.getItem("selectMerchantId");
|
|
31
|
+
re.myFindList({ merchantId: Y }).then((a) => {
|
|
32
32
|
w.value = a.data.results;
|
|
33
33
|
});
|
|
34
|
-
const A =
|
|
34
|
+
const A = g(V.getCurrentRole(v().user.tenant)), m = g([]);
|
|
35
35
|
function E(a) {
|
|
36
|
-
(!u.value || u.value.length === 0) && (u.value = [a, null]);
|
|
37
|
-
}
|
|
38
|
-
function F(a) {
|
|
39
|
-
if (!u.value || u.value.length === 0)
|
|
40
|
-
return !1;
|
|
41
|
-
const e = u.value[0];
|
|
42
|
-
if (!e) return !1;
|
|
43
|
-
const i = new Date(e), f = i.getMonth(), p = i.getFullYear();
|
|
44
|
-
return a.getMonth() !== f || a.getFullYear() !== p;
|
|
45
|
-
}
|
|
46
|
-
function P(a) {
|
|
47
36
|
if (!a || a.length !== 2) return;
|
|
48
|
-
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
|
|
37
|
+
m.value = a;
|
|
38
|
+
const t = new Date(a[0]), b = new Date(a[1]);
|
|
39
|
+
if (t.getMonth() !== b.getMonth() || t.getFullYear() !== b.getFullYear()) {
|
|
40
|
+
m.value = [], p.$message.warning("开始时间和结束时间必须在同一个月");
|
|
52
41
|
return;
|
|
53
42
|
}
|
|
54
|
-
s.value.transferMoneyDateStart =
|
|
43
|
+
s.value.transferMoneyDateStart = p.$moment.formatDate(
|
|
55
44
|
a[0],
|
|
56
45
|
N.RPC_FORMAT_TIME
|
|
57
|
-
), s.value.transferMoneyDateEnd =
|
|
46
|
+
), s.value.transferMoneyDateEnd = p.$moment.formatDate(
|
|
58
47
|
a[1],
|
|
59
48
|
N.RPC_FORMAT_TIME
|
|
60
49
|
);
|
|
61
50
|
}
|
|
62
51
|
const {
|
|
63
|
-
tableHooks:
|
|
52
|
+
tableHooks: u,
|
|
64
53
|
multipleTableRef: z,
|
|
65
|
-
queryFormRef:
|
|
66
|
-
listLoading:
|
|
67
|
-
tableData:
|
|
54
|
+
queryFormRef: F,
|
|
55
|
+
listLoading: P,
|
|
56
|
+
tableData: U,
|
|
68
57
|
total: _
|
|
69
|
-
} =
|
|
70
|
-
let
|
|
58
|
+
} = oe(d, ue, s);
|
|
59
|
+
let c = g([
|
|
71
60
|
// 序号
|
|
72
61
|
{
|
|
73
62
|
label: "settleTradeReceipt.index",
|
|
@@ -144,39 +133,39 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
144
133
|
isColumn: !0
|
|
145
134
|
}
|
|
146
135
|
]);
|
|
147
|
-
function
|
|
148
|
-
|
|
136
|
+
function j() {
|
|
137
|
+
m.value = [], u.resetQuery();
|
|
149
138
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
139
|
+
function B(a) {
|
|
140
|
+
u.selectionRows.value = a;
|
|
152
141
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
142
|
+
function L(a) {
|
|
143
|
+
u.handleSort(a.prop, a.order);
|
|
155
144
|
}
|
|
156
|
-
return
|
|
157
|
-
const
|
|
158
|
-
return
|
|
159
|
-
n(
|
|
145
|
+
return u.getList(), (a, t) => {
|
|
146
|
+
const b = o("el-input"), h = o("el-form-item"), f = o("el-col"), Q = o("el-option"), x = o("el-select"), H = o("el-date-picker"), M = o("el-row"), C = o("el-button"), K = o("el-form"), q = o("jmash-column-select"), O = o("jmash-table"), G = o("jmash-pagination"), J = o("el-card");
|
|
147
|
+
return i(), R("div", de, [
|
|
148
|
+
n(K, {
|
|
160
149
|
ref_key: "queryFormRef",
|
|
161
|
-
ref:
|
|
150
|
+
ref: F,
|
|
162
151
|
model: s.value,
|
|
163
152
|
inline: !0
|
|
164
153
|
}, {
|
|
165
154
|
default: l(() => [
|
|
166
155
|
n(M, null, {
|
|
167
156
|
default: l(() => [
|
|
168
|
-
n(
|
|
157
|
+
n(f, { span: 6 }, {
|
|
169
158
|
default: l(() => [
|
|
170
|
-
n(
|
|
159
|
+
n(h, {
|
|
171
160
|
label: a.$t("settleTradeReceipt.termNo"),
|
|
172
161
|
prop: "termNo"
|
|
173
162
|
}, {
|
|
174
163
|
default: l(() => [
|
|
175
|
-
n(
|
|
164
|
+
n(b, {
|
|
176
165
|
modelValue: s.value.termNo,
|
|
177
|
-
"onUpdate:modelValue":
|
|
166
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.value.termNo = e),
|
|
178
167
|
placeholder: a.$t("settleTradeReceipt.termNoRead"),
|
|
179
|
-
onKeyup:
|
|
168
|
+
onKeyup: t[1] || (t[1] = I((e) => r(u).handleQuery(), ["enter"])),
|
|
180
169
|
class: "!w-[203px]"
|
|
181
170
|
}, null, 8, ["modelValue", "placeholder"])
|
|
182
171
|
]),
|
|
@@ -185,27 +174,27 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
185
174
|
]),
|
|
186
175
|
_: 1
|
|
187
176
|
}),
|
|
188
|
-
n(
|
|
177
|
+
n(f, { span: 6 }, {
|
|
189
178
|
default: l(() => [
|
|
190
|
-
n(
|
|
179
|
+
n(h, {
|
|
191
180
|
label: a.$t("settleTradeAnalysis.channelId"),
|
|
192
181
|
prop: "channelId"
|
|
193
182
|
}, {
|
|
194
183
|
default: l(() => [
|
|
195
|
-
n(
|
|
184
|
+
n(x, {
|
|
196
185
|
modelValue: s.value.channelId,
|
|
197
|
-
"onUpdate:modelValue":
|
|
186
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => s.value.channelId = e),
|
|
198
187
|
placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
|
|
199
|
-
onKeyup:
|
|
188
|
+
onKeyup: t[3] || (t[3] = I((e) => r(u).handleQuery(), ["enter"])),
|
|
200
189
|
class: "!w-[203px]",
|
|
201
190
|
filterable: "",
|
|
202
191
|
clearable: ""
|
|
203
192
|
}, {
|
|
204
193
|
default: l(() => [
|
|
205
|
-
(
|
|
206
|
-
key:
|
|
207
|
-
label: r(
|
|
208
|
-
value:
|
|
194
|
+
(i(!0), R(Z, null, ee(w.value, (e) => (i(), k(Q, {
|
|
195
|
+
key: e.channelId,
|
|
196
|
+
label: r(T).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
197
|
+
value: e.channelId
|
|
209
198
|
}, null, 8, ["label", "value"]))), 128))
|
|
210
199
|
]),
|
|
211
200
|
_: 1
|
|
@@ -216,25 +205,23 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
216
205
|
]),
|
|
217
206
|
_: 1
|
|
218
207
|
}),
|
|
219
|
-
n(
|
|
208
|
+
n(f, { span: 6 }, {
|
|
220
209
|
default: l(() => [
|
|
221
|
-
n(
|
|
210
|
+
n(h, {
|
|
222
211
|
label: a.$t("settleTradeReceipt.createTime"),
|
|
223
212
|
prop: "analysisTimeStart"
|
|
224
213
|
}, {
|
|
225
214
|
default: l(() => [
|
|
226
|
-
n(
|
|
227
|
-
modelValue:
|
|
228
|
-
"onUpdate:modelValue":
|
|
215
|
+
n(H, {
|
|
216
|
+
modelValue: m.value,
|
|
217
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => m.value = e),
|
|
229
218
|
type: "daterange",
|
|
230
219
|
format: "YYYY-MM-DD",
|
|
231
220
|
"value-format": "YYYY-MM-DD",
|
|
232
221
|
"range-separator": "-",
|
|
233
222
|
"start-placeholder": a.$t("settleTradeReceipt.transferMoneyDateStart"),
|
|
234
223
|
"end-placeholder": a.$t("settleTradeReceipt.transferMoneyDateEnd"),
|
|
235
|
-
onChange:
|
|
236
|
-
"disabled-date": F,
|
|
237
|
-
onPick: E,
|
|
224
|
+
onChange: E,
|
|
238
225
|
style: { width: "280px" }
|
|
239
226
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
240
227
|
]),
|
|
@@ -248,24 +235,24 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
248
235
|
}),
|
|
249
236
|
n(M, null, {
|
|
250
237
|
default: l(() => [
|
|
251
|
-
n(
|
|
238
|
+
n(f, { span: 24 }, {
|
|
252
239
|
default: l(() => [
|
|
253
|
-
n(
|
|
240
|
+
n(h, { class: "search-btn" }, {
|
|
254
241
|
default: l(() => [
|
|
255
242
|
n(C, {
|
|
256
243
|
type: "primary",
|
|
257
|
-
onClick:
|
|
244
|
+
onClick: t[5] || (t[5] = (e) => r(u).handleQuery())
|
|
258
245
|
}, {
|
|
259
246
|
default: l(() => [
|
|
260
|
-
|
|
247
|
+
D(y(a.$t("common.search")), 1)
|
|
261
248
|
]),
|
|
262
249
|
_: 1
|
|
263
250
|
}),
|
|
264
251
|
n(C, {
|
|
265
|
-
onClick:
|
|
252
|
+
onClick: t[6] || (t[6] = (e) => j())
|
|
266
253
|
}, {
|
|
267
254
|
default: l(() => [
|
|
268
|
-
|
|
255
|
+
D(y(a.$t("common.reset")), 1)
|
|
269
256
|
]),
|
|
270
257
|
_: 1
|
|
271
258
|
})
|
|
@@ -281,21 +268,21 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
281
268
|
]),
|
|
282
269
|
_: 1
|
|
283
270
|
}, 8, ["model"]),
|
|
284
|
-
n(
|
|
271
|
+
n(J, {
|
|
285
272
|
shadow: "never",
|
|
286
273
|
class: "table-container"
|
|
287
274
|
}, {
|
|
288
275
|
header: l(() => [
|
|
289
276
|
n(M, null, {
|
|
290
277
|
default: l(() => [
|
|
291
|
-
n(
|
|
278
|
+
n(f, {
|
|
292
279
|
span: 24,
|
|
293
280
|
class: "container-float"
|
|
294
281
|
}, {
|
|
295
282
|
default: l(() => [
|
|
296
|
-
n(
|
|
297
|
-
modelValue: r(
|
|
298
|
-
"onUpdate:modelValue":
|
|
283
|
+
n(q, {
|
|
284
|
+
modelValue: r(c),
|
|
285
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => S(c) ? c.value = e : c = e),
|
|
299
286
|
"label-name": "settle/settle-trade-receipt"
|
|
300
287
|
}, null, 8, ["modelValue"])
|
|
301
288
|
]),
|
|
@@ -306,40 +293,40 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
306
293
|
})
|
|
307
294
|
]),
|
|
308
295
|
footer: l(() => [
|
|
309
|
-
r(_) > 0 ? (
|
|
296
|
+
r(_) > 0 ? (i(), k(G, {
|
|
310
297
|
key: 0,
|
|
311
298
|
total: r(_),
|
|
312
|
-
"onUpdate:total":
|
|
299
|
+
"onUpdate:total": t[8] || (t[8] = (e) => S(_) ? _.value = e : null),
|
|
313
300
|
"current-page": s.value.curPage,
|
|
314
|
-
"onUpdate:currentPage":
|
|
301
|
+
"onUpdate:currentPage": t[9] || (t[9] = (e) => s.value.curPage = e),
|
|
315
302
|
"page-size": s.value.pageSize,
|
|
316
|
-
"onUpdate:pageSize":
|
|
317
|
-
onPagination:
|
|
318
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
303
|
+
"onUpdate:pageSize": t[10] || (t[10] = (e) => s.value.pageSize = e),
|
|
304
|
+
onPagination: t[11] || (t[11] = (e) => r(u).getList())
|
|
305
|
+
}, null, 8, ["total", "current-page", "page-size"])) : te("", !0)
|
|
319
306
|
]),
|
|
320
307
|
default: l(() => [
|
|
321
|
-
n(
|
|
308
|
+
n(O, {
|
|
322
309
|
ref_key: "multipleTableRef",
|
|
323
310
|
ref: z,
|
|
324
311
|
"row-key": "receiptId",
|
|
325
312
|
isSelection: !1,
|
|
326
|
-
"list-loading": r(
|
|
327
|
-
data: r(
|
|
328
|
-
"table-label": r(
|
|
329
|
-
onSelectionChange:
|
|
330
|
-
onSortChange:
|
|
313
|
+
"list-loading": r(P),
|
|
314
|
+
data: r(U),
|
|
315
|
+
"table-label": r(c),
|
|
316
|
+
onSelectionChange: B,
|
|
317
|
+
onSortChange: L
|
|
331
318
|
}, {
|
|
332
|
-
instsId: l((
|
|
333
|
-
|
|
319
|
+
instsId: l((e) => [
|
|
320
|
+
D(y(r(T).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
334
321
|
]),
|
|
335
|
-
transferMoneyDate: l((
|
|
336
|
-
|
|
337
|
-
new Date(
|
|
322
|
+
transferMoneyDate: l((e) => [
|
|
323
|
+
e.data.row.transferMoneyDate ? (i(), R("span", pe, y(r(p).$moment.formatDate(
|
|
324
|
+
new Date(e.data.row.transferMoneyDate),
|
|
338
325
|
"YYYY-MM-DD HH:mm"
|
|
339
|
-
)), 1)) : (
|
|
326
|
+
)), 1)) : (i(), R("span", ie))
|
|
340
327
|
]),
|
|
341
|
-
agentCode: l((
|
|
342
|
-
|
|
328
|
+
agentCode: l((e) => [
|
|
329
|
+
D(y(A.value.agentAlias), 1)
|
|
343
330
|
]),
|
|
344
331
|
_: 1
|
|
345
332
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -351,5 +338,5 @@ const ie = new de(), pe = { class: "app-container" }, me = { key: 0 }, ce = { ke
|
|
|
351
338
|
}
|
|
352
339
|
});
|
|
353
340
|
export {
|
|
354
|
-
|
|
341
|
+
be as _
|
|
355
342
|
};
|