|
@@ -2,11 +2,11 @@
|
2
|
2
|
* @Author: ysh
|
3
|
3
|
* @Date: 2024-04-03 16:28:09
|
4
|
4
|
* @LastEditors: Please set LastEditors
|
5
|
|
- * @LastEditTime: 2025-04-14 09:37:59
|
|
5
|
+ * @LastEditTime: 2025-04-17 10:21:51
|
6
|
6
|
-->
|
7
|
7
|
<template>
|
8
|
8
|
<div class="main">
|
9
|
|
- <div>
|
|
9
|
+ <div v-loading="loading">
|
10
|
10
|
<h2 class="text-center">项目直接生产成本预算表</h2>
|
11
|
11
|
<p style="text-align: center;">编制人:{{ budgetForm.compilerUser ? budgetForm.compilerUser.nickName : '' }}</p>
|
12
|
12
|
<el-descriptions :column="3" border class="descriptions">
|
|
@@ -416,6 +416,7 @@ export default {
|
416
|
416
|
contract: {},
|
417
|
417
|
profit: 0,
|
418
|
418
|
returnOpen: false,
|
|
419
|
+ loading: true,
|
419
|
420
|
};
|
420
|
421
|
},
|
421
|
422
|
created() {
|
|
@@ -423,6 +424,7 @@ export default {
|
423
|
424
|
},
|
424
|
425
|
methods: {
|
425
|
426
|
initBudgetForm() {
|
|
427
|
+ this.loading = true;
|
426
|
428
|
listBudget({ pageNum: 1, pageSize: 20, projectId: this.taskForm.formId }).then(res => {
|
427
|
429
|
this.budgetForm = res.rows[0];
|
428
|
430
|
this.setSignName();
|
|
@@ -460,6 +462,7 @@ export default {
|
460
|
462
|
work.unit = work.cmcPrice.unit
|
461
|
463
|
}
|
462
|
464
|
}
|
|
465
|
+ this.loading = false;
|
463
|
466
|
this.getProjectWorkList();
|
464
|
467
|
})
|
465
|
468
|
this.getProjectList();
|
|
@@ -495,7 +498,7 @@ export default {
|
495
|
498
|
});
|
496
|
499
|
},
|
497
|
500
|
getProjectWorkList() {
|
498
|
|
- listProjectWork({ projectId: this.taskForm.formId }).then(res => {
|
|
501
|
+ listProjectWork({ pageSize: 999, projectId: this.taskForm.formId }).then(res => {
|
499
|
502
|
this.workContentList = res.rows;
|
500
|
503
|
})
|
501
|
504
|
},
|