fix:兑换码列表未通过状态 部分兑换码不能作废
This commit is contained in:
parent
921cc96581
commit
13d3fb908c
|
@ -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 ? (
|
||||
|
|
Loading…
Reference in New Issue