xyvcard-settle 0.0.19 → 0.0.21

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 (53) hide show
  1. package/dist/{history-BqGlNUWq.mjs → history-BgXCgEWe.mjs} +1 -1
  2. package/dist/{history-Bf1plXQZ.mjs → history-DtjmHKa9.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs → history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs} +27 -25
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs → history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs} +27 -27
  5. package/dist/{index-7sGznIYQ.mjs → index-A83m_bq9.mjs} +2 -2
  6. package/dist/{index-DRyh7Csl.mjs → index-AM0oEBSy.mjs} +94 -70
  7. package/dist/{index-yBUEGCAI.mjs → index-BPvCTpAw.mjs} +72 -70
  8. package/dist/{index-4mAQF6sI.mjs → index-B_A1F3k3.mjs} +31 -30
  9. package/dist/{index-Q5OOFu9F.mjs → index-DBd3Gkwy.mjs} +60 -60
  10. package/dist/index-D_DrLyqR.mjs +98 -0
  11. package/dist/{index-Dkcgyu5g.mjs → index-Dk7c4clB.mjs} +82 -81
  12. package/dist/{index-B5IIg45W.mjs → index-mgS8Yk77.mjs} +2 -2
  13. package/dist/index.mjs +6 -5
  14. package/dist/{today-CM47Nc1C.mjs → today-D7Qw-W1d.mjs} +1 -1
  15. package/dist/{today-DCYHokzf.mjs → today-DO4goI_2.mjs} +1 -1
  16. package/dist/{today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs → today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs} +27 -25
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs → today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs} +36 -34
  18. package/dts/src/lang/settle/zh-cn.d.ts +1 -0
  19. package/package.json +61 -61
  20. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50-Dj7924hV.mjs +0 -9
  21. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
  22. package/dist/_plugin-vue_export-helper-CHgC5LLL-CE1ZRZXI.mjs +0 -9
  23. package/dist/config-J7atvZST-CRBatj_q.mjs +0 -1914
  24. package/dist/free-Cc9I120N-BWsHZFX2-Co-javuK.mjs +0 -73
  25. package/dist/free-DaGOIXVI-tyY1k0f0.mjs +0 -82
  26. package/dist/index-BCqoC3r3-BcdtrpBI.mjs +0 -46253
  27. package/dist/index-BKGG_3N--CJ3hL8zN.mjs +0 -1516
  28. package/dist/index-Bn8Vw_ua.mjs +0 -9095
  29. package/dist/index-BspHvxQr-uRg4kyPq-BVAozSDk.mjs +0 -44292
  30. package/dist/index-BtIY2iCq-L9CqrDwV.mjs +0 -10
  31. package/dist/index-Bte5tu_Z-D-6PVKiX.mjs +0 -44054
  32. package/dist/index-By-fLqD6-DyhYoWmA.mjs +0 -426
  33. package/dist/index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs +0 -4699
  34. package/dist/index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs +0 -4236
  35. package/dist/index-DRytXEq2-Jv_7nGuc.mjs +0 -422
  36. package/dist/index-V24QP_Fz-BzkjeGHi-CUvjUkVt.mjs +0 -4741
  37. package/dist/index-V24QP_Fz-IKRedGuT.mjs +0 -4741
  38. package/dist/index-eCinebyw-DzNkuViw.mjs +0 -7401
  39. package/dist/index-iRoYfjIt-Cj_hVoo3.mjs +0 -46
  40. package/dist/info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs +0 -564
  41. package/dist/info-C1ILoPOK-DzbUVoy0.mjs +0 -1258
  42. package/dist/info-C6ZgzFaa-Bez0AAwc.mjs +0 -170
  43. package/dist/info-Cj0C9r3t-mBibS56J-1nf1Pkz0.mjs +0 -237
  44. package/dist/info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs +0 -1257
  45. package/dist/info-DFu31zdX-CdOAZ1k9.mjs +0 -814
  46. package/dist/info-DOOuWsLL-Dl19ZBB1-CWqFh2bn.mjs +0 -1258
  47. package/dist/info-Ddj4fPdK-l67VuXu5.mjs +0 -564
  48. package/dist/info-DjbDXhlf-D7nLFio2-CiIp1epX.mjs +0 -818
  49. package/dist/info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs +0 -139
  50. package/dist/info-EEQdBSPc-B6uHnl48-CZnr2mHJ.mjs +0 -564
  51. package/dist/info-JTzVjKGk-BHMjIGeZ.mjs +0 -237
  52. package/dist/product-BJX8VysN-CzHJn-wh.mjs +0 -731
  53. package/dist/product-DasoXMNF-Ct3nzcE4-C-y9Gk4r.mjs +0 -731
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,10 @@
1
- import { defineComponent as G, getCurrentInstance as J, ref as b, resolveComponent as o, createElementBlock as g, openBlock as i, createVNode as l, withCtx as a, withKeys as I, unref as r, Fragment as W, renderList as X, createBlock as w, createTextVNode as R, toDisplayString as h, createCommentVNode as Z, isRef as D } from "vue";
2
- import { useUserStore as ee, clearEmpty as te, request as le, useTableHooks as ae } from "jmash-core";
3
- import { useI18n as ne } from "vue-i18n";
4
- import { D as v, I as oe, C as k } from "./index-Bn8Vw_ua.mjs";
5
- import { useRoute as re } from "vue-router";
1
+ import { defineComponent as G, getCurrentInstance as J, ref as b, resolveComponent as o, createElementBlock as g, openBlock as i, createVNode as l, withCtx as a, withKeys as w, unref as r, Fragment as W, renderList as X, createBlock as D, createTextVNode as R, toDisplayString as h, createCommentVNode as Z, isRef as I } from "vue";
2
+ import { useUserStore as S, clearEmpty as ee, request as te, useTableHooks as le } from "jmash-core";
3
+ import { useI18n as ae } from "vue-i18n";
4
+ import { D as v, C as k } from "./index-D_DrLyqR.mjs";
5
+ import { useRoute as ne } from "vue-router";
6
+ import { channelApi as oe } from "xyvcard-merchant";
7
+ import { tokenExt as re } from "xyvcard-agent";
6
8
  class se {
7
9
  getKey(d) {
8
10
  return {
@@ -11,21 +13,21 @@ class se {
11
13
  }
12
14
  // 查询翻页信息划款信息查询-到账(历史)
13
15
  findPage(d) {
14
- const m = ee().user.tenant;
15
- return te(d), le({
16
+ const m = S().user.tenant;
17
+ return ee(d), te({
16
18
  url: "/v1/settle/receipt/my/page/" + m,
17
19
  method: "get",
18
20
  params: d
19
21
  });
20
22
  }
21
23
  }
22
- const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { key: 1 }, be = /* @__PURE__ */ G({
24
+ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { key: 1 }, he = /* @__PURE__ */ G({
23
25
  __name: "history",
24
- setup(S) {
25
- const { t: d } = ne();
26
- v.instsBizDict.useValues(), re();
27
- const { proxy: m } = J(), V = localStorage.getItem("tokenExt"), s = b({
28
- tokenExt: V ?? ""
26
+ setup(V) {
27
+ const { t: d } = ae();
28
+ v.instsBizDict.useValues(), ne();
29
+ const { proxy: m } = J(), s = b({
30
+ tokenExt: re.getTokenExt(S().user.tenant)
29
31
  }), M = b([]), $ = localStorage.getItem("selectMerchantId");
30
32
  oe.myFindList({ merchantId: $ }).then((n) => {
31
33
  M.value = n.data.results;
@@ -42,12 +44,12 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
42
44
  }
43
45
  const {
44
46
  tableHooks: u,
45
- multipleTableRef: Y,
46
- queryFormRef: A,
47
+ multipleTableRef: A,
48
+ queryFormRef: Y,
47
49
  listLoading: E,
48
50
  tableData: z,
49
51
  total: y
50
- } = ae(d, ue, s);
52
+ } = le(d, ue, s);
51
53
  let c = b([
52
54
  // 序号
53
55
  {
@@ -137,7 +139,7 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
137
139
  return i(), g("div", de, [
138
140
  l(x, {
139
141
  ref_key: "queryFormRef",
140
- ref: A,
142
+ ref: Y,
141
143
  model: s.value,
142
144
  inline: !0
143
145
  }, {
@@ -155,7 +157,7 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
155
157
  modelValue: s.value.termNo,
156
158
  "onUpdate:modelValue": t[0] || (t[0] = (e) => s.value.termNo = e),
157
159
  placeholder: n.$t("settleTradeReceipt.termNoRead"),
158
- onKeyup: t[1] || (t[1] = I((e) => r(u).handleQuery(), ["enter"])),
160
+ onKeyup: t[1] || (t[1] = w((e) => r(u).handleQuery(), ["enter"])),
159
161
  class: "!w-[203px]"
160
162
  }, null, 8, ["modelValue", "placeholder"])
161
163
  ]),
@@ -175,13 +177,13 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
175
177
  modelValue: s.value.channelId,
176
178
  "onUpdate:modelValue": t[2] || (t[2] = (e) => s.value.channelId = e),
177
179
  placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
178
- onKeyup: t[3] || (t[3] = I((e) => r(u).handleQuery(), ["enter"])),
180
+ onKeyup: t[3] || (t[3] = w((e) => r(u).handleQuery(), ["enter"])),
179
181
  class: "!w-[203px]",
180
182
  filterable: "",
181
183
  clearable: ""
182
184
  }, {
183
185
  default: a(() => [
184
- (i(!0), g(W, null, X(M.value, (e) => (i(), w(F, {
186
+ (i(!0), g(W, null, X(M.value, (e) => (i(), D(F, {
185
187
  key: e.channelId,
186
188
  label: r(v).instsBizDict.getValue(e.instsId) || e.instsId,
187
189
  value: e.channelId
@@ -272,7 +274,7 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
272
274
  default: a(() => [
273
275
  l(H, {
274
276
  modelValue: r(c),
275
- "onUpdate:modelValue": t[7] || (t[7] = (e) => D(c) ? c.value = e : c = e),
277
+ "onUpdate:modelValue": t[7] || (t[7] = (e) => I(c) ? c.value = e : c = e),
276
278
  "label-name": "settle/settle-trade-receipt"
277
279
  }, null, 8, ["modelValue"])
278
280
  ]),
@@ -283,10 +285,10 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
283
285
  })
284
286
  ]),
285
287
  footer: a(() => [
286
- r(y) > 0 ? (i(), w(q, {
288
+ r(y) > 0 ? (i(), D(q, {
287
289
  key: 0,
288
290
  total: r(y),
289
- "onUpdate:total": t[8] || (t[8] = (e) => D(y) ? y.value = e : null),
291
+ "onUpdate:total": t[8] || (t[8] = (e) => I(y) ? y.value = e : null),
290
292
  "current-page": s.value.curPage,
291
293
  "onUpdate:currentPage": t[9] || (t[9] = (e) => s.value.curPage = e),
292
294
  "page-size": s.value.pageSize,
@@ -297,7 +299,7 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
297
299
  default: a(() => [
298
300
  l(K, {
299
301
  ref_key: "multipleTableRef",
300
- ref: Y,
302
+ ref: A,
301
303
  "row-key": "receiptId",
302
304
  isSelection: !1,
303
305
  "list-loading": r(E),
@@ -325,5 +327,5 @@ const ue = new se(), de = { class: "app-container" }, ie = { key: 0 }, me = { ke
325
327
  }
326
328
  });
327
329
  export {
328
- be as _
330
+ he as _
329
331
  };
@@ -1,8 +1,9 @@
1
1
  import { defineComponent as W, getCurrentInstance as X, ref as D, resolveComponent as d, createElementBlock as Z, openBlock as c, createVNode as l, withCtx as t, createBlock as y, withKeys as v, unref as o, createCommentVNode as I, createTextVNode as b, toDisplayString as g, isRef as A } from "vue";
2
- import { useUserStore as x, clearEmpty as ee, request as te, useTableHooks as le } from "jmash-core";
3
- import { useI18n as ae } from "vue-i18n";
4
- import { D as V, C as E } from "./index-Bn8Vw_ua.mjs";
5
- import { useRoute as ne } from "vue-router";
2
+ import { useUserStore as U, clearEmpty as x, request as ee, useTableHooks as te } from "jmash-core";
3
+ import { useI18n as le } from "vue-i18n";
4
+ import { D as V, C as E } from "./index-D_DrLyqR.mjs";
5
+ import { useRoute as ae } from "vue-router";
6
+ import { tokenExt as ne } from "xyvcard-agent";
6
7
  class oe {
7
8
  getKey(f) {
8
9
  return {
@@ -11,23 +12,23 @@ class oe {
11
12
  }
12
13
  // 查询翻页信息划款信息查询-到账(历史)
13
14
  findPage(f) {
14
- const w = x().user.tenant;
15
- return ee(f), te({
15
+ const w = U().user.tenant;
16
+ return x(f), ee({
16
17
  url: "/v1/settle/receipt/page/" + w,
17
18
  method: "get",
18
19
  params: f
19
20
  });
20
21
  }
21
22
  }
22
- const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
23
+ const re = new oe(), se = { class: "app-container" }, fe = /* @__PURE__ */ W({
23
24
  __name: "history",
24
- setup(U) {
25
- const { t: f } = ae();
25
+ setup(j) {
26
+ const { t: f } = le();
26
27
  V.instsBizDict.useValues();
27
- const k = ne().query.tenant, { proxy: C } = X(), j = localStorage.getItem("tokenExt"), r = D({
28
- tokenExt: j ?? ""
28
+ const k = ae().query.tenant, { proxy: C } = X(), r = D({
29
+ tokenExt: ne.getTokenExt(U().user.tenant)
29
30
  }), m = D([]);
30
- function S(a) {
31
+ function Y(a) {
31
32
  m.value = a, m.value.length === 2 && (r.value.transferMoneyDateStart = C.$moment.formatDate(
32
33
  a[0],
33
34
  E.RPC_FORMAT_TIME
@@ -43,8 +44,8 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
43
44
  listLoading: Q,
44
45
  tableData: B,
45
46
  total: M
46
- } = le(f, re, r);
47
- let h = D([
47
+ } = te(f, re, r);
48
+ let T = D([
48
49
  // 序号
49
50
  {
50
51
  label: "settleTradeReceipt.index",
@@ -56,7 +57,6 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
56
57
  {
57
58
  label: "settleTradeReceipt.merchantName",
58
59
  prop: "merchantName",
59
- width: "300",
60
60
  sortable: "custom",
61
61
  isColumn: !0
62
62
  },
@@ -119,7 +119,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
119
119
  isColumn: !0
120
120
  }
121
121
  ]);
122
- function Y() {
122
+ function S() {
123
123
  m.value = [], u.resetQuery();
124
124
  }
125
125
  function K(a) {
@@ -201,7 +201,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
201
201
  "range-separator": "-",
202
202
  "start-placeholder": a.$t("settleTradeReceipt.transferMoneyDateStart"),
203
203
  "end-placeholder": a.$t("settleTradeReceipt.transferMoneyDateEnd"),
204
- onChange: S,
204
+ onChange: Y,
205
205
  style: { width: "280px" }
206
206
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
207
207
  ]),
@@ -275,14 +275,14 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
275
275
  default: t(() => [
276
276
  l(N, {
277
277
  modelValue: m.value,
278
- "onUpdate:modelValue": e[9] || (e[9] = (T) => m.value = T),
278
+ "onUpdate:modelValue": e[9] || (e[9] = (h) => m.value = h),
279
279
  type: "daterange",
280
280
  format: "YYYY-MM-DD",
281
281
  "value-format": "YYYY-MM-DD",
282
282
  "range-separator": "-",
283
283
  "start-placeholder": a.$t("settleTradeReceipt.transferMoneyDateStart"),
284
284
  "end-placeholder": a.$t("settleTradeReceipt.transferMoneyDateEnd"),
285
- onChange: S
285
+ onChange: Y
286
286
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
287
287
  ]),
288
288
  _: 1
@@ -299,7 +299,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
299
299
  default: t(() => [
300
300
  l(R, {
301
301
  type: "primary",
302
- onClick: e[12] || (e[12] = (T) => o(u).handleQuery())
302
+ onClick: e[12] || (e[12] = (h) => o(u).handleQuery())
303
303
  }, {
304
304
  default: t(() => [
305
305
  b(g(a.$t("common.search")), 1)
@@ -307,7 +307,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
307
307
  _: 1
308
308
  }),
309
309
  l(R, {
310
- onClick: e[13] || (e[13] = (T) => Y())
310
+ onClick: e[13] || (e[13] = (h) => S())
311
311
  }, {
312
312
  default: t(() => [
313
313
  b(g(a.$t("common.reset")), 1)
@@ -328,7 +328,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
328
328
  default: t(() => [
329
329
  l(R, {
330
330
  type: "primary",
331
- onClick: e[10] || (e[10] = (T) => o(u).handleQuery())
331
+ onClick: e[10] || (e[10] = (h) => o(u).handleQuery())
332
332
  }, {
333
333
  default: t(() => [
334
334
  b(g(a.$t("common.search")), 1)
@@ -336,7 +336,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
336
336
  _: 1
337
337
  }),
338
338
  l(R, {
339
- onClick: e[11] || (e[11] = (T) => Y())
339
+ onClick: e[11] || (e[11] = (h) => S())
340
340
  }, {
341
341
  default: t(() => [
342
342
  b(g(a.$t("common.reset")), 1)
@@ -369,8 +369,8 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
369
369
  }, {
370
370
  default: t(() => [
371
371
  l(L, {
372
- modelValue: o(h),
373
- "onUpdate:modelValue": e[14] || (e[14] = (n) => A(h) ? h.value = n : h = n),
372
+ modelValue: o(T),
373
+ "onUpdate:modelValue": e[14] || (e[14] = (n) => A(T) ? T.value = n : T = n),
374
374
  "label-name": "settle/settle-trade-receipt"
375
375
  }, null, 8, ["modelValue"])
376
376
  ]),
@@ -400,7 +400,7 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
400
400
  isSelection: !1,
401
401
  "list-loading": o(Q),
402
402
  data: o(B),
403
- "table-label": o(h),
403
+ "table-label": o(T),
404
404
  onSelectionChange: K,
405
405
  onSortChange: q
406
406
  }, {
@@ -423,5 +423,5 @@ const re = new oe(), se = { class: "app-container" }, ce = /* @__PURE__ */ W({
423
423
  }
424
424
  });
425
425
  export {
426
- ce as _
426
+ fe as _
427
427
  };
@@ -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-Dbqhypfx.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {