xyvcard-asset 0.0.14 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assign-CbKUuMPJ.mjs +1603 -0
- package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
- package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
- package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
- package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
- 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
- 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
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
- package/dist/{index-Bqv9_BYL.mjs → index-B1wxTvDR.mjs} +50 -48
- package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
- package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
- package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
- package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
- package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
- package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
- package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
- package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
- package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
- package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
- package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
- package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
- package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +1 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
- package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
- package/dts/constant.d.ts +12 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assign-4SD6S-Fb.mjs +0 -1626
- package/dts/src/App.vue.d.ts +0 -2
- package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
- package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
- package/dts/src/api/asset/asset-site/index.d.ts +0 -15
- package/dts/src/api/asset/asset-site/types.d.ts +0 -71
- package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
- package/dts/src/api/dict.d.ts +0 -19
- package/dts/src/api/index.d.ts +0 -16
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/constant.d.ts +0 -19
- package/dts/src/index.d.ts +0 -6
- package/dts/src/lang/asset/en.d.ts +0 -2
- package/dts/src/lang/asset/zh-cn.d.ts +0 -117
- package/dts/src/lang/index.d.ts +0 -1
- package/dts/src/main.d.ts +0 -4
- package/dts/src/permission.d.ts +0 -1
- package/dts/src/router/page.d.ts +0 -6
- package/dts/src/utils/common.d.ts +0 -51
- package/dts/src/utils/index.d.ts +0 -24
- package/dts/src/utils/momentPlugin.d.ts +0 -5
- package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
- package/dts/tsconfig.tsbuildinfo +0 -1
@@ -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-
|
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-
|
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,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
|
2
|
-
import { a as
|
3
|
-
import { ElMessage as
|
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 =
|
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(
|
19
|
-
const { 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(
|
28
|
-
D.value &&
|
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:
|
36
|
+
message: s("asset.nameRequired"),
|
37
37
|
trigger: "blur"
|
38
38
|
}
|
39
39
|
],
|
40
40
|
// 资产编号
|
41
41
|
code: [
|
42
42
|
{
|
43
|
-
message:
|
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:
|
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:
|
60
|
+
message: s("asset.numberRequired")
|
61
61
|
}
|
62
62
|
],
|
63
63
|
// 单位
|
64
64
|
unit: [
|
65
65
|
{
|
66
66
|
required: !0,
|
67
|
-
message:
|
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:
|
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:
|
84
|
+
message: s("asset.buyMoneyRequired")
|
85
85
|
}
|
86
86
|
],
|
87
87
|
// 资产原值
|
88
88
|
oldMoney: [
|
89
89
|
{
|
90
90
|
required: !0,
|
91
|
-
message:
|
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:
|
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:
|
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:
|
116
|
+
message: s("asset.netSalvageRequired")
|
117
117
|
}
|
118
118
|
],
|
119
119
|
// 月折旧额
|
120
120
|
monthDepreciation: [
|
121
121
|
{
|
122
122
|
required: !0,
|
123
|
-
message:
|
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:
|
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,
|
156
|
-
e.monthDepreciation = (l = e.monthDepreciation) == null ? void 0 : l.toString(), await ((
|
157
|
-
u && (D.value ?
|
158
|
-
|
159
|
-
message:
|
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",
|
162
|
-
}) :
|
163
|
-
|
164
|
-
message:
|
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",
|
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 >
|
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,
|
177
|
-
const u = m("el-input"),
|
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":
|
180
|
+
"onUpdate:modelValue": a[16] || (a[16] = (n) => p.value = n),
|
181
181
|
onClose: M
|
182
182
|
}, {
|
183
183
|
footer: r(() => [
|
184
|
-
f("div",
|
184
|
+
f("div", x, [
|
185
185
|
t(R, { onClick: M }, {
|
186
186
|
default: r(() => [
|
187
|
-
|
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
|
-
|
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:
|
206
|
-
model:
|
205
|
+
ref: V,
|
206
|
+
model: o(e),
|
207
207
|
"label-width": "120px",
|
208
208
|
rules: y
|
209
209
|
}, {
|
210
210
|
default: r(() => [
|
211
|
-
|
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(
|
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:
|
223
|
-
"onUpdate:modelValue":
|
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(
|
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:
|
243
|
-
"onUpdate:modelValue":
|
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(
|
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:
|
263
|
-
"onUpdate:modelValue":
|
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:
|
269
|
+
onChange: a[3] || (a[3] = (n) => {
|
270
270
|
var b;
|
271
|
-
return
|
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(
|
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:
|
289
|
-
"onUpdate:modelValue":
|
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:
|
295
|
+
onChange: a[5] || (a[5] = (n) => {
|
296
296
|
var b;
|
297
|
-
return
|
298
|
-
(b =
|
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(
|
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:
|
319
|
-
"onUpdate:modelValue":
|
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(
|
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:
|
339
|
-
"onUpdate:modelValue":
|
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(
|
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:
|
359
|
-
"onUpdate:modelValue":
|
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(
|
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:
|
381
|
-
"onUpdate:modelValue":
|
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:
|
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(
|
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:
|
401
|
-
"onUpdate:modelValue":
|
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
|
-
|
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(
|
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:
|
428
|
-
"onUpdate:modelValue":
|
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:
|
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(
|
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:
|
448
|
-
"onUpdate:modelValue":
|
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:
|
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(
|
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:
|
471
|
-
"onUpdate:modelValue":
|
472
|
-
disabled:
|
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(
|
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:
|
494
|
-
"onUpdate:modelValue":
|
495
|
-
disabled:
|
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(
|
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:
|
518
|
-
"onUpdate:modelValue":
|
519
|
-
disabled:
|
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
|
-
|
545
|
+
oe as _
|
546
546
|
};
|