xyvcard-settle 0.0.26 → 0.0.27

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 (23) hide show
  1. package/dist/{history-B-gHLBwh.mjs → history-CLKzeQgr.mjs} +1 -1
  2. package/dist/{history-BLctAU0P.mjs → history-LA5ydGD3.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs → history.vue_vue_type_script_setup_true_lang-DKpNnK16.mjs} +60 -64
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs → history.vue_vue_type_script_setup_true_lang-DNAKjj2K.mjs} +59 -63
  5. package/dist/index-BC5efvjW.mjs +718 -0
  6. package/dist/{index-AgzuDVOr.mjs → index-BD3X5Rti.mjs} +68 -68
  7. package/dist/{index-CNAVEXHD.mjs → index-BedZ4YBW.mjs} +2 -2
  8. package/dist/{index-CE3y-0QV.mjs → index-BvNkY5ky.mjs} +1 -1
  9. package/dist/{index-YgHkUquv.mjs → index-COYrjW5J.mjs} +49 -48
  10. package/dist/{index-CU32So4f.mjs → index-CexLM-Ob.mjs} +3 -2
  11. package/dist/index-Cq9GZCQ5.mjs +704 -0
  12. package/dist/{index-C2vMy8ik.mjs → index-Dbi92nov.mjs} +61 -64
  13. package/dist/{index-Cg3fVoEi.mjs → index-ciHpwp7j.mjs} +2 -2
  14. package/dist/index.mjs +1 -1
  15. package/dist/{today-r_ikFBLS.mjs → today-B95MJ59w.mjs} +1 -1
  16. package/dist/{today-t0-6m3Qr.mjs → today-BQqb8yMf.mjs} +1 -1
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs → today.vue_vue_type_script_setup_true_lang-C0qp5E2L.mjs} +70 -74
  18. package/dist/{today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs → today.vue_vue_type_script_setup_true_lang-ChWYCSDh.mjs} +47 -51
  19. package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -1
  20. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
  21. package/package.json +2 -2
  22. package/dist/index-P-8jwHYX.mjs +0 -690
  23. package/dist/index-dcnBl8Xl.mjs +0 -690
@@ -1,7 +1,7 @@
1
- import { defineComponent as Y, getCurrentInstance as q, ref as y, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as C, unref as o, Fragment as J, renderList as O, createBlock as D, createTextVNode as m, toDisplayString as p, createCommentVNode as G, isRef as S } from "vue";
2
- import { useI18n as W } from "vue-i18n";
3
- import { useUserStore as v, clearEmpty as X, request as Z, useTableHooks as ee } from "jmash-core";
4
- import { tokenExt as te } from "xyvcard-agent";
1
+ import { defineComponent as q, getCurrentInstance as G, ref as y, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as C, unref as o, Fragment as J, renderList as O, createBlock as D, createTextVNode as m, toDisplayString as p, createCommentVNode as W, isRef as V } from "vue";
2
+ import { useI18n as X } from "vue-i18n";
3
+ import { useUserStore as v, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
4
+ import { tokenExt as k } from "xyvcard-agent";
5
5
  import { channelApi as le } from "xyvcard-merchant";
6
6
  import { D as c } from "./index-CpuvJ4Tw.mjs";
7
7
  class ae {
@@ -12,37 +12,33 @@ class ae {
12
12
  }
13
13
  // 查询翻页信息划款信息查询-今日到账
14
14
  findPage(d) {
15
- const g = v().user.tenant;
16
- return X(d), Z({
17
- url: "/v1/settle/receipt/today/my/" + g,
15
+ const _ = v().user.tenant;
16
+ return Z(d), ee({
17
+ url: "/v1/settle/receipt/today/my/" + _,
18
18
  method: "get",
19
19
  params: d
20
20
  });
21
21
  }
22
22
  }
23
- const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
23
+ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ q({
24
24
  __name: "today",
25
- setup(k) {
26
- const { t: d } = W();
25
+ setup(M) {
26
+ const { t: d } = X();
27
27
  c.instsBizDict.useValues(), c.merchantBizDict.useValues();
28
- const { proxy: g } = q(), I = y([]), r = y({
29
- tokenExt: te.getTokenExt(v().user.tenant)
30
- }), V = y(
31
- JSON.parse(
32
- sessionStorage.getItem("SelectAgent:" + v().user.tenant) || "{}"
33
- )
34
- );
28
+ const { proxy: _ } = G(), I = y([]), r = y({
29
+ tokenExt: k.getTokenExt(v().user.tenant)
30
+ }), S = y(k.getCurrentRole(v().user.tenant));
35
31
  le.myFindList({}).then((n) => {
36
32
  I.value = n.data.results;
37
33
  });
38
34
  const {
39
35
  tableHooks: u,
40
- multipleTableRef: M,
41
- queryFormRef: N,
42
- listLoading: A,
43
- tableData: $,
36
+ multipleTableRef: N,
37
+ queryFormRef: $,
38
+ listLoading: z,
39
+ tableData: A,
44
40
  total: f
45
- } = ee(d, ne, r);
41
+ } = te(d, ne, r);
46
42
  let i = y([
47
43
  // 序号
48
44
  {
@@ -129,24 +125,24 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
129
125
  isColumn: !0
130
126
  }
131
127
  ]);
132
- function z() {
128
+ function j() {
133
129
  r.value.merchantId = "", r.value.channelId = "";
134
130
  }
135
- function j(n) {
131
+ function B(n) {
136
132
  u.selectionRows.value = n;
137
133
  }
138
- function B(n) {
134
+ function U(n) {
139
135
  u.handleSort(n.prop, n.order);
140
136
  }
141
- function U() {
137
+ function x() {
142
138
  u.handleQuery(), u.getList();
143
139
  }
144
140
  return (n, t) => {
145
- const x = s("jmash-select"), _ = s("el-form-item"), b = s("el-col"), L = s("el-option"), P = s("el-select"), T = s("el-button"), R = s("el-row"), E = s("el-form"), Q = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card");
141
+ const L = s("jmash-select"), g = s("el-form-item"), b = s("el-col"), P = s("el-option"), E = s("el-select"), T = s("el-button"), R = s("el-row"), Q = s("el-form"), F = s("jmash-column-select"), H = s("jmash-table"), K = s("jmash-pagination"), Y = s("el-card");
146
142
  return h(), w("div", oe, [
147
- a(E, {
143
+ a(Q, {
148
144
  ref_key: "queryFormRef",
149
- ref: N,
145
+ ref: $,
150
146
  model: r.value,
151
147
  inline: !0
152
148
  }, {
@@ -155,12 +151,12 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
155
151
  default: l(() => [
156
152
  a(b, { span: 6 }, {
157
153
  default: l(() => [
158
- a(_, {
154
+ a(g, {
159
155
  label: n.$t("payTrade.merchantId"),
160
156
  prop: "version"
161
157
  }, {
162
158
  default: l(() => [
163
- a(x, {
159
+ a(L, {
164
160
  modelValue: r.value.merchantId,
165
161
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.merchantId = e),
166
162
  placeholder: n.$t("payTrade.merchantIdRead"),
@@ -178,12 +174,12 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
178
174
  }),
179
175
  a(b, { span: 6 }, {
180
176
  default: l(() => [
181
- a(_, {
177
+ a(g, {
182
178
  label: n.$t("settleTradeAnalysis.channelId"),
183
179
  prop: "channelId"
184
180
  }, {
185
181
  default: l(() => [
186
- a(P, {
182
+ a(E, {
187
183
  modelValue: r.value.channelId,
188
184
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
189
185
  placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
@@ -193,7 +189,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
193
189
  clearable: ""
194
190
  }, {
195
191
  default: l(() => [
196
- (h(!0), w(J, null, O(I.value, (e) => (h(), D(L, {
192
+ (h(!0), w(J, null, O(I.value, (e) => (h(), D(P, {
197
193
  key: e.channelId,
198
194
  label: o(c).instsBizDict.getValue(e.instsId) || e.instsId,
199
195
  value: e.channelId
@@ -209,11 +205,11 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
209
205
  }),
210
206
  a(b, { span: 12 }, {
211
207
  default: l(() => [
212
- a(_, { class: "search-btn" }, {
208
+ a(g, { class: "search-btn" }, {
213
209
  default: l(() => [
214
210
  a(T, {
215
211
  type: "primary",
216
- onClick: t[4] || (t[4] = (e) => U())
212
+ onClick: t[4] || (t[4] = (e) => x())
217
213
  }, {
218
214
  default: l(() => [
219
215
  m(p(n.$t("common.search")), 1)
@@ -221,7 +217,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
221
217
  _: 1
222
218
  }),
223
219
  a(T, {
224
- onClick: t[5] || (t[5] = (e) => z())
220
+ onClick: t[5] || (t[5] = (e) => j())
225
221
  }, {
226
222
  default: l(() => [
227
223
  m(p(n.$t("common.reset")), 1)
@@ -240,7 +236,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
240
236
  ]),
241
237
  _: 1
242
238
  }, 8, ["model"]),
243
- a(K, {
239
+ a(Y, {
244
240
  shadow: "never",
245
241
  class: "table-container"
246
242
  }, {
@@ -252,9 +248,9 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
252
248
  class: "container-float"
253
249
  }, {
254
250
  default: l(() => [
255
- a(Q, {
251
+ a(F, {
256
252
  modelValue: o(i),
257
- "onUpdate:modelValue": t[6] || (t[6] = (e) => S(i) ? i.value = e : i = e),
253
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => V(i) ? i.value = e : i = e),
258
254
  "label-name": "settle/settle-trade-receipt"
259
255
  }, null, 8, ["modelValue"])
260
256
  ]),
@@ -265,31 +261,31 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
265
261
  })
266
262
  ]),
267
263
  footer: l(() => [
268
- o(f) > 0 ? (h(), D(H, {
264
+ o(f) > 0 ? (h(), D(K, {
269
265
  key: 0,
270
266
  total: o(f),
271
- "onUpdate:total": t[7] || (t[7] = (e) => S(f) ? f.value = e : null),
267
+ "onUpdate:total": t[7] || (t[7] = (e) => V(f) ? f.value = e : null),
272
268
  "current-page": r.value.curPage,
273
269
  "onUpdate:currentPage": t[8] || (t[8] = (e) => r.value.curPage = e),
274
270
  "page-size": r.value.pageSize,
275
271
  "onUpdate:pageSize": t[9] || (t[9] = (e) => r.value.pageSize = e),
276
272
  onPagination: t[10] || (t[10] = (e) => o(u).getList())
277
- }, null, 8, ["total", "current-page", "page-size"])) : G("", !0)
273
+ }, null, 8, ["total", "current-page", "page-size"])) : W("", !0)
278
274
  ]),
279
275
  default: l(() => [
280
- a(F, {
276
+ a(H, {
281
277
  ref_key: "multipleTableRef",
282
- ref: M,
278
+ ref: N,
283
279
  "row-key": "receiptId",
284
280
  isSelection: !1,
285
- "list-loading": o(A),
286
- data: o($),
281
+ "list-loading": o(z),
282
+ data: o(A),
287
283
  "table-label": o(i),
288
- onSelectionChange: j,
289
- onSortChange: B
284
+ onSelectionChange: B,
285
+ onSortChange: U
290
286
  }, {
291
287
  transferMoneyDate: l((e) => [
292
- m(p(o(g).$moment.formatDate(
288
+ m(p(o(_).$moment.formatDate(
293
289
  e.data.row.transferMoneyDate,
294
290
  "YYYY-MM-DD HH:mm"
295
291
  )), 1)
@@ -298,7 +294,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
298
294
  m(p(o(c).instsBizDict.getValue(e.data.row.instsId)), 1)
299
295
  ]),
300
296
  agentCode: l((e) => [
301
- m(p(V.value.agentAlias), 1)
297
+ m(p(S.value._rawValue.agentAlias), 1)
302
298
  ]),
303
299
  _: 1
304
300
  }, 8, ["list-loading", "data", "table-label"])
@@ -35,7 +35,7 @@ export interface MyPaymentTradeModel extends EntityModel {
35
35
  marketBy?: string;
36
36
  billId?: string;
37
37
  orderTitle?: string;
38
- totalAmount?: number;
38
+ billsAmount?: number;
39
39
  discountAmount?: number;
40
40
  payableAmount?: number;
41
41
  paidAmount?: number;
@@ -5,7 +5,7 @@ export interface SettleAgentTradeAnalysisReq extends EntityReq {
5
5
  agentCode?: string;
6
6
  merchantId?: string;
7
7
  likeMerchantNo?: string;
8
- channelId?: string;
8
+ instsId?: string;
9
9
  analysisTimeStart?: string;
10
10
  analysisTimeEnd?: string;
11
11
  marketBy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "jmash-core": "^0.0.137",
15
15
  "jmash-dict": "^0.0.47",
16
16
  "jmash-rbac": "^0.0.49",
17
- "xyvcard-agent": "0.0.28",
17
+ "xyvcard-agent": "0.0.30",
18
18
  "xyvcard-merchant": "0.0.16",
19
19
  "xyvcard-insts": "0.0.17",
20
20
  "pinia": "^2.2.4",