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