xyvcard-settle 0.0.9 → 0.0.11

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 (43) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +9 -0
  2. package/dist/{config-wQ_OqPiM-Dfqa4-ut.mjs → config-J7atvZST-DWIsO2IO.mjs} +73 -73
  3. package/dist/{free-BUp-oFkV-hf7oJVVa-CV9Mc_v7.mjs → free-Cc9I120N-BWsHZFX2-CxYMpWUK.mjs} +9 -9
  4. package/dist/{free-DaGOIXVI-BQWYVYKX.mjs → free-DaGOIXVI-BNSfAO8T.mjs} +1 -1
  5. package/dist/{history-DXyhZzCj.mjs → history-DtDwu5R-.mjs} +1 -1
  6. package/dist/{history.vue_vue_type_script_setup_true_lang-D9zNqYoH.mjs → history.vue_vue_type_script_setup_true_lang-DMtVBRfy.mjs} +164 -131
  7. package/dist/{index-D67oeGwS-BMFS752D.mjs → index-BCqoC3r3-BIFqVNfL.mjs} +11496 -9626
  8. package/dist/{index-CpvDwpiR.mjs → index-BNso7zfN.mjs} +63 -57
  9. package/dist/{index-BKtOSSkB-DTgIBJsv-cslrwwdq.mjs → index-BspHvxQr-uRg4kyPq-DFg93r8u.mjs} +7922 -7544
  10. package/dist/{index-BtIY2iCq-x-RqpW3Y.mjs → index-BtIY2iCq-BJRRryps.mjs} +1 -1
  11. package/dist/{index-C0VdCZ5o-BS12obci-CPd27xae-uzLPxoYk.mjs → index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs} +1 -1
  12. package/dist/{index-DWdAhe8t-m87rvmL3-Bkp_--X4.mjs → index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs} +1656 -1624
  13. package/dist/{index-BwCHsBZH.mjs → index-CtIH3nvn.mjs} +1 -1
  14. package/dist/index-DRytXEq2-BbPT0y44.mjs +422 -0
  15. package/dist/{index-DgfUBpY9-C0zRoh0e.mjs → index-DgfUBpY9-Dw7Emvyq.mjs} +1 -1
  16. package/dist/{index-DW9pH9d2.mjs → index-DqAggoFd.mjs} +1 -1
  17. package/dist/{index-C0VdCZ5o-Cj3CPOKI-Bwb-yN8L.mjs → index-V24QP_Fz-BzkjeGHi-Ci3LKdW6.mjs} +1561 -1519
  18. package/dist/{index-C046whOI.mjs → index-VeG1EoW7.mjs} +2 -2
  19. package/dist/index-eCinebyw-BgYghjPj.mjs +7401 -0
  20. package/dist/index-pSv-rovn.mjs +9024 -0
  21. package/dist/index.mjs +1 -1
  22. package/dist/{info-B2A1hZLs-CFOBNXvF.mjs → info-B2A1hZLs-BTQUd5Jm.mjs} +2 -2
  23. package/dist/{info-B9D5Y0O1-DJcGjbun-yZzCXvyA-b4j8AIaV.mjs → info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs} +45 -45
  24. package/dist/{info-BInFHgyd-BJR7IDDv.mjs → info-BInFHgyd-DVzc7PKY.mjs} +2 -2
  25. package/dist/{info-C_UgKHAd-BZKHWwe2.mjs → info-C6ZgzFaa-BmnPAu-J.mjs} +19 -19
  26. package/dist/{info-Dnfa8_ww-B52LEaJI-DvHuXfOp.mjs → info-Cj0C9r3t-mBibS56J-CWfoBgkS.mjs} +22 -22
  27. package/dist/{info-Crc5gYV2-CBlPFQL--CjCICqAh-D-hJ1flm.mjs → info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs} +2 -2
  28. package/dist/{info-Crc5gYV2-WRe4uI3Q-C1-U6cHg.mjs → info-DOOuWsLL-Dl19ZBB1-DbrxRvVC.mjs} +293 -292
  29. package/dist/info-DjbDXhlf-D7nLFio2-BHCvJo-B.mjs +818 -0
  30. package/dist/{info-DzkZlnCT-BV1siIQn-DA2Kmmy7-BrG2UboF.mjs → info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs} +1 -1
  31. package/dist/{info-B9D5Y0O1-Cp3rNtuc-hHwLUHFi.mjs → info-EEQdBSPc-B6uHnl48-C8twM8oy.mjs} +99 -99
  32. package/dist/{info-JTzVjKGk-DiN9zsW1.mjs → info-JTzVjKGk-CPZGfQ4J.mjs} +1 -1
  33. package/dist/{info-lj2PfyWO-BkFO5HiO.mjs → info-lj2PfyWO-Co56efnh.mjs} +1 -1
  34. package/dist/{product-BJX8VysN-7rvsebSa.mjs → product-BJX8VysN-Dw6ytmjd.mjs} +1 -1
  35. package/dist/{product-B_wmSyz3-CSnDX200-DQ_3kMfH.mjs → product-DasoXMNF-Ct3nzcE4-DIvah5yX.mjs} +80 -81
  36. package/dist/{today-C5Va5XHn.mjs → today-CcdJaugs.mjs} +1 -1
  37. package/dist/{today.vue_vue_type_script_setup_true_lang-ZrXadN6o.mjs → today.vue_vue_type_script_setup_true_lang-4AbDYOLB.mjs} +1 -1
  38. package/package.json +2 -2
  39. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50.mjs +0 -9
  40. package/dist/constant-BYuI4T7h-CaymzuvN-C16GHKiG.mjs +0 -21
  41. package/dist/index-DY4QrfnW.mjs +0 -8040
  42. package/dist/index-DofyIGY_-CpvRj3fo.mjs +0 -9128
  43. package/dist/info-DzkZlnCT-vArcpPHL-BS_7GYB8.mjs +0 -139
@@ -1,17 +1,16 @@
1
- import { defineComponent as le, ref as F, onBeforeMount as ne, reactive as M, resolveComponent as n, resolveDirective as se, createElementBlock as E, openBlock as V, createVNode as l, createBlock as D, createCommentVNode as ee, withCtx as a, createElementVNode as m, withKeys as Z, unref as u, createTextVNode as C, toDisplayString as f, withDirectives as H, isRef as ae, mergeModels as oe, useModel as ie } from "vue";
1
+ import { defineComponent as le, ref as T, onBeforeMount as ne, reactive as M, resolveComponent as n, resolveDirective as se, createElementBlock as E, openBlock as g, createVNode as l, createBlock as D, createCommentVNode as ee, withCtx as a, createElementVNode as m, withKeys as Z, unref as u, createTextVNode as C, toDisplayString as f, withDirectives as j, isRef as ae, mergeModels as oe, useModel as ie } from "vue";
2
2
  import { useTableHooks as ce, routerUtil as pe } from "jmash-core";
3
3
  import { useI18n as de } from "vue-i18n";
4
4
  import { useRouter as me, useRoute as ue } from "vue-router";
5
- import { H as L, b as fe, _ as he, V as Ce } from "./index-DofyIGY_-CpvRj3fo.mjs";
5
+ import { U as L, O as fe, k as he, L as Ce } from "./index-eCinebyw-BgYghjPj.mjs";
6
6
  import { ElMessage as x } from "element-plus";
7
- import { a as te } from "./index-DWdAhe8t-m87rvmL3-Bkp_--X4.mjs";
8
- import { a as re } from "./constant-BYuI4T7h-CaymzuvN-C16GHKiG.mjs";
7
+ import { L as te, H as re } from "./index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs";
9
8
  /*! Element Plus Icons Vue v2.3.1 */
10
9
  var be = /* @__PURE__ */ le({
11
10
  name: "Plus",
12
11
  __name: "plus",
13
- setup(S) {
14
- return (R, g) => (V(), E("svg", {
12
+ setup(O) {
13
+ return (R, V) => (g(), E("svg", {
15
14
  xmlns: "http://www.w3.org/2000/svg",
16
15
  viewBox: "0 0 1024 1024"
17
16
  }, [
@@ -22,7 +21,7 @@ var be = /* @__PURE__ */ le({
22
21
  ]));
23
22
  }
24
23
  }), ve = be;
25
- const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le({
24
+ const ye = ["onClick"], ge = { class: "dialog-footer" }, Ve = /* @__PURE__ */ le({
26
25
  __name: "productEdit",
27
26
  props: /* @__PURE__ */ oe({
28
27
  entityKey: {
@@ -35,10 +34,10 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
35
34
  modelModifiers: {}
36
35
  }),
37
36
  emits: /* @__PURE__ */ oe(["refresh"], ["update:modelValue"]),
38
- setup(S, { emit: R }) {
39
- const { t: g } = de(), P = ue(), T = F(), s = ie(S, "modelValue");
37
+ setup(O, { emit: R }) {
38
+ const { t: V } = de(), F = ue(), P = T(), s = ie(O, "modelValue");
40
39
  te.mccCodesDict.useValues();
41
- const p = R, b = F([
40
+ const p = R, b = T([
42
41
  {
43
42
  feeTypeCode: "",
44
43
  minFreeRate: 0,
@@ -51,30 +50,30 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
51
50
  requestId: Math.random() * 10 + "",
52
51
  updateMask: "settlePeriod,productName,mccCodes,description"
53
52
  });
54
- const O = M({
53
+ const z = M({
55
54
  settlePeriod: [
56
55
  {
57
56
  required: !0,
58
- message: g("product.settlePeriodRequired"),
57
+ message: V("product.settlePeriodRequired"),
59
58
  trigger: "blur"
60
59
  }
61
60
  ],
62
61
  productName: [
63
62
  {
64
63
  required: !0,
65
- message: g("product.productNameRequired"),
64
+ message: V("product.productNameRequired"),
66
65
  trigger: "blur"
67
66
  }
68
67
  ],
69
68
  mccCodes: [
70
69
  {
71
70
  required: !0,
72
- message: g("product.mccCodesRequired"),
71
+ message: V("product.mccCodesRequired"),
73
72
  trigger: "change"
74
73
  }
75
74
  ]
76
75
  });
77
- function z(t) {
76
+ function A(t) {
78
77
  v(t), q(t, t.feeTypeCode);
79
78
  }
80
79
  function q(t, e) {
@@ -85,7 +84,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
85
84
  function v(t) {
86
85
  return t.feeTypeCode ? t.minFreeRate == null ? (x.error("最低费率不能为空"), !1) : t.maxFreeRate == null ? (x.error("最高费率不能为空"), !1) : t.capValue == null || t.capValue == null ? (t.capValue = void 0, !0) : t.minFreeRate != null && t.maxFreeRate != null && t.minFreeRate > t.maxFreeRate ? (x.error("最小费率不能大于最大费率"), !1) : !0 : (x.error("费率类型不能为空"), !1);
87
86
  }
88
- function A(t) {
87
+ function H(t) {
89
88
  const e = b.value.indexOf(t.row);
90
89
  e !== 0 && b.value.splice(e, 1);
91
90
  }
@@ -98,17 +97,17 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
98
97
  capValue: void 0
99
98
  });
100
99
  }
101
- const $ = S, Q = Object.keys($.entityKey), B = F(Q.length >= 1);
102
- B.value && (L.findById($.entityKey).then(({ data: t }) => {
100
+ const k = O, Q = Object.keys(k.entityKey), S = T(Q.length >= 1);
101
+ S.value && (L.findById(k.entityKey).then(({ data: t }) => {
103
102
  Object.assign(h, t);
104
- }), Ce.findList({ productId: $.entityKey.productId }).then(({ data: t }) => {
103
+ }), Ce.findList({ productId: k.entityKey.productId }).then(({ data: t }) => {
105
104
  t.results.forEach((e) => {
106
105
  e.oldCapValue = e.capValue;
107
106
  }), b.value = t.results;
108
107
  }));
109
108
  const Y = async () => {
110
109
  var t;
111
- await ((t = T.value) == null ? void 0 : t.validate((e) => {
110
+ await ((t = P.value) == null ? void 0 : t.validate((e) => {
112
111
  if (e) {
113
112
  let o = !0;
114
113
  for (const i of b.value)
@@ -116,41 +115,41 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
116
115
  o = !1;
117
116
  break;
118
117
  }
119
- o ? B.value ? L.update({
118
+ o ? S.value ? L.update({
120
119
  ...h,
121
120
  freeConfigInfo: b.value,
122
- instsId: P.query.instsId
121
+ instsId: F.query.instsId
123
122
  }).then((i) => {
124
123
  i.status === 200 && (x({
125
- message: g("common.submitSuccess"),
124
+ message: V("common.submitSuccess"),
126
125
  type: "success"
127
126
  }), s.value && (s.value = !1), p("refresh", i.status === 200));
128
127
  }) : L.create({
129
128
  ...h,
130
129
  freeConfigInfo: b.value,
131
- instsId: P.query.instsId
130
+ instsId: F.query.instsId
132
131
  }).then((i) => {
133
132
  i.status === 200 && (x({
134
- message: g("common.submitSuccess"),
133
+ message: V("common.submitSuccess"),
135
134
  type: "success"
136
135
  }), s.value && (s.value = !1), p("refresh", i.status === 200));
137
136
  }) : console.log("表单提交失败");
138
137
  }
139
138
  }));
140
139
  };
141
- function K() {
140
+ function B() {
142
141
  s.value && (s.value = !1);
143
142
  }
144
143
  return (t, e) => {
145
- const o = n("el-input"), i = n("el-form-item"), k = n("el-col"), U = n("jmash-dict-select"), _ = n("el-tree-select"), G = n("el-row"), w = n("el-table-column"), I = n("el-input-number"), J = n("el-table"), N = n("el-button"), W = n("el-form"), X = n("el-dialog");
146
- return V(), D(X, {
144
+ const o = n("el-input"), i = n("el-form-item"), $ = n("el-col"), U = n("jmash-dict-select"), _ = n("el-tree-select"), G = n("el-row"), w = n("el-table-column"), I = n("el-input-number"), J = n("el-table"), N = n("el-button"), W = n("el-form"), X = n("el-dialog");
145
+ return g(), D(X, {
147
146
  modelValue: s.value,
148
147
  "onUpdate:modelValue": e[4] || (e[4] = (r) => s.value = r),
149
- onClose: K
148
+ onClose: B
150
149
  }, {
151
150
  footer: a(() => [
152
- m("div", Ve, [
153
- l(N, { onClick: K }, {
151
+ m("div", ge, [
152
+ l(N, { onClick: B }, {
154
153
  default: a(() => [
155
154
  C(f(t.$t("common.cancel")), 1)
156
155
  ]),
@@ -170,16 +169,16 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
170
169
  default: a(() => [
171
170
  l(W, {
172
171
  ref_key: "productFormRef",
173
- ref: T,
172
+ ref: P,
174
173
  model: u(h),
175
174
  "label-width": "100px",
176
- rules: O
175
+ rules: z
177
176
  }, {
178
177
  default: a(() => [
179
178
  e[11] || (e[11] = m("div", { class: "title-content" }, "产品信息", -1)),
180
179
  l(G, null, {
181
180
  default: a(() => [
182
- l(k, { span: 12 }, {
181
+ l($, { span: 12 }, {
183
182
  default: a(() => [
184
183
  l(i, {
185
184
  label: t.$t("product.productName"),
@@ -200,7 +199,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
200
199
  ]),
201
200
  _: 1
202
201
  }),
203
- l(k, { span: 12 }, {
202
+ l($, { span: 12 }, {
204
203
  default: a(() => [
205
204
  l(i, {
206
205
  label: t.$t("product.settlePeriod"),
@@ -222,7 +221,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
222
221
  ]),
223
222
  _: 1
224
223
  }),
225
- l(k, { span: 24 }, {
224
+ l($, { span: 24 }, {
226
225
  default: a(() => [
227
226
  l(i, {
228
227
  label: t.$t("product.mccCodes"),
@@ -245,7 +244,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
245
244
  ]),
246
245
  _: 1
247
246
  }),
248
- l(k, { span: 24 }, {
247
+ l($, { span: 24 }, {
249
248
  default: a(() => [
250
249
  l(i, {
251
250
  label: t.$t("product.description"),
@@ -299,7 +298,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
299
298
  clearable: "",
300
299
  filterable: "",
301
300
  class: "w-full",
302
- onChange: (c) => z(r.row)
301
+ onChange: (c) => A(r.row)
303
302
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "type-code", "onChange"])
304
303
  ]),
305
304
  _: 1
@@ -378,11 +377,11 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
378
377
  width: "60"
379
378
  }, {
380
379
  default: a((r) => [
381
- r.$index !== 0 ? (V(), E("span", {
380
+ r.$index !== 0 ? (g(), E("span", {
382
381
  key: 0,
383
382
  productCodesettlePeriod: "",
384
383
  class: "el-button-color",
385
- onClick: (c) => A(r)
384
+ onClick: (c) => H(r)
386
385
  }, f(t.$t("common.delete")), 9, ye)) : ee("", !0)
387
386
  ]),
388
387
  _: 1
@@ -396,7 +395,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
396
395
  onClick: y
397
396
  }, {
398
397
  default: a(() => [
399
- C(f(u(g)("common.add")), 1)
398
+ C(f(u(V)("common.add")), 1)
400
399
  ]),
401
400
  _: 1
402
401
  }, 8, ["icon"])
@@ -408,20 +407,20 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
408
407
  }, 8, ["modelValue"]);
409
408
  };
410
409
  }
411
- }), _e = /* @__PURE__ */ he(ge, [["__scopeId", "data-v-36b25790"]]), we = { class: "app-container" }, Re = { class: "search-container" }, $e = ["onClick"], ke = ["onClick"], De = /* @__PURE__ */ le({
410
+ }), _e = /* @__PURE__ */ he(Ve, [["__scopeId", "data-v-36b25790"]]), we = { class: "app-container" }, Re = { class: "search-container" }, ke = ["onClick"], $e = ["onClick"], Ne = /* @__PURE__ */ le({
412
411
  __name: "product",
413
- setup(S) {
414
- const { t: R } = de(), g = me(), P = ue(), T = F({}), s = F({});
415
- s.value.instsId = P.query.instsId;
412
+ setup(O) {
413
+ const { t: R } = de(), V = me(), F = ue(), P = T({}), s = T({});
414
+ s.value.instsId = F.query.instsId;
416
415
  const {
417
416
  tableHooks: p,
418
417
  multipleTableRef: b,
419
418
  queryFormRef: h,
420
- listLoading: O,
421
- tableData: z,
419
+ listLoading: z,
420
+ tableData: A,
422
421
  total: q
423
422
  } = ce(R, L, s);
424
- let v = F([
423
+ let v = T([
425
424
  {
426
425
  label: "product.productCode",
427
426
  prop: "productCode",
@@ -456,43 +455,43 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
456
455
  isColumn: !0
457
456
  }
458
457
  ]);
459
- function A() {
460
- pe.closeTagView(P.fullPath, g, !1);
458
+ function H() {
459
+ pe.closeTagView(F.fullPath, V, !1);
461
460
  }
462
461
  ne(() => {
463
- fe.findById({ instsId: P.query.instsId }).then(({ data: e }) => {
464
- T.value = Object.assign(T.value, e);
462
+ fe.findById({ instsId: F.query.instsId }).then(({ data: e }) => {
463
+ P.value = Object.assign(P.value, e);
465
464
  });
466
465
  });
467
- const y = F({
466
+ const y = T({
468
467
  title: R("common.edit"),
469
468
  visible: !1
470
469
  });
471
- let $ = M({});
470
+ let k = M({});
472
471
  function Q() {
473
- $ = M({}), y.value.title = R("common.add"), y.value.visible = !0;
472
+ k = M({}), y.value.title = R("common.add"), y.value.visible = !0;
474
473
  }
475
- function B(e) {
476
- $.productId = e.productId, y.value.title = R("common.edit"), y.value.visible = !0;
474
+ function S(e) {
475
+ k.productId = e.productId, y.value.title = R("common.edit"), y.value.visible = !0;
477
476
  }
478
477
  function Y(e) {
479
478
  p.selectionRows.value = e;
480
479
  }
481
- function K(e) {
480
+ function B(e) {
482
481
  p.handleSort(e.prop, e.order);
483
482
  }
484
483
  function t(e) {
485
484
  e && p.getList();
486
485
  }
487
486
  return p.getList(), (e, o) => {
488
- const i = n("el-button"), k = n("el-input"), U = n("el-form-item"), _ = n("el-col"), G = n("jmash-select"), w = n("el-row"), I = n("el-form"), J = n("jmash-column-select"), N = n("el-switch"), W = n("jmash-table"), X = n("jmash-pagination"), r = n("el-card"), c = se("hasPerm");
489
- return V(), E("div", we, [
487
+ const i = n("el-button"), $ = n("el-input"), U = n("el-form-item"), _ = n("el-col"), G = n("jmash-select"), w = n("el-row"), I = n("el-form"), J = n("jmash-column-select"), N = n("el-switch"), W = n("jmash-table"), X = n("jmash-pagination"), r = n("el-card"), c = se("hasPerm");
488
+ return g(), E("div", we, [
490
489
  l(r, { shadow: "never" }, {
491
490
  header: a(() => [
492
- C(f(e.$t("institution.instsName") + ": " + T.value.instsName) + " ", 1),
491
+ C(f(e.$t("institution.instsName") + ": " + P.value.instsName) + " ", 1),
493
492
  l(i, {
494
493
  type: "primary",
495
- onClick: A
494
+ onClick: H
496
495
  }, {
497
496
  default: a(() => [
498
497
  C(f(e.$t("common.back")), 1)
@@ -518,7 +517,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
518
517
  prop: "likeProductName"
519
518
  }, {
520
519
  default: a(() => [
521
- l(k, {
520
+ l($, {
522
521
  modelValue: s.value.likeProductName,
523
522
  "onUpdate:modelValue": o[0] || (o[0] = (d) => s.value.likeProductName = d),
524
523
  placeholder: e.$t("product.productNameRequired"),
@@ -538,7 +537,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
538
537
  prop: "productCode"
539
538
  }, {
540
539
  default: a(() => [
541
- l(k, {
540
+ l($, {
542
541
  modelValue: s.value.productCode,
543
542
  "onUpdate:modelValue": o[2] || (o[2] = (d) => s.value.productCode = d),
544
543
  placeholder: e.$t("product.productCodeRequired"),
@@ -616,7 +615,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
616
615
  default: a(() => [
617
616
  l(_, { span: 17 }, {
618
617
  default: a(() => [
619
- H((V(), D(i, {
618
+ j((g(), D(i, {
620
619
  type: "primary",
621
620
  onClick: Q
622
621
  }, {
@@ -627,7 +626,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
627
626
  })), [
628
627
  [c, ["insts:product:add"]]
629
628
  ]),
630
- H((V(), D(i, {
629
+ j((g(), D(i, {
631
630
  type: "primary",
632
631
  onClick: o[8] || (o[8] = (d) => u(p).deleteRecords())
633
632
  }, {
@@ -659,7 +658,7 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
659
658
  })
660
659
  ]),
661
660
  footer: a(() => [
662
- u(q) > 0 ? (V(), D(X, {
661
+ u(q) > 0 ? (g(), D(X, {
663
662
  key: 0,
664
663
  total: u(q),
665
664
  "onUpdate:total": o[10] || (o[10] = (d) => ae(q) ? q.value = d : null),
@@ -675,34 +674,34 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
675
674
  ref_key: "multipleTableRef",
676
675
  ref: b,
677
676
  "row-key": "productId",
678
- "list-loading": u(O),
679
- data: u(z),
677
+ "list-loading": u(z),
678
+ data: u(A),
680
679
  "table-label": u(v),
681
680
  onSelectionChange: Y,
682
- onSortChange: K
681
+ onSortChange: B
683
682
  }, {
684
683
  status: a((d) => [
685
684
  l(N, {
686
685
  modelValue: d.data.row.status,
687
- "onUpdate:modelValue": (j) => d.data.row.status = j,
688
- onChange: (j) => u(p).enableRecord(d.data.row, d.data.row.status)
686
+ "onUpdate:modelValue": (K) => d.data.row.status = K,
687
+ onChange: (K) => u(p).enableRecord(d.data.row, d.data.row.status)
689
688
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
690
689
  ]),
691
690
  operation: a((d) => [
692
- H((V(), E("span", {
691
+ j((g(), E("span", {
693
692
  class: "el-button-color",
694
- onClick: (j) => B(d.data.row)
693
+ onClick: (K) => S(d.data.row)
695
694
  }, [
696
695
  C(f(e.$t("common.edit")), 1)
697
- ], 8, $e)), [
696
+ ], 8, ke)), [
698
697
  [c, ["insts:product:update"]]
699
698
  ]),
700
- H((V(), E("span", {
699
+ j((g(), E("span", {
701
700
  class: "el-button-color dropdown-left",
702
- onClick: (j) => u(p).deleteRecord(d.data.row)
701
+ onClick: (K) => u(p).deleteRecord(d.data.row)
703
702
  }, [
704
703
  C(f(e.$t("common.delete")), 1)
705
- ], 8, ke)), [
704
+ ], 8, $e)), [
706
705
  [c, ["insts:product:delete"]]
707
706
  ])
708
707
  ]),
@@ -714,12 +713,12 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
714
713
  ]),
715
714
  _: 1
716
715
  }),
717
- y.value.visible ? (V(), D(_e, {
716
+ y.value.visible ? (g(), D(_e, {
718
717
  key: 0,
719
718
  modelValue: y.value.visible,
720
719
  "onUpdate:modelValue": o[14] || (o[14] = (d) => y.value.visible = d),
721
720
  title: y.value.title,
722
- "entity-key": u($),
721
+ "entity-key": u(k),
723
722
  onRefresh: t,
724
723
  width: "1200px"
725
724
  }, null, 8, ["modelValue", "title", "entity-key"])) : ee("", !0)
@@ -728,5 +727,5 @@ const ye = ["onClick"], Ve = { class: "dialog-footer" }, ge = /* @__PURE__ */ le
728
727
  }
729
728
  });
730
729
  export {
731
- De as default
730
+ Ne as default
732
731
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-ZrXadN6o.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-4AbDYOLB.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, getCurrentInstance as G, ref as f, resolveComponent as s, createElementBlock as R, openBlock as h, createVNode as a, withCtx as l, withKeys as w, unref as r, Fragment as J, renderList as O, createBlock as k, createTextVNode as b, toDisplayString as y, createCommentVNode as W, isRef as V } from "vue";
2
2
  import { useUserStore as X, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
3
3
  import { useI18n as le } from "vue-i18n";
4
- import { D as m, A as ae } from "./index-DY4QrfnW.mjs";
4
+ import { D as m, A as ae } from "./index-pSv-rovn.mjs";
5
5
  class ne {
6
6
  getKey(d) {
7
7
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
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.14",
17
+ "xyvcard-agent": "0.0.17",
18
18
  "xyvcard-merchant": "0.0.5",
19
19
  "xyvcard-insts": "0.0.8",
20
20
  "pinia": "^2.2.4",
@@ -1,9 +0,0 @@
1
- const s = (t, n) => {
2
- const c = t.__vccOpts || t;
3
- for (const [o, r] of n)
4
- c[o] = r;
5
- return c;
6
- };
7
- export {
8
- s as r
9
- };
@@ -1,21 +0,0 @@
1
- import { ref as u } from "vue";
2
- var o = Object.defineProperty, E = (a, e, T) => e in a ? o(a, e, { enumerable: !0, configurable: !0, writable: !0, value: T }) : a[e] = T, r = (a, e, T) => E(a, typeof e != "symbol" ? e + "" : e, T);
3
- class t {
4
- }
5
- r(t, "MODULE_INSTS", "insts"), // 机构类型
6
- r(t, "ENUM_INSTS_CODE", "xyvcard.insts.protobuf.InstsType"), // 机构状态
7
- r(t, "STATUS", u([
8
- { key: "true", value: "启用" },
9
- { key: "false", value: "禁用" }
10
- ])), // 费率类型
11
- r(t, "DICT_FEETYPE_CODE", "feeRateTypeCode"), // 结算周期
12
- r(t, "DICT_SETTLEPERIOD_CODE", "settle_period"), // 是否有封顶值
13
- // 是否默认
14
- r(t, "IS_CAPPING", u([
15
- { key: !0, value: "是" },
16
- { key: !1, value: "否" }
17
- ])), // 时间格式 RFC-年月日时分
18
- r(t, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ");
19
- export {
20
- t as a
21
- };