|
@@ -317,7 +317,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column v-if="contractForm.isAmountFixed" prop="pendingAmounts" label="待付款金额(元)" width="210">
|
|
<el-table-column v-if="contractForm.isAmountFixed" prop="pendingAmounts" label="待付款金额(元)" width="210">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- {{ scope.row.pendingAmounts }}
|
|
|
|
|
|
+ {{ scope.row.pendingAmounts | pendingPaymentAmount }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column width="80" fixed="right">
|
|
<el-table-column width="80" fixed="right">
|
|
@@ -700,6 +700,12 @@ export default {
|
|
tabsName: ''
|
|
tabsName: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ filters: {
|
|
|
|
+ pendingPaymentAmount(value) {
|
|
|
|
+ if(!value) return 0
|
|
|
|
+ return value.toFixed(2)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
created() {
|
|
created() {
|
|
let height = window.innerHeight;
|
|
let height = window.innerHeight;
|
|
this.tableHeight = height - 180;
|
|
this.tableHeight = height - 180;
|