a
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</el-form>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="采购合同号" align="center" min-width="100">
|
||||
<el-table-column label="采购合同号" sortable prop="采购合同编号" align="center" min-width="100">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.采购合同编号 }}
|
||||
</template>
|
||||
@@ -64,32 +64,32 @@
|
||||
{{ scope.row.采购合同名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="供应商" align="center" min-width="150">
|
||||
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="150">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.供应商名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="采购员" align="center" min-width="60">
|
||||
<el-table-column label="采购员" sortable prop="姓名" align="center" min-width="60">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.姓名 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="合同总额" align="center" min-width="70" fixed="right">
|
||||
<el-table-column label="合同总额" sortable prop="合同金额" align="center" min-width="70" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.合同总额 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="欠款金额" align="center" min-width="70" fixed="right">
|
||||
<el-table-column label="欠款金额" sortable prop="已付金额" align="center" min-width="70" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
{{ (Number(scope.row.合同总额)-Number(scope.row.已付金额)).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="已付金额" align="center" min-width="70" fixed="right">
|
||||
<el-table-column label="已付金额" sortable prop="已付金额" align="center" min-width="70" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
{{ Number(scope.row.已付金额).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="付款进度" align="center" min-width="150" fixed="right">
|
||||
<el-table-column label="付款进度" sortable prop="付款进度" align="center" min-width="150" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-progress
|
||||
:text-inside="true"
|
||||
@@ -162,7 +162,23 @@ export default {
|
||||
this.contractNumValue ? this.check1 = 1 : this.check1 = 0
|
||||
this.supplierName ? this.check2 = 1 : this.check2 = 0
|
||||
searchPayState(this.pageCurrent1, this.pageSize1, this.check1, this.contractNumValue, this.check2, this.supplierName).then(response => {
|
||||
this.tableData1 = response.data.rows
|
||||
// this.tableData1 = response.data.rows
|
||||
response.data.rows.map(v => {
|
||||
this.tableData1.push({
|
||||
交货日期: v.交货日期,
|
||||
支付日期: v.支付日期,
|
||||
支付方式: v.支付方式,
|
||||
开票信息: v.开票信息,
|
||||
其他说明: v.其他说明,
|
||||
采购合同编号: v.采购合同编号,
|
||||
采购合同名称: v.采购合同名称,
|
||||
供应商名称: v.供应商名称,
|
||||
姓名: v.姓名,
|
||||
合同总额: v.合同总额,
|
||||
欠款金额: v.欠款金额,
|
||||
已付金额: v.已付金额
|
||||
})
|
||||
})
|
||||
console.log(response.data.rows)
|
||||
this.total1 = response.data.total
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user