|
@@ -2,7 +2,7 @@
|
2
|
2
|
* @Author: ysh
|
3
|
3
|
* @Date: 2024-06-21 18:52:00
|
4
|
4
|
* @LastEditors: Please set LastEditors
|
5
|
|
- * @LastEditTime: 2025-02-14 15:25:53
|
|
5
|
+ * @LastEditTime: 2025-02-17 15:15:23
|
6
|
6
|
-->
|
7
|
7
|
<template>
|
8
|
8
|
<div class="app-container">
|
|
@@ -56,7 +56,7 @@
|
56
|
56
|
{{ getFileName(scope.row.contractDocument) }}
|
57
|
57
|
</el-link>
|
58
|
58
|
</template>
|
59
|
|
- </el-table-column> -->
|
|
59
|
+</el-table-column> -->
|
60
|
60
|
<el-table-column label="拟稿日期" align="center" prop="draftTime">
|
61
|
61
|
<template slot-scope="scope">
|
62
|
62
|
<span>{{ parseTime(scope.row.draftTime, '{y}-{m}-{d}') }}</span>
|
|
@@ -72,6 +72,9 @@
|
72
|
72
|
<template slot-scope="scope">
|
73
|
73
|
<el-progress :text-inside="true" :stroke-width="26" :status="formatStatus(scope.row.percentage)"
|
74
|
74
|
:percentage="scope.row.percentage" text-color="#fff"></el-progress>
|
|
75
|
+ <div>
|
|
76
|
+ {{ scope.row.paidAmount }}
|
|
77
|
+ </div>
|
75
|
78
|
</template>
|
76
|
79
|
</el-table-column>
|
77
|
80
|
<!-- <el-table-column label="签订备注" align="center" prop="signRemark" /> -->
|
|
@@ -118,7 +121,7 @@
|
118
|
121
|
<el-dialog :title="title" :visible.sync="openInfo" append-to-body width="60%">
|
119
|
122
|
<sub-contract :taskForm="taskForm" :taskName="''" :flowDisabled="false"></sub-contract>
|
120
|
123
|
</el-dialog>
|
121
|
|
-
|
|
124
|
+
|
122
|
125
|
<!-- 回款进度 -->
|
123
|
126
|
<el-dialog :title="title" :visible.sync="progressOpen" width="50%" append-to-body>
|
124
|
127
|
<sub-progress :form="progressContract" @cancel="progressOpen = false" @getList="getList"></sub-progress>
|
|
@@ -210,7 +213,9 @@ export default {
|
210
|
213
|
listContractPaid({ contractId: subContract.subContractId }).then(res => {
|
211
|
214
|
if (res.total > 0) {
|
212
|
215
|
let percentage = res.rows.reduce((sum, item) => sum + Number(item.paidPercentage), 0);
|
213
|
|
- this.$set(subContract, 'percentage', Number(percentage.toFixed(2)))
|
|
216
|
+ let paidAmount = res.rows.reduce((sum, item) => sum + Number(item.paidAmount), 0);
|
|
217
|
+ this.$set(subContract, 'percentage', Number(percentage.toFixed(2)));
|
|
218
|
+ this.$set(subContract, 'paidAmount', Number(paidAmount.toFixed(2)));
|
214
|
219
|
} else {
|
215
|
220
|
this.$set(subContract, 'percentage', 0)
|
216
|
221
|
}
|