Commit 5c9d33c2 authored by 金王方-del's avatar 金王方-del

fix: 增加初始化

parent 46ea474c
...@@ -364,6 +364,7 @@ export default { ...@@ -364,6 +364,7 @@ export default {
this.pagination.total = content.total || 0; this.pagination.total = content.total || 0;
this.dataList = content.list || []; this.dataList = content.list || [];
this.cacheDataList[filter.pageNum] = this.dataList this.cacheDataList[filter.pageNum] = this.dataList
this.selectActualAmount = 0
this.getTotal() this.getTotal()
} else { } else {
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
...@@ -374,6 +375,8 @@ export default { ...@@ -374,6 +375,8 @@ export default {
getTotal(){ getTotal(){
let totalNum = 0 let totalNum = 0
let totalMoney= 0 let totalMoney= 0
this.invalidNum = 0
this.invalidActualAmount = 0
if(this.dataList.length>0){ if(this.dataList.length>0){
this.dataList.forEach((item)=>{ this.dataList.forEach((item)=>{
totalNum++ totalNum++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment