Commit ccfbdbcc by xuyl

修复bug

1 parent 6a77779a
......@@ -171,7 +171,7 @@ export default {
if (!item.isWithdrawal || item.isWithdrawal == '1' || item.exchangeStatus == '1') {
return false
} else {
return true
return truesh
}
})
if (!this.verificationWriteOff) {
......@@ -219,7 +219,7 @@ export default {
this.$message.error('积分核销失败')
}
}).catch(err => {
this.$message.error('积分核销失败')
this.$message.error(err)
})
this.dialogVisible = false
},
......
......@@ -29,15 +29,16 @@ export default {
))
}
await withdrawalApi.batchWithdrawal(params).then(res => {
if (res.code == '0'){
this.$message.success('审核成功')
this.dialogVisible = false
}else{
if (res.code !== '0'){
this.$message.error('审核失败')
}else{
this.$message.success('审核成功')
}
}).catch(err =>{
this.$message.error('审核失败')
})
}).catch(err=>{
this.$message.error(err)
}
)
this.dialogVisible = false
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!