company/src/components/enterprise/OperaInsuranceApplyWindow.vue
@@ -117,6 +117,9 @@ <el-table-column prop="fee" label="费用"> <template slot-scope="{row}"> {{item.type==1?'-':row.fee}} </template> </el-table-column> <el-table-column label="操作"> @@ -295,11 +298,15 @@ if (index === 0) { sums[index] = '总价' } else if (index === 7) { let total = 0 this.tableData.forEach(item => { total += item.fee }) sums[index] = total if(this.item.type == 1){ sums[index] = "-" }else{ let total = 0 this.tableData.forEach(item => { total += item.fee }) sums[index] = total.toFixed(2) } } }) return sums