xyvcard-settle 0.0.16 → 0.0.18

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as R, openBlock as h, createElementVNode as f, createVNode as t, withCtx as l, unref as n, withKeys as V, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
1
+ import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as R, openBlock as h, createElementVNode as f, createVNode as t, withCtx as a, unref as n, withKeys as w, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
2
2
  import { useUserStore as ae, clearEmpty as oe, request as ne, useTableHooks as se } from "jmash-core";
3
3
  import { useI18n as re } from "vue-i18n";
4
4
  import { D as b, C as S } from "./index-Bn8Vw_ua.mjs";
@@ -20,16 +20,16 @@ class ue {
20
20
  });
21
21
  }
22
22
  }
23
- const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, be = { class: "blue_color" }, ve = ["onClick"], ke = /* @__PURE__ */ J({
23
+ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, be = { class: "blue_color" }, ve = ["onClick"], Ve = /* @__PURE__ */ J({
24
24
  __name: "index",
25
- setup(I) {
25
+ setup(N) {
26
26
  const { t: p } = re();
27
27
  b.agentBizDict.useValues(), b.instsBizDict.useValues();
28
- const T = de(), { proxy: k } = X(), M = localStorage.getItem("tokenExt"), s = A({
29
- tokenExt: M ?? ""
28
+ const T = de(), { proxy: V } = X(), I = localStorage.getItem("tokenExt"), s = A({
29
+ tokenExt: I ?? ""
30
30
  }), {
31
31
  tableHooks: i,
32
- multipleTableRef: N,
32
+ multipleTableRef: M,
33
33
  queryFormRef: E,
34
34
  listLoading: P,
35
35
  tableData: z,
@@ -38,10 +38,10 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
38
38
  let C = i.totalRecord;
39
39
  const c = A([]);
40
40
  function U(o) {
41
- c.value = o, c.value.length === 2 && (s.value.analysisTimeStart = k.$moment.formatDate(
41
+ c.value = o, c.value.length === 2 && (s.value.analysisTimeStart = V.$moment.formatDate(
42
42
  o[0],
43
43
  S.RPC_FORMAT_TIME
44
- ), s.value.analysisTimeEnd = k.$moment.formatDate(
44
+ ), s.value.analysisTimeEnd = V.$moment.formatDate(
45
45
  o[1],
46
46
  S.RPC_FORMAT_TIME
47
47
  ));
@@ -100,6 +100,8 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
100
100
  {
101
101
  label: "settleTradeAnalysis.feeAmt",
102
102
  prop: "feeAmt",
103
+ slotName: "feeAmt",
104
+ columnType: "slot",
103
105
  width: "100",
104
106
  sortable: "custom",
105
107
  isColumn: !0
@@ -139,7 +141,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
139
141
  i.handleSort(o.prop, o.order);
140
142
  }
141
143
  return i.getList(), (o, e) => {
142
- const F = r("el-tree-select"), y = r("el-form-item"), u = r("el-col"), w = r("el-input"), K = r("jmash-select"), _ = r("el-row"), q = r("el-date-picker"), $ = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), W = r("jmash-pagination"), x = r("el-card"), G = Z("hasPerm");
144
+ const F = r("el-tree-select"), y = r("el-form-item"), u = r("el-col"), k = r("el-input"), K = r("jmash-select"), _ = r("el-row"), q = r("el-date-picker"), $ = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), W = r("jmash-pagination"), x = r("el-card"), G = Z("hasPerm");
143
145
  return h(), R("div", me, [
144
146
  f("div", pe, [
145
147
  t(L, {
@@ -148,19 +150,19 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
148
150
  model: s.value,
149
151
  inline: !0
150
152
  }, {
151
- default: l(() => [
153
+ default: a(() => [
152
154
  t(_, null, {
153
- default: l(() => [
155
+ default: a(() => [
154
156
  t(u, { span: 6 }, {
155
- default: l(() => [
157
+ default: a(() => [
156
158
  t(y, {
157
159
  label: o.$t("settleTradeAnalysis.agentCode"),
158
160
  prop: "agentCode"
159
161
  }, {
160
- default: l(() => [
162
+ default: a(() => [
161
163
  t(F, {
162
164
  modelValue: s.value.agentCode,
163
- "onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.agentCode = a),
165
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.agentCode = l),
164
166
  data: n(b).agentBizDict.values,
165
167
  "node-key": "value",
166
168
  filterable: "",
@@ -174,17 +176,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
174
176
  _: 1
175
177
  }),
176
178
  t(u, { span: 6 }, {
177
- default: l(() => [
179
+ default: a(() => [
178
180
  t(y, {
179
181
  label: o.$t("settleTradeAnalysis.agentCodes"),
180
182
  prop: "agentCode"
181
183
  }, {
182
- default: l(() => [
183
- t(w, {
184
+ default: a(() => [
185
+ t(k, {
184
186
  modelValue: s.value.agentCode,
185
- "onUpdate:modelValue": e[1] || (e[1] = (a) => s.value.agentCode = a),
187
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => s.value.agentCode = l),
186
188
  placeholder: o.$t("settleTradeAnalysis.agentCodesRead"),
187
- onKeyup: e[2] || (e[2] = V((a) => n(i).handleQuery(), ["enter"])),
189
+ onKeyup: e[2] || (e[2] = w((l) => n(i).handleQuery(), ["enter"])),
188
190
  class: "!w-[203px]"
189
191
  }, null, 8, ["modelValue", "placeholder"])
190
192
  ]),
@@ -194,18 +196,18 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
194
196
  _: 1
195
197
  }),
196
198
  t(u, { span: 6 }, {
197
- default: l(() => [
199
+ default: a(() => [
198
200
  t(y, {
199
201
  label: o.$t("payTrade.instsId"),
200
202
  prop: "instsId"
201
203
  }, {
202
- default: l(() => [
204
+ default: a(() => [
203
205
  t(K, {
204
206
  modelValue: s.value.instsId,
205
- "onUpdate:modelValue": e[3] || (e[3] = (a) => s.value.instsId = a),
207
+ "onUpdate:modelValue": e[3] || (e[3] = (l) => s.value.instsId = l),
206
208
  placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
207
209
  data: n(b).instsBizDict.values,
208
- onKeyup: e[4] || (e[4] = V((a) => n(i).handleQuery(), ["enter"])),
210
+ onKeyup: e[4] || (e[4] = w((l) => n(i).handleQuery(), ["enter"])),
209
211
  class: "!w-[203px]",
210
212
  filterable: "",
211
213
  clearable: ""
@@ -217,17 +219,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
217
219
  _: 1
218
220
  }),
219
221
  t(u, { span: 6 }, {
220
- default: l(() => [
222
+ default: a(() => [
221
223
  t(y, {
222
224
  label: o.$t("settleTradeAnalysis.likeMerchantNo"),
223
225
  prop: "likeMerchantNo"
224
226
  }, {
225
- default: l(() => [
226
- t(w, {
227
+ default: a(() => [
228
+ t(k, {
227
229
  modelValue: s.value.likeMerchantNo,
228
- "onUpdate:modelValue": e[5] || (e[5] = (a) => s.value.likeMerchantNo = a),
230
+ "onUpdate:modelValue": e[5] || (e[5] = (l) => s.value.likeMerchantNo = l),
229
231
  placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
230
- onKeyup: e[6] || (e[6] = V((a) => n(i).handleQuery(), ["enter"])),
232
+ onKeyup: e[6] || (e[6] = w((l) => n(i).handleQuery(), ["enter"])),
231
233
  class: "!w-[203px]"
232
234
  }, null, 8, ["modelValue", "placeholder"])
233
235
  ]),
@@ -240,17 +242,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
240
242
  _: 1
241
243
  }),
242
244
  t(_, null, {
243
- default: l(() => [
245
+ default: a(() => [
244
246
  t(u, { span: 6 }, {
245
- default: l(() => [
247
+ default: a(() => [
246
248
  t(y, {
247
249
  label: o.$t("settleTradeAnalysis.createTime"),
248
250
  prop: "analysisTimeStart"
249
251
  }, {
250
- default: l(() => [
252
+ default: a(() => [
251
253
  t(q, {
252
254
  modelValue: c.value,
253
- "onUpdate:modelValue": e[7] || (e[7] = (a) => c.value = a),
255
+ "onUpdate:modelValue": e[7] || (e[7] = (l) => c.value = l),
254
256
  type: "daterange",
255
257
  format: "YYYY-MM-DD",
256
258
  "value-format": "YYYY-MM-DD",
@@ -266,22 +268,22 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
266
268
  _: 1
267
269
  }),
268
270
  t(u, { span: 18 }, {
269
- default: l(() => [
271
+ default: a(() => [
270
272
  t(y, { class: "search-btn" }, {
271
- default: l(() => [
273
+ default: a(() => [
272
274
  t($, {
273
275
  type: "primary",
274
- onClick: e[8] || (e[8] = (a) => n(i).handleQuery())
276
+ onClick: e[8] || (e[8] = (l) => n(i).handleQuery())
275
277
  }, {
276
- default: l(() => [
278
+ default: a(() => [
277
279
  d(m(o.$t("common.search")), 1)
278
280
  ]),
279
281
  _: 1
280
282
  }),
281
283
  t($, {
282
- onClick: e[9] || (e[9] = (a) => B())
284
+ onClick: e[9] || (e[9] = (l) => B())
283
285
  }, {
284
- default: l(() => [
286
+ default: a(() => [
285
287
  d(m(o.$t("common.reset")), 1)
286
288
  ]),
287
289
  _: 1
@@ -304,17 +306,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
304
306
  shadow: "never",
305
307
  class: "table-container"
306
308
  }, {
307
- header: l(() => [
309
+ header: a(() => [
308
310
  t(_, null, {
309
- default: l(() => [
311
+ default: a(() => [
310
312
  t(u, {
311
313
  span: 24,
312
314
  class: "container-float"
313
315
  }, {
314
- default: l(() => [
316
+ default: a(() => [
315
317
  t(O, {
316
318
  modelValue: n(g),
317
- "onUpdate:modelValue": e[10] || (e[10] = (a) => D(g) ? g.value = a : g = a),
319
+ "onUpdate:modelValue": e[10] || (e[10] = (l) => D(g) ? g.value = l : g = l),
318
320
  "label-name": "settle/settle-trade-analysis"
319
321
  }, null, 8, ["modelValue"])
320
322
  ]),
@@ -324,24 +326,24 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
324
326
  _: 1
325
327
  })
326
328
  ]),
327
- footer: l(() => [
329
+ footer: a(() => [
328
330
  n(v) > 0 ? (h(), te(W, {
329
331
  key: 0,
330
332
  total: n(v),
331
- "onUpdate:total": e[11] || (e[11] = (a) => D(v) ? v.value = a : null),
333
+ "onUpdate:total": e[11] || (e[11] = (l) => D(v) ? v.value = l : null),
332
334
  "current-page": s.value.curPage,
333
- "onUpdate:currentPage": e[12] || (e[12] = (a) => s.value.curPage = a),
335
+ "onUpdate:currentPage": e[12] || (e[12] = (l) => s.value.curPage = l),
334
336
  "page-size": s.value.pageSize,
335
- "onUpdate:pageSize": e[13] || (e[13] = (a) => s.value.pageSize = a),
336
- onPagination: e[14] || (e[14] = (a) => n(i).getList())
337
+ "onUpdate:pageSize": e[13] || (e[13] = (l) => s.value.pageSize = l),
338
+ onPagination: e[14] || (e[14] = (l) => n(i).getList())
337
339
  }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
338
340
  ]),
339
- default: l(() => [
341
+ default: a(() => [
340
342
  f("div", fe, [
341
343
  t(_, { gutter: 24 }, {
342
- default: l(() => [
344
+ default: a(() => [
343
345
  t(u, { span: 6 }, {
344
- default: l(() => [
346
+ default: a(() => [
345
347
  e[16] || (e[16] = d(" 总交易笔数: ")),
346
348
  f("span", ye, m(n(C).totalOrderCount), 1),
347
349
  e[17] || (e[17] = d(" 笔 "))
@@ -349,7 +351,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
349
351
  _: 1
350
352
  }),
351
353
  t(u, { span: 6 }, {
352
- default: l(() => [
354
+ default: a(() => [
353
355
  e[18] || (e[18] = d(" 总交易金额: ")),
354
356
  f("span", ce, m(n(C).totalOrderAmount), 1),
355
357
  e[19] || (e[19] = d(" 元 "))
@@ -357,7 +359,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
357
359
  _: 1
358
360
  }),
359
361
  t(u, { span: 6 }, {
360
- default: l(() => [
362
+ default: a(() => [
361
363
  e[20] || (e[20] = d(" 手续费: ")),
362
364
  f("span", ge, m(n(C).totalFeeAmt), 1),
363
365
  e[21] || (e[21] = d(" 元 "))
@@ -365,7 +367,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
365
367
  _: 1
366
368
  }),
367
369
  t(u, { span: 6 }, {
368
- default: l(() => [
370
+ default: a(() => [
369
371
  e[22] || (e[22] = d(" 结算金额: ")),
370
372
  f("span", be, m(n(C).totalSettleAmount), 1),
371
373
  e[23] || (e[23] = d(" 元 "))
@@ -378,7 +380,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
378
380
  ]),
379
381
  t(H, {
380
382
  ref_key: "multipleTableRef",
381
- ref: N,
383
+ ref: M,
382
384
  "row-key": "settleTradeAnalysisPk",
383
385
  isSelection: !1,
384
386
  "list-loading": n(P),
@@ -387,13 +389,16 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
387
389
  onSelectionChange: Y,
388
390
  onSortChange: Q
389
391
  }, {
390
- agentCode: l((a) => [
391
- d(m(n(b).agentBizDict.getValue(a.data.row.agentCode)), 1)
392
+ feeAmt: a((l) => [
393
+ d(m(l.data.row.feeAmt * 100) + "% ", 1)
394
+ ]),
395
+ agentCode: a((l) => [
396
+ d(m(n(b).agentBizDict.getValue(l.data.row.agentCode)), 1)
392
397
  ]),
393
- operation: l((a) => [
398
+ operation: a((l) => [
394
399
  ee((h(), R("span", {
395
400
  class: "el-button-color",
396
- onClick: (Ce) => j(a.data.row)
401
+ onClick: (Ce) => j(l.data.row)
397
402
  }, [
398
403
  d(m(o.$t("settleTradeAnalysis.view")), 1)
399
404
  ], 8, ve)), [
@@ -410,5 +415,5 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
410
415
  }
411
416
  });
412
417
  export {
413
- ke as default
418
+ Ve as default
414
419
  };