diff --git a/src/views/ebiz/claims/ClaimApprovalList.vue b/src/views/ebiz/claims/ClaimApprovalList.vue index a7726562e..dab743a10 100644 --- a/src/views/ebiz/claims/ClaimApprovalList.vue +++ b/src/views/ebiz/claims/ClaimApprovalList.vue @@ -86,7 +86,7 @@
全选 - + 展开 合计:{{totalMoney}}元
@@ -160,6 +160,7 @@ export default { }, //右上角,全部展开、全部收起 collapseAll(){ + this.isOpen = this.isOpen == '0' ? (this.isOpen = '1') : (this.isOpen = '0') let that = this if(that.isOpen == '0'){ that.activeNames = [] @@ -201,6 +202,9 @@ export default { that.$forceUpdate() if(that.claimApprovalIds.length){ that.getTotalMoneyFunc() + }else{ + //重置金额 + that.totalMoney = 0 } //审批弹框点击取消之后,操作checkbox或全选时,统计通过、拒绝按钮数量 // 按钮状态 0通过 1拒绝 @@ -303,6 +307,7 @@ export default { //初始化列表 async getList(plainStatus) { let that = this + that.total = 0 let status that.claimApprovalIds = [] //审批记录切换按钮时,1已通过,0未通过按钮状态