xyvcard-settle 0.0.18 → 0.0.19
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-CC38POZp.mjs → history-Bf1plXQZ.mjs} +1 -1
- package/dist/{history-DbXZ4eq0.mjs → history-BqGlNUWq.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-D1xiX4hr.mjs → history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs} +29 -34
- package/dist/{history.vue_vue_type_script_setup_true_lang-0xuuSRhP.mjs → history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs} +73 -78
- package/dist/{index-D3q3PTBV.mjs → index-4mAQF6sI.mjs} +131 -136
- package/dist/{index-CX2iFzez.mjs → index-7sGznIYQ.mjs} +2 -2
- package/dist/{index-D8aad25b.mjs → index-B5IIg45W.mjs} +2 -2
- package/dist/{index-DHftF03J.mjs → index-DRyh7Csl.mjs} +15 -45
- package/dist/{index-CxWPPWw1.mjs → index-Dkcgyu5g.mjs} +64 -69
- package/dist/{index-CBKnFdtu.mjs → index-Q5OOFu9F.mjs} +61 -66
- package/dist/{index-CNmV3L7-.mjs → index-yBUEGCAI.mjs} +67 -72
- package/dist/index.mjs +1 -1
- package/dist/{today-C9NK5TJx.mjs → today-CM47Nc1C.mjs} +1 -1
- package/dist/{today-D_H0QACJ.mjs → today-DCYHokzf.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BeAT_Lsx.mjs → today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs} +38 -44
- package/dist/{today.vue_vue_type_script_setup_true_lang-BX_CxX_E.mjs → today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs} +46 -51
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +2 -5
- package/dts/src/api/settle/settle-trade-merchant/types.d.ts +1 -4
- package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +1 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as F, getCurrentInstance as G, ref as
|
|
1
|
+
import { defineComponent as F, getCurrentInstance as G, ref as f, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as k, unref as r, Fragment as J, renderList as O, createBlock as V, createTextVNode as b, toDisplayString as y, createCommentVNode as W, isRef as S } from "vue";
|
|
2
2
|
import { useUserStore as X, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
|
|
3
3
|
import { useI18n as le } from "vue-i18n";
|
|
4
|
-
import { D as
|
|
4
|
+
import { D as m, I as ae } from "./index-Bn8Vw_ua.mjs";
|
|
5
5
|
class ne {
|
|
6
6
|
getKey(d) {
|
|
7
7
|
return {
|
|
@@ -12,7 +12,7 @@ class ne {
|
|
|
12
12
|
findPage(d) {
|
|
13
13
|
const _ = X().user.tenant;
|
|
14
14
|
return Z(d), ee({
|
|
15
|
-
url: "/v1/settle/receipt/today/
|
|
15
|
+
url: "/v1/settle/receipt/today/" + _,
|
|
16
16
|
method: "get",
|
|
17
17
|
params: d
|
|
18
18
|
});
|
|
@@ -20,27 +20,27 @@ class ne {
|
|
|
20
20
|
}
|
|
21
21
|
const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
22
22
|
__name: "today",
|
|
23
|
-
setup(
|
|
23
|
+
setup(M) {
|
|
24
24
|
const { t: d } = le();
|
|
25
|
-
|
|
26
|
-
const { proxy: _ } = G(),
|
|
27
|
-
tokenExt:
|
|
25
|
+
m.instsBizDict.useValues(), m.merchantBizDict.useValues();
|
|
26
|
+
const { proxy: _ } = G(), D = localStorage.getItem("tokenExt"), I = f([]), v = f(""), o = f({
|
|
27
|
+
tokenExt: D ?? "",
|
|
28
28
|
channelId: v.value
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function $() {
|
|
31
31
|
o.value.channelId = "", ae.findList({ merchantId: o.value.merchantId }).then((n) => {
|
|
32
32
|
console.log(n, "=> res1231"), I.value = n.data.results, v.value = n.data.results.map((t) => t.channelId);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
const {
|
|
36
36
|
tableHooks: u,
|
|
37
|
-
multipleTableRef:
|
|
38
|
-
queryFormRef:
|
|
39
|
-
listLoading:
|
|
40
|
-
tableData:
|
|
41
|
-
total:
|
|
37
|
+
multipleTableRef: z,
|
|
38
|
+
queryFormRef: N,
|
|
39
|
+
listLoading: j,
|
|
40
|
+
tableData: T,
|
|
41
|
+
total: p
|
|
42
42
|
} = te(d, oe, o);
|
|
43
|
-
let i =
|
|
43
|
+
let i = f([
|
|
44
44
|
// 序号
|
|
45
45
|
{
|
|
46
46
|
label: "settleTradeReceipt.index",
|
|
@@ -52,7 +52,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
52
52
|
{
|
|
53
53
|
label: "settleTradeReceipt.merchantName",
|
|
54
54
|
prop: "merchantName",
|
|
55
|
-
width: "
|
|
55
|
+
width: "300",
|
|
56
56
|
sortable: "custom",
|
|
57
57
|
isColumn: !0
|
|
58
58
|
},
|
|
@@ -95,8 +95,6 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
95
95
|
{
|
|
96
96
|
label: "settleTradeReceipt.feeAmt",
|
|
97
97
|
prop: "feeAmt",
|
|
98
|
-
slotName: "feeAmt",
|
|
99
|
-
columnType: "slot",
|
|
100
98
|
width: "150",
|
|
101
99
|
sortable: "custom",
|
|
102
100
|
isColumn: !0
|
|
@@ -126,8 +124,8 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
126
124
|
isColumn: !0
|
|
127
125
|
}
|
|
128
126
|
]);
|
|
129
|
-
function
|
|
130
|
-
o.value.merchantId = "", o.value.channelId = "";
|
|
127
|
+
function A() {
|
|
128
|
+
o.value.merchantId = "", o.value.channelId = "", T.value = [];
|
|
131
129
|
}
|
|
132
130
|
function B(n) {
|
|
133
131
|
u.selectionRows.value = n;
|
|
@@ -139,18 +137,18 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
139
137
|
u.handleQuery(), u.getList();
|
|
140
138
|
}
|
|
141
139
|
return (n, t) => {
|
|
142
|
-
const L = s("jmash-select"), g = s("el-form-item"),
|
|
143
|
-
return
|
|
140
|
+
const L = s("jmash-select"), g = s("el-form-item"), c = s("el-col"), P = s("el-option"), E = s("el-select"), C = s("el-button"), R = s("el-row"), Q = s("el-form"), H = s("jmash-column-select"), K = s("jmash-table"), Y = s("jmash-pagination"), q = s("el-card");
|
|
141
|
+
return h(), w("div", re, [
|
|
144
142
|
a(Q, {
|
|
145
143
|
ref_key: "queryFormRef",
|
|
146
|
-
ref:
|
|
144
|
+
ref: N,
|
|
147
145
|
model: o.value,
|
|
148
146
|
inline: !0
|
|
149
147
|
}, {
|
|
150
148
|
default: l(() => [
|
|
151
|
-
a(
|
|
149
|
+
a(R, null, {
|
|
152
150
|
default: l(() => [
|
|
153
|
-
a(
|
|
151
|
+
a(c, { span: 6 }, {
|
|
154
152
|
default: l(() => [
|
|
155
153
|
a(g, {
|
|
156
154
|
label: n.$t("payTrade.merchantId"),
|
|
@@ -161,12 +159,12 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
161
159
|
modelValue: o.value.merchantId,
|
|
162
160
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
|
|
163
161
|
placeholder: n.$t("payTrade.merchantIdRead"),
|
|
164
|
-
data: r(
|
|
165
|
-
onKeyup: t[1] || (t[1] =
|
|
162
|
+
data: r(m).merchantBizDict.values,
|
|
163
|
+
onKeyup: t[1] || (t[1] = k((e) => r(u).handleQuery(), ["enter"])),
|
|
166
164
|
class: "!w-[203px]",
|
|
167
165
|
filterable: "",
|
|
168
166
|
clearable: "",
|
|
169
|
-
onChange:
|
|
167
|
+
onChange: $
|
|
170
168
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
171
169
|
]),
|
|
172
170
|
_: 1
|
|
@@ -174,7 +172,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
174
172
|
]),
|
|
175
173
|
_: 1
|
|
176
174
|
}),
|
|
177
|
-
a(
|
|
175
|
+
a(c, { span: 6 }, {
|
|
178
176
|
default: l(() => [
|
|
179
177
|
a(g, {
|
|
180
178
|
label: n.$t("settleTradeAnalysis.channelId"),
|
|
@@ -185,15 +183,15 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
185
183
|
modelValue: o.value.channelId,
|
|
186
184
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
|
|
187
185
|
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
188
|
-
onKeyup: t[3] || (t[3] =
|
|
186
|
+
onKeyup: t[3] || (t[3] = k((e) => r(u).handleQuery(), ["enter"])),
|
|
189
187
|
class: "!w-[203px]",
|
|
190
188
|
filterable: "",
|
|
191
189
|
clearable: ""
|
|
192
190
|
}, {
|
|
193
191
|
default: l(() => [
|
|
194
|
-
(
|
|
192
|
+
(h(!0), w(J, null, O(I.value, (e) => (h(), V(P, {
|
|
195
193
|
key: e.channelId,
|
|
196
|
-
label: r(
|
|
194
|
+
label: r(m).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
197
195
|
value: e.channelId
|
|
198
196
|
}, null, 8, ["label", "value"]))), 128))
|
|
199
197
|
]),
|
|
@@ -205,24 +203,24 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
205
203
|
]),
|
|
206
204
|
_: 1
|
|
207
205
|
}),
|
|
208
|
-
a(
|
|
206
|
+
a(c, { span: 12 }, {
|
|
209
207
|
default: l(() => [
|
|
210
208
|
a(g, { class: "search-btn" }, {
|
|
211
209
|
default: l(() => [
|
|
212
|
-
a(
|
|
210
|
+
a(C, {
|
|
213
211
|
type: "primary",
|
|
214
212
|
onClick: t[4] || (t[4] = (e) => x())
|
|
215
213
|
}, {
|
|
216
214
|
default: l(() => [
|
|
217
|
-
|
|
215
|
+
b(y(n.$t("common.search")), 1)
|
|
218
216
|
]),
|
|
219
217
|
_: 1
|
|
220
218
|
}),
|
|
221
|
-
a(
|
|
222
|
-
onClick: t[5] || (t[5] = (e) =>
|
|
219
|
+
a(C, {
|
|
220
|
+
onClick: t[5] || (t[5] = (e) => A())
|
|
223
221
|
}, {
|
|
224
222
|
default: l(() => [
|
|
225
|
-
|
|
223
|
+
b(y(n.$t("common.reset")), 1)
|
|
226
224
|
]),
|
|
227
225
|
_: 1
|
|
228
226
|
})
|
|
@@ -243,16 +241,16 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
243
241
|
class: "table-container"
|
|
244
242
|
}, {
|
|
245
243
|
header: l(() => [
|
|
246
|
-
a(
|
|
244
|
+
a(R, null, {
|
|
247
245
|
default: l(() => [
|
|
248
|
-
a(
|
|
246
|
+
a(c, {
|
|
249
247
|
span: 24,
|
|
250
248
|
class: "container-float"
|
|
251
249
|
}, {
|
|
252
250
|
default: l(() => [
|
|
253
251
|
a(H, {
|
|
254
252
|
modelValue: r(i),
|
|
255
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) =>
|
|
253
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => S(i) ? i.value = e : i = e),
|
|
256
254
|
"label-name": "settle/settle-trade-receipt"
|
|
257
255
|
}, null, 8, ["modelValue"])
|
|
258
256
|
]),
|
|
@@ -263,10 +261,10 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
263
261
|
})
|
|
264
262
|
]),
|
|
265
263
|
footer: l(() => [
|
|
266
|
-
r(
|
|
264
|
+
r(p) > 0 ? (h(), V(Y, {
|
|
267
265
|
key: 0,
|
|
268
|
-
total: r(
|
|
269
|
-
"onUpdate:total": t[7] || (t[7] = (e) =>
|
|
266
|
+
total: r(p),
|
|
267
|
+
"onUpdate:total": t[7] || (t[7] = (e) => S(p) ? p.value = e : null),
|
|
270
268
|
"current-page": o.value.curPage,
|
|
271
269
|
"onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
|
|
272
270
|
"page-size": o.value.pageSize,
|
|
@@ -277,26 +275,23 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
|
|
|
277
275
|
default: l(() => [
|
|
278
276
|
a(K, {
|
|
279
277
|
ref_key: "multipleTableRef",
|
|
280
|
-
ref:
|
|
278
|
+
ref: z,
|
|
281
279
|
"row-key": "receiptId",
|
|
282
280
|
isSelection: !1,
|
|
283
|
-
"list-loading": r(
|
|
284
|
-
data: r(
|
|
281
|
+
"list-loading": r(j),
|
|
282
|
+
data: r(T),
|
|
285
283
|
"table-label": r(i),
|
|
286
284
|
onSelectionChange: B,
|
|
287
285
|
onSortChange: U
|
|
288
286
|
}, {
|
|
289
|
-
feeAmt: l((e) => [
|
|
290
|
-
m(p(e.data.row.feeAmt * 100) + "% ", 1)
|
|
291
|
-
]),
|
|
292
287
|
transferMoneyTime: l((e) => [
|
|
293
|
-
|
|
288
|
+
b(y(r(_).$moment.formatDate(
|
|
294
289
|
e.data.row.transferMoneyTime,
|
|
295
290
|
"YYYY-MM-DD HH:mm"
|
|
296
291
|
)), 1)
|
|
297
292
|
]),
|
|
298
293
|
instsId: l((e) => [
|
|
299
|
-
|
|
294
|
+
b(y(r(m).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
300
295
|
]),
|
|
301
296
|
_: 1
|
|
302
297
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList } from "jmash-core";
|
|
2
2
|
export interface SettleTradeAnalysisApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface SettleAgentTradeAnalysisReq extends EntityReq {
|
|
5
5
|
agentCode?: string;
|
|
6
6
|
merchantId?: string;
|
|
7
7
|
likeMerchantNo?: string;
|
|
8
|
-
|
|
8
|
+
channelId?: string;
|
|
9
9
|
analysisTimeStart?: string;
|
|
10
10
|
analysisTimeEnd?: string;
|
|
11
11
|
marketBy?: string;
|
|
@@ -48,6 +48,3 @@ export interface SettleAgentTradeAnalysisKeyList extends EntityKeyList {
|
|
|
48
48
|
tenant?: string;
|
|
49
49
|
settleTradeAnalysisKey?: Array<SettleTradeAnalysisKey>;
|
|
50
50
|
}
|
|
51
|
-
export interface SettleAgentTradeAnalysisExportReq extends EntityExportReq {
|
|
52
|
-
req: SettleAgentTradeAnalysisReq;
|
|
53
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList } from "jmash-core";
|
|
2
2
|
export interface SettleMerchantTradeAnalysisApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface SettleMerchantTradeAnalysisReq extends EntityReq {
|
|
@@ -60,6 +60,3 @@ export interface SettleMerchantTradeAnalysisKeyList extends EntityKeyList {
|
|
|
60
60
|
tenant?: string;
|
|
61
61
|
settleTradeAnalysisKey?: Array<SettleTradeAnalysisKey>;
|
|
62
62
|
}
|
|
63
|
-
export interface SettleMerchantTradeAnalysisExportReq extends EntityExportReq {
|
|
64
|
-
req: SettleMerchantTradeAnalysisReq;
|
|
65
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList } from "jmash-core";
|
|
2
2
|
export interface MySettleMerchantTradeAnalysisApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface MySettleMerchantTradeAnalysisReq extends EntityReq {
|
|
@@ -60,6 +60,3 @@ export interface MySettleMerchantTradeAnalysisKeyList extends EntityKeyList {
|
|
|
60
60
|
tenant?: string;
|
|
61
61
|
settleTradeAnalysisKey?: Array<MySettleTradeAnalysisKey>;
|
|
62
62
|
}
|
|
63
|
-
export interface MySettleMerchantTradeAnalysisExportReq extends EntityExportReq {
|
|
64
|
-
req: MySettleMerchantTradeAnalysisReq;
|
|
65
|
-
}
|