Commit 4ccd862d by chenwq

```

feat(withdraw): 增加状态8到驳回条件

新增状态8到提现记录的驳回条件中,允许状态为8的记录可以被驳回,
同时更新了批量驳回功能以支持该状态。
```
1 parent 3fe3657e
...@@ -501,7 +501,7 @@ export default { ...@@ -501,7 +501,7 @@ export default {
fn: '驳回' fn: '驳回'
}, },
condition: row => { condition: row => {
return row.status == 0 || row.status == 1 || row.status == 6 return row.status == 0 || row.status == 1 || row.status == 6 || row.status == 8
}, },
listeners: { listeners: {
click: row => { click: row => {
...@@ -1520,7 +1520,7 @@ export default { ...@@ -1520,7 +1520,7 @@ export default {
this.$refs.withdrawRef.refreshTable() this.$refs.withdrawRef.refreshTable()
}, },
handleBatchReject() { handleBatchReject() {
const canReject = this.selectedRows.every(row => row.status == 0 || row.status == 1 || row.status == 6) const canReject = this.selectedRows.every(row => row.status == 0 || row.status == 1 || row.status == 6 || row.status == 8)
if (!canReject) { if (!canReject) {
this.$message.error('请选择能够驳回的提现记录') this.$message.error('请选择能够驳回的提现记录')
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!