mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 05:46:44 +08:00
未审批无数据时,切换到审批记录后,钱数不对
This commit is contained in:
@@ -313,6 +313,10 @@ export default {
|
||||
that.total = 0
|
||||
let status
|
||||
that.claimApprovalIds = []
|
||||
//重置数据
|
||||
this.totalMoney = 0
|
||||
this.passNum = 0
|
||||
this.refuseNum = 0
|
||||
//审批记录切换按钮时,1已通过,0未通过按钮状态
|
||||
if(plainStatus){
|
||||
status = plainStatus
|
||||
@@ -347,9 +351,10 @@ export default {
|
||||
})
|
||||
item.checkboxResult = arr
|
||||
})
|
||||
this.passNum = this.claimApprovalIds.length
|
||||
this.refuseNum = 0
|
||||
|
||||
if(that.active == 'notApproved'){
|
||||
this.passNum = this.claimApprovalIds.length
|
||||
this.refuseNum = 0
|
||||
that.getTotalMoneyFunc()
|
||||
}
|
||||
that.$forceUpdate();
|
||||
|
||||
Reference in New Issue
Block a user