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.
- 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--YY_lyB7.mjs} +51 -49
- 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,14 +1,14 @@
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as v, reactive as ee, resolveComponent as r, resolveDirective as te, openBlock as p, createElementBlock as P, createElementVNode as d, createVNode as o, withCtx as l, unref as s, withKeys as _, toDisplayString as i, createBlock as N, createTextVNode as V, withDirectives as T, isRef as Q, createCommentVNode as z } from "vue";
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
3
|
-
import { a as ae } from "./index-
|
3
|
+
import { a as ae } from "./index-BiBCzEqz.mjs";
|
4
4
|
import { useTableHooks as oe } from "jmash-core";
|
5
|
-
import { D as m, S as se } from "./index-
|
6
|
-
import ne from "./edit-
|
7
|
-
const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
5
|
+
import { D as m, S as se } from "./index-Dw9AQlSo.mjs";
|
6
|
+
import ne from "./edit-CX2z9EYu.mjs";
|
7
|
+
const re = { class: "app-container" }, ue = { class: "search-container" }, ie = ["onClick"], ye = /* @__PURE__ */ X({
|
8
8
|
__name: "index",
|
9
|
-
setup(
|
9
|
+
setup(de) {
|
10
10
|
m.unionOrgBizLayDict.useValues(), m.siteDict.useValues();
|
11
|
-
const { t: g } = le(), { proxy: j } = Z(),
|
11
|
+
const { t: g } = le(), { proxy: j } = Z(), w = v([]), n = v({
|
12
12
|
curPage: 1,
|
13
13
|
pageSize: 10
|
14
14
|
}), {
|
@@ -95,10 +95,10 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
95
95
|
isColumn: !0
|
96
96
|
}
|
97
97
|
]);
|
98
|
-
const
|
98
|
+
const h = v(""), D = v(!1);
|
99
99
|
let k = ee({});
|
100
100
|
function R(a) {
|
101
|
-
k = a,
|
101
|
+
k = a, h.value = g("common.edit"), D.value = !0;
|
102
102
|
}
|
103
103
|
function K(a) {
|
104
104
|
u.selectionRows.value = a;
|
@@ -109,13 +109,13 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
109
109
|
function Y(a) {
|
110
110
|
n.value.siteId = "";
|
111
111
|
const t = new se({ orgId: a });
|
112
|
-
t.useValues(),
|
112
|
+
t.useValues(), w.value = t.values;
|
113
113
|
}
|
114
114
|
function q(a) {
|
115
115
|
a && u.getList();
|
116
116
|
}
|
117
117
|
return u.getList(), (a, t) => {
|
118
|
-
const O = r("el-tooltip"), F = r("el-tree-select"), b = r("el-form-item"), f = r("el-col"), C = r("jmash-select"), H = r("el-input"), $ = r("el-row"),
|
118
|
+
const O = r("el-tooltip"), F = r("el-tree-select"), b = r("el-form-item"), f = r("el-col"), C = r("jmash-select"), H = r("el-input"), $ = r("el-row"), S = r("el-button"), M = r("el-form"), x = r("jmash-column-select"), G = r("jmash-table"), J = r("jmash-pagination"), W = r("el-card"), I = te("hasPerm");
|
119
119
|
return p(), P("div", re, [
|
120
120
|
d("div", ue, [
|
121
121
|
o(M, {
|
@@ -178,14 +178,14 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
178
178
|
}, {
|
179
179
|
default: l(() => [
|
180
180
|
(p(), N(C, {
|
181
|
-
key:
|
181
|
+
key: w.value.length,
|
182
182
|
modelValue: n.value.siteId,
|
183
183
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.siteId = e),
|
184
184
|
filterable: "",
|
185
185
|
clearable: "",
|
186
186
|
disabled: !n.value.orgId,
|
187
187
|
placeholder: a.$t("assetDetail.siteNamePlaceholder"),
|
188
|
-
data:
|
188
|
+
data: w.value,
|
189
189
|
onKeyup: t[3] || (t[3] = _((e) => s(u).handleQuery(), ["enter"]))
|
190
190
|
}, null, 8, ["modelValue", "disabled", "placeholder", "data"]))
|
191
191
|
]),
|
@@ -239,7 +239,7 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
239
239
|
}),
|
240
240
|
o(b, { class: "search-btn" }, {
|
241
241
|
default: l(() => [
|
242
|
-
o(
|
242
|
+
o(S, {
|
243
243
|
type: "primary",
|
244
244
|
onClick: t[8] || (t[8] = (e) => s(u).handleQuery())
|
245
245
|
}, {
|
@@ -248,7 +248,7 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
248
248
|
]),
|
249
249
|
_: 1
|
250
250
|
}),
|
251
|
-
o(
|
251
|
+
o(S, {
|
252
252
|
onClick: t[9] || (t[9] = (e) => s(u).resetQuery())
|
253
253
|
}, {
|
254
254
|
default: l(() => [
|
@@ -262,7 +262,7 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
262
262
|
]),
|
263
263
|
_: 1
|
264
264
|
}, 8, ["model"]),
|
265
|
-
|
265
|
+
t[17] || (t[17] = d("div", { class: "clear" }, null, -1))
|
266
266
|
]),
|
267
267
|
o(W, {
|
268
268
|
shadow: "never",
|
@@ -276,7 +276,7 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
276
276
|
align: "right"
|
277
277
|
}, {
|
278
278
|
default: l(() => [
|
279
|
-
T((p(), N(
|
279
|
+
T((p(), N(S, {
|
280
280
|
plain: "",
|
281
281
|
type: "primary",
|
282
282
|
onClick: t[10] || (t[10] = (e) => s(u).handleExport(s(g)("asset.assetDetail.name")))
|
@@ -348,10 +348,10 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
348
348
|
operation: l((e) => [
|
349
349
|
T((p(), P("span", {
|
350
350
|
class: "el-button-color",
|
351
|
-
onClick: (
|
351
|
+
onClick: (me) => R(e.data.row)
|
352
352
|
}, [
|
353
353
|
V(i(a.$t("common.edit")), 1)
|
354
|
-
], 8,
|
354
|
+
], 8, ie)), [
|
355
355
|
[I, ["asset:asset_detail:update"]]
|
356
356
|
])
|
357
357
|
]),
|
@@ -364,7 +364,7 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
364
364
|
key: 0,
|
365
365
|
modelValue: D.value,
|
366
366
|
"onUpdate:modelValue": t[16] || (t[16] = (e) => D.value = e),
|
367
|
-
title:
|
367
|
+
title: h.value,
|
368
368
|
"entity-key": s(k),
|
369
369
|
width: "900px",
|
370
370
|
onRefresh: q
|
@@ -374,5 +374,5 @@ const re = { class: "app-container" }, ue = { class: "search-container" }, ie =
|
|
374
374
|
}
|
375
375
|
});
|
376
376
|
export {
|
377
|
-
|
377
|
+
ye as default
|
378
378
|
};
|
@@ -2,7 +2,7 @@ import { defineComponent as H, ref as I, computed as Q, onBeforeMount as K, reso
|
|
2
2
|
import { useUserStore as g, clearEmpty as v, request as h, useTableHooks as X, routerUtil as Z } from "jmash-core";
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
4
4
|
import { useRouter as ee, useRoute as te } from "vue-router";
|
5
|
-
import { q as oe, D as V, a as ae } from "./index-
|
5
|
+
import { q as oe, D as V, a as ae } from "./index-Dw9AQlSo.mjs";
|
6
6
|
import { c as le } from "./common-CshrwPyx.mjs";
|
7
7
|
class se {
|
8
8
|
getKey(n) {
|
@@ -51,10 +51,10 @@ class se {
|
|
51
51
|
});
|
52
52
|
}
|
53
53
|
}
|
54
|
-
const w = new se(), ne = { class: "app-container" }, re =
|
54
|
+
const w = new se(), ne = { class: "app-container" }, re = { class: "cell-item" }, ie = { class: "cell-item" }, de = { class: "cell-item" }, ce = { class: "cell-item" }, ue = { class: "cell-item" }, pe = { class: "cell-item" }, me = { class: "cell-item" }, _e = { class: "cell-item" }, fe = { class: "cell-item" }, be = { class: "cell-item" }, ye = {
|
55
55
|
class: "search-container",
|
56
56
|
style: { border: "none" }
|
57
|
-
},
|
57
|
+
}, De = /* @__PURE__ */ H({
|
58
58
|
__name: "index",
|
59
59
|
setup(C) {
|
60
60
|
const { t: n } = x(), m = ee(), f = te();
|
@@ -145,7 +145,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
145
145
|
}, null, 8, ["total", "current-page", "page-size"])) : W("", !0)
|
146
146
|
]),
|
147
147
|
default: e(() => [
|
148
|
-
|
148
|
+
s[7] || (s[7] = r("div", { class: "title-content" }, "资产信息", -1)),
|
149
149
|
l(j, {
|
150
150
|
class: "margin-top",
|
151
151
|
column: 2,
|
@@ -154,7 +154,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
154
154
|
default: e(() => [
|
155
155
|
l(p, null, {
|
156
156
|
label: e(() => [
|
157
|
-
r("div",
|
157
|
+
r("div", re, o(a.$t("asset.name")), 1)
|
158
158
|
]),
|
159
159
|
default: e(() => [
|
160
160
|
c(" " + o(t(d).name), 1)
|
@@ -163,7 +163,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
163
163
|
}),
|
164
164
|
l(p, null, {
|
165
165
|
label: e(() => [
|
166
|
-
r("div",
|
166
|
+
r("div", ie, o(a.$t("asset.code")), 1)
|
167
167
|
]),
|
168
168
|
default: e(() => [
|
169
169
|
c(" " + o(t(d).code), 1)
|
@@ -172,7 +172,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
172
172
|
}),
|
173
173
|
l(p, null, {
|
174
174
|
label: e(() => [
|
175
|
-
r("div",
|
175
|
+
r("div", de, o(a.$t("asset.number")) + "/" + o(a.$t("asset.unit")), 1)
|
176
176
|
]),
|
177
177
|
default: e(() => [
|
178
178
|
c(" " + o(t(d).number) + "/" + o(t(d).unit), 1)
|
@@ -181,7 +181,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
181
181
|
}),
|
182
182
|
l(p, null, {
|
183
183
|
label: e(() => [
|
184
|
-
r("div",
|
184
|
+
r("div", ce, o(a.$t("asset.buyDate")), 1)
|
185
185
|
]),
|
186
186
|
default: e(() => [
|
187
187
|
c(" " + o(t(d).buyDate), 1)
|
@@ -190,7 +190,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
190
190
|
}),
|
191
191
|
l(p, null, {
|
192
192
|
label: e(() => [
|
193
|
-
r("div",
|
193
|
+
r("div", ue, o(a.$t("asset.assetSort")), 1)
|
194
194
|
]),
|
195
195
|
default: e(() => [
|
196
196
|
c(" " + o(t(V).assetSortDictEnum.getEnumValue(
|
@@ -201,7 +201,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
201
201
|
}),
|
202
202
|
l(p, null, {
|
203
203
|
label: e(() => [
|
204
|
-
r("div",
|
204
|
+
r("div", pe, o(a.$t("asset.useLimit")), 1)
|
205
205
|
]),
|
206
206
|
default: e(() => [
|
207
207
|
c(" " + o(t(d).useLimit), 1)
|
@@ -210,7 +210,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
210
210
|
}),
|
211
211
|
l(p, null, {
|
212
212
|
label: e(() => [
|
213
|
-
r("div",
|
213
|
+
r("div", me, o(a.$t("asset.oldMoney")), 1)
|
214
214
|
]),
|
215
215
|
default: e(() => [
|
216
216
|
c(" " + o(t(d).oldMoney), 1)
|
@@ -219,7 +219,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
219
219
|
}),
|
220
220
|
l(p, null, {
|
221
221
|
label: e(() => [
|
222
|
-
r("div",
|
222
|
+
r("div", _e, o(a.$t("asset.netSalvage")), 1)
|
223
223
|
]),
|
224
224
|
default: e(() => [
|
225
225
|
c(" " + o(t(d).netSalvage), 1)
|
@@ -228,7 +228,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
228
228
|
}),
|
229
229
|
l(p, null, {
|
230
230
|
label: e(() => [
|
231
|
-
r("div",
|
231
|
+
r("div", fe, o(a.$t("depreciationRecord.netAssetValue")), 1)
|
232
232
|
]),
|
233
233
|
default: e(() => [
|
234
234
|
c(" " + o(t(M)), 1)
|
@@ -237,7 +237,7 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
237
237
|
}),
|
238
238
|
l(p, null, {
|
239
239
|
label: e(() => [
|
240
|
-
r("div",
|
240
|
+
r("div", be, o(a.$t("depreciationRecord.totalDepreciation")), 1)
|
241
241
|
]),
|
242
242
|
default: e(() => [
|
243
243
|
c(" " + o(t(d).totalDepreciation), 1)
|
@@ -247,8 +247,8 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
247
247
|
]),
|
248
248
|
_: 1
|
249
249
|
}),
|
250
|
-
|
251
|
-
r("div",
|
250
|
+
s[8] || (s[8] = r("div", { class: "title-content" }, "折旧记录", -1)),
|
251
|
+
r("div", ye, [
|
252
252
|
l(A, {
|
253
253
|
ref_key: "queryFormRef",
|
254
254
|
ref: P,
|
@@ -324,5 +324,5 @@ const w = new se(), ne = { class: "app-container" }, re = /* @__PURE__ */ r("div
|
|
324
324
|
}
|
325
325
|
});
|
326
326
|
export {
|
327
|
-
|
327
|
+
De as default
|
328
328
|
};
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as h, getCurrentInstance as q, ref as g, reactive as E, onBeforeMount as U, resolveComponent as r, openBlock as R, createElementBlock as Y, createVNode as n, withCtx as e, createTextVNode as m, toDisplayString as l, createElementVNode as i, unref as t, createBlock as L, isRef as M, createCommentVNode as A } from "vue";
|
2
2
|
import { useRouter as H, useRoute as x } from "vue-router";
|
3
|
-
import { D as k } from "./index-
|
3
|
+
import { D as k } from "./index-Dw9AQlSo.mjs";
|
4
4
|
import { useTableHooks as O, routerUtil as F } from "jmash-core";
|
5
5
|
import { i as v } from "./index-Dyo7je0Z.mjs";
|
6
6
|
import { useI18n as G } from "vue-i18n";
|
7
|
-
const J = { class: "app-container" }, K =
|
7
|
+
const J = { class: "app-container" }, K = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, se = /* @__PURE__ */ h({
|
8
8
|
__name: "index",
|
9
|
-
setup(
|
10
|
-
const { t: C } = G(), { proxy: N } = q(),
|
11
|
-
let
|
9
|
+
setup(Z) {
|
10
|
+
const { t: C } = G(), { proxy: N } = q(), I = H(), c = x(), d = g({}), u = E({}), { tableHooks: T, multipleTableRef: w, listLoading: D, tableData: _, total: p } = O(C, v, d);
|
11
|
+
let P = g([
|
12
12
|
// 资产名称
|
13
13
|
{
|
14
14
|
label: "inventoryRecord.propertyName",
|
@@ -34,79 +34,79 @@ const J = { class: "app-container" }, K = /* @__PURE__ */ i("div", { class: "tit
|
|
34
34
|
}
|
35
35
|
]);
|
36
36
|
U(() => {
|
37
|
-
v.findById({ inventoryId:
|
38
|
-
Object.assign(u,
|
39
|
-
}),
|
40
|
-
inventoryId:
|
41
|
-
}).then(({ data: { results:
|
42
|
-
|
43
|
-
}) :
|
37
|
+
v.findById({ inventoryId: c.query.inventoryId }).then(({ data: a }) => {
|
38
|
+
Object.assign(u, a);
|
39
|
+
}), c.query.inventoryId ? v.findInfoAssetPage({
|
40
|
+
inventoryId: c.query.inventoryId
|
41
|
+
}).then(({ data: { results: a } }) => {
|
42
|
+
_.value = a;
|
43
|
+
}) : _.value = [];
|
44
44
|
});
|
45
|
-
function
|
46
|
-
F.closeTagView(
|
45
|
+
function S() {
|
46
|
+
F.closeTagView(c.fullPath, I, !1);
|
47
47
|
}
|
48
|
-
return (
|
49
|
-
const
|
48
|
+
return (a, o) => {
|
49
|
+
const V = r("el-button"), f = r("el-descriptions-item"), $ = r("el-descriptions"), y = r("el-col"), b = r("el-row"), B = r("jmash-table"), j = r("jmash-pagination"), z = r("el-card");
|
50
50
|
return R(), Y("div", J, [
|
51
|
-
|
51
|
+
n(z, { shadow: "never" }, {
|
52
52
|
header: e(() => [
|
53
|
-
|
53
|
+
n(V, {
|
54
54
|
type: "primary",
|
55
|
-
onClick:
|
55
|
+
onClick: S
|
56
56
|
}, {
|
57
57
|
default: e(() => [
|
58
|
-
|
58
|
+
m(l(a.$t("common.back")), 1)
|
59
59
|
]),
|
60
60
|
_: 1
|
61
61
|
})
|
62
62
|
]),
|
63
63
|
default: e(() => [
|
64
|
-
|
65
|
-
|
64
|
+
o[4] || (o[4] = i("div", { class: "title-content" }, "盘点信息", -1)),
|
65
|
+
n(b, null, {
|
66
66
|
default: e(() => [
|
67
|
-
|
67
|
+
n(y, { span: 24 }, {
|
68
68
|
default: e(() => [
|
69
|
-
|
69
|
+
n($, {
|
70
70
|
class: "margin-top",
|
71
71
|
column: 2,
|
72
72
|
border: ""
|
73
73
|
}, {
|
74
74
|
default: e(() => [
|
75
|
-
|
75
|
+
n(f, null, {
|
76
76
|
label: e(() => [
|
77
|
-
i("div",
|
77
|
+
i("div", K, l(a.$t("inventoryRecord.siteName")), 1)
|
78
78
|
]),
|
79
79
|
default: e(() => [
|
80
|
-
|
80
|
+
m(" " + l(t(u).siteName), 1)
|
81
81
|
]),
|
82
82
|
_: 1
|
83
83
|
}),
|
84
|
-
|
84
|
+
n(f, null, {
|
85
85
|
label: e(() => [
|
86
|
-
i("div",
|
86
|
+
i("div", Q, l(a.$t("inventoryRecord.inventoryTime")), 1)
|
87
87
|
]),
|
88
88
|
default: e(() => [
|
89
|
-
|
89
|
+
m(" " + l(t(u).inventoryTime ? t(N).$moment.formatDate(t(u).inventoryTime, "YYYY-MM-DD") : ""), 1)
|
90
90
|
]),
|
91
91
|
_: 1
|
92
92
|
}),
|
93
|
-
|
93
|
+
n(f, null, {
|
94
94
|
label: e(() => [
|
95
95
|
i("span", null, [
|
96
|
-
i("div",
|
96
|
+
i("div", W, l(a.$t("inventoryRecord.userName")), 1)
|
97
97
|
])
|
98
98
|
]),
|
99
99
|
default: e(() => [
|
100
|
-
|
100
|
+
m(" " + l(t(u).userName), 1)
|
101
101
|
]),
|
102
102
|
_: 1
|
103
103
|
}),
|
104
|
-
|
104
|
+
n(f, null, {
|
105
105
|
label: e(() => [
|
106
|
-
i("div",
|
106
|
+
i("div", X, l(a.$t("inventoryRecord.inventoryStatus")), 1)
|
107
107
|
]),
|
108
108
|
default: e(() => [
|
109
|
-
|
109
|
+
m(" " + l(t(k).inventoryResults.getEnumValue(
|
110
110
|
t(u).inventoryStatus
|
111
111
|
)), 1)
|
112
112
|
]),
|
@@ -121,35 +121,35 @@ const J = { class: "app-container" }, K = /* @__PURE__ */ i("div", { class: "tit
|
|
121
121
|
]),
|
122
122
|
_: 1
|
123
123
|
}),
|
124
|
-
|
125
|
-
|
124
|
+
o[5] || (o[5] = i("div", { class: "title-content" }, "资产信息", -1)),
|
125
|
+
n(b, null, {
|
126
126
|
default: e(() => [
|
127
|
-
|
127
|
+
n(y, { span: 24 }, {
|
128
128
|
footer: e(() => [
|
129
|
-
t(p) > 0 ? (R(), L(
|
129
|
+
t(p) > 0 ? (R(), L(j, {
|
130
130
|
key: 0,
|
131
131
|
total: t(p),
|
132
|
-
"onUpdate:total":
|
133
|
-
"current-page": t(
|
134
|
-
"onUpdate:currentPage":
|
135
|
-
"page-size": t(
|
136
|
-
"onUpdate:pageSize":
|
137
|
-
onPagination:
|
132
|
+
"onUpdate:total": o[0] || (o[0] = (s) => M(p) ? p.value = s : null),
|
133
|
+
"current-page": t(d).curPage,
|
134
|
+
"onUpdate:currentPage": o[1] || (o[1] = (s) => t(d).curPage = s),
|
135
|
+
"page-size": t(d).pageSize,
|
136
|
+
"onUpdate:pageSize": o[2] || (o[2] = (s) => t(d).pageSize = s),
|
137
|
+
onPagination: o[3] || (o[3] = (s) => t(T).getList())
|
138
138
|
}, null, 8, ["total", "current-page", "page-size"])) : A("", !0)
|
139
139
|
]),
|
140
140
|
default: e(() => [
|
141
|
-
|
141
|
+
n(B, {
|
142
142
|
ref_key: "multipleTableRef",
|
143
|
-
ref:
|
143
|
+
ref: w,
|
144
144
|
class: "table-top",
|
145
145
|
"row-key": "inventoryId",
|
146
146
|
"is-selection": !1,
|
147
|
-
"list-loading": t(
|
148
|
-
data: t(
|
149
|
-
"table-label": t(
|
147
|
+
"list-loading": t(D),
|
148
|
+
data: t(_),
|
149
|
+
"table-label": t(P)
|
150
150
|
}, {
|
151
151
|
status: e((s) => [
|
152
|
-
i("span", null,
|
152
|
+
i("span", null, l(t(k).inventoryResults.getEnumValue(s.data.row.status)), 1)
|
153
153
|
]),
|
154
154
|
_: 1
|
155
155
|
}, 8, ["list-loading", "data", "table-label"])
|
@@ -167,5 +167,5 @@ const J = { class: "app-container" }, K = /* @__PURE__ */ i("div", { class: "tit
|
|
167
167
|
}
|
168
168
|
});
|
169
169
|
export {
|
170
|
-
|
170
|
+
se as default
|
171
171
|
};
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as ae, ref as k, reactive as j, resolveComponent as s, resolveDirective as ne, openBlock as u, createElementBlock as p, createElementVNode as y, createVNode as o, withCtx as a, unref as n, withKeys as R, toDisplayString as d, createTextVNode as f, withDirectives as b, createBlock as D, isRef as z, createCommentVNode as S, vShow as L } from "vue";
|
2
|
-
import { D as C, s as se } from "./index-
|
2
|
+
import { D as C, s as se } from "./index-Dw9AQlSo.mjs";
|
3
3
|
import { useI18n as ie } from "vue-i18n";
|
4
4
|
import { useRouter as re } from "vue-router";
|
5
|
-
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-
|
5
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs";
|
6
6
|
import { useTableHooks as de } from "jmash-core";
|
7
7
|
const me = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 }, fe = { key: 1 }, be = {
|
8
8
|
key: 2,
|
@@ -27,13 +27,14 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
27
27
|
{
|
28
28
|
label: "site.siteQrcode",
|
29
29
|
prop: "siteQrcode",
|
30
|
-
width: "
|
30
|
+
width: "180",
|
31
31
|
isColumn: !0
|
32
32
|
},
|
33
33
|
// 所属工会
|
34
34
|
{
|
35
35
|
label: "site.orgId",
|
36
36
|
prop: "orgId",
|
37
|
+
width: "200",
|
37
38
|
slotName: "orgId",
|
38
39
|
columnType: "slot",
|
39
40
|
isColumn: !0
|
@@ -42,6 +43,7 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
42
43
|
{
|
43
44
|
label: "site.name",
|
44
45
|
prop: "name",
|
46
|
+
width: "200",
|
45
47
|
sortable: "custom",
|
46
48
|
isColumn: !0
|
47
49
|
},
|
@@ -88,7 +90,7 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
88
90
|
prop: "status",
|
89
91
|
slotName: "status",
|
90
92
|
columnType: "slot",
|
91
|
-
width: "
|
93
|
+
width: "100",
|
92
94
|
sortable: "custom",
|
93
95
|
isColumn: !0
|
94
96
|
},
|