fix:兑换码列表未通过状态 部分兑换码不能作废

This commit is contained in:
wangsongsole 2022-10-17 17:56:49 +08:00
parent 921cc96581
commit 13d3fb908c
1 changed files with 8 additions and 11 deletions

View File

@ -493,17 +493,8 @@ export default class acclist extends React.Component {
</span>
)}
{this.copyElementFunction(rowData)}
{rowData.status != 4 &&
rowData.status != 5 &&
rowData.status != -1 &&
rowData.status != 8 &&
rowData.status != 6 ? (
<span
className='grid-link'
onClick={(e) => this.delFn(e, rowData)}>
作废
</span>
) : (
{[4, 5, 8, 6, -1].includes(rowData.status) ||
(rowData.status === 7 && rowData.old_status === -1) ? (
<span
style={{
paddingRight: "10px",
@ -511,6 +502,12 @@ export default class acclist extends React.Component {
}}>
作废
</span>
) : (
<span
className='grid-link'
onClick={(e) => this.delFn(e, rowData)}>
作废
</span>
)}
{rowData.status == 6 &&
Number(rowData.approval_id) > 0 ? (