xyvcard-itsm-flow 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FileSaver.min-FLjvLk81.mjs → FileSaver.min-Bst8M31G.mjs} +1 -1
- package/dist/{edit-D--QEJjt.mjs → edit-B5e6Z4D-.mjs} +1 -1
- package/dist/{edit-DE30a8nF.mjs → edit-B6x5LnXs.mjs} +1 -1
- package/dist/{edit-BoyxGI-j.mjs → edit-CDrqDH14.mjs} +1 -1
- package/dist/{edit-DVqIGzRC.mjs → edit-Cdqv3LYF.mjs} +2 -2
- package/dist/{edit-ChPw3-tf.mjs → edit-CtGnGMdI.mjs} +4 -4
- package/dist/{edit-Bj6O1CiV.mjs → edit-s6tpuJqi.mjs} +32 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs → edit.vue_vue_type_script_setup_true_lang-Dlt4h5rH.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs → edit.vue_vue_type_script_setup_true_lang-Z6oOT8ZZ.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs → edit.vue_vue_type_script_setup_true_lang-mfIQLtr7.mjs} +1 -1
- package/dist/{index-8wrBAgqn.mjs → index-B343YUBs.mjs} +4 -4
- package/dist/{index-DgMfinzm.mjs → index-BHx7wTh8.mjs} +2 -2
- package/dist/{index-C2_qB4RV.mjs → index-BRS1J0_N.mjs} +1 -1
- package/dist/{index-DLKaq1KT.mjs → index-BpTgZ8S6.mjs} +3 -3
- package/dist/{index-DrUmzzLs.mjs → index-BryuNtvE.mjs} +4 -4
- package/dist/{index-Cv9EtBjj.mjs → index-Bv6L7pj-.mjs} +225 -234
- package/dist/{index-BPbEgv_g.mjs → index-Bvl7uSjW.mjs} +34 -34
- package/dist/{index-SilwoNEK.mjs → index-BzNd3aeo.mjs} +1402 -1420
- package/dist/{index-CcmelnG0.mjs → index-C3imt6Nt.mjs} +43 -43
- package/dist/{index-Cbd9gMMJ.mjs → index-C9XYUxJJ.mjs} +64 -64
- package/dist/{index-jG64vmFA.mjs → index-CND3lY5T.mjs} +130 -131
- package/dist/{index-BCm8GyNp.mjs → index-CVEflwbt.mjs} +1 -1
- package/dist/{index-DymW6iPU.mjs → index-CYgdVX3-.mjs} +3 -3
- package/dist/{index-DyhFuDLH.mjs → index-CaCAQvu3.mjs} +34 -35
- package/dist/{index-DvfEpZEP.mjs → index-Cd1wffPr.mjs} +61 -58
- package/dist/{index-DUeJgFzy.mjs → index-CeYdPqBa.mjs} +2 -2
- package/dist/{index-DCrOzptR.mjs → index-ChDJ7snw.mjs} +3 -3
- package/dist/{index-DeWL7kiw.mjs → index-Cp5FZJRb.mjs} +2 -2
- package/dist/{index-BnpWxtwn.mjs → index-DL0G-1We.mjs} +3 -3
- package/dist/index-DS5-j9pi.mjs +382 -0
- package/dist/{index-BKReblQ-.mjs → index-DVTVgX1p.mjs} +93 -93
- package/dist/{index-r4Tg0GX2.mjs → index-ETbLgbz7.mjs} +3 -3
- package/dist/{index-DWJG5OHB.mjs → index-MPqnkTdo.mjs} +1 -1
- package/dist/{index-CBlDGIOm.mjs → index-NEYEBifl.mjs} +19 -20
- package/dist/{index-xWvPJZ-m.mjs → index-_lw11aC1.mjs} +2 -2
- package/dist/{index-DyZhLpPq.mjs → index-j6FSzNWr.mjs} +15 -15
- package/dist/{index-C6lbS4Lo.mjs → index-oYL4MO3G.mjs} +2 -2
- package/dist/{index-BGUJBf1b.mjs → index-qXw5Aiao.mjs} +77 -77
- package/dist/{index-BVKYrCIy.mjs → index-v6aOPnu6.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-BWhsB1Ap.mjs → info-BBeI4Gu-.mjs} +1 -1
- package/dist/{info-CGUYIYny.mjs → info-BMDpWXun.mjs} +1 -1
- package/dist/{info-CbJJduEU.mjs → info-D8JhIxGy.mjs} +1 -1
- package/dist/{info-9EvTq-5p.mjs → info-Dcc0vKH3.mjs} +1 -1
- package/dist/info-Dmo9yYXs.mjs +4 -0
- package/dist/info-ghO6g5a7.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs → info.vue_vue_type_script_setup_true_lang-B_xQV4zS.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs → info.vue_vue_type_script_setup_true_lang-CcAaUZ-e.mjs} +14 -14
- package/dist/{info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs → info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs → info.vue_vue_type_script_setup_true_lang-Comh2IyD.mjs} +12 -12
- package/dist/{info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs → info.vue_vue_type_script_setup_true_lang-DVu1OSso.mjs} +10 -10
- package/dist/{info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs → info.vue_vue_type_script_setup_true_lang-DwW2WxUK.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-temporary/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index-DwPAoK5U.mjs +0 -369
- package/dist/info-CtxVi70h.mjs +0 -4
- package/dist/info-ZeMWMgd3.mjs +0 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as he, mergeModels as ve, useModel as we, ref as V, reactive as Fe, computed as H, watch as W, resolveComponent as p, createElementBlock as P, openBlock as
|
|
1
|
+
import { defineComponent as he, mergeModels as ve, useModel as we, ref as V, reactive as Fe, computed as H, watch as W, resolveComponent as p, createElementBlock as P, openBlock as f, Fragment as I, createVNode as t, withCtx as o, createElementVNode as g, unref as u, createBlock as _, createCommentVNode as $, renderList as R, toDisplayString as S, createTextVNode as U } from "vue";
|
|
2
2
|
import { ElMessage as q } from "element-plus";
|
|
3
3
|
import { d as Ve, p as Se, u as _e, c as Pe } from "./index-CvX2It1o.mjs";
|
|
4
4
|
import "jmash-rbac";
|
|
5
5
|
import { useI18n as Ie } from "vue-i18n";
|
|
6
|
-
import { i as G, a as $e } from "./index-
|
|
7
|
-
import { D as
|
|
6
|
+
import { i as G, a as $e } from "./index-BRS1J0_N.mjs";
|
|
7
|
+
import { D as h, i as qe, C as ke } from "./index-MPqnkTdo.mjs";
|
|
8
8
|
import { itemBudgetApi as J } from "xyvcard-itsm";
|
|
9
|
-
import { useUserStoreHook as
|
|
9
|
+
import { useUserStoreHook as Me } from "jmash-core";
|
|
10
10
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
|
-
const
|
|
11
|
+
const De = { class: "total-price" }, Re = { id: "totalPrice" }, Ue = /* @__PURE__ */ he({
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: /* @__PURE__ */ ve({
|
|
14
14
|
task: {
|
|
@@ -21,10 +21,10 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
21
21
|
modelModifiers: {}
|
|
22
22
|
}),
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
|
-
setup(
|
|
25
|
-
const X =
|
|
26
|
-
|
|
27
|
-
const { t:
|
|
24
|
+
setup(C, { expose: Q }) {
|
|
25
|
+
const X = Me();
|
|
26
|
+
h.orgIdBizDict.useValues(), h.budgetTypeDict.useValues(), h.fileTypeDict.useDictValues(), h.itemBizLayDict.useValues();
|
|
27
|
+
const { t: c } = Ie(), v = we(C, "modelValue"), T = V(), k = C, A = V("");
|
|
28
28
|
let a = Fe({
|
|
29
29
|
requestId: Math.random() * 10 + "",
|
|
30
30
|
updateMask: "",
|
|
@@ -32,15 +32,9 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
32
32
|
applyDate: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
|
|
33
33
|
details: []
|
|
34
34
|
});
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (!a.orgId) return [];
|
|
39
|
-
const e = c.itemBizLayDict.values.filter(
|
|
40
|
-
(l) => l.orgId === a.orgId
|
|
41
|
-
);
|
|
42
|
-
return console.log("过滤后的项目:", e), e;
|
|
43
|
-
}), w = V([]);
|
|
35
|
+
const M = V(!1), O = V(), Y = H(() => a.orgId ? h.itemBizLayDict.values.filter(
|
|
36
|
+
(l) => l.orgId === a.orgId
|
|
37
|
+
) : []), w = V([]);
|
|
44
38
|
function Z(e) {
|
|
45
39
|
a.itemId = void 0, a.budgetType = "", a.contractMoney = "0", w.value = [];
|
|
46
40
|
}
|
|
@@ -50,30 +44,29 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
50
44
|
function ee(e) {
|
|
51
45
|
B(a.itemId, e);
|
|
52
46
|
}
|
|
53
|
-
const N = (e, l) =>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}).filter((r) => r !== null)), B = async (e, l) => {
|
|
47
|
+
const N = (e, l) => e.map((n) => {
|
|
48
|
+
const d = { ...n };
|
|
49
|
+
return d.children && d.children.length > 0 && (d.children = N(d.children, l)), l.includes(d.value) || d.children && d.children.length > 0 ? d : null;
|
|
50
|
+
}).filter((n) => n !== null), B = async (e, l) => {
|
|
58
51
|
if (!e || !l) {
|
|
59
52
|
a.budgetType = "", a.contractMoney = "0", w.value = [];
|
|
60
53
|
return;
|
|
61
54
|
}
|
|
62
55
|
try {
|
|
63
|
-
const
|
|
56
|
+
const n = {
|
|
64
57
|
itemId: e,
|
|
65
58
|
annual: l
|
|
66
|
-
},
|
|
67
|
-
if (
|
|
68
|
-
const i =
|
|
59
|
+
}, s = (await J.findList(n)).data.results || [];
|
|
60
|
+
if (s.length > 0) {
|
|
61
|
+
const i = s.map((F) => F.budgetType);
|
|
69
62
|
w.value = N(
|
|
70
|
-
|
|
63
|
+
h.budgetTypeDict.values,
|
|
71
64
|
i
|
|
72
|
-
), a.budgetType =
|
|
65
|
+
), a.budgetType = s[0].budgetType || "", a.contractMoney = String(s[0].approvedAmount) || "0";
|
|
73
66
|
} else
|
|
74
|
-
a.budgetType = "", a.contractMoney = "0", w.value = [], q.warning(
|
|
75
|
-
} catch
|
|
76
|
-
a.budgetType = "", a.contractMoney = "0", w.value = [], q.error(
|
|
67
|
+
a.budgetType = "", a.contractMoney = "0", w.value = [], q.warning(c("itsmFlowSpareParts.noBudgetType"));
|
|
68
|
+
} catch {
|
|
69
|
+
a.budgetType = "", a.contractMoney = "0", w.value = [], q.error(c("itsmFlowSpareParts.getBudgetFail"));
|
|
77
70
|
}
|
|
78
71
|
};
|
|
79
72
|
W(
|
|
@@ -88,14 +81,14 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
88
81
|
const l = {
|
|
89
82
|
itemId: a.itemId,
|
|
90
83
|
annual: a.annual
|
|
91
|
-
},
|
|
84
|
+
}, s = ((await J.findList(l)).data.results || []).find(
|
|
92
85
|
(i) => i.budgetType === e
|
|
93
86
|
);
|
|
94
|
-
|
|
95
|
-
} catch
|
|
96
|
-
|
|
87
|
+
s ? a.contractMoney = String(s.approvedAmount) || "0" : a.contractMoney = "0";
|
|
88
|
+
} catch {
|
|
89
|
+
a.contractMoney = "0";
|
|
97
90
|
}
|
|
98
|
-
},
|
|
91
|
+
}, y = V([
|
|
99
92
|
{
|
|
100
93
|
type: "",
|
|
101
94
|
name: "",
|
|
@@ -108,7 +101,7 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
108
101
|
}
|
|
109
102
|
]);
|
|
110
103
|
function ae() {
|
|
111
|
-
|
|
104
|
+
y.value.push({
|
|
112
105
|
type: "",
|
|
113
106
|
name: "",
|
|
114
107
|
number: 0,
|
|
@@ -120,59 +113,59 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
120
113
|
});
|
|
121
114
|
}
|
|
122
115
|
function te(e) {
|
|
123
|
-
const l =
|
|
124
|
-
l !== 0 &&
|
|
116
|
+
const l = y.value.indexOf(e.row);
|
|
117
|
+
l !== 0 && y.value.splice(l, 1);
|
|
125
118
|
}
|
|
126
|
-
const
|
|
119
|
+
const D = V("0.00");
|
|
127
120
|
W(
|
|
128
|
-
() =>
|
|
121
|
+
() => y.value,
|
|
129
122
|
(e) => {
|
|
130
123
|
if (!e || e.length === 0) {
|
|
131
|
-
|
|
124
|
+
D.value = "0.00";
|
|
132
125
|
return;
|
|
133
126
|
}
|
|
134
|
-
const l = e.reduce((
|
|
135
|
-
const
|
|
136
|
-
return
|
|
127
|
+
const l = e.reduce((n, d) => {
|
|
128
|
+
const s = parseFloat(d.valuation) || 0, i = parseFloat(d.number) || 0;
|
|
129
|
+
return n + s * i;
|
|
137
130
|
}, 0);
|
|
138
|
-
|
|
131
|
+
D.value = l.toFixed(2);
|
|
139
132
|
},
|
|
140
133
|
{ deep: !0, immediate: !0 }
|
|
141
134
|
);
|
|
142
|
-
const
|
|
135
|
+
const re = H(() => {
|
|
143
136
|
const e = {
|
|
144
137
|
orgId: [
|
|
145
138
|
{
|
|
146
139
|
required: !0,
|
|
147
|
-
message:
|
|
140
|
+
message: c("itsmFlowSpareParts.govOrgIdRequired"),
|
|
148
141
|
trigger: "change"
|
|
149
142
|
}
|
|
150
143
|
],
|
|
151
144
|
type: [
|
|
152
145
|
{
|
|
153
146
|
required: !0,
|
|
154
|
-
message:
|
|
147
|
+
message: c("itsmFlowSpareParts.itsmtypeRequired"),
|
|
155
148
|
trigger: "change"
|
|
156
149
|
}
|
|
157
150
|
],
|
|
158
151
|
applyPlace: [
|
|
159
152
|
{
|
|
160
153
|
required: !0,
|
|
161
|
-
message:
|
|
154
|
+
message: c("itsmFlowSpareParts.applyPlaceRequired"),
|
|
162
155
|
trigger: "change"
|
|
163
156
|
}
|
|
164
157
|
],
|
|
165
158
|
annual: [
|
|
166
159
|
{
|
|
167
160
|
required: !0,
|
|
168
|
-
message:
|
|
161
|
+
message: c("itsmFlowSpareParts.annualRequired"),
|
|
169
162
|
trigger: "change"
|
|
170
163
|
}
|
|
171
164
|
],
|
|
172
165
|
applyDate: [
|
|
173
166
|
{
|
|
174
167
|
required: !0,
|
|
175
|
-
message:
|
|
168
|
+
message: c("itsmFlowSpareParts.applyDateRequired"),
|
|
176
169
|
trigger: "change"
|
|
177
170
|
}
|
|
178
171
|
]
|
|
@@ -180,24 +173,24 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
180
173
|
return a.type !== "BudgetOut" && (e.itemId = [
|
|
181
174
|
{
|
|
182
175
|
required: !0,
|
|
183
|
-
message:
|
|
176
|
+
message: c("itsmFlowSpareParts.itemIdRequired"),
|
|
184
177
|
trigger: "change"
|
|
185
178
|
}
|
|
186
179
|
], e.budgetType = [
|
|
187
180
|
{
|
|
188
181
|
required: !0,
|
|
189
|
-
message:
|
|
182
|
+
message: c("itsmFlowSpareParts.budgetTypeRequired"),
|
|
190
183
|
trigger: "change"
|
|
191
184
|
}
|
|
192
185
|
], e.contractMoney = [
|
|
193
186
|
{
|
|
194
187
|
required: !0,
|
|
195
|
-
message:
|
|
188
|
+
message: c("itsmFlowSpareParts.contractMoneyRequired"),
|
|
196
189
|
trigger: "change"
|
|
197
190
|
}
|
|
198
191
|
]), e;
|
|
199
192
|
});
|
|
200
|
-
function
|
|
193
|
+
function oe(e) {
|
|
201
194
|
const l = {
|
|
202
195
|
fileName: e.name,
|
|
203
196
|
fileId: e.response.fileId,
|
|
@@ -206,26 +199,26 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
206
199
|
a.files || (a.files = []), a.files.push(l);
|
|
207
200
|
}
|
|
208
201
|
function ne(e) {
|
|
209
|
-
e && (A.value = e),
|
|
202
|
+
e && (A.value = e), M.value = !0, O.value.clearFileList();
|
|
210
203
|
}
|
|
211
204
|
const L = (e) => {
|
|
212
205
|
var l;
|
|
213
|
-
return ((l = a.files) == null ? void 0 : l.filter((
|
|
214
|
-
},
|
|
215
|
-
var
|
|
216
|
-
const
|
|
217
|
-
(F) => F.fileSort === e && F.fileId ===
|
|
206
|
+
return ((l = a.files) == null ? void 0 : l.filter((n) => n.fileSort === e)) || [];
|
|
207
|
+
}, ue = (e, l) => {
|
|
208
|
+
var s, i;
|
|
209
|
+
const n = L(e), d = (s = a.files) == null ? void 0 : s.findIndex(
|
|
210
|
+
(F) => F.fileSort === e && F.fileId === n[l].fileId
|
|
218
211
|
);
|
|
219
|
-
|
|
212
|
+
d !== void 0 && d >= 0 && ((i = a.files) == null || i.splice(d, 1));
|
|
220
213
|
};
|
|
221
214
|
G.findById({ flowSpareId: k.task.businessKey }).then(({ data: e }) => {
|
|
222
215
|
Object.assign(a, e);
|
|
223
216
|
const l = {
|
|
224
217
|
flowSpareId: k.task.businessKey
|
|
225
218
|
};
|
|
226
|
-
$e.findList(l).then((
|
|
227
|
-
var
|
|
228
|
-
|
|
219
|
+
$e.findList(l).then((n) => {
|
|
220
|
+
var d;
|
|
221
|
+
(d = n == null ? void 0 : n.data) != null && d.results && Array.isArray(n.data.results) ? y.value = n.data.results : (y.value = [
|
|
229
222
|
{
|
|
230
223
|
type: "",
|
|
231
224
|
name: "",
|
|
@@ -237,76 +230,74 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
237
230
|
orderBy: ""
|
|
238
231
|
}
|
|
239
232
|
], q.warning("未获取到明细数据,已初始化空白行"));
|
|
240
|
-
}).catch((
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
];
|
|
244
|
-
}), ue(), B(
|
|
233
|
+
}).catch((n) => {
|
|
234
|
+
q.error("加载明细数据失败"), y.value = [];
|
|
235
|
+
}), de(), B(
|
|
245
236
|
a.itemId,
|
|
246
237
|
a.annual
|
|
247
238
|
);
|
|
248
239
|
});
|
|
249
|
-
function
|
|
240
|
+
function de() {
|
|
250
241
|
qe.findFilesList({ actionId: k.task.businessKey }).then(({ data: e }) => {
|
|
251
242
|
e.results && Array.isArray(e.results) && (a.files = e.results.map((l) => {
|
|
252
|
-
let
|
|
253
|
-
return l.fileName && (
|
|
243
|
+
let n = "";
|
|
244
|
+
return l.fileName && (n = l.fileSort || l.type || ""), {
|
|
254
245
|
fileName: l.fileName || "",
|
|
255
246
|
fileId: l.fileId || "",
|
|
256
|
-
fileSort:
|
|
247
|
+
fileSort: n
|
|
257
248
|
};
|
|
258
249
|
}));
|
|
259
250
|
});
|
|
260
251
|
}
|
|
261
252
|
Q({
|
|
262
|
-
changeModel: () =>
|
|
253
|
+
changeModel: () => se()
|
|
263
254
|
});
|
|
264
|
-
function
|
|
255
|
+
function se() {
|
|
265
256
|
return v.value && (v.value.selectActions = [
|
|
266
257
|
{ key: "true", value: "同意" },
|
|
267
258
|
{ key: "false", value: "不同意" }
|
|
268
259
|
], v.value.varName = "approved", v.value.module = "", v.value.module = ke.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
269
|
-
var
|
|
270
|
-
(
|
|
271
|
-
|
|
272
|
-
|
|
260
|
+
var n;
|
|
261
|
+
(n = T.value) == null || n.validate((d) => {
|
|
262
|
+
d ? (v.value && (v.value.comment = ""), a.requestId = Math.random() * 10 + "", a.details = y.value, G.create(a).then((s) => {
|
|
263
|
+
s.status === 200 ? e(!0) : l(!1);
|
|
273
264
|
})) : l(!1);
|
|
274
265
|
});
|
|
275
266
|
});
|
|
276
267
|
}
|
|
277
268
|
return (e, l) => {
|
|
278
|
-
const
|
|
279
|
-
return
|
|
280
|
-
t(
|
|
281
|
-
default:
|
|
282
|
-
|
|
269
|
+
const n = p("el-col"), d = p("jmash-select"), s = p("el-form-item"), i = p("el-input"), F = p("el-date-picker"), ie = p("el-option"), pe = p("el-select"), me = p("el-tree-select"), E = p("el-row"), b = p("el-table-column"), ce = p("el-input-number"), j = p("el-icon"), fe = p("el-table"), z = p("el-button"), ge = p("el-form"), ye = p("jmash-multi-upload");
|
|
270
|
+
return f(), P(I, null, [
|
|
271
|
+
t(n, { span: 24 }, {
|
|
272
|
+
default: o(() => l[9] || (l[9] = [
|
|
273
|
+
g("div", { class: "title" }, "备品备件按需采购申请单", -1)
|
|
283
274
|
])),
|
|
284
275
|
_: 1,
|
|
285
276
|
__: [9]
|
|
286
277
|
}),
|
|
287
278
|
t(ge, {
|
|
288
279
|
ref_key: "taskFormRef",
|
|
289
|
-
ref:
|
|
290
|
-
model:
|
|
280
|
+
ref: T,
|
|
281
|
+
model: u(a),
|
|
291
282
|
"label-width": "150px",
|
|
292
|
-
rules:
|
|
283
|
+
rules: re.value,
|
|
293
284
|
class: "custom-table-form custom-form"
|
|
294
285
|
}, {
|
|
295
|
-
default:
|
|
296
|
-
t(
|
|
297
|
-
default:
|
|
298
|
-
t(
|
|
299
|
-
default:
|
|
300
|
-
t(
|
|
286
|
+
default: o(() => [
|
|
287
|
+
t(E, null, {
|
|
288
|
+
default: o(() => [
|
|
289
|
+
t(n, { span: 12 }, {
|
|
290
|
+
default: o(() => [
|
|
291
|
+
t(s, {
|
|
301
292
|
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
302
293
|
prop: "orgId"
|
|
303
294
|
}, {
|
|
304
|
-
default:
|
|
305
|
-
t(
|
|
306
|
-
modelValue:
|
|
307
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
295
|
+
default: o(() => [
|
|
296
|
+
t(d, {
|
|
297
|
+
modelValue: u(a).orgId,
|
|
298
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => u(a).orgId = r),
|
|
308
299
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
309
|
-
data:
|
|
300
|
+
data: u(h).orgIdBizDict.values,
|
|
310
301
|
clearable: "",
|
|
311
302
|
filterable: "",
|
|
312
303
|
onChange: Z,
|
|
@@ -318,18 +309,18 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
318
309
|
]),
|
|
319
310
|
_: 1
|
|
320
311
|
}),
|
|
321
|
-
t(
|
|
322
|
-
default:
|
|
323
|
-
t(
|
|
312
|
+
t(n, { span: 12 }, {
|
|
313
|
+
default: o(() => [
|
|
314
|
+
t(s, {
|
|
324
315
|
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
325
316
|
prop: "type"
|
|
326
317
|
}, {
|
|
327
|
-
default:
|
|
328
|
-
t(
|
|
329
|
-
modelValue:
|
|
330
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
318
|
+
default: o(() => [
|
|
319
|
+
t(d, {
|
|
320
|
+
modelValue: u(a).type,
|
|
321
|
+
"onUpdate:modelValue": l[1] || (l[1] = (r) => u(a).type = r),
|
|
331
322
|
placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
332
|
-
data:
|
|
323
|
+
data: u(h).purchaseTypeEnum.values,
|
|
333
324
|
clearable: "",
|
|
334
325
|
class: "w-full"
|
|
335
326
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -339,16 +330,16 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
339
330
|
]),
|
|
340
331
|
_: 1
|
|
341
332
|
}),
|
|
342
|
-
t(
|
|
343
|
-
default:
|
|
344
|
-
t(
|
|
333
|
+
t(n, { span: 12 }, {
|
|
334
|
+
default: o(() => [
|
|
335
|
+
t(s, {
|
|
345
336
|
label: e.$t("itsmFlowSpareParts.applyPlace"),
|
|
346
337
|
prop: "applyPlace"
|
|
347
338
|
}, {
|
|
348
|
-
default:
|
|
339
|
+
default: o(() => [
|
|
349
340
|
t(i, {
|
|
350
|
-
modelValue:
|
|
351
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
341
|
+
modelValue: u(a).applyPlace,
|
|
342
|
+
"onUpdate:modelValue": l[2] || (l[2] = (r) => u(a).applyPlace = r),
|
|
352
343
|
placeholder: e.$t("itsmFlowSpareParts.applyPlace"),
|
|
353
344
|
maxlength: "30",
|
|
354
345
|
"show-word-limit": "",
|
|
@@ -361,16 +352,16 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
361
352
|
]),
|
|
362
353
|
_: 1
|
|
363
354
|
}),
|
|
364
|
-
t(
|
|
365
|
-
default:
|
|
366
|
-
t(
|
|
355
|
+
t(n, { span: 12 }, {
|
|
356
|
+
default: o(() => [
|
|
357
|
+
t(s, {
|
|
367
358
|
label: e.$t("itsmFlowSpareParts.annual"),
|
|
368
359
|
prop: "annual"
|
|
369
360
|
}, {
|
|
370
|
-
default:
|
|
361
|
+
default: o(() => [
|
|
371
362
|
t(F, {
|
|
372
|
-
modelValue:
|
|
373
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
363
|
+
modelValue: u(a).annual,
|
|
364
|
+
"onUpdate:modelValue": l[3] || (l[3] = (r) => u(a).annual = r),
|
|
374
365
|
type: "year",
|
|
375
366
|
placeholder: e.$t("itsmFlowSpareParts.annualRequired"),
|
|
376
367
|
format: "YYYY",
|
|
@@ -385,31 +376,31 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
385
376
|
]),
|
|
386
377
|
_: 1
|
|
387
378
|
}),
|
|
388
|
-
|
|
379
|
+
u(a).type !== "BudgetOut" ? (f(), _(n, {
|
|
389
380
|
key: 0,
|
|
390
381
|
span: 24
|
|
391
382
|
}, {
|
|
392
|
-
default:
|
|
393
|
-
t(
|
|
383
|
+
default: o(() => [
|
|
384
|
+
t(s, {
|
|
394
385
|
label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
395
386
|
prop: "itemId"
|
|
396
387
|
}, {
|
|
397
|
-
default:
|
|
388
|
+
default: o(() => [
|
|
398
389
|
t(pe, {
|
|
399
|
-
modelValue:
|
|
400
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
390
|
+
modelValue: u(a).itemId,
|
|
391
|
+
"onUpdate:modelValue": l[4] || (l[4] = (r) => u(a).itemId = r),
|
|
401
392
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
402
393
|
data: Y.value,
|
|
403
394
|
clearable: "",
|
|
404
395
|
filterable: "",
|
|
405
|
-
disabled: !
|
|
396
|
+
disabled: !u(a).orgId,
|
|
406
397
|
onChange: x
|
|
407
398
|
}, {
|
|
408
|
-
default:
|
|
409
|
-
(
|
|
410
|
-
key:
|
|
411
|
-
value:
|
|
412
|
-
label:
|
|
399
|
+
default: o(() => [
|
|
400
|
+
(f(!0), P(I, null, R(Y.value, (r) => (f(), _(ie, {
|
|
401
|
+
key: r.key,
|
|
402
|
+
value: r.key,
|
|
403
|
+
label: r.value
|
|
413
404
|
}, null, 8, ["value", "label"]))), 128))
|
|
414
405
|
]),
|
|
415
406
|
_: 1
|
|
@@ -420,19 +411,19 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
420
411
|
]),
|
|
421
412
|
_: 1
|
|
422
413
|
})) : $("", !0),
|
|
423
|
-
|
|
414
|
+
u(a).type !== "BudgetOut" ? (f(), _(n, {
|
|
424
415
|
key: 1,
|
|
425
416
|
span: 12
|
|
426
417
|
}, {
|
|
427
|
-
default:
|
|
428
|
-
t(
|
|
418
|
+
default: o(() => [
|
|
419
|
+
t(s, {
|
|
429
420
|
label: e.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
|
|
430
421
|
prop: "budgetType"
|
|
431
422
|
}, {
|
|
432
|
-
default:
|
|
423
|
+
default: o(() => [
|
|
433
424
|
t(me, {
|
|
434
|
-
modelValue:
|
|
435
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
425
|
+
modelValue: u(a).budgetType,
|
|
426
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => u(a).budgetType = r),
|
|
436
427
|
placeholder: e.$t("itsmFlowSpareParts.budgetTypeRequired"),
|
|
437
428
|
data: w.value,
|
|
438
429
|
disabled: !w.value.length,
|
|
@@ -447,19 +438,19 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
447
438
|
]),
|
|
448
439
|
_: 1
|
|
449
440
|
})) : $("", !0),
|
|
450
|
-
|
|
441
|
+
u(a).type !== "BudgetOut" ? (f(), _(n, {
|
|
451
442
|
key: 2,
|
|
452
443
|
span: 12
|
|
453
444
|
}, {
|
|
454
|
-
default:
|
|
455
|
-
t(
|
|
445
|
+
default: o(() => [
|
|
446
|
+
t(s, {
|
|
456
447
|
label: e.$t("itsmFlowSpareParts.contractMoney"),
|
|
457
448
|
prop: "contractMoney"
|
|
458
449
|
}, {
|
|
459
|
-
default:
|
|
450
|
+
default: o(() => [
|
|
460
451
|
t(i, {
|
|
461
|
-
modelValue:
|
|
462
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
452
|
+
modelValue: u(a).contractMoney,
|
|
453
|
+
"onUpdate:modelValue": l[6] || (l[6] = (r) => u(a).contractMoney = r),
|
|
463
454
|
placeholder: e.$t("itsmFlowSpareParts.contractMoneyRequired"),
|
|
464
455
|
"show-word-limit": "",
|
|
465
456
|
clearable: ""
|
|
@@ -470,15 +461,15 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
470
461
|
]),
|
|
471
462
|
_: 1
|
|
472
463
|
})) : $("", !0),
|
|
473
|
-
t(
|
|
474
|
-
default:
|
|
475
|
-
t(
|
|
464
|
+
t(n, { span: 12 }, {
|
|
465
|
+
default: o(() => [
|
|
466
|
+
t(s, {
|
|
476
467
|
label: e.$t("itsmFlowSpareParts.createBy"),
|
|
477
468
|
prop: "createBy"
|
|
478
469
|
}, {
|
|
479
|
-
default:
|
|
470
|
+
default: o(() => [
|
|
480
471
|
t(i, {
|
|
481
|
-
value:
|
|
472
|
+
value: u(X).user.realName,
|
|
482
473
|
placeholder: e.$t("itsmFlowSpareParts.createBy"),
|
|
483
474
|
maxlength: "8",
|
|
484
475
|
"show-word-limit": "",
|
|
@@ -491,16 +482,16 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
491
482
|
]),
|
|
492
483
|
_: 1
|
|
493
484
|
}),
|
|
494
|
-
t(
|
|
495
|
-
default:
|
|
496
|
-
t(
|
|
485
|
+
t(n, { span: 12 }, {
|
|
486
|
+
default: o(() => [
|
|
487
|
+
t(s, {
|
|
497
488
|
label: e.$t("itsmFlowSpareParts.applyDate"),
|
|
498
489
|
prop: "applyDate"
|
|
499
490
|
}, {
|
|
500
|
-
default:
|
|
491
|
+
default: o(() => [
|
|
501
492
|
t(F, {
|
|
502
|
-
modelValue:
|
|
503
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
493
|
+
modelValue: u(a).applyDate,
|
|
494
|
+
"onUpdate:modelValue": l[7] || (l[7] = (r) => u(a).applyDate = r),
|
|
504
495
|
type: "date",
|
|
505
496
|
placeholder: e.$t("itsmFlowSpareParts.applyDateRequired"),
|
|
506
497
|
format: "YYYY-MM-DD",
|
|
@@ -516,68 +507,68 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
516
507
|
]),
|
|
517
508
|
_: 1
|
|
518
509
|
}),
|
|
519
|
-
t(
|
|
520
|
-
default:
|
|
521
|
-
t(
|
|
522
|
-
default:
|
|
523
|
-
|
|
510
|
+
t(E, null, {
|
|
511
|
+
default: o(() => [
|
|
512
|
+
t(n, { span: 24 }, {
|
|
513
|
+
default: o(() => l[10] || (l[10] = [
|
|
514
|
+
g("div", { class: "title" }, "运维需求描述", -1)
|
|
524
515
|
])),
|
|
525
516
|
_: 1,
|
|
526
517
|
__: [10]
|
|
527
518
|
}),
|
|
528
519
|
t(fe, {
|
|
529
|
-
data:
|
|
520
|
+
data: y.value,
|
|
530
521
|
border: "",
|
|
531
522
|
style: { width: "100%" }
|
|
532
523
|
}, {
|
|
533
|
-
default:
|
|
534
|
-
t(
|
|
524
|
+
default: o(() => [
|
|
525
|
+
t(b, {
|
|
535
526
|
type: "index",
|
|
536
527
|
label: e.$t("itsmFlowSpareParts.index"),
|
|
537
528
|
width: "60",
|
|
538
529
|
align: "center"
|
|
539
530
|
}, null, 8, ["label"]),
|
|
540
|
-
t(
|
|
531
|
+
t(b, {
|
|
541
532
|
prop: "type",
|
|
542
533
|
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
543
534
|
"header-align": "center",
|
|
544
535
|
width: "180"
|
|
545
536
|
}, {
|
|
546
|
-
default:
|
|
537
|
+
default: o(({ row: r }) => [
|
|
547
538
|
t(i, {
|
|
548
|
-
modelValue:
|
|
549
|
-
"onUpdate:modelValue": (m) =>
|
|
539
|
+
modelValue: r.type,
|
|
540
|
+
"onUpdate:modelValue": (m) => r.type = m,
|
|
550
541
|
placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
551
542
|
class: "w-full"
|
|
552
543
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
553
544
|
]),
|
|
554
545
|
_: 1
|
|
555
546
|
}, 8, ["label"]),
|
|
556
|
-
t(
|
|
547
|
+
t(b, {
|
|
557
548
|
prop: "name",
|
|
558
549
|
label: e.$t("itsmFlowSpareParts.itsmName"),
|
|
559
550
|
"header-align": "center",
|
|
560
551
|
width: "300"
|
|
561
552
|
}, {
|
|
562
|
-
default:
|
|
553
|
+
default: o(({ row: r }) => [
|
|
563
554
|
t(i, {
|
|
564
|
-
modelValue:
|
|
565
|
-
"onUpdate:modelValue": (m) =>
|
|
555
|
+
modelValue: r.name,
|
|
556
|
+
"onUpdate:modelValue": (m) => r.name = m,
|
|
566
557
|
placeholder: e.$t("itsmFlowSpareParts.itsmNameRequired")
|
|
567
558
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
568
559
|
]),
|
|
569
560
|
_: 1
|
|
570
561
|
}, 8, ["label"]),
|
|
571
|
-
t(
|
|
562
|
+
t(b, {
|
|
572
563
|
prop: "number",
|
|
573
564
|
label: e.$t("itsmFlowSpareParts.number"),
|
|
574
565
|
"header-align": "center",
|
|
575
566
|
width: "100"
|
|
576
567
|
}, {
|
|
577
|
-
default:
|
|
568
|
+
default: o(({ row: r }) => [
|
|
578
569
|
t(ce, {
|
|
579
|
-
modelValue:
|
|
580
|
-
"onUpdate:modelValue": (m) =>
|
|
570
|
+
modelValue: r.number,
|
|
571
|
+
"onUpdate:modelValue": (m) => r.number = m,
|
|
581
572
|
placeholder: e.$t("itsmFlowSpareParts.numberRequireds"),
|
|
582
573
|
precision: 0,
|
|
583
574
|
min: 0,
|
|
@@ -587,89 +578,89 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
587
578
|
]),
|
|
588
579
|
_: 1
|
|
589
580
|
}, 8, ["label"]),
|
|
590
|
-
t(
|
|
581
|
+
t(b, {
|
|
591
582
|
prop: "unit",
|
|
592
583
|
"header-align": "center",
|
|
593
584
|
width: "200"
|
|
594
585
|
}, {
|
|
595
|
-
header:
|
|
596
|
-
l[11] || (l[11] =
|
|
597
|
-
|
|
586
|
+
header: o(() => [
|
|
587
|
+
l[11] || (l[11] = g("span", { class: "required_red" }, "*", -1)),
|
|
588
|
+
g("span", null, S(e.$t("itsmFlowSpareParts.unit")), 1)
|
|
598
589
|
]),
|
|
599
|
-
default:
|
|
590
|
+
default: o(({ row: r }) => [
|
|
600
591
|
t(i, {
|
|
601
|
-
modelValue:
|
|
602
|
-
"onUpdate:modelValue": (m) =>
|
|
592
|
+
modelValue: r.unit,
|
|
593
|
+
"onUpdate:modelValue": (m) => r.unit = m,
|
|
603
594
|
placeholder: e.$t("itsmFlowSpareParts.unitRequired")
|
|
604
595
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
605
596
|
]),
|
|
606
597
|
_: 1
|
|
607
598
|
}),
|
|
608
|
-
t(
|
|
599
|
+
t(b, {
|
|
609
600
|
prop: "parameter",
|
|
610
601
|
"header-align": "center",
|
|
611
602
|
width: "150"
|
|
612
603
|
}, {
|
|
613
|
-
header:
|
|
614
|
-
l[12] || (l[12] =
|
|
615
|
-
|
|
604
|
+
header: o(() => [
|
|
605
|
+
l[12] || (l[12] = g("span", { class: "required_red" }, "*", -1)),
|
|
606
|
+
g("span", null, S(e.$t("itsmFlowSpareParts.parameter")), 1)
|
|
616
607
|
]),
|
|
617
|
-
default:
|
|
608
|
+
default: o(({ row: r }) => [
|
|
618
609
|
t(i, {
|
|
619
|
-
modelValue:
|
|
620
|
-
"onUpdate:modelValue": (m) =>
|
|
610
|
+
modelValue: r.parameter,
|
|
611
|
+
"onUpdate:modelValue": (m) => r.parameter = m,
|
|
621
612
|
placeholder: e.$t("itsmFlowSpareParts.parameterRequired")
|
|
622
613
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
623
614
|
]),
|
|
624
615
|
_: 1
|
|
625
616
|
}),
|
|
626
|
-
t(
|
|
617
|
+
t(b, {
|
|
627
618
|
prop: "valuation",
|
|
628
619
|
"header-align": "center",
|
|
629
620
|
width: "120"
|
|
630
621
|
}, {
|
|
631
|
-
header:
|
|
632
|
-
|
|
622
|
+
header: o(() => [
|
|
623
|
+
g("span", null, S(e.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
|
|
633
624
|
]),
|
|
634
|
-
default:
|
|
625
|
+
default: o(({ row: r }) => [
|
|
635
626
|
t(i, {
|
|
636
|
-
modelValue:
|
|
637
|
-
"onUpdate:modelValue": (m) =>
|
|
627
|
+
modelValue: r.valuation,
|
|
628
|
+
"onUpdate:modelValue": (m) => r.valuation = m,
|
|
638
629
|
placeholder: e.$t("itsmFlowSpareParts.valuationRequired")
|
|
639
630
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
640
631
|
]),
|
|
641
632
|
_: 1
|
|
642
633
|
}),
|
|
643
|
-
t(
|
|
634
|
+
t(b, {
|
|
644
635
|
prop: "range",
|
|
645
636
|
label: e.$t("itsmFlowSpareParts.range"),
|
|
646
637
|
"header-align": "center",
|
|
647
638
|
width: "260"
|
|
648
639
|
}, {
|
|
649
|
-
default:
|
|
640
|
+
default: o(({ row: r }) => [
|
|
650
641
|
t(i, {
|
|
651
|
-
modelValue:
|
|
652
|
-
"onUpdate:modelValue": (m) =>
|
|
642
|
+
modelValue: r.range,
|
|
643
|
+
"onUpdate:modelValue": (m) => r.range = m,
|
|
653
644
|
placeholder: e.$t("itsmFlowSpareParts.rangeRequired")
|
|
654
645
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
655
646
|
]),
|
|
656
647
|
_: 1
|
|
657
648
|
}, 8, ["label"]),
|
|
658
|
-
t(
|
|
649
|
+
t(b, {
|
|
659
650
|
label: e.$t("common.operate"),
|
|
660
651
|
width: "60",
|
|
661
652
|
align: "center"
|
|
662
653
|
}, {
|
|
663
|
-
default:
|
|
664
|
-
|
|
654
|
+
default: o((r) => [
|
|
655
|
+
r.$index !== 0 ? (f(), _(j, {
|
|
665
656
|
key: 0,
|
|
666
|
-
onClick: (m) => te(
|
|
657
|
+
onClick: (m) => te(r),
|
|
667
658
|
size: "18",
|
|
668
659
|
style: { cursor: "pointer", color: "inherit" },
|
|
669
660
|
class: "hover-blue"
|
|
670
661
|
}, {
|
|
671
|
-
default:
|
|
672
|
-
t(
|
|
662
|
+
default: o(() => [
|
|
663
|
+
t(u(Ve))
|
|
673
664
|
]),
|
|
674
665
|
_: 2
|
|
675
666
|
}, 1032, ["onClick"])) : $("", !0)
|
|
@@ -679,52 +670,52 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
679
670
|
]),
|
|
680
671
|
_: 1
|
|
681
672
|
}, 8, ["data"]),
|
|
682
|
-
t(
|
|
683
|
-
icon:
|
|
673
|
+
t(z, {
|
|
674
|
+
icon: u(Se),
|
|
684
675
|
class: "addButton",
|
|
685
676
|
onClick: ae
|
|
686
677
|
}, {
|
|
687
|
-
default:
|
|
688
|
-
|
|
678
|
+
default: o(() => [
|
|
679
|
+
U(S(u(c)("common.add")), 1)
|
|
689
680
|
]),
|
|
690
681
|
_: 1
|
|
691
682
|
}, 8, ["icon"]),
|
|
692
|
-
|
|
693
|
-
l[13] || (l[13] =
|
|
694
|
-
|
|
683
|
+
g("div", De, [
|
|
684
|
+
l[13] || (l[13] = U(" 预估总价(万元):")),
|
|
685
|
+
g("span", Re, S(D.value), 1)
|
|
695
686
|
]),
|
|
696
|
-
t(
|
|
687
|
+
t(n, {
|
|
697
688
|
span: 24,
|
|
698
689
|
class: "bordered-row"
|
|
699
690
|
}, {
|
|
700
|
-
default:
|
|
701
|
-
(
|
|
702
|
-
key:
|
|
703
|
-
label:
|
|
691
|
+
default: o(() => [
|
|
692
|
+
(f(!0), P(I, null, R(u(h).fileTypeDict.values.slice(0, 2), (r, m) => (f(), _(s, {
|
|
693
|
+
key: r.dictCode,
|
|
694
|
+
label: r.dictName
|
|
704
695
|
}, {
|
|
705
|
-
default:
|
|
706
|
-
t(
|
|
696
|
+
default: o(() => [
|
|
697
|
+
t(z, {
|
|
707
698
|
type: "primary",
|
|
708
|
-
icon:
|
|
709
|
-
onClick: () => ne(
|
|
699
|
+
icon: u(_e),
|
|
700
|
+
onClick: () => ne(r.dictCode)
|
|
710
701
|
}, {
|
|
711
|
-
default:
|
|
712
|
-
|
|
702
|
+
default: o(() => [
|
|
703
|
+
U(S(e.$t("common.uploadFiles")), 1)
|
|
713
704
|
]),
|
|
714
705
|
_: 2
|
|
715
706
|
}, 1032, ["icon", "onClick"]),
|
|
716
|
-
(
|
|
707
|
+
(f(!0), P(I, null, R(L(r.dictCode), (be, K) => (f(), P("div", {
|
|
717
708
|
key: K,
|
|
718
709
|
class: "files-list"
|
|
719
710
|
}, [
|
|
720
|
-
|
|
721
|
-
t(
|
|
711
|
+
g("span", null, S(be.fileName), 1),
|
|
712
|
+
t(j, {
|
|
722
713
|
size: "16",
|
|
723
714
|
class: "icon-right",
|
|
724
|
-
onClick: () =>
|
|
715
|
+
onClick: () => ue(r.dictCode, K)
|
|
725
716
|
}, {
|
|
726
|
-
default:
|
|
727
|
-
t(
|
|
717
|
+
default: o(() => [
|
|
718
|
+
t(u(Pe))
|
|
728
719
|
]),
|
|
729
720
|
_: 2
|
|
730
721
|
}, 1032, ["onClick"])
|
|
@@ -744,14 +735,14 @@ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
744
735
|
t(ye, {
|
|
745
736
|
ref_key: "uploadRef",
|
|
746
737
|
ref: O,
|
|
747
|
-
modelValue:
|
|
748
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
749
|
-
onUploadFileList:
|
|
738
|
+
modelValue: M.value,
|
|
739
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => M.value = r),
|
|
740
|
+
onUploadFileList: oe
|
|
750
741
|
}, null, 8, ["modelValue"])
|
|
751
742
|
], 64);
|
|
752
743
|
};
|
|
753
744
|
}
|
|
754
|
-
}), Ke = /* @__PURE__ */ Be(
|
|
745
|
+
}), Ke = /* @__PURE__ */ Be(Ue, [["__scopeId", "data-v-ef73261e"]]);
|
|
755
746
|
export {
|
|
756
747
|
Ke as default
|
|
757
748
|
};
|