xyvcard-settle 0.0.20 → 0.0.22

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.
Files changed (22) hide show
  1. package/dist/{history-BgXCgEWe.mjs → history-B8rLL6cg.mjs} +1 -1
  2. package/dist/{history-DtjmHKa9.mjs → history-DOq3Euuf.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs → history.vue_vue_type_script_setup_true_lang-BcoBU5uq.mjs} +187 -164
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs → history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs} +90 -81
  5. package/dist/{index-BPvCTpAw.mjs → index-0UYX9qoK.mjs} +58 -76
  6. package/dist/{index-A83m_bq9.mjs → index-BgQiV0cV.mjs} +2 -2
  7. package/dist/{index-mgS8Yk77.mjs → index-C3Kdmtt0.mjs} +2 -2
  8. package/dist/{index-DBd3Gkwy.mjs → index-CEE_6GTV.mjs} +1 -1
  9. package/dist/{index-Dk7c4clB.mjs → index-Cd659aKC.mjs} +1 -1
  10. package/dist/{index-AM0oEBSy.mjs → index-DEjceLAF.mjs} +1 -1
  11. package/dist/{index-B_A1F3k3.mjs → index-NM7NGo1Y.mjs} +1 -1
  12. package/dist/{index-D_DrLyqR.mjs → index-q_VWJKNr.mjs} +25 -24
  13. package/dist/index.mjs +15 -13
  14. package/dist/{today-D7Qw-W1d.mjs → today-CGeC5FRK.mjs} +1 -1
  15. package/dist/{today-DO4goI_2.mjs → today-CjR56HHC.mjs} +1 -1
  16. package/dist/today.vue_vue_type_script_setup_true_lang-Cv8Zmnrj.mjs +333 -0
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs → today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs} +90 -81
  18. package/dts/src/constant.d.ts +1 -0
  19. package/dts/src/lang/settle/en.d.ts +89 -0
  20. package/dts/src/lang/settle/zh-cn.d.ts +2 -0
  21. package/package.json +3 -3
  22. package/dist/today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs +0 -309
@@ -0,0 +1,89 @@
1
+ declare const _default: {
2
+ payTrade: {
3
+ merchantId: string;
4
+ merchantIdRead: string;
5
+ orderNo: string;
6
+ orderNoRead: string;
7
+ termNo: string;
8
+ termNoRead: string;
9
+ view: string;
10
+ index: string;
11
+ merchantNo: string;
12
+ tradeType: string;
13
+ tradeTypeRead: string;
14
+ agentCode: string;
15
+ likeMerchantNoRead: string;
16
+ createTime: string;
17
+ startCreateTime: string;
18
+ endCreateTime: string;
19
+ totalAmount: string;
20
+ discountAmount: string;
21
+ payMode: string;
22
+ payModeRead: string;
23
+ commission: string;
24
+ feeRatePct: string;
25
+ channelId: string;
26
+ instsId: string;
27
+ instsIdRead: string;
28
+ createTimes: string;
29
+ tradeAmount: string;
30
+ orderStatus: string;
31
+ orderStatusRead: string;
32
+ tradeNo: string;
33
+ };
34
+ settleTradeAnalysis: {
35
+ name: string;
36
+ index: string;
37
+ createTime: string;
38
+ channelId: string;
39
+ channelIdRead: string;
40
+ agentCode: string;
41
+ agentCodeRead: string;
42
+ agentCodes: string;
43
+ agentCodesRead: string;
44
+ merchantNum: string;
45
+ orderCount: string;
46
+ orderAmount: string;
47
+ settleAmount: string;
48
+ feeAmt: string;
49
+ analysisTime: string;
50
+ view: string;
51
+ likeMerchantNo: string;
52
+ likeMerchantNoRead: string;
53
+ merchantId: string;
54
+ merchantIdRead: string;
55
+ likeMerchantNos: string;
56
+ likeMerchantNosRead: string;
57
+ termNo: string;
58
+ termNoRead: string;
59
+ payMode: string;
60
+ payModeRead: string;
61
+ analysisTimeStart: string;
62
+ analysisTimeEnd: string;
63
+ tradeType: string;
64
+ tradeTypeRead: string;
65
+ };
66
+ settleTradeReceipt: {
67
+ name: string;
68
+ likeMerchantName: string;
69
+ likeMerchantNo: string;
70
+ likeMerchantNoRead: string;
71
+ likeMerchantNameRead: string;
72
+ createTime: string;
73
+ transferMoneyDateStart: string;
74
+ transferMoneyDateEnd: string;
75
+ agentCode: string;
76
+ agentCodeRead: string;
77
+ channelId: string;
78
+ index: string;
79
+ merchantName: string;
80
+ transferMoneyTime: string;
81
+ transferMoneyAmount: string;
82
+ feeAmt: string;
83
+ transferMoneyStatus: string;
84
+ chnlRespMsg: string;
85
+ termNo: string;
86
+ termNoRead: string;
87
+ };
88
+ };
89
+ export default _default;
@@ -72,6 +72,7 @@ declare const _default: {
72
72
  createTime: string;
73
73
  transferMoneyDateStart: string;
74
74
  transferMoneyDateEnd: string;
75
+ transferMoneyDate: string;
75
76
  agentCode: string;
76
77
  agentCodeRead: string;
77
78
  channelId: string;
@@ -81,6 +82,7 @@ declare const _default: {
81
82
  transferMoneyAmount: string;
82
83
  feeAmt: string;
83
84
  transferMoneyStatus: string;
85
+ transferMoneyStatusName: string;
84
86
  chnlRespMsg: string;
85
87
  termNo: string;
86
88
  termNoRead: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -25,8 +25,8 @@
25
25
  "jmash-dict": "^0.0.47",
26
26
  "jmash-rbac": "^0.0.49",
27
27
  "xyvcard-agent": "0.0.24",
28
- "xyvcard-merchant": "0.0.9",
29
- "xyvcard-insts": "0.0.8",
28
+ "xyvcard-merchant": "0.0.14",
29
+ "xyvcard-insts": "0.0.16",
30
30
  "pinia": "^2.2.4",
31
31
  "vue": "^3.5.11",
32
32
  "vue-i18n": "^9.14.1",
@@ -1,309 +0,0 @@
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 M } from "vue";
2
- import { useUserStore as S, clearEmpty as X, request as Z, useTableHooks as ee } from "jmash-core";
3
- import { useI18n as te } from "vue-i18n";
4
- import { D as m } from "./index-D_DrLyqR.mjs";
5
- import { channelApi as le } from "xyvcard-merchant";
6
- import { tokenExt as ae } from "xyvcard-agent";
7
- class ne {
8
- getKey(d) {
9
- return {
10
- receiptId: d.receiptId
11
- };
12
- }
13
- // 查询翻页信息划款信息查询-今日到账
14
- findPage(d) {
15
- const _ = S().user.tenant;
16
- return X(d), Z({
17
- url: "/v1/settle/receipt/today/" + _,
18
- method: "get",
19
- params: d
20
- });
21
- }
22
- }
23
- const oe = new ne(), re = { class: "app-container" }, ce = /* @__PURE__ */ F({
24
- __name: "today",
25
- setup(D) {
26
- const { t: d } = te();
27
- m.instsBizDict.useValues(), m.merchantBizDict.useValues();
28
- const { proxy: _ } = G(), v = f([]), I = f(""), o = f({
29
- tokenExt: ae.getTokenExt(S().user.tenant),
30
- channelId: I.value
31
- });
32
- function $() {
33
- o.value.channelId = "", le.findList({ merchantId: o.value.merchantId }).then((n) => {
34
- console.log(n, "=> res1231"), v.value = n.data.results, I.value = n.data.results.map((t) => t.channelId);
35
- });
36
- }
37
- const {
38
- tableHooks: u,
39
- multipleTableRef: z,
40
- queryFormRef: A,
41
- listLoading: N,
42
- tableData: T,
43
- total: p
44
- } = ee(d, oe, o);
45
- let i = f([
46
- // 序号
47
- {
48
- label: "settleTradeReceipt.index",
49
- type: "index",
50
- width: "60",
51
- isColumn: !0
52
- },
53
- // 商户注册名称
54
- {
55
- label: "settleTradeReceipt.merchantName",
56
- prop: "merchantName",
57
- width: "300",
58
- sortable: "custom",
59
- isColumn: !0
60
- },
61
- // 渠道
62
- {
63
- label: "settleTradeReceipt.channelId",
64
- prop: "instsId",
65
- slotName: "instsId",
66
- columnType: "slot",
67
- width: "150",
68
- isColumn: !0
69
- },
70
- // 连锁号
71
- {
72
- label: "settleTradeReceipt.likeMerchantNo",
73
- prop: "merchantNo",
74
- width: "300",
75
- sortable: "custom",
76
- isColumn: !0
77
- },
78
- // 划款时间
79
- {
80
- label: "settleTradeReceipt.transferMoneyTime",
81
- prop: "transferMoneyTime",
82
- slotName: "transferMoneyTime",
83
- columnType: "slot",
84
- width: "200",
85
- sortable: "custom",
86
- isColumn: !0
87
- },
88
- // 划款金额
89
- {
90
- label: "settleTradeReceipt.transferMoneyAmount",
91
- prop: "transferMoneyAmount",
92
- width: "150",
93
- sortable: "custom",
94
- isColumn: !0
95
- },
96
- // 手续费
97
- {
98
- label: "settleTradeReceipt.feeAmt",
99
- prop: "feeAmt",
100
- width: "150",
101
- sortable: "custom",
102
- isColumn: !0
103
- },
104
- // 到账状态
105
- {
106
- label: "settleTradeReceipt.transferMoneyStatus",
107
- prop: "transferMoneyStatus",
108
- width: "150",
109
- sortable: "custom",
110
- isColumn: !0
111
- },
112
- // 代理商编号
113
- {
114
- label: "settleTradeReceipt.agentCode",
115
- prop: "agentCode",
116
- width: "150",
117
- sortable: "custom",
118
- isColumn: !0
119
- },
120
- // 失败原因
121
- {
122
- label: "settleTradeReceipt.chnlRespMsg",
123
- prop: "chnlRespMsg",
124
- width: "150",
125
- sortable: "custom",
126
- isColumn: !0
127
- }
128
- ]);
129
- function j() {
130
- o.value.merchantId = "", o.value.channelId = "", T.value = [];
131
- }
132
- function B(n) {
133
- u.selectionRows.value = n;
134
- }
135
- function U(n) {
136
- u.handleSort(n.prop, n.order);
137
- }
138
- function x() {
139
- u.handleQuery(), u.getList();
140
- }
141
- return (n, t) => {
142
- 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");
143
- return h(), w("div", re, [
144
- a(Q, {
145
- ref_key: "queryFormRef",
146
- ref: A,
147
- model: o.value,
148
- inline: !0
149
- }, {
150
- default: l(() => [
151
- a(R, null, {
152
- default: l(() => [
153
- a(c, { span: 6 }, {
154
- default: l(() => [
155
- a(g, {
156
- label: n.$t("payTrade.merchantId"),
157
- prop: "version"
158
- }, {
159
- default: l(() => [
160
- a(L, {
161
- modelValue: o.value.merchantId,
162
- "onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
163
- placeholder: n.$t("payTrade.merchantIdRead"),
164
- data: r(m).merchantBizDict.values,
165
- onKeyup: t[1] || (t[1] = k((e) => r(u).handleQuery(), ["enter"])),
166
- class: "!w-[203px]",
167
- filterable: "",
168
- clearable: "",
169
- onChange: $
170
- }, null, 8, ["modelValue", "placeholder", "data"])
171
- ]),
172
- _: 1
173
- }, 8, ["label"])
174
- ]),
175
- _: 1
176
- }),
177
- a(c, { span: 6 }, {
178
- default: l(() => [
179
- a(g, {
180
- label: n.$t("settleTradeAnalysis.channelId"),
181
- prop: "channelId"
182
- }, {
183
- default: l(() => [
184
- a(E, {
185
- modelValue: o.value.channelId,
186
- "onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
187
- placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
188
- onKeyup: t[3] || (t[3] = k((e) => r(u).handleQuery(), ["enter"])),
189
- class: "!w-[203px]",
190
- filterable: "",
191
- clearable: ""
192
- }, {
193
- default: l(() => [
194
- (h(!0), w(J, null, O(v.value, (e) => (h(), V(P, {
195
- key: e.channelId,
196
- label: r(m).instsBizDict.getValue(e.instsId) || e.instsId,
197
- value: e.channelId
198
- }, null, 8, ["label", "value"]))), 128))
199
- ]),
200
- _: 1
201
- }, 8, ["modelValue", "placeholder"])
202
- ]),
203
- _: 1
204
- }, 8, ["label"])
205
- ]),
206
- _: 1
207
- }),
208
- a(c, { span: 12 }, {
209
- default: l(() => [
210
- a(g, { class: "search-btn" }, {
211
- default: l(() => [
212
- a(C, {
213
- type: "primary",
214
- onClick: t[4] || (t[4] = (e) => x())
215
- }, {
216
- default: l(() => [
217
- b(y(n.$t("common.search")), 1)
218
- ]),
219
- _: 1
220
- }),
221
- a(C, {
222
- onClick: t[5] || (t[5] = (e) => j())
223
- }, {
224
- default: l(() => [
225
- b(y(n.$t("common.reset")), 1)
226
- ]),
227
- _: 1
228
- })
229
- ]),
230
- _: 1
231
- })
232
- ]),
233
- _: 1
234
- })
235
- ]),
236
- _: 1
237
- })
238
- ]),
239
- _: 1
240
- }, 8, ["model"]),
241
- a(q, {
242
- shadow: "never",
243
- class: "table-container"
244
- }, {
245
- header: l(() => [
246
- a(R, null, {
247
- default: l(() => [
248
- a(c, {
249
- span: 24,
250
- class: "container-float"
251
- }, {
252
- default: l(() => [
253
- a(H, {
254
- modelValue: r(i),
255
- "onUpdate:modelValue": t[6] || (t[6] = (e) => M(i) ? i.value = e : i = e),
256
- "label-name": "settle/settle-trade-receipt"
257
- }, null, 8, ["modelValue"])
258
- ]),
259
- _: 1
260
- })
261
- ]),
262
- _: 1
263
- })
264
- ]),
265
- footer: l(() => [
266
- r(p) > 0 ? (h(), V(Y, {
267
- key: 0,
268
- total: r(p),
269
- "onUpdate:total": t[7] || (t[7] = (e) => M(p) ? p.value = e : null),
270
- "current-page": o.value.curPage,
271
- "onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
272
- "page-size": o.value.pageSize,
273
- "onUpdate:pageSize": t[9] || (t[9] = (e) => o.value.pageSize = e),
274
- onPagination: t[10] || (t[10] = (e) => r(u).getList())
275
- }, null, 8, ["total", "current-page", "page-size"])) : W("", !0)
276
- ]),
277
- default: l(() => [
278
- a(K, {
279
- ref_key: "multipleTableRef",
280
- ref: z,
281
- "row-key": "receiptId",
282
- isSelection: !1,
283
- "list-loading": r(N),
284
- data: r(T),
285
- "table-label": r(i),
286
- onSelectionChange: B,
287
- onSortChange: U
288
- }, {
289
- transferMoneyTime: l((e) => [
290
- b(y(r(_).$moment.formatDate(
291
- e.data.row.transferMoneyTime,
292
- "YYYY-MM-DD HH:mm"
293
- )), 1)
294
- ]),
295
- instsId: l((e) => [
296
- b(y(r(m).instsBizDict.getValue(e.data.row.instsId)), 1)
297
- ]),
298
- _: 1
299
- }, 8, ["list-loading", "data", "table-label"])
300
- ]),
301
- _: 1
302
- })
303
- ]);
304
- };
305
- }
306
- });
307
- export {
308
- ce as _
309
- };