🐛 fix: 修复bug
This commit is contained in:
parent
df7d64a33b
commit
070bf45544
|
@ -744,22 +744,24 @@ export default class orderList extends React.Component {
|
|||
<span className="grid-link" onClick={(e) => this.moreFn(e, rowData)}>
|
||||
详情
|
||||
</span>
|
||||
{rowData.status == 1 ||
|
||||
(rowData.status == 0 && rowData.type == 1) ||
|
||||
rowData.status == 6 ||
|
||||
(rowData.status == 0 && rowData.type == 3) ? (
|
||||
{rowData.type != 2 &&
|
||||
(rowData.status == 1 ||
|
||||
(rowData.status == 0 && rowData.type == 1) ||
|
||||
rowData.status == 6 ||
|
||||
(rowData.status == 0 && rowData.type == 3)) ? (
|
||||
<span className="grid-link" onClick={(e) => this.deleteFn(e, rowData)}>
|
||||
作废
|
||||
</span>
|
||||
) : null}
|
||||
{(rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && (
|
||||
<span
|
||||
className="grid-link"
|
||||
onClick={(e) => this.changeSuccessFn(e, rowData)}
|
||||
>
|
||||
改为成功
|
||||
</span>
|
||||
)}
|
||||
{rowData.type != 2 &&
|
||||
(rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && (
|
||||
<span
|
||||
className="grid-link"
|
||||
onClick={(e) => this.changeSuccessFn(e, rowData)}
|
||||
>
|
||||
改为成功
|
||||
</span>
|
||||
)}
|
||||
{rowData.status == 3 && rowData.pay_status == 2 ? (
|
||||
<>
|
||||
<span
|
||||
|
|
Loading…
Reference in New Issue