xyvcard-settle 0.0.8 → 0.0.9

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/index.mjs CHANGED
@@ -2677,7 +2677,7 @@ const Ti = {
2677
2677
  }
2678
2678
  };
2679
2679
  }
2680
- }, bi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade/index.vue": () => import("./index-BlXn6smp.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-BwCHsBZH.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CpvDwpiR.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-CTtxpb4f.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-Bewj-2-m.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-C5Va5XHn.mjs") }), Ni = {
2680
+ }, bi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade/index.vue": () => import("./index-DW9pH9d2.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-BwCHsBZH.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CpvDwpiR.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-DXyhZzCj.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-C046whOI.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-C5Va5XHn.mjs") }), Ni = {
2681
2681
  install(e) {
2682
2682
  Ds(bi, 7), Ys(vs), e.use(Ti);
2683
2683
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -1,373 +0,0 @@
1
- import { defineComponent as H, getCurrentInstance as L, ref as M, resolveComponent as s, createElementBlock as O, openBlock as k, createVNode as l, withCtx as a, withKeys as b, unref as r, createTextVNode as y, toDisplayString as g, createBlock as x, createCommentVNode as G, isRef as w } from "vue";
2
- import { useUserStore as J, clearEmpty as W, request as X, useTableHooks as Z } from "jmash-core";
3
- import { useI18n as ee } from "vue-i18n";
4
- import { D as v, C as V } from "./index-DY4QrfnW.mjs";
5
- import { useRoute as te } from "vue-router";
6
- class le {
7
- getKey(p) {
8
- return {
9
- receiptId: p.receiptId
10
- };
11
- }
12
- // 查询翻页信息划款信息查询-到账
13
- findPage(p) {
14
- const _ = J().user.tenant;
15
- return W(p), X({
16
- url: "/v1/settle/receipt/page/" + _,
17
- method: "get",
18
- params: p
19
- });
20
- }
21
- }
22
- const ae = new le(), ne = { class: "app-container" }, pe = /* @__PURE__ */ H({
23
- __name: "history",
24
- setup($) {
25
- const { t: p } = ee();
26
- v.instsBizDict.useValues(), te().query.tenant;
27
- const { proxy: h } = L(), D = localStorage.getItem("tokenExt"), o = M({
28
- tokenExt: D ?? ""
29
- }), m = M([]);
30
- function I(n) {
31
- m.value = n, m.value.length === 2 && (o.value.transferMoneyDateStart = h.$moment.formatDate(
32
- n[0],
33
- V.RPC_FORMAT_TIME
34
- ), o.value.transferMoneyDateEnd = h.$moment.formatDate(
35
- n[1],
36
- V.RPC_FORMAT_TIME
37
- ));
38
- }
39
- const {
40
- tableHooks: d,
41
- multipleTableRef: N,
42
- queryFormRef: S,
43
- listLoading: Y,
44
- tableData: A,
45
- total: f
46
- } = Z(p, ae, o);
47
- let c = M([
48
- // 序号
49
- {
50
- label: "settleTradeReceipt.index",
51
- type: "index",
52
- width: "60",
53
- isColumn: !0
54
- },
55
- // 商户注册名称
56
- {
57
- label: "settleTradeReceipt.merchantName",
58
- prop: "merchantName",
59
- width: "150",
60
- sortable: "custom",
61
- isColumn: !0
62
- },
63
- // 渠道
64
- {
65
- label: "settleTradeReceipt.channelId",
66
- prop: "instsId",
67
- slotName: "instsId",
68
- columnType: "slot",
69
- width: "150",
70
- isColumn: !0
71
- },
72
- // 商户经营名称
73
- // {
74
- // label: "商户经营名称",
75
- // prop: "merchantNo",
76
- // width: "150",
77
- // sortable: "custom",
78
- // isColumn: true,
79
- // },
80
- // 连锁号
81
- {
82
- label: "settleTradeReceipt.likeMerchantNo",
83
- prop: "merchantNo",
84
- width: "300",
85
- sortable: "custom",
86
- isColumn: !0
87
- },
88
- // 划款时间
89
- {
90
- label: "settleTradeReceipt.transferMoneyTime",
91
- prop: "transferMoneyTime",
92
- slotName: "transferMoneyTime",
93
- columnType: "slot",
94
- width: "200",
95
- sortable: "custom",
96
- isColumn: !0
97
- },
98
- // 划款金额
99
- {
100
- label: "settleTradeReceipt.transferMoneyAmount",
101
- prop: "transferMoneyAmount",
102
- width: "150",
103
- sortable: "custom",
104
- isColumn: !0
105
- },
106
- // 手续费
107
- {
108
- label: "settleTradeReceipt.feeAmt",
109
- prop: "feeAmt",
110
- width: "150",
111
- sortable: "custom",
112
- isColumn: !0
113
- },
114
- // 到账状态
115
- {
116
- label: "settleTradeReceipt.transferMoneyStatus",
117
- prop: "transferMoneyStatus",
118
- width: "150",
119
- sortable: "custom",
120
- isColumn: !0
121
- },
122
- // 代理商编号
123
- {
124
- label: "settleTradeReceipt.agentCode",
125
- prop: "agentCode",
126
- width: "150",
127
- sortable: "custom",
128
- isColumn: !0
129
- },
130
- // 失败原因
131
- {
132
- label: "settleTradeReceipt.chnlRespMsg",
133
- prop: "chnlRespMsg",
134
- width: "150",
135
- sortable: "custom",
136
- isColumn: !0
137
- }
138
- ]);
139
- function E() {
140
- m.value = [], d.resetQuery();
141
- }
142
- function U(n) {
143
- d.selectionRows.value = n;
144
- }
145
- function j(n) {
146
- d.handleSort(n.prop, n.order);
147
- }
148
- return d.getList(), (n, e) => {
149
- const T = s("el-input"), i = s("el-form-item"), u = s("el-col"), z = s("jmash-select"), R = s("el-row"), P = s("el-date-picker"), C = s("el-button"), Q = s("el-form"), B = s("jmash-column-select"), K = s("jmash-table"), q = s("jmash-pagination"), F = s("el-card");
150
- return k(), O("div", ne, [
151
- l(Q, {
152
- ref_key: "queryFormRef",
153
- ref: S,
154
- model: o.value,
155
- inline: !0
156
- }, {
157
- default: a(() => [
158
- l(R, null, {
159
- default: a(() => [
160
- l(u, { span: 6 }, {
161
- default: a(() => [
162
- l(i, {
163
- label: n.$t("settleTradeReceipt.likeMerchantName"),
164
- prop: "likeMerchantName"
165
- }, {
166
- default: a(() => [
167
- l(T, {
168
- modelValue: o.value.likeMerchantName,
169
- "onUpdate:modelValue": e[0] || (e[0] = (t) => o.value.likeMerchantName = t),
170
- placeholder: n.$t("settleTradeReceipt.likeMerchantName"),
171
- onKeyup: e[1] || (e[1] = b((t) => r(d).handleQuery(), ["enter"])),
172
- class: "!w-[203px]"
173
- }, null, 8, ["modelValue", "placeholder"])
174
- ]),
175
- _: 1
176
- }, 8, ["label"])
177
- ]),
178
- _: 1
179
- }),
180
- l(u, { span: 6 }, {
181
- default: a(() => [
182
- l(i, {
183
- label: n.$t("settleTradeReceipt.likeMerchantNo"),
184
- prop: "likeMerchantNo"
185
- }, {
186
- default: a(() => [
187
- l(T, {
188
- modelValue: o.value.likeMerchantNo,
189
- "onUpdate:modelValue": e[2] || (e[2] = (t) => o.value.likeMerchantNo = t),
190
- placeholder: n.$t("settleTradeReceipt.likeMerchantNoRead"),
191
- onKeyup: e[3] || (e[3] = b((t) => r(d).handleQuery(), ["enter"])),
192
- class: "!w-[203px]"
193
- }, null, 8, ["modelValue", "placeholder"])
194
- ]),
195
- _: 1
196
- }, 8, ["label"])
197
- ]),
198
- _: 1
199
- }),
200
- l(u, { span: 6 }, {
201
- default: a(() => [
202
- l(i, {
203
- label: n.$t("settleTradeReceipt.agentCode"),
204
- prop: "agentCode"
205
- }, {
206
- default: a(() => [
207
- l(T, {
208
- modelValue: o.value.agentCode,
209
- "onUpdate:modelValue": e[4] || (e[4] = (t) => o.value.agentCode = t),
210
- placeholder: n.$t("settleTradeReceipt.agentCodeRead"),
211
- onKeyup: e[5] || (e[5] = b((t) => r(d).handleQuery(), ["enter"])),
212
- class: "!w-[203px]"
213
- }, null, 8, ["modelValue", "placeholder"])
214
- ]),
215
- _: 1
216
- }, 8, ["label"])
217
- ]),
218
- _: 1
219
- }),
220
- l(u, { span: 6 }, {
221
- default: a(() => [
222
- l(i, {
223
- label: n.$t("settleTradeAnalysis.channelId"),
224
- prop: "channelId"
225
- }, {
226
- default: a(() => [
227
- l(z, {
228
- modelValue: o.value.channelId,
229
- "onUpdate:modelValue": e[6] || (e[6] = (t) => o.value.channelId = t),
230
- placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
231
- data: r(v).instsBizDict.values,
232
- onKeyup: e[7] || (e[7] = b((t) => r(d).handleQuery(), ["enter"])),
233
- class: "!w-[203px]",
234
- filterable: "",
235
- clearable: ""
236
- }, null, 8, ["modelValue", "placeholder", "data"])
237
- ]),
238
- _: 1
239
- }, 8, ["label"])
240
- ]),
241
- _: 1
242
- })
243
- ]),
244
- _: 1
245
- }),
246
- l(R, null, {
247
- default: a(() => [
248
- l(u, { span: 6 }, {
249
- default: a(() => [
250
- l(i, {
251
- label: n.$t("settleTradeReceipt.createTime"),
252
- prop: "analysisTimeStart"
253
- }, {
254
- default: a(() => [
255
- l(P, {
256
- modelValue: m.value,
257
- "onUpdate:modelValue": e[8] || (e[8] = (t) => m.value = t),
258
- type: "daterange",
259
- format: "YYYY-MM-DD",
260
- "value-format": "YYYY-MM-DD",
261
- "range-separator": "-",
262
- "start-placeholder": n.$t("settleTradeReceipt.transferMoneyDateStart"),
263
- "end-placeholder": n.$t("settleTradeReceipt.transferMoneyDateEnd"),
264
- onChange: I
265
- }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
266
- ]),
267
- _: 1
268
- }, 8, ["label"])
269
- ]),
270
- _: 1
271
- }),
272
- l(u, { span: 18 }, {
273
- default: a(() => [
274
- l(i, { class: "search-btn" }, {
275
- default: a(() => [
276
- l(C, {
277
- type: "primary",
278
- onClick: e[9] || (e[9] = (t) => r(d).handleQuery())
279
- }, {
280
- default: a(() => [
281
- y(g(n.$t("common.search")), 1)
282
- ]),
283
- _: 1
284
- }),
285
- l(C, {
286
- onClick: e[10] || (e[10] = (t) => E())
287
- }, {
288
- default: a(() => [
289
- y(g(n.$t("common.reset")), 1)
290
- ]),
291
- _: 1
292
- })
293
- ]),
294
- _: 1
295
- })
296
- ]),
297
- _: 1
298
- })
299
- ]),
300
- _: 1
301
- })
302
- ]),
303
- _: 1
304
- }, 8, ["model"]),
305
- l(F, {
306
- shadow: "never",
307
- class: "table-container"
308
- }, {
309
- header: a(() => [
310
- l(R, null, {
311
- default: a(() => [
312
- l(u, {
313
- span: 24,
314
- class: "container-float"
315
- }, {
316
- default: a(() => [
317
- l(B, {
318
- modelValue: r(c),
319
- "onUpdate:modelValue": e[11] || (e[11] = (t) => w(c) ? c.value = t : c = t),
320
- "label-name": "settle/settle-trade-receipt"
321
- }, null, 8, ["modelValue"])
322
- ]),
323
- _: 1
324
- })
325
- ]),
326
- _: 1
327
- })
328
- ]),
329
- footer: a(() => [
330
- r(f) > 0 ? (k(), x(q, {
331
- key: 0,
332
- total: r(f),
333
- "onUpdate:total": e[12] || (e[12] = (t) => w(f) ? f.value = t : null),
334
- "current-page": o.value.curPage,
335
- "onUpdate:currentPage": e[13] || (e[13] = (t) => o.value.curPage = t),
336
- "page-size": o.value.pageSize,
337
- "onUpdate:pageSize": e[14] || (e[14] = (t) => o.value.pageSize = t),
338
- onPagination: e[15] || (e[15] = (t) => r(d).getList())
339
- }, null, 8, ["total", "current-page", "page-size"])) : G("", !0)
340
- ]),
341
- default: a(() => [
342
- l(K, {
343
- ref_key: "multipleTableRef",
344
- ref: N,
345
- "row-key": "receiptId",
346
- isSelection: !1,
347
- "list-loading": r(Y),
348
- data: r(A),
349
- "table-label": r(c),
350
- onSelectionChange: U,
351
- onSortChange: j
352
- }, {
353
- instsId: a((t) => [
354
- y(g(r(v).instsBizDict.getValue(t.data.row.instsId)), 1)
355
- ]),
356
- transferMoneyTime: a((t) => [
357
- y(g(r(h).$moment.formatDate(
358
- t.data.row.transferMoneyTime,
359
- "YYYY-MM-DD HH:mm"
360
- )), 1)
361
- ]),
362
- _: 1
363
- }, 8, ["list-loading", "data", "table-label"])
364
- ]),
365
- _: 1
366
- })
367
- ]);
368
- };
369
- }
370
- });
371
- export {
372
- pe as _
373
- };