xyvcard-settle 0.0.42 → 0.0.44
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/agent-BXhE-jbg.mjs +32 -0
- package/dist/{history-Bjxjxy_1.mjs → history-BAkRg2pq.mjs} +1 -1
- package/dist/{history-CyGeajMX.mjs → history-Dn1bbCcI.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-dd7Qrf3A.mjs → history.vue_vue_type_script_setup_true_lang-CgrLgBqg.mjs} +76 -75
- package/dist/{history.vue_vue_type_script_setup_true_lang-DzyW9ohx.mjs → history.vue_vue_type_script_setup_true_lang-Dl65zcTa.mjs} +136 -149
- package/dist/{index-I-KFULpq.mjs → index-A0dvO46M.mjs} +416 -415
- package/dist/{index-Csk-TNBj.mjs → index-BOrI7JtW.mjs} +2 -2
- package/dist/{index-BMj5XmMX.mjs → index-BRU67qDa.mjs} +227 -240
- package/dist/{index-C-A0Y3EK.mjs → index-BTCLMpHR.mjs} +59 -63
- package/dist/index-CE4_NZLb.mjs +129 -0
- package/dist/index-CGc-CaEO.mjs +91 -0
- package/dist/{index-vIbGxvHd.mjs → index-CaaOEjHM.mjs} +2 -2
- package/dist/{index-BpcmzxBU.mjs → index-CbEHaatk.mjs} +3 -3
- package/dist/index-Dp6vdCsP.mjs +713 -0
- package/dist/{index-CGyzqfPx.mjs → index-DsEuGxTJ.mjs} +216 -229
- package/dist/{index-DsTHP6ez.mjs → index-DzN2x713.mjs} +46 -46
- package/dist/{index-BA1OfmNb.mjs → index-oJY5i5R_.mjs} +2 -2
- package/dist/{index-x556wvD_.mjs → index-vF1PDwWz.mjs} +214 -229
- package/dist/index-yz18Lhpm.mjs +113 -0
- package/dist/index.mjs +1 -1
- package/dist/{merchant-BENZD2R4.mjs → merchant-u4dNCa0T.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs → merchant.vue_vue_type_script_setup_true_lang-CvB7L7G7.mjs} +2 -2
- package/dist/{pay-BK10dbR-.mjs → pay-CvwrYB4j.mjs} +1 -1
- package/dist/{pay-D04R69xf.mjs → pay-Db-UEae3.mjs} +2 -2
- package/dist/{payPal-C5Hhq3pQ.mjs → payPal-3RoPmLkF.mjs} +20 -21
- package/dist/{payPal-Bfu4en0b.mjs → payPal-Cm1ZmJdL.mjs} +7 -8
- package/dist/{sale-Cki0rZ6-.mjs → sale-CuEqsPD7.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs → sale.vue_vue_type_script_setup_true_lang-DXUIMGjh.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-DFnsrdAZ.mjs → today-C1jwQmNs.mjs} +1 -1
- package/dist/{today-DYd5N03E.mjs → today-ZrG0UNrv.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-Cf3MjsXi.mjs → today.vue_vue_type_script_setup_true_lang-BPQu6Gke.mjs} +74 -73
- package/dist/{today.vue_vue_type_script_setup_true_lang-D2JX696c.mjs → today.vue_vue_type_script_setup_true_lang-CZqnx44q.mjs} +116 -129
- package/dist/{trend-3ibJo3lK.mjs → trend-XEzpdsLj.mjs} +1 -1
- package/dts/src/api/settle/agent.d.ts +15 -0
- package/package.json +2 -2
- package/dist/constant-CtDv38CM.mjs +0 -24
- package/dist/index-C6Tt7EGW.mjs +0 -726
- package/dist/index-D9OMutL6.mjs +0 -64
- package/dist/index-Doq8ZiUn.mjs +0 -136
- package/dist/index-V8g7-RWq.mjs +0 -95
- package/dist/tokenExt-SHK5rrb5.mjs +0 -31
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var t = Object.defineProperty;
|
|
2
|
+
var a = (r, s, e) => s in r ? t(r, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[s] = e;
|
|
3
|
+
var i = (r, s, e) => a(r, typeof s != "symbol" ? s + "" : s, e);
|
|
4
|
+
import { reactive as n } from "vue";
|
|
5
|
+
import { infoApi as u } from "xyvcard-agent";
|
|
6
|
+
class o {
|
|
7
|
+
constructor() {
|
|
8
|
+
// 用户信息缓存
|
|
9
|
+
i(this, "userInfoMap", /* @__PURE__ */ new Map());
|
|
10
|
+
// 默认用户信息
|
|
11
|
+
i(this, "defauleUserInfo", n({}));
|
|
12
|
+
}
|
|
13
|
+
// 获取用户信息
|
|
14
|
+
userInfo(s) {
|
|
15
|
+
if (s == null || s === "")
|
|
16
|
+
return this.defauleUserInfo;
|
|
17
|
+
if (!this.userInfoMap.has(s)) {
|
|
18
|
+
const e = n({});
|
|
19
|
+
this.userInfoMap.set(s, e), u.findById({ agentCode: s }).then((f) => {
|
|
20
|
+
Object.assign(e, f.data);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return this.userInfoMap.get(s);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const p = new o();
|
|
27
|
+
function l(r) {
|
|
28
|
+
return p.userInfo(r).agentAlias;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
l as g
|
|
32
|
+
};
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useUserStore as
|
|
4
|
-
import { channelApi as
|
|
5
|
-
import { tokenExt as
|
|
6
|
-
import { D } from "./index-
|
|
7
|
-
import { DateRange as
|
|
1
|
+
import { defineComponent as K, getCurrentInstance as Q, ref as D, onActivated as q, resolveComponent as s, createElementBlock as b, openBlock as u, createVNode as a, withCtx as l, withKeys as R, unref as o, Fragment as x, renderList as G, createBlock as w, withDirectives as J, vShow as O, createTextVNode as g, toDisplayString as f, createCommentVNode as W, isRef as C } from "vue";
|
|
2
|
+
import { useI18n as X } from "vue-i18n";
|
|
3
|
+
import { useUserStore as I, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
|
|
4
|
+
import { channelApi as ae } from "xyvcard-merchant";
|
|
5
|
+
import { tokenExt as le } from "xyvcard-agent";
|
|
6
|
+
import { D as v } from "./index-yz18Lhpm.mjs";
|
|
7
|
+
import { DateRange as ne } from "xyvcard-insts";
|
|
8
|
+
import { g as oe } from "./agent-BXhE-jbg.mjs";
|
|
8
9
|
class re {
|
|
9
|
-
getKey(
|
|
10
|
+
getKey(i) {
|
|
10
11
|
return {
|
|
11
|
-
receiptId:
|
|
12
|
+
receiptId: i.receiptId
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
// 查询翻页信息划款信息查询-到账(历史)
|
|
15
|
-
findPage(
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
url: "/v1/settle/receipt/my/page/" +
|
|
16
|
+
findPage(i) {
|
|
17
|
+
const _ = I().user.tenant;
|
|
18
|
+
return Z(i), ee({
|
|
19
|
+
url: "/v1/settle/receipt/my/page/" + _,
|
|
19
20
|
method: "get",
|
|
20
|
-
params:
|
|
21
|
+
params: i
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
const se = new re(),
|
|
25
|
+
const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { key: 1 }, he = /* @__PURE__ */ K({
|
|
25
26
|
__name: "history",
|
|
26
|
-
setup(
|
|
27
|
-
const { t:
|
|
28
|
-
|
|
29
|
-
const { proxy:
|
|
30
|
-
tokenExt:
|
|
31
|
-
}),
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
setup(S) {
|
|
28
|
+
const { t: i } = X();
|
|
29
|
+
v.instsBizDict.useValues();
|
|
30
|
+
const { proxy: _ } = Q(), r = D({
|
|
31
|
+
tokenExt: le.getTokenExt(I().user.tenant)
|
|
32
|
+
}), M = D([]), k = localStorage.getItem("selectMerchantId");
|
|
33
|
+
ae.myFindList({ merchantId: k }).then((n) => {
|
|
34
|
+
M.value = n.data.results;
|
|
34
35
|
});
|
|
35
|
-
const
|
|
36
|
-
tableHooks:
|
|
37
|
-
multipleTableRef:
|
|
38
|
-
queryFormRef:
|
|
39
|
-
listLoading:
|
|
40
|
-
tableData:
|
|
36
|
+
const {
|
|
37
|
+
tableHooks: d,
|
|
38
|
+
multipleTableRef: N,
|
|
39
|
+
queryFormRef: V,
|
|
40
|
+
listLoading: $,
|
|
41
|
+
tableData: Y,
|
|
41
42
|
total: y
|
|
42
|
-
} =
|
|
43
|
-
let p =
|
|
43
|
+
} = te(i, se, r);
|
|
44
|
+
let p = D([
|
|
44
45
|
// 序号
|
|
45
46
|
{
|
|
46
47
|
label: "settleTradeReceipt.index",
|
|
@@ -117,25 +118,25 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
117
118
|
isColumn: !0
|
|
118
119
|
}
|
|
119
120
|
]);
|
|
120
|
-
function
|
|
121
|
-
|
|
121
|
+
function A(n) {
|
|
122
|
+
d.selectionRows.value = n;
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
-
|
|
124
|
+
function U(n) {
|
|
125
|
+
d.handleSort(n.prop, n.order);
|
|
125
126
|
}
|
|
126
|
-
return
|
|
127
|
-
|
|
127
|
+
return q(() => {
|
|
128
|
+
d.getList();
|
|
128
129
|
}), (n, t) => {
|
|
129
|
-
const
|
|
130
|
-
return
|
|
131
|
-
a(
|
|
130
|
+
const E = s("el-input"), m = s("el-form-item"), c = s("el-col"), z = s("el-option"), j = s("el-select"), h = s("el-row"), T = s("el-button"), B = s("el-form"), L = s("jmash-column-select"), P = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
|
|
131
|
+
return u(), b("div", de, [
|
|
132
|
+
a(B, {
|
|
132
133
|
ref_key: "queryFormRef",
|
|
133
|
-
ref:
|
|
134
|
+
ref: V,
|
|
134
135
|
model: r.value,
|
|
135
136
|
inline: !0
|
|
136
137
|
}, {
|
|
137
138
|
default: l(() => [
|
|
138
|
-
a(
|
|
139
|
+
a(h, null, {
|
|
139
140
|
default: l(() => [
|
|
140
141
|
a(c, { span: 6 }, {
|
|
141
142
|
default: l(() => [
|
|
@@ -144,11 +145,11 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
144
145
|
prop: "termNo"
|
|
145
146
|
}, {
|
|
146
147
|
default: l(() => [
|
|
147
|
-
a(
|
|
148
|
+
a(E, {
|
|
148
149
|
modelValue: r.value.termNo,
|
|
149
150
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.termNo = e),
|
|
150
151
|
placeholder: n.$t("settleTradeReceipt.termNoRead"),
|
|
151
|
-
onKeyup: t[1] || (t[1] =
|
|
152
|
+
onKeyup: t[1] || (t[1] = R((e) => o(d).handleQuery(), ["enter"])),
|
|
152
153
|
class: "!w-[203px]"
|
|
153
154
|
}, null, 8, ["modelValue", "placeholder"])
|
|
154
155
|
]),
|
|
@@ -164,19 +165,19 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
164
165
|
prop: "channelId"
|
|
165
166
|
}, {
|
|
166
167
|
default: l(() => [
|
|
167
|
-
a(
|
|
168
|
+
a(j, {
|
|
168
169
|
modelValue: r.value.channelId,
|
|
169
170
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
|
|
170
171
|
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
171
|
-
onKeyup: t[3] || (t[3] =
|
|
172
|
+
onKeyup: t[3] || (t[3] = R((e) => o(d).handleQuery(), ["enter"])),
|
|
172
173
|
class: "!w-[203px]",
|
|
173
174
|
filterable: "",
|
|
174
175
|
clearable: ""
|
|
175
176
|
}, {
|
|
176
177
|
default: l(() => [
|
|
177
|
-
(
|
|
178
|
+
(u(!0), b(x, null, G(M.value, (e) => (u(), w(z, {
|
|
178
179
|
key: e.channelId,
|
|
179
|
-
label: o(
|
|
180
|
+
label: o(v).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
180
181
|
value: e.channelId
|
|
181
182
|
}, null, 8, ["label", "value"]))), 128))
|
|
182
183
|
]),
|
|
@@ -195,7 +196,7 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
195
196
|
prop: "transferMoneyDateStart"
|
|
196
197
|
}, {
|
|
197
198
|
default: l(() => [
|
|
198
|
-
a(o(
|
|
199
|
+
a(o(ne), {
|
|
199
200
|
"start-time": r.value.transferMoneyDateStart,
|
|
200
201
|
"onUpdate:startTime": t[4] || (t[4] = (e) => r.value.transferMoneyDateStart = e),
|
|
201
202
|
"end-time": r.value.transferMoneyDateEnd,
|
|
@@ -209,8 +210,8 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
209
210
|
]),
|
|
210
211
|
_: 1
|
|
211
212
|
}, 8, ["label"]),
|
|
212
|
-
|
|
213
|
-
[
|
|
213
|
+
J(a(m, { prop: "transferMoneyDateEnd" }, null, 512), [
|
|
214
|
+
[O, !1]
|
|
214
215
|
])
|
|
215
216
|
]),
|
|
216
217
|
_: 1
|
|
@@ -218,7 +219,7 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
218
219
|
]),
|
|
219
220
|
_: 1
|
|
220
221
|
}),
|
|
221
|
-
a(
|
|
222
|
+
a(h, null, {
|
|
222
223
|
default: l(() => [
|
|
223
224
|
a(c, { span: 24 }, {
|
|
224
225
|
default: l(() => [
|
|
@@ -226,18 +227,18 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
226
227
|
default: l(() => [
|
|
227
228
|
a(T, {
|
|
228
229
|
type: "primary",
|
|
229
|
-
onClick: t[6] || (t[6] = (e) => o(
|
|
230
|
+
onClick: t[6] || (t[6] = (e) => o(d).handleQuery())
|
|
230
231
|
}, {
|
|
231
232
|
default: l(() => [
|
|
232
|
-
|
|
233
|
+
g(f(n.$t("common.search")), 1)
|
|
233
234
|
]),
|
|
234
235
|
_: 1
|
|
235
236
|
}),
|
|
236
237
|
a(T, {
|
|
237
|
-
onClick: t[7] || (t[7] = (e) => o(
|
|
238
|
+
onClick: t[7] || (t[7] = (e) => o(d).resetQuery())
|
|
238
239
|
}, {
|
|
239
240
|
default: l(() => [
|
|
240
|
-
|
|
241
|
+
g(f(n.$t("common.reset")), 1)
|
|
241
242
|
]),
|
|
242
243
|
_: 1
|
|
243
244
|
})
|
|
@@ -253,21 +254,21 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
253
254
|
]),
|
|
254
255
|
_: 1
|
|
255
256
|
}, 8, ["model"]),
|
|
256
|
-
a(
|
|
257
|
+
a(H, {
|
|
257
258
|
shadow: "never",
|
|
258
259
|
class: "table-container"
|
|
259
260
|
}, {
|
|
260
261
|
header: l(() => [
|
|
261
|
-
a(
|
|
262
|
+
a(h, null, {
|
|
262
263
|
default: l(() => [
|
|
263
264
|
a(c, {
|
|
264
265
|
span: 24,
|
|
265
266
|
class: "container-float"
|
|
266
267
|
}, {
|
|
267
268
|
default: l(() => [
|
|
268
|
-
a(
|
|
269
|
+
a(L, {
|
|
269
270
|
modelValue: o(p),
|
|
270
|
-
"onUpdate:modelValue": t[8] || (t[8] = (e) =>
|
|
271
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => C(p) ? p.value = e : p = e),
|
|
271
272
|
"label-name": "settle/settle-trade-receipt"
|
|
272
273
|
}, null, 8, ["modelValue"])
|
|
273
274
|
]),
|
|
@@ -278,40 +279,40 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
278
279
|
})
|
|
279
280
|
]),
|
|
280
281
|
footer: l(() => [
|
|
281
|
-
o(y) > 0 ? (
|
|
282
|
+
o(y) > 0 ? (u(), w(F, {
|
|
282
283
|
key: 0,
|
|
283
284
|
total: o(y),
|
|
284
|
-
"onUpdate:total": t[9] || (t[9] = (e) =>
|
|
285
|
+
"onUpdate:total": t[9] || (t[9] = (e) => C(y) ? y.value = e : null),
|
|
285
286
|
"current-page": r.value.curPage,
|
|
286
287
|
"onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
|
|
287
288
|
"page-size": r.value.pageSize,
|
|
288
289
|
"onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
|
|
289
|
-
onPagination: t[12] || (t[12] = (e) => o(
|
|
290
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
290
|
+
onPagination: t[12] || (t[12] = (e) => o(d).getList())
|
|
291
|
+
}, null, 8, ["total", "current-page", "page-size"])) : W("", !0)
|
|
291
292
|
]),
|
|
292
293
|
default: l(() => [
|
|
293
|
-
a(
|
|
294
|
+
a(P, {
|
|
294
295
|
ref_key: "multipleTableRef",
|
|
295
|
-
ref:
|
|
296
|
+
ref: N,
|
|
296
297
|
"row-key": "receiptId",
|
|
297
298
|
isSelection: !1,
|
|
298
|
-
"list-loading": o(
|
|
299
|
-
data: o(
|
|
299
|
+
"list-loading": o($),
|
|
300
|
+
data: o(Y),
|
|
300
301
|
"table-label": o(p),
|
|
301
|
-
onSelectionChange:
|
|
302
|
-
onSortChange:
|
|
302
|
+
onSelectionChange: A,
|
|
303
|
+
onSortChange: U
|
|
303
304
|
}, {
|
|
304
305
|
instsId: l((e) => [
|
|
305
|
-
|
|
306
|
+
g(f(o(v).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
306
307
|
]),
|
|
307
308
|
transferMoneyDate: l((e) => [
|
|
308
|
-
e.data.row.transferMoneyDate ? (
|
|
309
|
+
e.data.row.transferMoneyDate ? (u(), b("span", ie, f(o(_).$moment.formatDate(
|
|
309
310
|
new Date(e.data.row.transferMoneyDate),
|
|
310
311
|
"YYYY-MM-DD HH:mm"
|
|
311
|
-
)), 1)) : (
|
|
312
|
+
)), 1)) : (u(), b("span", ue))
|
|
312
313
|
]),
|
|
313
314
|
agentCode: l((e) => [
|
|
314
|
-
|
|
315
|
+
g(f(o(oe)(e.data.row.agentCode)), 1)
|
|
315
316
|
]),
|
|
316
317
|
_: 1
|
|
317
318
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -323,5 +324,5 @@ const se = new re(), ue = { class: "app-container" }, de = { key: 0 }, ie = { ke
|
|
|
323
324
|
}
|
|
324
325
|
});
|
|
325
326
|
export {
|
|
326
|
-
|
|
327
|
+
he as _
|
|
327
328
|
};
|