xyvcard-itsm-flow 0.0.25 → 0.0.27

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.
Files changed (58) hide show
  1. package/dist/{FileSaver.min-Dlb0564v.mjs → FileSaver.min-DDqwfEMu.mjs} +1 -1
  2. package/dist/{edit-b1Qpq27u.mjs → edit-BH_qEChy.mjs} +1 -1
  3. package/dist/{edit-X4DuZAeC.mjs → edit-BWaFYsWY.mjs} +2 -2
  4. package/dist/{edit-DGLeO86x.mjs → edit-BpAjiLxu.mjs} +36 -36
  5. package/dist/{edit-Bb1ZMrgr.mjs → edit-CkGTDSiH.mjs} +1 -1
  6. package/dist/{edit-DEz__zGH.mjs → edit-D0-xQV59.mjs} +1 -1
  7. package/dist/{edit-DYzjfcpe.mjs → edit-DIyC972n.mjs} +45 -43
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs → edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs → edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs → edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs} +1 -1
  11. package/dist/{index-COlNrHOr.mjs → index-B20ya3NZ.mjs} +56 -56
  12. package/dist/{index-B3Od63yb.mjs → index-BKQGui3N.mjs} +3 -3
  13. package/dist/{index-ChiSO5mf.mjs → index-BKveaoi_.mjs} +18 -18
  14. package/dist/{index-Cc1yu7_y.mjs → index-Bjjyjlwd.mjs} +1 -1
  15. package/dist/{index-C6QayKyI.mjs → index-BkqkF7bW.mjs} +1 -1
  16. package/dist/{index-uhCfQAOU.mjs → index-C3zQQDPa.mjs} +3 -3
  17. package/dist/{index-BjIcvBcw.mjs → index-CGDEQO2p.mjs} +2 -2
  18. package/dist/{index-XQliRAX-.mjs → index-CI9FMMKr.mjs} +9 -9
  19. package/dist/{index-DReilvk8.mjs → index-CQ9elIv7.mjs} +2 -2
  20. package/dist/{index-D4hmXu0K.mjs → index-CV6uWLV9.mjs} +68 -68
  21. package/dist/{index-BzzIS37Q.mjs → index-CXOeg2so.mjs} +1426 -1444
  22. package/dist/{index-ZQIeIrUc.mjs → index-Cd9CTAUb.mjs} +27 -27
  23. package/dist/{index-Crv7Y3gz.mjs → index-Chh_9yED.mjs} +21 -21
  24. package/dist/{index-UIHGXuWX.mjs → index-CillImY_.mjs} +128 -128
  25. package/dist/{index-41pGjG4z.mjs → index-CjYlJigX.mjs} +13 -13
  26. package/dist/{index-CsRdrLdB.mjs → index-D6Poyzq3.mjs} +2 -2
  27. package/dist/{index-Dr2VSx72.mjs → index-DBRVK73O.mjs} +2 -2
  28. package/dist/{index-CTX-1ZJN.mjs → index-DTY8LR57.mjs} +1 -1
  29. package/dist/{index-BnbyM6r8.mjs → index-DY5EGkfi.mjs} +3 -3
  30. package/dist/{index-Ddn-uP9d.mjs → index-DcDzU5zK.mjs} +44 -44
  31. package/dist/{index-DB_7mB_B.mjs → index-DfptoNZ3.mjs} +93 -85
  32. package/dist/{index-DTmCekOe.mjs → index-DjZysfQB.mjs} +26 -26
  33. package/dist/index-DxoX_XqQ.mjs +384 -0
  34. package/dist/{index-CUdCuMce.mjs → index-QPdQNctc.mjs} +5 -5
  35. package/dist/{index-CK8x-scl.mjs → index-WpTFFCXY.mjs} +3 -3
  36. package/dist/{index-CJmsWz8H.mjs → index-YBHgdjIk.mjs} +25 -25
  37. package/dist/{index-Dx_iePKi.mjs → index-n6pwVFlo.mjs} +1 -1
  38. package/dist/{index-DsEA0PWP.mjs → index-qvWMlGg9.mjs} +2 -2
  39. package/dist/{index-BL1EL_Kk.mjs → index-rHARbj0G.mjs} +3 -3
  40. package/dist/index.mjs +1 -1
  41. package/dist/{info-ChOjJGUZ.mjs → info-0Dcd8VrX.mjs} +1 -1
  42. package/dist/{info-CqJnfPyk.mjs → info-BmfgBiif.mjs} +1 -1
  43. package/dist/{info-Cu1I8L0Q.mjs → info-C1J_4HDK.mjs} +1 -1
  44. package/dist/{info-C7BOFhdZ.mjs → info-DTZck-Y6.mjs} +1 -1
  45. package/dist/info-DjtHpeoT.mjs +4 -0
  46. package/dist/info-qIG0jebP.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs → info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs} +10 -10
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs → info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs} +8 -8
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs → info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs} +1 -1
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs → info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs} +2 -2
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs → info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs → info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs} +1 -1
  53. package/dist/style.css +1 -1
  54. package/dts/lang/itsm-flow/zh-cn.d.ts +2 -2
  55. package/package.json +1 -1
  56. package/dist/index-M_tEOKq6.mjs +0 -366
  57. package/dist/info-DDaeV1sJ.mjs +0 -4
  58. package/dist/info-DstAR0-a.mjs +0 -4
@@ -1,14 +1,14 @@
1
- import { defineComponent as he, mergeModels as ve, useModel as we, ref as F, reactive as Ve, computed as H, watch as W, resolveComponent as p, createElementBlock as P, openBlock as f, Fragment as I, createVNode as t, withCtx as n, createElementVNode as h, unref as s, createBlock as S, createCommentVNode as $, renderList as R, toDisplayString as _, createTextVNode as T } from "vue";
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 g, Fragment as I, createVNode as t, withCtx as n, createElementVNode as y, unref as s, createBlock as _, createCommentVNode as $, renderList as R, toDisplayString as S, createTextVNode as T } from "vue";
2
2
  import { ElMessage as q } from "element-plus";
3
- import { d as Fe, p as Se, u as _e, c as Pe } from "./index-CvX2It1o.mjs";
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-Cc1yu7_y.mjs";
7
- import { D as g, i as qe, C as ke } from "./index-CTX-1ZJN.mjs";
6
+ import { i as G, a as $e } from "./index-Bjjyjlwd.mjs";
7
+ import { D as c, i as qe, C as ke } from "./index-DTY8LR57.mjs";
8
8
  import { itemBudgetApi as J } from "xyvcard-itsm";
9
9
  import { useUserStoreHook as De } from "jmash-core";
10
- import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
- const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE__ */ he({
10
+ import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
+ const Me = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE__ */ he({
12
12
  __name: "index",
13
13
  props: /* @__PURE__ */ ve({
14
14
  task: {
@@ -23,32 +23,38 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
23
23
  emits: ["update:modelValue"],
24
24
  setup(U, { expose: Q }) {
25
25
  const X = De();
26
- g.orgIdBizDict.useValues(), g.budgetTypeDict.useValues(), g.fileTypeDict.useDictValues(), console.log(g.budgetTypeDict.values, "=> budgetTypeDict"), console.log(g.fileTypeDict.values, "=>fileTypeDict ");
27
- const { t: c } = Ie(), v = we(U, "modelValue"), C = F(), k = U, A = F("");
28
- let a = Ve({
26
+ c.orgIdBizDict.useValues(), c.budgetTypeDict.useValues(), c.fileTypeDict.useDictValues(), c.itemBizLayDict.useValues(), console.log(c.budgetTypeDict.values, "=> budgetTypeDict"), console.log(c.fileTypeDict.values, "=>fileTypeDict ");
27
+ const { t: f } = Ie(), v = we(U, "modelValue"), C = V(), k = U, A = V("");
28
+ let a = Fe({
29
29
  requestId: Math.random() * 10 + "",
30
30
  updateMask: "",
31
31
  files: [],
32
32
  applyDate: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
33
33
  details: []
34
34
  });
35
- const D = F(!1), O = F(), Y = H(() => a.orgId ? g.itemBizLayDict.values.filter(
36
- (l) => l.orgId === a.orgId
37
- ) : []), w = F([]);
35
+ const D = V(!1), O = V();
36
+ console.log(c.itemBizLayDict.values, "=> itemBizLayDict");
37
+ const Y = H(() => {
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([]);
38
44
  function Z(e) {
39
45
  a.itemId = void 0, a.budgetType = "", a.contractMoney = "0", w.value = [];
40
46
  }
41
47
  function x(e) {
42
- M(e, a.annual);
48
+ B(e, a.annual);
43
49
  }
44
50
  function ee(e) {
45
- M(a.itemId, e);
51
+ B(a.itemId, e);
46
52
  }
47
53
  const N = (e, l) => (console.log(e), e.map((r) => {
48
54
  console.log(r);
49
55
  const u = { ...r };
50
56
  return console.log(u), u.children && u.children.length > 0 && (u.children = N(u.children, l)), l.includes(u.value) || u.children && u.children.length > 0 ? (console.log(u), u) : null;
51
- }).filter((r) => r !== null)), M = async (e, l) => {
57
+ }).filter((r) => r !== null)), B = async (e, l) => {
52
58
  if (!e || !l) {
53
59
  a.budgetType = "", a.contractMoney = "0", w.value = [];
54
60
  return;
@@ -59,15 +65,15 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
59
65
  annual: l
60
66
  }, d = (await J.findList(r)).data.results || [];
61
67
  if (d.length > 0) {
62
- const i = d.map((V) => V.budgetType);
68
+ const i = d.map((F) => F.budgetType);
63
69
  w.value = N(
64
- g.budgetTypeDict.values,
70
+ c.budgetTypeDict.values,
65
71
  i
66
72
  ), a.budgetType = d[0].budgetType || "", a.contractMoney = String(d[0].approvedAmount) || "0";
67
73
  } else
68
- a.budgetType = "", a.contractMoney = "0", w.value = [], q.warning(c("itsmFlowSpareParts.noBudgetType"));
74
+ a.budgetType = "", a.contractMoney = "0", w.value = [], q.warning(f("itsmFlowSpareParts.noBudgetType"));
69
75
  } catch (r) {
70
- a.budgetType = "", a.contractMoney = "0", w.value = [], q.error(c("itsmFlowSpareParts.getBudgetFail")), console.error("获取预算类型失败:", r);
76
+ a.budgetType = "", a.contractMoney = "0", w.value = [], q.error(f("itsmFlowSpareParts.getBudgetFail")), console.error("获取预算类型失败:", r);
71
77
  }
72
78
  };
73
79
  W(
@@ -89,7 +95,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
89
95
  } catch (l) {
90
96
  console.error("获取预算金额失败:", l), a.contractMoney = "0";
91
97
  }
92
- }, y = F([
98
+ }, b = V([
93
99
  {
94
100
  type: "",
95
101
  name: "",
@@ -102,7 +108,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
102
108
  }
103
109
  ]);
104
110
  function ae() {
105
- y.value.push({
111
+ b.value.push({
106
112
  type: "",
107
113
  name: "",
108
114
  number: 0,
@@ -114,22 +120,22 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
114
120
  });
115
121
  }
116
122
  function te(e) {
117
- const l = y.value.indexOf(e.row);
118
- l !== 0 && y.value.splice(l, 1);
123
+ const l = b.value.indexOf(e.row);
124
+ l !== 0 && b.value.splice(l, 1);
119
125
  }
120
- const B = F("0.00");
126
+ const M = V("0.00");
121
127
  W(
122
- () => y.value,
128
+ () => b.value,
123
129
  (e) => {
124
130
  if (!e || e.length === 0) {
125
- B.value = "0.00";
131
+ M.value = "0.00";
126
132
  return;
127
133
  }
128
134
  const l = e.reduce((r, u) => {
129
135
  const d = parseFloat(u.valuation) || 0, i = parseFloat(u.number) || 0;
130
136
  return r + d * i;
131
137
  }, 0);
132
- B.value = l.toFixed(2);
138
+ M.value = l.toFixed(2);
133
139
  },
134
140
  { deep: !0, immediate: !0 }
135
141
  );
@@ -138,35 +144,35 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
138
144
  orgId: [
139
145
  {
140
146
  required: !0,
141
- message: c("itsmFlowSpareParts.govOrgIdRequired"),
147
+ message: f("itsmFlowSpareParts.govOrgIdRequired"),
142
148
  trigger: "change"
143
149
  }
144
150
  ],
145
151
  type: [
146
152
  {
147
153
  required: !0,
148
- message: c("itsmFlowSpareParts.itsmtypeRequired"),
154
+ message: f("itsmFlowSpareParts.itsmtypeRequired"),
149
155
  trigger: "change"
150
156
  }
151
157
  ],
152
158
  applyPlace: [
153
159
  {
154
160
  required: !0,
155
- message: c("itsmFlowSpareParts.applyPlaceRequired"),
161
+ message: f("itsmFlowSpareParts.applyPlaceRequired"),
156
162
  trigger: "change"
157
163
  }
158
164
  ],
159
165
  annual: [
160
166
  {
161
167
  required: !0,
162
- message: c("itsmFlowSpareParts.annualRequired"),
168
+ message: f("itsmFlowSpareParts.annualRequired"),
163
169
  trigger: "change"
164
170
  }
165
171
  ],
166
172
  applyDate: [
167
173
  {
168
174
  required: !0,
169
- message: c("itsmFlowSpareParts.applyDateRequired"),
175
+ message: f("itsmFlowSpareParts.applyDateRequired"),
170
176
  trigger: "change"
171
177
  }
172
178
  ]
@@ -174,19 +180,19 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
174
180
  return a.type !== "BudgetOut" && (e.itemId = [
175
181
  {
176
182
  required: !0,
177
- message: c("itsmFlowSpareParts.itemIdRequired"),
183
+ message: f("itsmFlowSpareParts.itemIdRequired"),
178
184
  trigger: "change"
179
185
  }
180
186
  ], e.budgetType = [
181
187
  {
182
188
  required: !0,
183
- message: c("itsmFlowSpareParts.budgetTypeRequired"),
189
+ message: f("itsmFlowSpareParts.budgetTypeRequired"),
184
190
  trigger: "change"
185
191
  }
186
192
  ], e.contractMoney = [
187
193
  {
188
194
  required: !0,
189
- message: c("itsmFlowSpareParts.contractMoneyRequired"),
195
+ message: f("itsmFlowSpareParts.contractMoneyRequired"),
190
196
  trigger: "change"
191
197
  }
192
198
  ]), e;
@@ -208,7 +214,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
208
214
  }, se = (e, l) => {
209
215
  var d, i;
210
216
  const r = L(e), u = (d = a.files) == null ? void 0 : d.findIndex(
211
- (V) => V.fileSort === e && V.fileId === r[l].fileId
217
+ (F) => F.fileSort === e && F.fileId === r[l].fileId
212
218
  );
213
219
  u !== void 0 && u >= 0 && ((i = a.files) == null || i.splice(u, 1));
214
220
  };
@@ -219,7 +225,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
219
225
  };
220
226
  $e.findList(l).then((r) => {
221
227
  var u;
222
- console.log("明细接口返回:", r), (u = r == null ? void 0 : r.data) != null && u.results && Array.isArray(r.data.results) ? y.value = r.data.results : (y.value = [
228
+ console.log("明细接口返回:", r), (u = r == null ? void 0 : r.data) != null && u.results && Array.isArray(r.data.results) ? b.value = r.data.results : (b.value = [
223
229
  {
224
230
  type: "",
225
231
  name: "",
@@ -232,10 +238,10 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
232
238
  }
233
239
  ], q.warning("未获取到明细数据,已初始化空白行"));
234
240
  }).catch((r) => {
235
- console.error("获取明细失败:", r), q.error("加载明细数据失败"), y.value = [
241
+ console.error("获取明细失败:", r), q.error("加载明细数据失败"), b.value = [
236
242
  /* 初始化空行 */
237
243
  ];
238
- }), ue(), M(
244
+ }), ue(), B(
239
245
  a.itemId,
240
246
  a.annual
241
247
  );
@@ -262,18 +268,18 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
262
268
  ], v.value.varName = "approved", v.value.module = "", v.value.module = ke.MODULE_ITSMFLOW), new Promise((e, l) => {
263
269
  var r;
264
270
  (r = C.value) == null || r.validate((u) => {
265
- u ? (v.value && (v.value.comment = ""), a.requestId = Math.random() * 10 + "", a.details = y.value, G.create(a).then((d) => {
271
+ u ? (v.value && (v.value.comment = ""), a.requestId = Math.random() * 10 + "", a.details = b.value, G.create(a).then((d) => {
266
272
  d.status === 200 ? e(!0) : l(!1);
267
273
  })) : l(!1);
268
274
  });
269
275
  });
270
276
  }
271
277
  return (e, l) => {
272
- const r = p("el-col"), u = p("jmash-select"), d = p("el-form-item"), i = p("el-input"), V = 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");
273
- return f(), P(I, null, [
278
+ const r = p("el-col"), u = p("jmash-select"), d = 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"), z = p("el-row"), h = p("el-table-column"), ce = p("el-input-number"), E = p("el-icon"), fe = p("el-table"), j = p("el-button"), ge = p("el-form"), ye = p("jmash-multi-upload");
279
+ return g(), P(I, null, [
274
280
  t(r, { span: 24 }, {
275
281
  default: n(() => l[9] || (l[9] = [
276
- h("div", { class: "title" }, "备品备件按需采购申请单", -1)
282
+ y("div", { class: "title" }, "备品备件按需采购申请单", -1)
277
283
  ])),
278
284
  _: 1,
279
285
  __: [9]
@@ -287,7 +293,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
287
293
  class: "custom-table-form custom-form"
288
294
  }, {
289
295
  default: n(() => [
290
- t(E, null, {
296
+ t(z, null, {
291
297
  default: n(() => [
292
298
  t(r, { span: 12 }, {
293
299
  default: n(() => [
@@ -300,7 +306,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
300
306
  modelValue: s(a).orgId,
301
307
  "onUpdate:modelValue": l[0] || (l[0] = (o) => s(a).orgId = o),
302
308
  placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
303
- data: s(g).orgIdBizDict.values,
309
+ data: s(c).orgIdBizDict.values,
304
310
  clearable: "",
305
311
  filterable: "",
306
312
  onChange: Z,
@@ -323,7 +329,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
323
329
  modelValue: s(a).type,
324
330
  "onUpdate:modelValue": l[1] || (l[1] = (o) => s(a).type = o),
325
331
  placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
326
- data: s(g).purchaseTypeEnum.values,
332
+ data: s(c).purchaseTypeEnum.values,
327
333
  clearable: "",
328
334
  class: "w-full"
329
335
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -362,7 +368,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
362
368
  prop: "annual"
363
369
  }, {
364
370
  default: n(() => [
365
- t(V, {
371
+ t(F, {
366
372
  modelValue: s(a).annual,
367
373
  "onUpdate:modelValue": l[3] || (l[3] = (o) => s(a).annual = o),
368
374
  type: "year",
@@ -379,13 +385,13 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
379
385
  ]),
380
386
  _: 1
381
387
  }),
382
- s(a).type !== "BudgetOut" ? (f(), S(r, {
388
+ s(a).type !== "BudgetOut" ? (g(), _(r, {
383
389
  key: 0,
384
390
  span: 24
385
391
  }, {
386
392
  default: n(() => [
387
393
  t(d, {
388
- label: e.$t("itsmFlowSpareParts.itemId"),
394
+ label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
389
395
  prop: "itemId"
390
396
  }, {
391
397
  default: n(() => [
@@ -400,7 +406,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
400
406
  onChange: x
401
407
  }, {
402
408
  default: n(() => [
403
- (f(!0), P(I, null, R(Y.value, (o) => (f(), S(ie, {
409
+ (g(!0), P(I, null, R(Y.value, (o) => (g(), _(ie, {
404
410
  key: o.key,
405
411
  value: o.key,
406
412
  label: o.value
@@ -414,13 +420,13 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
414
420
  ]),
415
421
  _: 1
416
422
  })) : $("", !0),
417
- s(a).type !== "BudgetOut" ? (f(), S(r, {
423
+ s(a).type !== "BudgetOut" ? (g(), _(r, {
418
424
  key: 1,
419
425
  span: 12
420
426
  }, {
421
427
  default: n(() => [
422
428
  t(d, {
423
- label: e.$t("itsmFlowSpareParts.budgetType"),
429
+ label: e.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
424
430
  prop: "budgetType"
425
431
  }, {
426
432
  default: n(() => [
@@ -441,7 +447,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
441
447
  ]),
442
448
  _: 1
443
449
  })) : $("", !0),
444
- s(a).type !== "BudgetOut" ? (f(), S(r, {
450
+ s(a).type !== "BudgetOut" ? (g(), _(r, {
445
451
  key: 2,
446
452
  span: 12
447
453
  }, {
@@ -492,7 +498,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
492
498
  prop: "applyDate"
493
499
  }, {
494
500
  default: n(() => [
495
- t(V, {
501
+ t(F, {
496
502
  modelValue: s(a).applyDate,
497
503
  "onUpdate:modelValue": l[7] || (l[7] = (o) => s(a).applyDate = o),
498
504
  type: "date",
@@ -510,28 +516,28 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
510
516
  ]),
511
517
  _: 1
512
518
  }),
513
- t(E, null, {
519
+ t(z, null, {
514
520
  default: n(() => [
515
521
  t(r, { span: 24 }, {
516
522
  default: n(() => l[10] || (l[10] = [
517
- h("div", { class: "title" }, "运维需求描述", -1)
523
+ y("div", { class: "title" }, "运维需求描述", -1)
518
524
  ])),
519
525
  _: 1,
520
526
  __: [10]
521
527
  }),
522
528
  t(fe, {
523
- data: y.value,
529
+ data: b.value,
524
530
  border: "",
525
531
  style: { width: "100%" }
526
532
  }, {
527
533
  default: n(() => [
528
- t(b, {
534
+ t(h, {
529
535
  type: "index",
530
536
  label: e.$t("itsmFlowSpareParts.index"),
531
537
  width: "60",
532
538
  align: "center"
533
539
  }, null, 8, ["label"]),
534
- t(b, {
540
+ t(h, {
535
541
  prop: "type",
536
542
  label: e.$t("itsmFlowSpareParts.itsmtype"),
537
543
  "header-align": "center",
@@ -547,7 +553,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
547
553
  ]),
548
554
  _: 1
549
555
  }, 8, ["label"]),
550
- t(b, {
556
+ t(h, {
551
557
  prop: "name",
552
558
  label: e.$t("itsmFlowSpareParts.itsmName"),
553
559
  "header-align": "center",
@@ -562,7 +568,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
562
568
  ]),
563
569
  _: 1
564
570
  }, 8, ["label"]),
565
- t(b, {
571
+ t(h, {
566
572
  prop: "number",
567
573
  label: e.$t("itsmFlowSpareParts.number"),
568
574
  "header-align": "center",
@@ -581,14 +587,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
581
587
  ]),
582
588
  _: 1
583
589
  }, 8, ["label"]),
584
- t(b, {
590
+ t(h, {
585
591
  prop: "unit",
586
592
  "header-align": "center",
587
593
  width: "200"
588
594
  }, {
589
595
  header: n(() => [
590
- l[11] || (l[11] = h("span", { class: "required_red" }, "*", -1)),
591
- h("span", null, _(e.$t("itsmFlowSpareParts.unit")), 1)
596
+ l[11] || (l[11] = y("span", { class: "required_red" }, "*", -1)),
597
+ y("span", null, S(e.$t("itsmFlowSpareParts.unit")), 1)
592
598
  ]),
593
599
  default: n(({ row: o }) => [
594
600
  t(i, {
@@ -599,14 +605,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
599
605
  ]),
600
606
  _: 1
601
607
  }),
602
- t(b, {
608
+ t(h, {
603
609
  prop: "parameter",
604
610
  "header-align": "center",
605
611
  width: "150"
606
612
  }, {
607
613
  header: n(() => [
608
- l[12] || (l[12] = h("span", { class: "required_red" }, "*", -1)),
609
- h("span", null, _(e.$t("itsmFlowSpareParts.parameter")), 1)
614
+ l[12] || (l[12] = y("span", { class: "required_red" }, "*", -1)),
615
+ y("span", null, S(e.$t("itsmFlowSpareParts.parameter")), 1)
610
616
  ]),
611
617
  default: n(({ row: o }) => [
612
618
  t(i, {
@@ -617,12 +623,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
617
623
  ]),
618
624
  _: 1
619
625
  }),
620
- t(b, {
626
+ t(h, {
621
627
  prop: "valuation",
622
- label: e.$t("itsmFlowSpareParts.valuation"),
623
628
  "header-align": "center",
624
629
  width: "120"
625
630
  }, {
631
+ header: n(() => [
632
+ y("span", null, S(e.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
633
+ ]),
626
634
  default: n(({ row: o }) => [
627
635
  t(i, {
628
636
  modelValue: o.valuation,
@@ -631,8 +639,8 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
631
639
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
632
640
  ]),
633
641
  _: 1
634
- }, 8, ["label"]),
635
- t(b, {
642
+ }),
643
+ t(h, {
636
644
  prop: "range",
637
645
  label: e.$t("itsmFlowSpareParts.range"),
638
646
  "header-align": "center",
@@ -647,13 +655,13 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
647
655
  ]),
648
656
  _: 1
649
657
  }, 8, ["label"]),
650
- t(b, {
658
+ t(h, {
651
659
  label: e.$t("common.operate"),
652
660
  width: "60",
653
661
  align: "center"
654
662
  }, {
655
663
  default: n((o) => [
656
- o.$index !== 0 ? (f(), S(j, {
664
+ o.$index !== 0 ? (g(), _(E, {
657
665
  key: 0,
658
666
  onClick: (m) => te(o),
659
667
  size: "18",
@@ -661,7 +669,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
661
669
  class: "hover-blue"
662
670
  }, {
663
671
  default: n(() => [
664
- t(s(Fe))
672
+ t(s(Ve))
665
673
  ]),
666
674
  _: 2
667
675
  }, 1032, ["onClick"])) : $("", !0)
@@ -671,46 +679,46 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
671
679
  ]),
672
680
  _: 1
673
681
  }, 8, ["data"]),
674
- t(z, {
682
+ t(j, {
675
683
  icon: s(Se),
676
684
  class: "addButton",
677
685
  onClick: ae
678
686
  }, {
679
687
  default: n(() => [
680
- T(_(s(c)("common.add")), 1)
688
+ T(S(s(f)("common.add")), 1)
681
689
  ]),
682
690
  _: 1
683
691
  }, 8, ["icon"]),
684
- h("div", Be, [
692
+ y("div", Me, [
685
693
  l[13] || (l[13] = T(" 预估总价(万元):")),
686
- h("span", Re, _(B.value), 1)
694
+ y("span", Re, S(M.value), 1)
687
695
  ]),
688
696
  t(r, {
689
697
  span: 24,
690
698
  class: "bordered-row"
691
699
  }, {
692
700
  default: n(() => [
693
- (f(!0), P(I, null, R(s(g).fileTypeDict.values.slice(0, 2), (o, m) => (f(), S(d, {
701
+ (g(!0), P(I, null, R(s(c).fileTypeDict.values.slice(0, 2), (o, m) => (g(), _(d, {
694
702
  key: o.dictCode,
695
703
  label: o.dictName
696
704
  }, {
697
705
  default: n(() => [
698
- t(z, {
706
+ t(j, {
699
707
  type: "primary",
700
708
  icon: s(_e),
701
709
  onClick: () => ne(o.dictCode)
702
710
  }, {
703
711
  default: n(() => [
704
- T(_(e.$t("common.uploadFiles")), 1)
712
+ T(S(e.$t("common.uploadFiles")), 1)
705
713
  ]),
706
714
  _: 2
707
715
  }, 1032, ["icon", "onClick"]),
708
- (f(!0), P(I, null, R(L(o.dictCode), (be, K) => (f(), P("div", {
716
+ (g(!0), P(I, null, R(L(o.dictCode), (be, K) => (g(), P("div", {
709
717
  key: K,
710
718
  class: "files-list"
711
719
  }, [
712
- h("span", null, _(be.fileName), 1),
713
- t(j, {
720
+ y("span", null, S(be.fileName), 1),
721
+ t(E, {
714
722
  size: "16",
715
723
  class: "icon-right",
716
724
  onClick: () => se(o.dictCode, K)
@@ -743,7 +751,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
743
751
  ], 64);
744
752
  };
745
753
  }
746
- }), Ke = /* @__PURE__ */ Me(Te, [["__scopeId", "data-v-17a7619b"]]);
754
+ }), Ke = /* @__PURE__ */ Be(Te, [["__scopeId", "data-v-90b96c0e"]]);
747
755
  export {
748
756
  Ke as default
749
757
  };