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

fix: 增加初始化

parent 46ea474c
......@@ -364,6 +364,7 @@ export default {
this.pagination.total = content.total || 0;
this.dataList = content.list || [];
this.cacheDataList[filter.pageNum] = this.dataList
this.selectActualAmount = 0
this.getTotal()
} else {
this.$message.error(res.returnMsg);
......@@ -374,6 +375,8 @@ export default {
getTotal(){
let totalNum = 0
let totalMoney= 0
this.invalidNum = 0
this.invalidActualAmount = 0
if(this.dataList.length>0){
this.dataList.forEach((item)=>{
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