xyvcard-settle 0.0.34 → 0.0.36

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