Commit ccfbdbcc by xuyl

修复bug

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