xyvcard-asset 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-BLa-fXcy.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.mjs} +1 -1
  5. package/dist/edit-Dn-QMuy6.mjs +4 -0
  6. package/dist/edit-FdqpKRgF.mjs +294 -0
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-Di49EjkG.mjs +76 -0
  11. package/dist/index-B4vUTwSW.mjs +171 -0
  12. package/dist/index-BK24yagy.mjs +1663 -0
  13. package/dist/index-BW-5IuVN.mjs +91 -0
  14. package/dist/index-BWwU9hSp.mjs +320 -0
  15. package/dist/index-BvKWLFdr.mjs +345 -0
  16. package/dist/index-BwbnYpa1.mjs +29 -0
  17. package/dist/index-ByVysHgI.mjs +4 -0
  18. package/dist/index-C5_f5Lce.mjs +213 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-DElPNxc7.mjs +398 -0
  21. package/dist/index-De4u-LEl.mjs +325 -0
  22. package/dist/index-DeBZxOsC.mjs +372 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-axEqTssj.mjs +378 -0
  26. package/dist/index-jOcS7tqC.mjs +311 -0
  27. package/dist/index-qQuyprvx.mjs +4 -0
  28. package/dist/index-xyCxQquE.mjs +432 -0
  29. package/dist/index.mjs +2752 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
  32. package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
  33. package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
  34. package/dist/style.css +1 -1
  35. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  36. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  37. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  38. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  39. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  40. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  41. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  42. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  43. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  44. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  45. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  46. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  47. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  48. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  49. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  50. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  51. package/dts/src/api/asset/text/index.d.ts +0 -0
  52. package/dts/src/api/asset/text/types.d.ts +0 -0
  53. package/dts/src/api/dict.d.ts +1 -4
  54. package/dts/src/api/index.d.ts +2 -0
  55. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  56. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  57. package/dts/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
  58. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  59. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  60. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  61. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
  62. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
  63. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
  64. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
  65. package/dts/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
  66. package/dts/src/constant.d.ts +4 -1
  67. package/dts/src/index.d.ts +3 -1
  68. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  69. package/dts/src/router/page.d.ts +4 -0
  70. package/dts/src/utils/momentPlugin.d.ts +5 -0
  71. package/dts/{views/asset/asset-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
  72. package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  73. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  74. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  75. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  76. package/dts/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +7 -6
  78. package/dist/edit-Bo9bnbUP.mjs +0 -492
  79. package/dist/edit-DJFxVmvv.mjs +0 -624
  80. package/dist/edit-qp_2xtTZ.mjs +0 -242
  81. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  82. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  83. package/dist/index-Bf5U4Ucl.mjs +0 -369
  84. package/dist/index-Bh2imlN_.mjs +0 -149
  85. package/dist/index-CHNiaFZk.mjs +0 -291
  86. package/dist/index-CmlP_Rro.mjs +0 -332
  87. package/dist/index-Cqw_E8lr.mjs +0 -1269
  88. package/dist/index-DA_FS24d.mjs +0 -146
  89. package/dist/index-DKmGNvQl.mjs +0 -370
  90. package/dist/index-DLxpE9s5.mjs +0 -305
  91. package/dist/index-DWaL87j5.mjs +0 -89
  92. package/dist/index-jOnQLJaB.mjs +0 -416
  93. package/dist/index-pyyjj1xa.mjs +0 -187
  94. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  95. package/dts/api/asset/asset-asset/index.d.ts +0 -20
  96. package/dts/api/asset/asset-asset/types.d.ts +0 -93
  97. package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
  98. package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
  99. package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
  100. package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
  101. package/dts/api/asset/asset-site/index.d.ts +0 -15
  102. package/dts/api/asset/asset-site/types.d.ts +0 -81
  103. package/dts/api/asset/asset-site-service/index.d.ts +0 -14
  104. package/dts/api/asset/asset-site-service/types.d.ts +0 -80
  105. package/dts/api/dict.d.ts +0 -22
  106. package/dts/api/index.d.ts +0 -14
  107. package/dts/api/org/union-org/index.d.ts +0 -14
  108. package/dts/api/org/union-org/types.d.ts +0 -49
  109. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  110. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  111. package/dts/constant.d.ts +0 -16
  112. package/dts/index.d.ts +0 -4
  113. package/dts/lang/asset/en.d.ts +0 -2
  114. package/dts/lang/asset/zh-cn.d.ts +0 -91
  115. package/dts/lang/index.d.ts +0 -1
  116. package/dts/main.d.ts +0 -4
  117. package/dts/permission.d.ts +0 -1
  118. package/dts/router/page.d.ts +0 -2
  119. package/dts/src/api/org/union-org/index.d.ts +0 -14
  120. package/dts/src/api/org/union-org/types.d.ts +0 -49
  121. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  122. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  123. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  124. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  125. package/dts/utils/common.d.ts +0 -51
  126. package/dts/utils/index.d.ts +0 -24
  127. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  128. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  129. package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  130. /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  131. /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
  132. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
  133. /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
  134. /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
  135. /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
  136. /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
  137. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
  138. /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
  139. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
@@ -1,624 +0,0 @@
1
- var z = Object.defineProperty;
2
- var P = (p, e, a) => e in p ? z(p, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : p[e] = a;
3
- var U = (p, e, a) => (P(p, typeof e != "symbol" ? e + "" : e, a), a);
4
- import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs";
5
- import { defineComponent as H, mergeModels as I, ref as R, reactive as T, useModel as J, resolveComponent as y, openBlock as Q, createBlock as W, withCtx as s, createElementVNode as v, createVNode as t, createTextVNode as k, toDisplayString as E, unref as n, pushScopeId as X, popScopeId as Z } from "vue";
6
- import { D as L } from "./index-DLxpE9s5.mjs";
7
- import { ElMessage as Y } from "element-plus";
8
- import { useI18n as x } from "vue-i18n";
9
- import { useUserStore as m, clearEmpty as b, request as f } from "jmash-core";
10
- import { q as j } from "./index-Cqw_E8lr.mjs";
11
- import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
12
- class te {
13
- constructor() {
14
- // 修改实体资产库
15
- U(this, "update", function(e) {
16
- return e.tenant = m().user.tenant, b(e), f({
17
- url: "/v1/asset/asset",
18
- method: "patch",
19
- data: e
20
- });
21
- });
22
- }
23
- getKey(e) {
24
- return {
25
- assetId: e.assetId
26
- };
27
- }
28
- // 查询翻页信息资产库
29
- findPage(e) {
30
- const a = m().user.tenant;
31
- return console.log(a), b(e), f({
32
- url: "/v1/asset/asset/page/" + a,
33
- method: "get",
34
- params: e
35
- });
36
- }
37
- // 查询列表信息资产库
38
- findList(e) {
39
- const a = m().user.tenant;
40
- return b(e), f({
41
- url: "/v1/asset/asset/list/" + a,
42
- method: "get",
43
- params: e
44
- });
45
- }
46
- // 查询资产库
47
- findById(e) {
48
- const a = m().user.tenant;
49
- return b(e), f({
50
- url: "/v1/asset/asset/id/" + a + "/" + e.assetId,
51
- method: "get"
52
- });
53
- }
54
- // 创建实体资产库
55
- create(e) {
56
- return e.tenant = m().user.tenant, b(e), f({
57
- url: "/v1/asset/asset",
58
- method: "post",
59
- data: e
60
- });
61
- }
62
- // 上移下移
63
- move(e, a) {
64
- const d = { ...e };
65
- return d.tenant = m().user.tenant, d.up = a, b(d), f({
66
- url: "/v1/asset/asset/move",
67
- method: "put",
68
- data: d
69
- });
70
- }
71
- // 启用/禁用
72
- enable(e, a) {
73
- const d = { ...e };
74
- return d.tenant = m().user.tenant, d.enable = a, b(d), f({
75
- url: "/v1/asset/asset/enable",
76
- method: "put",
77
- data: d
78
- });
79
- }
80
- // 删除资产库
81
- delete(e) {
82
- return e.tenant = m().user.tenant, b(e), f({
83
- url: "/v1/asset/asset/id",
84
- method: "delete",
85
- params: e
86
- });
87
- }
88
- // 批量删除资产库
89
- batchDelete(e) {
90
- const a = e.map((o) => o.assetId), d = {
91
- tenant: m().user.tenant,
92
- AssetId: a
93
- };
94
- return b(d), f({
95
- url: "/v1/asset/asset/batch",
96
- method: "put",
97
- data: d
98
- });
99
- }
100
- // 下载导入模板资产库
101
- downloadTemplate() {
102
- const e = m().user.tenant;
103
- return f({
104
- url: "/v1/asset/asset/" + e + "/template.xlsx",
105
- method: "get",
106
- responseType: "blob",
107
- params: {
108
- tenant: m().user.tenant
109
- }
110
- });
111
- }
112
- // 导入资产库
113
- importExcel(e) {
114
- return e.tenant = m().user.tenant, b(e), f({
115
- url: "/v1/asset/asset/import",
116
- method: "patch",
117
- data: e
118
- });
119
- }
120
- // 导出资产库Excel文件
121
- exportExcel(e) {
122
- const a = m().user.tenant;
123
- b(e);
124
- const d = j.stringify(e, {
125
- arrayFormat: "brackets",
126
- allowDots: !0
127
- });
128
- return f({
129
- url: "/v1/asset/asset/" + a + "/assets.xlsx?" + d,
130
- method: "get",
131
- responseType: "blob"
132
- });
133
- }
134
- // 打印资产库PDF文件
135
- exportPdf(e) {
136
- const a = m().user.tenant;
137
- b(e);
138
- const d = j.stringify(e, {
139
- arrayFormat: "brackets",
140
- allowDots: !0
141
- });
142
- return f({
143
- url: "/v1/asset/asset/" + a + "/assets.pdf?" + d,
144
- method: "get",
145
- responseType: "blob"
146
- });
147
- }
148
- }
149
- const V = new te(), A = (p) => (X("data-v-84f6d27c"), p = p(), Z(), p), ae = /* @__PURE__ */ A(() => /* @__PURE__ */ v("div", { class: "title-content" }, "资产信息", -1)), le = /* @__PURE__ */ A(() => /* @__PURE__ */ v("div", { class: "title-content" }, "折旧信息", -1)), se = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
150
- __name: "edit",
151
- props: /* @__PURE__ */ I({
152
- entityKey: {
153
- type: Object,
154
- default: () => {
155
- }
156
- }
157
- }, {
158
- modelValue: { type: Boolean },
159
- modelModifiers: {}
160
- }),
161
- emits: /* @__PURE__ */ I(["refresh"], ["update:modelValue"]),
162
- setup(p, { emit: e }) {
163
- const { t: a } = x(), d = R();
164
- let o = T({
165
- requestId: Math.random() * 10 + "",
166
- updateMask: ""
167
- });
168
- const C = T({
169
- assetId: [
170
- {
171
- required: !0,
172
- message: a("asset.assetId"),
173
- trigger: "change"
174
- }
175
- ],
176
- name: [
177
- {
178
- required: !0,
179
- message: a("asset.name"),
180
- trigger: "change"
181
- }
182
- ],
183
- assetSort: [
184
- {
185
- required: !0,
186
- message: a("asset.assetSort"),
187
- trigger: "change"
188
- }
189
- ],
190
- code: [
191
- {
192
- required: !0,
193
- message: a("asset.code"),
194
- trigger: "change"
195
- }
196
- ],
197
- number: [
198
- {
199
- required: !0,
200
- message: a("asset.number"),
201
- trigger: "change"
202
- }
203
- ],
204
- unit: [
205
- {
206
- required: !0,
207
- message: a("asset.unit"),
208
- trigger: "change"
209
- }
210
- ],
211
- model: [
212
- {
213
- required: !0,
214
- message: a("asset.model"),
215
- trigger: "change"
216
- }
217
- ],
218
- buyDate: [
219
- {
220
- required: !0,
221
- message: a("asset.buyDate"),
222
- trigger: "change"
223
- }
224
- ],
225
- buyMoney: [
226
- {
227
- required: !0,
228
- message: a("asset.buyMoney"),
229
- trigger: "change"
230
- }
231
- ],
232
- oldMoney: [
233
- {
234
- required: !0,
235
- message: a("asset.oldMoney"),
236
- trigger: "change"
237
- }
238
- ],
239
- depreciationType: [
240
- {
241
- required: !0,
242
- message: a("asset.depreciationType"),
243
- trigger: "change"
244
- }
245
- ],
246
- useLimit: [
247
- {
248
- required: !0,
249
- message: a("asset.useLimit"),
250
- trigger: "change"
251
- }
252
- ],
253
- netSalvage: [
254
- {
255
- required: !0,
256
- message: a("asset.netSalvage"),
257
- trigger: "change"
258
- }
259
- ],
260
- monthDepreciation: [
261
- {
262
- required: !0,
263
- message: a("asset.monthDepreciation"),
264
- trigger: "change"
265
- }
266
- ],
267
- totalDepreciation: [
268
- {
269
- required: !0,
270
- message: a("asset.totalDepreciation"),
271
- trigger: "change"
272
- }
273
- ]
274
- }), h = J(p, "modelValue"), D = p, w = e, B = Object.keys(D.entityKey), _ = R(B.length >= 1);
275
- _.value && V.findById(D.entityKey).then(({ data: l }) => {
276
- Object.assign(o, l);
277
- });
278
- const F = async () => {
279
- var l;
280
- await ((l = d.value) == null ? void 0 : l.validate((r) => {
281
- r && (_.value ? V.update(o).then((i) => {
282
- console.log(i), i.status === 200 && (Y({
283
- message: a("common.submitSuccess"),
284
- type: "success"
285
- }), h.value && (h.value = !1), w("refresh", i.status === 200));
286
- }) : V.create(o).then((i) => {
287
- console.log(i), i.status === 200 && (Y({
288
- message: a("common.submitSuccess"),
289
- type: "success"
290
- }), h.value && (h.value = !1), w("refresh", i.status === 200));
291
- }));
292
- }));
293
- };
294
- function $() {
295
- h.value && (h.value = !1);
296
- }
297
- return (l, r) => {
298
- const i = y("el-input"), c = y("el-form-item"), g = y("el-col"), O = y("el-date-picker"), q = G, S = y("el-row"), K = y("el-form"), M = y("el-button"), N = y("el-dialog");
299
- return Q(), W(N, {
300
- modelValue: h.value,
301
- "onUpdate:modelValue": r[13] || (r[13] = (u) => h.value = u),
302
- onClose: $
303
- }, {
304
- footer: s(() => [
305
- v("div", se, [
306
- t(M, { onClick: $ }, {
307
- default: s(() => [
308
- k(E(l.$t("common.cancel")), 1)
309
- ]),
310
- _: 1
311
- }),
312
- t(M, {
313
- type: "primary",
314
- onClick: F
315
- }, {
316
- default: s(() => [
317
- k(E(l.$t("common.confirm")), 1)
318
- ]),
319
- _: 1
320
- })
321
- ])
322
- ]),
323
- default: s(() => [
324
- t(K, {
325
- ref_key: "assetFormRef",
326
- ref: d,
327
- model: n(o),
328
- "label-width": "120px",
329
- rules: C
330
- }, {
331
- default: s(() => [
332
- ae,
333
- t(S, null, {
334
- default: s(() => [
335
- t(g, { span: 12 }, {
336
- default: s(() => [
337
- t(c, {
338
- label: l.$t("asset.name"),
339
- prop: "name"
340
- }, {
341
- default: s(() => [
342
- t(i, {
343
- modelValue: n(o).name,
344
- "onUpdate:modelValue": r[0] || (r[0] = (u) => n(o).name = u),
345
- placeholder: l.$t("asset.nameRequired"),
346
- "show-word-limit": "",
347
- clearable: ""
348
- }, null, 8, ["modelValue", "placeholder"])
349
- ]),
350
- _: 1
351
- }, 8, ["label"])
352
- ]),
353
- _: 1
354
- }),
355
- t(g, { span: 12 }, {
356
- default: s(() => [
357
- t(c, {
358
- label: l.$t("asset.code"),
359
- prop: "code"
360
- }, {
361
- default: s(() => [
362
- t(i, {
363
- modelValue: n(o).code,
364
- "onUpdate:modelValue": r[1] || (r[1] = (u) => n(o).code = u),
365
- placeholder: l.$t("asset.codeRequired"),
366
- "show-word-limit": "",
367
- clearable: ""
368
- }, null, 8, ["modelValue", "placeholder"])
369
- ]),
370
- _: 1
371
- }, 8, ["label"])
372
- ]),
373
- _: 1
374
- }),
375
- t(g, { span: 12 }, {
376
- default: s(() => [
377
- t(c, {
378
- label: l.$t("asset.number"),
379
- prop: "number"
380
- }, {
381
- default: s(() => [
382
- t(i, {
383
- modelValue: n(o).number,
384
- "onUpdate:modelValue": r[2] || (r[2] = (u) => n(o).number = u),
385
- placeholder: l.$t("asset.numberRequired"),
386
- "show-word-limit": "",
387
- clearable: ""
388
- }, null, 8, ["modelValue", "placeholder"])
389
- ]),
390
- _: 1
391
- }, 8, ["label"])
392
- ]),
393
- _: 1
394
- }),
395
- t(g, { span: 12 }, {
396
- default: s(() => [
397
- t(c, {
398
- label: l.$t("asset.unit"),
399
- prop: "unit"
400
- }, {
401
- default: s(() => [
402
- t(i, {
403
- modelValue: n(o).unit,
404
- "onUpdate:modelValue": r[3] || (r[3] = (u) => n(o).unit = u),
405
- placeholder: l.$t("asset.unitRequired"),
406
- "show-word-limit": "",
407
- clearable: ""
408
- }, null, 8, ["modelValue", "placeholder"])
409
- ]),
410
- _: 1
411
- }, 8, ["label"])
412
- ]),
413
- _: 1
414
- }),
415
- t(g, { span: 12 }, {
416
- default: s(() => [
417
- t(c, {
418
- label: l.$t("asset.buyDate"),
419
- prop: "buyDate"
420
- }, {
421
- default: s(() => [
422
- t(O, {
423
- modelValue: n(o).buyDate,
424
- "onUpdate:modelValue": r[4] || (r[4] = (u) => n(o).buyDate = u),
425
- type: "date",
426
- placeholder: l.$t("asset.buyDateRequired"),
427
- "value-format": "YYYY-MM-DD",
428
- format: "YYYY-MM-DD",
429
- style: { width: "100%" }
430
- }, null, 8, ["modelValue", "placeholder"])
431
- ]),
432
- _: 1
433
- }, 8, ["label"])
434
- ]),
435
- _: 1
436
- }),
437
- t(g, { span: 12 }, {
438
- default: s(() => [
439
- t(c, {
440
- label: l.$t("asset.assetSort"),
441
- prop: "assetSort"
442
- }, {
443
- default: s(() => [
444
- t(q, {
445
- modelValue: n(o).assetSort,
446
- "onUpdate:modelValue": r[5] || (r[5] = (u) => n(o).assetSort = u),
447
- data: n(L).assetSortDictEnum.values,
448
- placeholder: l.$t("asset.assetSortRequired"),
449
- "enum-type": "jmash.rbac.protobuf.UserStatus",
450
- clearable: ""
451
- }, null, 8, ["modelValue", "data", "placeholder"])
452
- ]),
453
- _: 1
454
- }, 8, ["label"])
455
- ]),
456
- _: 1
457
- }),
458
- t(g, { span: 12 }, {
459
- default: s(() => [
460
- t(c, {
461
- label: l.$t("asset.buyMoney"),
462
- prop: "buyMoney"
463
- }, {
464
- default: s(() => [
465
- t(i, {
466
- modelValue: n(o).buyMoney,
467
- "onUpdate:modelValue": r[6] || (r[6] = (u) => n(o).buyMoney = u),
468
- placeholder: l.$t("asset.buyMoneyRequired"),
469
- "show-word-limit": "",
470
- clearable: ""
471
- }, null, 8, ["modelValue", "placeholder"])
472
- ]),
473
- _: 1
474
- }, 8, ["label"])
475
- ]),
476
- _: 1
477
- }),
478
- t(g, { span: 12 }, {
479
- default: s(() => [
480
- t(c, {
481
- label: l.$t("asset.oldMoney"),
482
- prop: "oldMoney"
483
- }, {
484
- default: s(() => [
485
- t(i, {
486
- modelValue: n(o).oldMoney,
487
- "onUpdate:modelValue": r[7] || (r[7] = (u) => n(o).oldMoney = u),
488
- placeholder: l.$t("asset.oldMoneyRequired"),
489
- "show-word-limit": "",
490
- clearable: ""
491
- }, null, 8, ["modelValue", "placeholder"])
492
- ]),
493
- _: 1
494
- }, 8, ["label"])
495
- ]),
496
- _: 1
497
- })
498
- ]),
499
- _: 1
500
- }),
501
- le,
502
- t(S, null, {
503
- default: s(() => [
504
- t(g, { span: 12 }, {
505
- default: s(() => [
506
- t(c, {
507
- label: l.$t("asset.depreciationType"),
508
- prop: "depreciationType"
509
- }, {
510
- default: s(() => [
511
- t(q, {
512
- modelValue: n(o).depreciationType,
513
- "onUpdate:modelValue": r[8] || (r[8] = (u) => n(o).depreciationType = u),
514
- data: n(L).depreciationTypeEnum.values,
515
- placeholder: l.$t("asset.depreciationType"),
516
- "enum-type": "jmash.rbac.protobuf.UserStatus",
517
- clearable: ""
518
- }, null, 8, ["modelValue", "data", "placeholder"])
519
- ]),
520
- _: 1
521
- }, 8, ["label"])
522
- ]),
523
- _: 1
524
- }),
525
- t(g, { span: 12 }, {
526
- default: s(() => [
527
- t(c, {
528
- label: l.$t("asset.useLimit"),
529
- prop: "useLimit"
530
- }, {
531
- default: s(() => [
532
- t(i, {
533
- modelValue: n(o).useLimit,
534
- "onUpdate:modelValue": r[9] || (r[9] = (u) => n(o).useLimit = u),
535
- placeholder: l.$t("asset.useLimitRequired"),
536
- "show-word-limit": "",
537
- clearable: ""
538
- }, null, 8, ["modelValue", "placeholder"])
539
- ]),
540
- _: 1
541
- }, 8, ["label"])
542
- ]),
543
- _: 1
544
- }),
545
- t(g, { span: 12 }, {
546
- default: s(() => [
547
- t(c, {
548
- label: l.$t("asset.netSalvage"),
549
- prop: "netSalvage"
550
- }, {
551
- default: s(() => [
552
- t(i, {
553
- modelValue: n(o).netSalvage,
554
- "onUpdate:modelValue": r[10] || (r[10] = (u) => n(o).netSalvage = u),
555
- placeholder: l.$t("asset.netSalvageRequired"),
556
- "show-word-limit": "",
557
- clearable: ""
558
- }, null, 8, ["modelValue", "placeholder"])
559
- ]),
560
- _: 1
561
- }, 8, ["label"])
562
- ]),
563
- _: 1
564
- }),
565
- t(g, { span: 12 }, {
566
- default: s(() => [
567
- t(c, {
568
- label: l.$t("asset.monthDepreciation"),
569
- prop: "monthDepreciation"
570
- }, {
571
- default: s(() => [
572
- t(i, {
573
- modelValue: n(o).monthDepreciation,
574
- "onUpdate:modelValue": r[11] || (r[11] = (u) => n(o).monthDepreciation = u),
575
- placeholder: l.$t("asset.monthDepreciationRequired"),
576
- "show-word-limit": "",
577
- clearable: ""
578
- }, null, 8, ["modelValue", "placeholder"])
579
- ]),
580
- _: 1
581
- }, 8, ["label"])
582
- ]),
583
- _: 1
584
- }),
585
- t(g, { span: 12 }, {
586
- default: s(() => [
587
- t(c, {
588
- label: l.$t("asset.totalDepreciation"),
589
- prop: "totalDepreciation"
590
- }, {
591
- default: s(() => [
592
- t(i, {
593
- modelValue: n(o).totalDepreciation,
594
- "onUpdate:modelValue": r[12] || (r[12] = (u) => n(o).totalDepreciation = u),
595
- placeholder: l.$t("asset.totalDepreciationRequired"),
596
- "show-word-limit": "",
597
- clearable: ""
598
- }, null, 8, ["modelValue", "placeholder"])
599
- ]),
600
- _: 1
601
- }, 8, ["label"])
602
- ]),
603
- _: 1
604
- })
605
- ]),
606
- _: 1
607
- })
608
- ]),
609
- _: 1
610
- }, 8, ["model", "rules"])
611
- ]),
612
- _: 1
613
- }, 8, ["modelValue"]);
614
- };
615
- }
616
- }), re = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-84f6d27c"]]), be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
617
- __proto__: null,
618
- default: re
619
- }, Symbol.toStringTag, { value: "Module" }));
620
- export {
621
- re as A,
622
- V as a,
623
- be as e
624
- };