xyvcard-settle 0.0.48 → 0.0.49

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 (20) hide show
  1. package/dist/{history-BxhHHLWl.mjs → history-CMyJKuis.mjs} +1 -1
  2. package/dist/{history-DV6dRTjD.mjs → history-DWaN_Nrb.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs → history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs} +71 -70
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs → history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs} +96 -95
  5. package/dist/{index-BbgmsRx0.mjs → index-BeU6u9hH.mjs} +84 -83
  6. package/dist/{index-CiDstsD9.mjs → index-BmSUfSfV.mjs} +76 -75
  7. package/dist/{index-CfdbNSq8.mjs → index-C6IvQBy0.mjs} +77 -76
  8. package/dist/{index-1jun1BI_.mjs → index-CVrtwq6W.mjs} +61 -60
  9. package/dist/{index-CaBORY0Z.mjs → index-Cw3Bhtc2.mjs} +74 -73
  10. package/dist/{index-D4jXgbZE.mjs → index-D8LRYlta.mjs} +2 -2
  11. package/dist/{index-CgbOnDFk.mjs → index-Ds4E1nsC.mjs} +1 -1
  12. package/dist/{index-C4pzKlKF.mjs → index-IYVODwmA.mjs} +2 -2
  13. package/dist/{index-BCg9UNFw.mjs → index-LT7qO1_c.mjs} +76 -75
  14. package/dist/{index-B4SCq7KH.mjs → index-ZwyAUTzX.mjs} +2 -2
  15. package/dist/index.mjs +1 -1
  16. package/dist/{today-CryQp8d6.mjs → today-BU8dRQhE.mjs} +1 -1
  17. package/dist/{today-raAsbnbG.mjs → today-DO4wIwlZ.mjs} +1 -1
  18. package/dist/{today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs → today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs} +51 -50
  19. package/dist/{today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs → today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs} +103 -102
  20. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as K, getCurrentInstance as Q, ref as v, onActivated as q, resolveComponent as s, createElementBlock as b, openBlock as i, createVNode as a, withCtx as l, withKeys as R, unref as o, Fragment as x, renderList as G, createBlock as w, withDirectives as J, vShow as O, createTextVNode as g, toDisplayString as f, createCommentVNode as W, isRef as C } from "vue";
2
- import { useI18n as X } from "vue-i18n";
3
- import { useUserStore as I, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
4
- import { channelApi as ae } from "xyvcard-merchant";
5
- import { tokenExt as le } from "xyvcard-agent";
6
- import { D } from "./index-BgbsFf1D.mjs";
7
- import { DateRange as ne } from "xyvcard-insts";
8
- import { g as oe } from "./agent-R-Ml-XTA.mjs";
9
- class re {
1
+ import { defineComponent as q, getCurrentInstance as x, ref as v, onActivated as G, resolveComponent as s, resolveDirective as J, createElementBlock as b, openBlock as i, createVNode as l, withCtx as a, withKeys as w, unref as o, Fragment as O, renderList as W, createBlock as D, withDirectives as C, vShow as X, createTextVNode as g, toDisplayString as f, createCommentVNode as Z, isRef as I } from "vue";
2
+ import { useI18n as ee } from "vue-i18n";
3
+ import { useUserStore as S, clearEmpty as te, request as ae, useTableHooks as le } from "jmash-core";
4
+ import { channelApi as ne } from "xyvcard-merchant";
5
+ import { tokenExt as oe } from "xyvcard-agent";
6
+ import { D as M } from "./index-BgbsFf1D.mjs";
7
+ import { DateRange as re } from "xyvcard-insts";
8
+ import { g as se } from "./agent-R-Ml-XTA.mjs";
9
+ class de {
10
10
  getKey(u) {
11
11
  return {
12
12
  receiptId: u.receiptId
@@ -14,33 +14,33 @@ class re {
14
14
  }
15
15
  // 查询翻页信息划款信息查询-到账(历史)
16
16
  findPage(u) {
17
- const _ = I().user.tenant;
18
- return Z(u), ee({
17
+ const _ = S().user.tenant;
18
+ return te(u), ae({
19
19
  url: "/v1/settle/receipt/my/page/" + _,
20
20
  method: "get",
21
21
  params: u
22
22
  });
23
23
  }
24
24
  }
25
- const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { key: 1 }, he = /* @__PURE__ */ K({
25
+ const ie = new de(), ue = { class: "app-container" }, pe = { key: 0 }, me = { key: 1 }, De = /* @__PURE__ */ q({
26
26
  __name: "history",
27
- setup(S) {
28
- const { t: u } = X();
29
- D.instsBizDict.useValues();
30
- const { proxy: _ } = Q(), r = v({
31
- tokenExt: le.getTokenExt(I().user.tenant)
32
- }), M = v([]), k = localStorage.getItem("selectMerchantId");
33
- ae.myFindList({ merchantId: k }).then((n) => {
34
- M.value = n.data.results;
27
+ setup(k) {
28
+ const { t: u } = ee();
29
+ M.instsBizDict.useValues();
30
+ const { proxy: _ } = x(), r = v({
31
+ tokenExt: oe.getTokenExt(S().user.tenant)
32
+ }), T = v([]), N = localStorage.getItem("selectMerchantId");
33
+ ne.myFindList({ merchantId: N }).then((n) => {
34
+ T.value = n.data.results;
35
35
  });
36
36
  const {
37
37
  tableHooks: d,
38
- multipleTableRef: N,
39
- queryFormRef: V,
40
- listLoading: $,
41
- tableData: Y,
38
+ multipleTableRef: V,
39
+ queryFormRef: $,
40
+ listLoading: Y,
41
+ tableData: A,
42
42
  total: y
43
- } = te(u, se, r);
43
+ } = le(u, ie, r);
44
44
  let p = v([
45
45
  // 序号
46
46
  {
@@ -118,38 +118,38 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
118
118
  isColumn: !0
119
119
  }
120
120
  ]);
121
- function A(n) {
121
+ function E(n) {
122
122
  d.selectionRows.value = n;
123
123
  }
124
- function E(n) {
124
+ function U(n) {
125
125
  d.handleSort(n.prop, n.order);
126
126
  }
127
- return q(() => {
127
+ return G(() => {
128
128
  d.getList();
129
129
  }), (n, t) => {
130
- const U = s("el-input"), m = s("el-form-item"), c = s("el-col"), z = s("el-option"), j = s("el-select"), h = s("el-row"), T = s("el-button"), B = s("el-form"), L = s("jmash-column-select"), P = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
131
- return i(), b("div", de, [
132
- a(B, {
130
+ const z = s("el-input"), m = s("el-form-item"), c = s("el-col"), j = s("el-option"), B = s("el-select"), h = s("el-row"), R = s("el-button"), L = s("el-form"), P = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card"), Q = J("loading");
131
+ return i(), b("div", ue, [
132
+ l(L, {
133
133
  ref_key: "queryFormRef",
134
- ref: V,
134
+ ref: $,
135
135
  model: r.value,
136
136
  inline: !0
137
137
  }, {
138
- default: l(() => [
139
- a(h, null, {
140
- default: l(() => [
141
- a(c, { span: 6 }, {
142
- default: l(() => [
143
- a(m, {
138
+ default: a(() => [
139
+ l(h, null, {
140
+ default: a(() => [
141
+ l(c, { span: 6 }, {
142
+ default: a(() => [
143
+ l(m, {
144
144
  label: n.$t("settleTradeReceipt.termNo"),
145
145
  prop: "termNo"
146
146
  }, {
147
- default: l(() => [
148
- a(U, {
147
+ default: a(() => [
148
+ l(z, {
149
149
  modelValue: r.value.termNo,
150
150
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.termNo = e),
151
151
  placeholder: n.$t("settleTradeReceipt.termNoRead"),
152
- onKeyup: t[1] || (t[1] = R((e) => o(d).handleQuery(), ["enter"])),
152
+ onKeyup: t[1] || (t[1] = w((e) => o(d).handleQuery(), ["enter"])),
153
153
  class: "!w-[203px]"
154
154
  }, null, 8, ["modelValue", "placeholder"])
155
155
  ]),
@@ -158,26 +158,26 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
158
158
  ]),
159
159
  _: 1
160
160
  }),
161
- a(c, { span: 6 }, {
162
- default: l(() => [
163
- a(m, {
161
+ l(c, { span: 6 }, {
162
+ default: a(() => [
163
+ l(m, {
164
164
  label: n.$t("settleTradeAnalysis.channelId"),
165
165
  prop: "channelId"
166
166
  }, {
167
- default: l(() => [
168
- a(j, {
167
+ default: a(() => [
168
+ l(B, {
169
169
  modelValue: r.value.channelId,
170
170
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
171
171
  placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
172
- onKeyup: t[3] || (t[3] = R((e) => o(d).handleQuery(), ["enter"])),
172
+ onKeyup: t[3] || (t[3] = w((e) => o(d).handleQuery(), ["enter"])),
173
173
  class: "!w-[203px]",
174
174
  filterable: "",
175
175
  clearable: ""
176
176
  }, {
177
- default: l(() => [
178
- (i(!0), b(x, null, G(M.value, (e) => (i(), w(z, {
177
+ default: a(() => [
178
+ (i(!0), b(O, null, W(T.value, (e) => (i(), D(j, {
179
179
  key: e.channelId,
180
- label: o(D).instsBizDict.getValue(e.instsId) || e.instsId,
180
+ label: o(M).instsBizDict.getValue(e.instsId) || e.instsId,
181
181
  value: e.channelId
182
182
  }, null, 8, ["label", "value"]))), 128))
183
183
  ]),
@@ -189,14 +189,14 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
189
189
  ]),
190
190
  _: 1
191
191
  }),
192
- a(c, { span: 6 }, {
193
- default: l(() => [
194
- a(m, {
192
+ l(c, { span: 6 }, {
193
+ default: a(() => [
194
+ l(m, {
195
195
  label: n.$t("settleTradeReceipt.createTime"),
196
196
  prop: "transferMoneyDateStart"
197
197
  }, {
198
- default: l(() => [
199
- a(o(ne), {
198
+ default: a(() => [
199
+ l(o(re), {
200
200
  "start-time": r.value.transferMoneyDateStart,
201
201
  "onUpdate:startTime": t[4] || (t[4] = (e) => r.value.transferMoneyDateStart = e),
202
202
  "end-time": r.value.transferMoneyDateEnd,
@@ -210,8 +210,8 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
210
210
  ]),
211
211
  _: 1
212
212
  }, 8, ["label"]),
213
- J(a(m, { prop: "transferMoneyDateEnd" }, null, 512), [
214
- [O, !1]
213
+ C(l(m, { prop: "transferMoneyDateEnd" }, null, 512), [
214
+ [X, !1]
215
215
  ])
216
216
  ]),
217
217
  _: 1
@@ -219,25 +219,25 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
219
219
  ]),
220
220
  _: 1
221
221
  }),
222
- a(h, null, {
223
- default: l(() => [
224
- a(c, { span: 24 }, {
225
- default: l(() => [
226
- a(m, { class: "search-btn" }, {
227
- default: l(() => [
228
- a(T, {
222
+ l(h, null, {
223
+ default: a(() => [
224
+ l(c, { span: 24 }, {
225
+ default: a(() => [
226
+ l(m, { class: "search-btn" }, {
227
+ default: a(() => [
228
+ l(R, {
229
229
  type: "primary",
230
230
  onClick: t[6] || (t[6] = (e) => o(d).handleQuery())
231
231
  }, {
232
- default: l(() => [
232
+ default: a(() => [
233
233
  g(f(n.$t("common.search")), 1)
234
234
  ]),
235
235
  _: 1
236
236
  }),
237
- a(T, {
237
+ l(R, {
238
238
  onClick: t[7] || (t[7] = (e) => o(d).resetQuery())
239
239
  }, {
240
- default: l(() => [
240
+ default: a(() => [
241
241
  g(f(n.$t("common.reset")), 1)
242
242
  ]),
243
243
  _: 1
@@ -254,21 +254,21 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
254
254
  ]),
255
255
  _: 1
256
256
  }, 8, ["model"]),
257
- a(H, {
257
+ l(K, {
258
258
  shadow: "never",
259
259
  class: "table-container"
260
260
  }, {
261
- header: l(() => [
262
- a(h, null, {
263
- default: l(() => [
264
- a(c, {
261
+ header: a(() => [
262
+ l(h, null, {
263
+ default: a(() => [
264
+ l(c, {
265
265
  span: 24,
266
266
  class: "container-float"
267
267
  }, {
268
- default: l(() => [
269
- a(L, {
268
+ default: a(() => [
269
+ l(P, {
270
270
  modelValue: o(p),
271
- "onUpdate:modelValue": t[8] || (t[8] = (e) => C(p) ? p.value = e : p = e),
271
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => I(p) ? p.value = e : p = e),
272
272
  "label-name": "settle/settle-trade-receipt"
273
273
  }, null, 8, ["modelValue"])
274
274
  ]),
@@ -278,44 +278,45 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
278
278
  _: 1
279
279
  })
280
280
  ]),
281
- footer: l(() => [
282
- o(y) > 0 ? (i(), w(F, {
281
+ footer: a(() => [
282
+ o(y) > 0 ? (i(), D(H, {
283
283
  key: 0,
284
284
  total: o(y),
285
- "onUpdate:total": t[9] || (t[9] = (e) => C(y) ? y.value = e : null),
285
+ "onUpdate:total": t[9] || (t[9] = (e) => I(y) ? y.value = e : null),
286
286
  "current-page": r.value.curPage,
287
287
  "onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
288
288
  "page-size": r.value.pageSize,
289
289
  "onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
290
290
  onPagination: t[12] || (t[12] = (e) => o(d).getList())
291
- }, null, 8, ["total", "current-page", "page-size"])) : W("", !0)
291
+ }, null, 8, ["total", "current-page", "page-size"])) : Z("", !0)
292
292
  ]),
293
- default: l(() => [
294
- a(P, {
293
+ default: a(() => [
294
+ C((i(), D(F, {
295
295
  ref_key: "multipleTableRef",
296
- ref: N,
296
+ ref: V,
297
297
  "row-key": "receiptId",
298
298
  isSelection: !1,
299
- "list-loading": o($),
300
- data: o(Y),
299
+ data: o(A),
301
300
  "table-label": o(p),
302
- onSelectionChange: A,
303
- onSortChange: E
301
+ onSelectionChange: E,
302
+ onSortChange: U
304
303
  }, {
305
- instsId: l((e) => [
306
- g(f(o(D).instsBizDict.getValue(e.data.row.instsId)), 1)
304
+ instsId: a((e) => [
305
+ g(f(o(M).instsBizDict.getValue(e.data.row.instsId)), 1)
307
306
  ]),
308
- transferMoneyDate: l((e) => [
309
- e.data.row.transferMoneyDate ? (i(), b("span", ue, f(o(_).$moment.formatDate(
307
+ transferMoneyDate: a((e) => [
308
+ e.data.row.transferMoneyDate ? (i(), b("span", pe, f(o(_).$moment.formatDate(
310
309
  new Date(e.data.row.transferMoneyDate),
311
310
  "YYYY-MM-DD HH:mm"
312
- )), 1)) : (i(), b("span", ie))
311
+ )), 1)) : (i(), b("span", me))
313
312
  ]),
314
- agentCode: l((e) => [
315
- g(f(o(oe)(e.data.row.agentCode)), 1)
313
+ agentCode: a((e) => [
314
+ g(f(o(se)(e.data.row.agentCode)), 1)
316
315
  ]),
317
316
  _: 1
318
- }, 8, ["list-loading", "data", "table-label"])
317
+ }, 8, ["data", "table-label"])), [
318
+ [Q, o(Y)]
319
+ ])
319
320
  ]),
320
321
  _: 1
321
322
  })
@@ -324,5 +325,5 @@ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { ke
324
325
  }
325
326
  });
326
327
  export {
327
- he as _
328
+ De as _
328
329
  };