|
@@ -168,7 +168,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="amount"
|
|
|
- label="总金额(元)"
|
|
|
+ label="金额(元)"
|
|
|
fixed="right"
|
|
|
width="100">
|
|
|
<template slot-scope="scope">
|
|
@@ -178,7 +178,7 @@
|
|
|
</el-table>
|
|
|
<div style="margin-top:16px;">
|
|
|
<div style="float: left">
|
|
|
- <span>总金额(元):{{tool.formatAmount(totalPrice,2)}}</span>
|
|
|
+ <span>金额(元):{{tool.formatAmount(totalPrice,2)}}</span>
|
|
|
</div>
|
|
|
<div style="float: right">
|
|
|
<el-pagination
|
|
@@ -250,11 +250,10 @@ export default {
|
|
|
this.params.content.sa_projectid = this.data.sa_projectid
|
|
|
const res = await this.$api.requested(this.params)
|
|
|
this.list = res.data
|
|
|
- res.data.forEach((e,index)=>{
|
|
|
+ /*res.data.forEach((e,index)=>{
|
|
|
this.totalPrice = this.totalPrice + e.amount
|
|
|
- })
|
|
|
- console.log(this.data.discountrate)
|
|
|
- console.log(this.discountrate)
|
|
|
+ })*/
|
|
|
+ this.totalPrice = res.tips.amount
|
|
|
this.total = res.total
|
|
|
},
|
|
|
handleSizeChange(val) {
|