This commit is contained in:
liushuai
2018-12-25 20:05:49 +08:00
parent 5fd49aa262
commit 6f173e5723
3 changed files with 5 additions and 4 deletions

View File

@@ -73,7 +73,7 @@
<el-progress
:text-inside="true"
:stroke-width="18"
:percentage="parseFloat((100*scope.row.合同物料到货总数/scope.row.合同物料采购总数).toFixed(2))"
:percentage="(parseInt(10000*(scope.row.合同物料到货总数)/scope.row.合同物料采购总数)) / 100"
status="success"/>
</template>
</el-table-column>

View File

@@ -56,7 +56,7 @@
</el-table-column>
<el-table-column align="center" label="到票情况" min-width="200px">
<template slot-scope="scope">
<el-progress :text-inside="true" :stroke-width="18" :percentage="100*(scope.row.到票总金额/scope.row.剩余总金额).toFixed(2)" status="success"/>
<el-progress :text-inside="true" :stroke-width="18" :percentage="(parseInt(10000*(scope.row.到票总金额)/scope.row.剩余总金额)) / 100" status="success"/>
</template>
</el-table-column>
</el-table>
@@ -178,6 +178,7 @@ export default {
})
},
searchTable1() {
this.tableData2 = []
this.contractNum ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
searchContractInvoice(this.pageCurrent1, this.pageSize1, this.check1, this.contractNum, this.check2, this.supplierName).then(response => {