xyvcard-asset 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/dist/assign-CbKUuMPJ.mjs +1603 -0
  2. package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
  3. package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
  4. package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
  5. package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs → edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs} +96 -96
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs → edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs} +57 -57
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
  9. package/dist/{index-Bqv9_BYL.mjs → index--YY_lyB7.mjs} +51 -49
  10. package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
  11. package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
  12. package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
  13. package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
  14. package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
  15. package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
  16. package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
  17. package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
  18. package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
  19. package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
  20. package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
  21. package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
  22. package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
  23. package/dist/index.mjs +2 -2
  24. package/dist/style.css +1 -1
  25. package/dts/App.vue.d.ts +1 -1
  26. package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
  27. package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
  28. package/dts/constant.d.ts +12 -0
  29. package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
  30. package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
  31. package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
  32. package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
  33. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
  34. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
  35. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
  36. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
  37. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
  38. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
  39. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
  40. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
  41. package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
  42. package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
  43. package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
  44. package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
  45. package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/dist/assign-4SD6S-Fb.mjs +0 -1626
  48. package/dts/src/App.vue.d.ts +0 -2
  49. package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
  50. package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
  51. package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
  52. package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
  53. package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
  54. package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
  55. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
  56. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
  57. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
  58. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
  59. package/dts/src/api/asset/asset-site/index.d.ts +0 -15
  60. package/dts/src/api/asset/asset-site/types.d.ts +0 -71
  61. package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
  62. package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
  63. package/dts/src/api/dict.d.ts +0 -19
  64. package/dts/src/api/index.d.ts +0 -16
  65. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  66. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  67. package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
  68. package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
  69. package/dts/src/constant.d.ts +0 -19
  70. package/dts/src/index.d.ts +0 -6
  71. package/dts/src/lang/asset/en.d.ts +0 -2
  72. package/dts/src/lang/asset/zh-cn.d.ts +0 -117
  73. package/dts/src/lang/index.d.ts +0 -1
  74. package/dts/src/main.d.ts +0 -4
  75. package/dts/src/permission.d.ts +0 -1
  76. package/dts/src/router/page.d.ts +0 -6
  77. package/dts/src/utils/common.d.ts +0 -51
  78. package/dts/src/utils/index.d.ts +0 -24
  79. package/dts/src/utils/momentPlugin.d.ts +0 -5
  80. package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
  81. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
  82. package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
  83. package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
  84. package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
  85. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  86. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
  87. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
  88. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
  89. package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
  90. package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
  91. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
  92. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  93. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
  94. package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as A, mergeModels as k, ref as D, useModel as F, reactive as L, onBeforeMount as O, resolveComponent as n, openBlock as C, createBlock as S, withCtx as t, createElementVNode as V, createVNode as e, createTextVNode as B, toDisplayString as h, unref as d } from "vue";
2
- import { D as p, a as R, S as T } from "./index-CGds22-2.mjs";
2
+ import { D as p, a as R, S as T } from "./index-Dw9AQlSo.mjs";
3
3
  import { ElMessage as G } from "element-plus";
4
4
  import { useI18n as H } from "vue-i18n";
5
- import { a as M } from "./index-rSyUfdXn.mjs";
5
+ import { a as M } from "./index-BiBCzEqz.mjs";
6
6
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const Q = { class: "dialog-footer" }, W = /* @__PURE__ */ A({
8
8
  __name: "edit",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as P, mergeModels as S, ref as T, reactive as L, useModel as z, watch as G, watchEffect as U, resolveComponent as m, resolveDirective as H, openBlock as J, createBlock as Q, withCtx as r, createElementVNode as f, createVNode as t, createTextVNode as _, toDisplayString as F, unref as a, withDirectives as W } from "vue";
2
- import { a as c, D as k, C as X } from "./index-CGds22-2.mjs";
3
- import { ElMessage as C } from "element-plus";
1
+ import { defineComponent as P, mergeModels as S, ref as T, reactive as L, useModel as z, watch as G, watchEffect as U, resolveComponent as m, resolveDirective as H, openBlock as J, createBlock as Q, withCtx as r, createElementVNode as f, createVNode as t, createTextVNode as F, toDisplayString as k, unref as o, withDirectives as W } from "vue";
2
+ import { a as g, D as C, C as X } from "./index-Dw9AQlSo.mjs";
3
+ import { ElMessage as N } from "element-plus";
4
4
  import { useI18n as Z } from "vue-i18n";
5
- const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -1), ee = /* @__PURE__ */ f("div", { class: "title-content" }, "折旧信息", -1), le = { class: "dialog-footer" }, N = 10, ne = /* @__PURE__ */ P({
5
+ const x = { class: "dialog-footer" }, Y = 10, oe = /* @__PURE__ */ P({
6
6
  __name: "edit",
7
7
  props: /* @__PURE__ */ S({
8
8
  entityKey: {
@@ -15,8 +15,8 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
15
15
  modelModifiers: {}
16
16
  }),
17
17
  emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
18
- setup(g, { emit: Y }) {
19
- const { t: i } = Z(), h = T();
18
+ setup(c, { emit: E }) {
19
+ const { t: s } = Z(), V = T();
20
20
  let e = L({
21
21
  requestId: Math.random() * 10 + "",
22
22
  useLimit: 1,
@@ -24,8 +24,8 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
24
24
  buyMoney: 1,
25
25
  updateMask: "name,assetSort,code,number,unit,model,buyDate,buyMoney,depreciationType,useLimit,netSalvage,totalDepreciation"
26
26
  });
27
- const p = z(g, "modelValue"), V = g, v = Y, E = Object.keys(V.entityKey), D = T(E.length >= 1);
28
- D.value && c.findById(V.entityKey).then(({ data: l }) => {
27
+ const p = z(c, "modelValue"), h = c, v = E, _ = Object.keys(h.entityKey), D = T(_.length >= 1);
28
+ D.value && g.findById(h.entityKey).then(({ data: l }) => {
29
29
  Object.assign(e, l);
30
30
  });
31
31
  const y = L({
@@ -33,14 +33,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
33
33
  name: [
34
34
  {
35
35
  required: !0,
36
- message: i("asset.nameRequired"),
36
+ message: s("asset.nameRequired"),
37
37
  trigger: "blur"
38
38
  }
39
39
  ],
40
40
  // 资产编号
41
41
  code: [
42
42
  {
43
- message: i("asset.codeRequired"),
43
+ message: s("asset.codeRequired"),
44
44
  trigger: "change"
45
45
  }
46
46
  ],
@@ -48,7 +48,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
48
48
  assetSort: [
49
49
  {
50
50
  required: !0,
51
- message: i("asset.assetSortRequired"),
51
+ message: s("asset.assetSortRequired"),
52
52
  trigger: "change"
53
53
  }
54
54
  ],
@@ -57,14 +57,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
57
57
  {
58
58
  required: !0,
59
59
  trigger: "blur",
60
- message: i("asset.numberRequired")
60
+ message: s("asset.numberRequired")
61
61
  }
62
62
  ],
63
63
  // 单位
64
64
  unit: [
65
65
  {
66
66
  required: !0,
67
- message: i("asset.unitRequired"),
67
+ message: s("asset.unitRequired"),
68
68
  trigger: "change"
69
69
  }
70
70
  ],
@@ -72,7 +72,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
72
72
  buyDate: [
73
73
  {
74
74
  required: !0,
75
- message: i("asset.buyDateRequired"),
75
+ message: s("asset.buyDateRequired"),
76
76
  trigger: "change"
77
77
  }
78
78
  ],
@@ -81,14 +81,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
81
81
  {
82
82
  required: !0,
83
83
  trigger: "blur",
84
- message: i("asset.buyMoneyRequired")
84
+ message: s("asset.buyMoneyRequired")
85
85
  }
86
86
  ],
87
87
  // 资产原值
88
88
  oldMoney: [
89
89
  {
90
90
  required: !0,
91
- message: i("asset.oldMoney"),
91
+ message: s("asset.oldMoney"),
92
92
  trigger: "change"
93
93
  }
94
94
  ],
@@ -96,7 +96,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
96
96
  depreciationType: [
97
97
  {
98
98
  required: !0,
99
- message: i("asset.depreciationTypePleaseholder"),
99
+ message: s("asset.depreciationTypePleaseholder"),
100
100
  trigger: "change"
101
101
  }
102
102
  ],
@@ -105,7 +105,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
105
105
  {
106
106
  required: !0,
107
107
  trigger: "blur",
108
- message: i("asset.useLimitRequired")
108
+ message: s("asset.useLimitRequired")
109
109
  }
110
110
  ],
111
111
  // 预值净残值
@@ -113,14 +113,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
113
113
  {
114
114
  required: !0,
115
115
  trigger: "blur",
116
- message: i("asset.netSalvageRequired")
116
+ message: s("asset.netSalvageRequired")
117
117
  }
118
118
  ],
119
119
  // 月折旧额
120
120
  monthDepreciation: [
121
121
  {
122
122
  required: !0,
123
- message: i("asset.monthDepreciationRequired"),
123
+ message: s("asset.monthDepreciationRequired"),
124
124
  trigger: "blur"
125
125
  }
126
126
  ],
@@ -128,7 +128,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
128
128
  totalDepreciation: [
129
129
  {
130
130
  required: !0,
131
- message: i("asset.totalDepreciationRequired"),
131
+ message: s("asset.totalDepreciationRequired"),
132
132
  trigger: "blur"
133
133
  }
134
134
  ]
@@ -152,39 +152,39 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
152
152
  e.monthDepreciation = "0.00";
153
153
  });
154
154
  const I = async () => {
155
- var l, o;
156
- e.monthDepreciation = (l = e.monthDepreciation) == null ? void 0 : l.toString(), await ((o = h.value) == null ? void 0 : o.validate((u) => {
157
- u && (D.value ? c.update(e).then((s) => {
158
- s.status === 200 && (C({
159
- message: i("common.submitSuccess"),
155
+ var l, a;
156
+ e.monthDepreciation = (l = e.monthDepreciation) == null ? void 0 : l.toString(), await ((a = V.value) == null ? void 0 : a.validate((u) => {
157
+ u && (D.value ? g.update(e).then((i) => {
158
+ i.status === 200 && (N({
159
+ message: s("common.submitSuccess"),
160
160
  type: "success"
161
- }), p.value && (p.value = !1), v("refresh", s.status === 200));
162
- }) : c.create(e).then((s) => {
163
- s.status === 200 && (C({
164
- message: i("common.submitSuccess"),
161
+ }), p.value && (p.value = !1), v("refresh", i.status === 200));
162
+ }) : g.create(e).then((i) => {
163
+ i.status === 200 && (N({
164
+ message: s("common.submitSuccess"),
165
165
  type: "success"
166
- }), p.value && (p.value = !1), v("refresh", s.status === 200));
166
+ }), p.value && (p.value = !1), v("refresh", i.status === 200));
167
167
  }));
168
168
  }));
169
169
  };
170
170
  function q(l) {
171
- return l.length > N ? parseFloat(l.slice(0, N)) : parseFloat(l);
171
+ return l.length > Y ? parseFloat(l.slice(0, Y)) : parseFloat(l);
172
172
  }
173
173
  function M() {
174
174
  p.value && (p.value = !1);
175
175
  }
176
- return (l, o) => {
177
- const u = m("el-input"), s = m("el-form-item"), d = m("el-col"), B = m("el-date-picker"), w = m("jmash-select"), $ = m("el-row"), O = m("el-form"), R = m("el-button"), K = m("el-dialog"), A = H("max-length");
176
+ return (l, a) => {
177
+ const u = m("el-input"), i = m("el-form-item"), d = m("el-col"), B = m("el-date-picker"), w = m("jmash-select"), $ = m("el-row"), O = m("el-form"), R = m("el-button"), K = m("el-dialog"), A = H("max-length");
178
178
  return J(), Q(K, {
179
179
  modelValue: p.value,
180
- "onUpdate:modelValue": o[16] || (o[16] = (n) => p.value = n),
180
+ "onUpdate:modelValue": a[16] || (a[16] = (n) => p.value = n),
181
181
  onClose: M
182
182
  }, {
183
183
  footer: r(() => [
184
- f("div", le, [
184
+ f("div", x, [
185
185
  t(R, { onClick: M }, {
186
186
  default: r(() => [
187
- _(F(l.$t("common.cancel")), 1)
187
+ F(k(l.$t("common.cancel")), 1)
188
188
  ]),
189
189
  _: 1
190
190
  }),
@@ -193,7 +193,7 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
193
193
  onClick: I
194
194
  }, {
195
195
  default: r(() => [
196
- _(F(l.$t("common.confirm")), 1)
196
+ F(k(l.$t("common.confirm")), 1)
197
197
  ]),
198
198
  _: 1
199
199
  })
@@ -202,25 +202,25 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
202
202
  default: r(() => [
203
203
  t(O, {
204
204
  ref_key: "assetFormRef",
205
- ref: h,
206
- model: a(e),
205
+ ref: V,
206
+ model: o(e),
207
207
  "label-width": "120px",
208
208
  rules: y
209
209
  }, {
210
210
  default: r(() => [
211
- x,
211
+ a[17] || (a[17] = f("div", { class: "title-content" }, "资产信息", -1)),
212
212
  t($, null, {
213
213
  default: r(() => [
214
214
  t(d, { span: 12 }, {
215
215
  default: r(() => [
216
- t(s, {
216
+ t(i, {
217
217
  label: l.$t("asset.name"),
218
218
  prop: "name"
219
219
  }, {
220
220
  default: r(() => [
221
221
  t(u, {
222
- modelValue: a(e).name,
223
- "onUpdate:modelValue": o[0] || (o[0] = (n) => a(e).name = n),
222
+ modelValue: o(e).name,
223
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => o(e).name = n),
224
224
  placeholder: l.$t("asset.nameRequired"),
225
225
  "show-word-limit": "",
226
226
  clearable: ""
@@ -233,14 +233,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
233
233
  }),
234
234
  t(d, { span: 12 }, {
235
235
  default: r(() => [
236
- t(s, {
236
+ t(i, {
237
237
  label: l.$t("asset.code"),
238
238
  prop: "code"
239
239
  }, {
240
240
  default: r(() => [
241
241
  t(u, {
242
- modelValue: a(e).code,
243
- "onUpdate:modelValue": o[1] || (o[1] = (n) => a(e).code = n),
242
+ modelValue: o(e).code,
243
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => o(e).code = n),
244
244
  placeholder: l.$t("asset.codeRequired"),
245
245
  "show-word-limit": "",
246
246
  clearable: ""
@@ -253,22 +253,22 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
253
253
  }),
254
254
  t(d, { span: 12 }, {
255
255
  default: r(() => [
256
- t(s, {
256
+ t(i, {
257
257
  label: l.$t("asset.number"),
258
258
  prop: "number"
259
259
  }, {
260
260
  default: r(() => [
261
261
  t(u, {
262
- modelValue: a(e).number,
263
- "onUpdate:modelValue": o[2] || (o[2] = (n) => a(e).number = n),
262
+ modelValue: o(e).number,
263
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => o(e).number = n),
264
264
  placeholder: l.$t("asset.numberRequired"),
265
265
  "show-word-limit": "",
266
266
  clearable: "",
267
267
  type: "number",
268
268
  min: "1",
269
- onChange: o[3] || (o[3] = (n) => {
269
+ onChange: a[3] || (a[3] = (n) => {
270
270
  var b;
271
- return a(e).number = q((b = a(e).number) == null ? void 0 : b.toString());
271
+ return o(e).number = q((b = o(e).number) == null ? void 0 : b.toString());
272
272
  })
273
273
  }, null, 8, ["modelValue", "placeholder"])
274
274
  ]),
@@ -279,23 +279,23 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
279
279
  }),
280
280
  t(d, { span: 12 }, {
281
281
  default: r(() => [
282
- t(s, {
282
+ t(i, {
283
283
  label: l.$t("asset.buyMoney"),
284
284
  prop: "buyMoney"
285
285
  }, {
286
286
  default: r(() => [
287
287
  W(t(u, {
288
- modelValue: a(e).buyMoney,
289
- "onUpdate:modelValue": o[4] || (o[4] = (n) => a(e).buyMoney = n),
288
+ modelValue: o(e).buyMoney,
289
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => o(e).buyMoney = n),
290
290
  placeholder: l.$t("asset.buyMoneyRequired"),
291
291
  "show-word-limit": "",
292
292
  clearable: "",
293
293
  type: "number",
294
294
  min: "1",
295
- onChange: o[5] || (o[5] = (n) => {
295
+ onChange: a[5] || (a[5] = (n) => {
296
296
  var b;
297
- return a(e).buyMoney = q(
298
- (b = a(e).buyMoney) == null ? void 0 : b.toString()
297
+ return o(e).buyMoney = q(
298
+ (b = o(e).buyMoney) == null ? void 0 : b.toString()
299
299
  );
300
300
  })
301
301
  }, null, 8, ["modelValue", "placeholder"]), [
@@ -309,14 +309,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
309
309
  }),
310
310
  t(d, { span: 12 }, {
311
311
  default: r(() => [
312
- t(s, {
312
+ t(i, {
313
313
  label: l.$t("asset.unit"),
314
314
  prop: "unit"
315
315
  }, {
316
316
  default: r(() => [
317
317
  t(u, {
318
- modelValue: a(e).unit,
319
- "onUpdate:modelValue": o[6] || (o[6] = (n) => a(e).unit = n),
318
+ modelValue: o(e).unit,
319
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => o(e).unit = n),
320
320
  placeholder: l.$t("asset.unitRequired"),
321
321
  "show-word-limit": "",
322
322
  clearable: ""
@@ -329,14 +329,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
329
329
  }),
330
330
  t(d, { span: 12 }, {
331
331
  default: r(() => [
332
- t(s, {
332
+ t(i, {
333
333
  label: l.$t("asset.model"),
334
334
  prop: "model"
335
335
  }, {
336
336
  default: r(() => [
337
337
  t(u, {
338
- modelValue: a(e).model,
339
- "onUpdate:modelValue": o[7] || (o[7] = (n) => a(e).model = n),
338
+ modelValue: o(e).model,
339
+ "onUpdate:modelValue": a[7] || (a[7] = (n) => o(e).model = n),
340
340
  placeholder: l.$t("asset.modelRequired"),
341
341
  "show-word-limit": "",
342
342
  clearable: ""
@@ -349,14 +349,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
349
349
  }),
350
350
  t(d, { span: 12 }, {
351
351
  default: r(() => [
352
- t(s, {
352
+ t(i, {
353
353
  label: l.$t("asset.buyDate"),
354
354
  prop: "buyDate"
355
355
  }, {
356
356
  default: r(() => [
357
357
  t(B, {
358
- modelValue: a(e).buyDate,
359
- "onUpdate:modelValue": o[8] || (o[8] = (n) => a(e).buyDate = n),
358
+ modelValue: o(e).buyDate,
359
+ "onUpdate:modelValue": a[8] || (a[8] = (n) => o(e).buyDate = n),
360
360
  type: "date",
361
361
  placeholder: l.$t("asset.buyDateRequired"),
362
362
  "value-format": "YYYY-MM-DD",
@@ -371,16 +371,16 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
371
371
  }),
372
372
  t(d, { span: 12 }, {
373
373
  default: r(() => [
374
- t(s, {
374
+ t(i, {
375
375
  label: l.$t("asset.assetSort"),
376
376
  prop: "assetSort"
377
377
  }, {
378
378
  default: r(() => [
379
379
  t(w, {
380
- modelValue: a(e).assetSort,
381
- "onUpdate:modelValue": o[9] || (o[9] = (n) => a(e).assetSort = n),
380
+ modelValue: o(e).assetSort,
381
+ "onUpdate:modelValue": a[9] || (a[9] = (n) => o(e).assetSort = n),
382
382
  placeholder: l.$t("asset.assetSortRequired"),
383
- data: a(k).assetSortDictEnum.values,
383
+ data: o(C).assetSortDictEnum.values,
384
384
  style: { width: "100% !important" }
385
385
  }, null, 8, ["modelValue", "placeholder", "data"])
386
386
  ]),
@@ -391,14 +391,14 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
391
391
  }),
392
392
  t(d, { span: 12 }, {
393
393
  default: r(() => [
394
- t(s, {
394
+ t(i, {
395
395
  label: l.$t("asset.oldMoney"),
396
396
  prop: "oldMoney"
397
397
  }, {
398
398
  default: r(() => [
399
399
  t(u, {
400
- modelValue: a(e).oldMoney,
401
- "onUpdate:modelValue": o[10] || (o[10] = (n) => a(e).oldMoney = n),
400
+ modelValue: o(e).oldMoney,
401
+ "onUpdate:modelValue": a[10] || (a[10] = (n) => o(e).oldMoney = n),
402
402
  placeholder: l.$t("asset.oldMoneyRequired"),
403
403
  readonly: !0,
404
404
  "show-word-limit": "",
@@ -413,21 +413,21 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
413
413
  ]),
414
414
  _: 1
415
415
  }),
416
- ee,
416
+ a[18] || (a[18] = f("div", { class: "title-content" }, "折旧信息", -1)),
417
417
  t($, null, {
418
418
  default: r(() => [
419
419
  t(d, { span: 12 }, {
420
420
  default: r(() => [
421
- t(s, {
421
+ t(i, {
422
422
  label: l.$t("asset.depreciationType"),
423
423
  prop: "depreciationType"
424
424
  }, {
425
425
  default: r(() => [
426
426
  t(w, {
427
- modelValue: a(e).depreciationType,
428
- "onUpdate:modelValue": o[11] || (o[11] = (n) => a(e).depreciationType = n),
427
+ modelValue: o(e).depreciationType,
428
+ "onUpdate:modelValue": a[11] || (a[11] = (n) => o(e).depreciationType = n),
429
429
  placeholder: l.$t("asset.depreciationType"),
430
- data: a(k).depreciationTypeEnum.values,
430
+ data: o(C).depreciationTypeEnum.values,
431
431
  style: { width: "100% !important" }
432
432
  }, null, 8, ["modelValue", "placeholder", "data"])
433
433
  ]),
@@ -438,16 +438,16 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
438
438
  }),
439
439
  t(d, { span: 12 }, {
440
440
  default: r(() => [
441
- t(s, {
441
+ t(i, {
442
442
  label: l.$t("asset.useLimit"),
443
443
  prop: "useLimit"
444
444
  }, {
445
445
  default: r(() => [
446
446
  t(u, {
447
- modelValue: a(e).useLimit,
448
- "onUpdate:modelValue": o[12] || (o[12] = (n) => a(e).useLimit = n),
447
+ modelValue: o(e).useLimit,
448
+ "onUpdate:modelValue": a[12] || (a[12] = (n) => o(e).useLimit = n),
449
449
  placeholder: l.$t("asset.useLimitRequired"),
450
- disabled: a(e).depreciationType === "none",
450
+ disabled: o(e).depreciationType === "none",
451
451
  "show-word-limit": "",
452
452
  clearable: "",
453
453
  type: "number",
@@ -461,15 +461,15 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
461
461
  }),
462
462
  t(d, { span: 12 }, {
463
463
  default: r(() => [
464
- t(s, {
464
+ t(i, {
465
465
  label: l.$t("asset.netSalvage"),
466
466
  prop: "netSalvage"
467
467
  }, {
468
468
  default: r(() => [
469
469
  t(u, {
470
- modelValue: a(e).netSalvage,
471
- "onUpdate:modelValue": o[13] || (o[13] = (n) => a(e).netSalvage = n),
472
- disabled: a(e).depreciationType === "none",
470
+ modelValue: o(e).netSalvage,
471
+ "onUpdate:modelValue": a[13] || (a[13] = (n) => o(e).netSalvage = n),
472
+ disabled: o(e).depreciationType === "none",
473
473
  placeholder: l.$t("asset.netSalvageRequired"),
474
474
  "show-word-limit": "",
475
475
  clearable: "",
@@ -484,15 +484,15 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
484
484
  }),
485
485
  t(d, { span: 12 }, {
486
486
  default: r(() => [
487
- t(s, {
487
+ t(i, {
488
488
  label: l.$t("asset.monthDepreciation"),
489
489
  prop: "monthDepreciation"
490
490
  }, {
491
491
  default: r(() => [
492
492
  t(u, {
493
- modelValue: a(e).monthDepreciation,
494
- "onUpdate:modelValue": o[14] || (o[14] = (n) => a(e).monthDepreciation = n),
495
- disabled: a(e).depreciationType === "none",
493
+ modelValue: o(e).monthDepreciation,
494
+ "onUpdate:modelValue": a[14] || (a[14] = (n) => o(e).monthDepreciation = n),
495
+ disabled: o(e).depreciationType === "none",
496
496
  placeholder: l.$t("asset.monthDepreciationRequired"),
497
497
  "show-word-limit": "",
498
498
  readonly: !0,
@@ -508,15 +508,15 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
508
508
  }),
509
509
  t(d, { span: 12 }, {
510
510
  default: r(() => [
511
- t(s, {
511
+ t(i, {
512
512
  label: l.$t("asset.totalDepreciation"),
513
513
  prop: "totalDepreciation"
514
514
  }, {
515
515
  default: r(() => [
516
516
  t(u, {
517
- modelValue: a(e).totalDepreciation,
518
- "onUpdate:modelValue": o[15] || (o[15] = (n) => a(e).totalDepreciation = n),
519
- disabled: a(e).depreciationType === "none",
517
+ modelValue: o(e).totalDepreciation,
518
+ "onUpdate:modelValue": a[15] || (a[15] = (n) => o(e).totalDepreciation = n),
519
+ disabled: o(e).depreciationType === "none",
520
520
  placeholder: l.$t("asset.totalDepreciationRequired"),
521
521
  "show-word-limit": "",
522
522
  clearable: "",
@@ -542,5 +542,5 @@ const x = /* @__PURE__ */ f("div", { class: "title-content" }, "资产信息", -
542
542
  }
543
543
  });
544
544
  export {
545
- ne as _
545
+ oe as _
546
546
  };