更新
This commit is contained in:
@@ -52,9 +52,9 @@
|
||||
{{ scope.row.采购合同编号 ? scope.row.采购合同编号 : scope.row.离线合同编号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="110" align="center" label="合同总额(元)" prop="合同总额">
|
||||
<el-table-column width="110" align="center" label="合同总额(元)" prop="合同总金额">
|
||||
<template slot-scope="scope">
|
||||
{{ parseFloat(scope.row.合同总额).toFixed(2) }}
|
||||
{{ parseFloat(scope.row.合同总金额).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="110" align="center" label="到货金额(元)" prop="到货金额">
|
||||
@@ -231,7 +231,7 @@ export default {
|
||||
if (index === 0) {
|
||||
sums[index] = '总价'
|
||||
return
|
||||
} else if (index === 2 || index === 3) {
|
||||
} else if (index === 1 || index === 2 || index === 3 || index === 4) {
|
||||
const values = data.map(item => Number(item[column.property]))
|
||||
if (!values.every(value => isNaN(value))) {
|
||||
sums[index] = values.reduce((prev, curr) => {
|
||||
|
||||
Reference in New Issue
Block a user