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,33 +1,35 @@
1
1
  import { defineComponent as K, getCurrentInstance as Y, ref as g, resolveComponent as s, createElementBlock as R, openBlock as f, createVNode as a, withCtx as l, withKeys as w, unref as o, Fragment as q, renderList as G, createBlock as C, createTextVNode as b, toDisplayString as y, createCommentVNode as J, isRef as k } from "vue";
2
- import { useUserStore as O, clearEmpty as W, request as X, useTableHooks as Z } from "jmash-core";
3
- import { useI18n as ee } from "vue-i18n";
4
- import { D as m, I as te } from "./index-Bn8Vw_ua.mjs";
2
+ import { useUserStore as V, clearEmpty as O, request as W, useTableHooks as X } from "jmash-core";
3
+ import { useI18n as Z } from "vue-i18n";
4
+ import { D as m } from "./index-D_DrLyqR.mjs";
5
+ import { channelApi as ee } from "xyvcard-merchant";
6
+ import { tokenExt as te } from "xyvcard-agent";
5
7
  class le {
6
- getKey(d) {
8
+ getKey(i) {
7
9
  return {
8
- receiptId: d.receiptId
10
+ receiptId: i.receiptId
9
11
  };
10
12
  }
11
13
  // 查询翻页信息划款信息查询-今日到账
12
- findPage(d) {
13
- const h = O().user.tenant;
14
- return W(d), X({
14
+ findPage(i) {
15
+ const h = V().user.tenant;
16
+ return O(i), W({
15
17
  url: "/v1/settle/receipt/today/my/" + h,
16
18
  method: "get",
17
- params: d
19
+ params: i
18
20
  });
19
21
  }
20
22
  }
21
- const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
23
+ const ae = new le(), ne = { class: "app-container" }, me = /* @__PURE__ */ K({
22
24
  __name: "today",
23
- setup(V) {
24
- const { t: d } = ee();
25
+ setup(M) {
26
+ const { t: i } = Z();
25
27
  m.instsBizDict.useValues(), m.merchantBizDict.useValues();
26
- const { proxy: h } = Y(), M = localStorage.getItem("tokenExt"), I = g([]), r = g({
27
- tokenExt: M ?? ""
28
+ const { proxy: h } = Y(), T = g([]), r = g({
29
+ tokenExt: te.getTokenExt(V().user.tenant)
28
30
  });
29
- te.myFindList({}).then((n) => {
30
- I.value = n.data.results;
31
+ ee.myFindList({}).then((n) => {
32
+ T.value = n.data.results;
31
33
  });
32
34
  const {
33
35
  tableHooks: u,
@@ -36,8 +38,8 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
36
38
  listLoading: $,
37
39
  tableData: z,
38
40
  total: p
39
- } = Z(d, ae, r);
40
- let i = g([
41
+ } = X(i, ae, r);
42
+ let d = g([
41
43
  // 序号
42
44
  {
43
45
  label: "settleTradeReceipt.index",
@@ -121,20 +123,20 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
121
123
  isColumn: !0
122
124
  }
123
125
  ]);
124
- function N() {
126
+ function A() {
125
127
  r.value.merchantId = "", r.value.channelId = "";
126
128
  }
127
- function j(n) {
129
+ function N(n) {
128
130
  u.selectionRows.value = n;
129
131
  }
130
- function A(n) {
132
+ function j(n) {
131
133
  u.handleSort(n.prop, n.order);
132
134
  }
133
135
  function B() {
134
136
  u.handleQuery(), u.getList();
135
137
  }
136
138
  return (n, t) => {
137
- const U = s("jmash-select"), _ = s("el-form-item"), c = s("el-col"), x = s("el-option"), L = s("el-select"), T = s("el-button"), v = s("el-row"), P = s("el-form"), E = s("jmash-column-select"), Q = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
139
+ const U = s("jmash-select"), _ = s("el-form-item"), c = s("el-col"), x = s("el-option"), L = s("el-select"), v = s("el-button"), I = s("el-row"), P = s("el-form"), E = s("jmash-column-select"), Q = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
138
140
  return f(), R("div", ne, [
139
141
  a(P, {
140
142
  ref_key: "queryFormRef",
@@ -143,7 +145,7 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
143
145
  inline: !0
144
146
  }, {
145
147
  default: l(() => [
146
- a(v, null, {
148
+ a(I, null, {
147
149
  default: l(() => [
148
150
  a(c, { span: 6 }, {
149
151
  default: l(() => [
@@ -185,7 +187,7 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
185
187
  clearable: ""
186
188
  }, {
187
189
  default: l(() => [
188
- (f(!0), R(q, null, G(I.value, (e) => (f(), C(x, {
190
+ (f(!0), R(q, null, G(T.value, (e) => (f(), C(x, {
189
191
  key: e.channelId,
190
192
  label: o(m).instsBizDict.getValue(e.instsId) || e.instsId,
191
193
  value: e.channelId
@@ -203,7 +205,7 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
203
205
  default: l(() => [
204
206
  a(_, { class: "search-btn" }, {
205
207
  default: l(() => [
206
- a(T, {
208
+ a(v, {
207
209
  type: "primary",
208
210
  onClick: t[4] || (t[4] = (e) => B())
209
211
  }, {
@@ -212,8 +214,8 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
212
214
  ]),
213
215
  _: 1
214
216
  }),
215
- a(T, {
216
- onClick: t[5] || (t[5] = (e) => N())
217
+ a(v, {
218
+ onClick: t[5] || (t[5] = (e) => A())
217
219
  }, {
218
220
  default: l(() => [
219
221
  b(y(n.$t("common.reset")), 1)
@@ -237,7 +239,7 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
237
239
  class: "table-container"
238
240
  }, {
239
241
  header: l(() => [
240
- a(v, null, {
242
+ a(I, null, {
241
243
  default: l(() => [
242
244
  a(c, {
243
245
  span: 24,
@@ -245,8 +247,8 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
245
247
  }, {
246
248
  default: l(() => [
247
249
  a(E, {
248
- modelValue: o(i),
249
- "onUpdate:modelValue": t[6] || (t[6] = (e) => k(i) ? i.value = e : i = e),
250
+ modelValue: o(d),
251
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => k(d) ? d.value = e : d = e),
250
252
  "label-name": "settle/settle-trade-receipt"
251
253
  }, null, 8, ["modelValue"])
252
254
  ]),
@@ -276,9 +278,9 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
276
278
  isSelection: !1,
277
279
  "list-loading": o($),
278
280
  data: o(z),
279
- "table-label": o(i),
280
- onSelectionChange: j,
281
- onSortChange: A
281
+ "table-label": o(d),
282
+ onSelectionChange: N,
283
+ onSortChange: j
282
284
  }, {
283
285
  transferMoneyTime: l((e) => [
284
286
  b(y(o(h).$moment.formatDate(
@@ -299,5 +301,5 @@ const ae = new le(), ne = { class: "app-container" }, de = /* @__PURE__ */ K({
299
301
  }
300
302
  });
301
303
  export {
302
- de as _
304
+ me as _
303
305
  };
@@ -17,6 +17,7 @@ declare const _default: {
17
17
  startCreateTime: string;
18
18
  endCreateTime: string;
19
19
  totalAmount: string;
20
+ discountAmount: string;
20
21
  payMode: string;
21
22
  payModeRead: string;
22
23
  commission: string;
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "xyvcard-settle",
3
- "version": "0.0.19",
4
- "private": false,
5
- "module": "dist/index.mjs",
6
- "types": "dts/src/index.d.ts",
7
- "files": [
8
- "dist",
9
- "dts/src"
10
- ],
11
- "peerDependencies": {
12
- "axios": "^1.7.7",
13
- "element-plus": "^2.8.7",
14
- "jmash-core": "^0.0.137",
15
- "jmash-dict": "^0.0.47",
16
- "jmash-rbac": "^0.0.49",
17
- "xyvcard-agent": "0.0.17",
18
- "xyvcard-merchant": "0.0.9",
19
- "xyvcard-insts": "0.0.8",
20
- "pinia": "^2.2.4",
21
- "vue": "^3.5.11",
22
- "vue-i18n": "^9.14.1",
23
- "vue-router": "^4.4.5"
24
- },
25
- "devDependencies": {
26
- "@eslint/js": "^9.14.0",
27
- "@tsconfig/node20": "^20.1.2",
28
- "@types/node": "^20.11.10",
29
- "@vitejs/plugin-vue": "^5.0.3",
30
- "@vue/tsconfig": "^0.5.1",
31
- "eslint": "^9.14.0",
32
- "eslint-plugin-vue": "^9.30.0",
33
- "globals": "^15.12.0",
34
- "npm-run-all2": "^6.1.1",
35
- "prettier": "^3.0.3",
36
- "sass": "^1.72.0",
37
- "typescript": "~5.3.0",
38
- "typescript-eslint": "^8.13.0",
39
- "unplugin-auto-import": "^0.17.5",
40
- "unplugin-vue-components": "^0.26.0",
41
- "vite": "^5.0.11",
42
- "vue-tsc": "^2.1.10",
43
- "moment": "^2.30.1"
44
- },
45
- "dependencies": {
46
- "file-saver": "^2.0.5",
47
- "nprogress": "^0.2.0",
48
- "@vueuse/core": "^10.9.0",
49
- "qs": "^6.12.0"
50
- },
51
- "scripts": {
52
- "dev": "vite --host",
53
- "build": "vite build && pnpm build:dts",
54
- "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
55
- "preview": "vite preview",
56
- "build-only": "vite build",
57
- "type-check": "vue-tsc --build --force",
58
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
59
- "format": "prettier --write src/"
60
- }
61
- }
1
+ {
2
+ "name": "xyvcard-settle",
3
+ "version": "0.0.21",
4
+ "private": false,
5
+ "module": "dist/index.mjs",
6
+ "types": "dts/src/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "dts/src"
10
+ ],
11
+ "scripts": {
12
+ "dev": "vite --host",
13
+ "build": "vite build && pnpm build:dts",
14
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
15
+ "preview": "vite preview",
16
+ "build-only": "vite build",
17
+ "type-check": "vue-tsc --build --force",
18
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
19
+ "format": "prettier --write src/"
20
+ },
21
+ "peerDependencies": {
22
+ "axios": "^1.7.7",
23
+ "element-plus": "^2.8.7",
24
+ "jmash-core": "^0.0.137",
25
+ "jmash-dict": "^0.0.47",
26
+ "jmash-rbac": "^0.0.49",
27
+ "xyvcard-agent": "0.0.24",
28
+ "xyvcard-merchant": "0.0.14",
29
+ "xyvcard-insts": "0.0.16",
30
+ "pinia": "^2.2.4",
31
+ "vue": "^3.5.11",
32
+ "vue-i18n": "^9.14.1",
33
+ "vue-router": "^4.4.5"
34
+ },
35
+ "devDependencies": {
36
+ "@eslint/js": "^9.14.0",
37
+ "@tsconfig/node20": "^20.1.2",
38
+ "@types/node": "^20.11.10",
39
+ "@vitejs/plugin-vue": "^5.0.3",
40
+ "@vue/tsconfig": "^0.5.1",
41
+ "eslint": "^9.14.0",
42
+ "eslint-plugin-vue": "^9.30.0",
43
+ "globals": "^15.12.0",
44
+ "npm-run-all2": "^6.1.1",
45
+ "prettier": "^3.0.3",
46
+ "sass": "^1.72.0",
47
+ "typescript": "~5.3.0",
48
+ "typescript-eslint": "^8.13.0",
49
+ "unplugin-auto-import": "^0.17.5",
50
+ "unplugin-vue-components": "^0.26.0",
51
+ "vite": "^5.0.11",
52
+ "vue-tsc": "^2.1.10",
53
+ "moment": "^2.30.1"
54
+ },
55
+ "dependencies": {
56
+ "file-saver": "^2.0.5",
57
+ "nprogress": "^0.2.0",
58
+ "@vueuse/core": "^10.9.0",
59
+ "qs": "^6.12.0"
60
+ }
61
+ }
@@ -1,9 +0,0 @@
1
- const n = (o, r) => {
2
- const c = o.__vccOpts || o;
3
- for (const [s, t] of r)
4
- c[s] = t;
5
- return c;
6
- };
7
- export {
8
- n as s
9
- };
@@ -1,9 +0,0 @@
1
- const r = (o, s) => {
2
- const c = o.__vccOpts || o;
3
- for (const [t, n] of s)
4
- c[t] = n;
5
- return c;
6
- };
7
- export {
8
- r as s
9
- };
@@ -1,9 +0,0 @@
1
- const r = (o, s) => {
2
- const c = o.__vccOpts || o;
3
- for (const [t, n] of s)
4
- c[t] = n;
5
- return c;
6
- };
7
- export {
8
- r as s
9
- };