🐛 fix: 修复bug

This commit is contained in:
wangsongsole 2023-12-19 17:58:38 +08:00
parent df7d64a33b
commit 070bf45544
1 changed files with 14 additions and 12 deletions

View File

@ -744,15 +744,17 @@ export default class orderList extends React.Component {
<span className="grid-link" onClick={(e) => this.moreFn(e, rowData)}> <span className="grid-link" onClick={(e) => this.moreFn(e, rowData)}>
详情 详情
</span> </span>
{rowData.status == 1 || {rowData.type != 2 &&
(rowData.status == 1 ||
(rowData.status == 0 && rowData.type == 1) || (rowData.status == 0 && rowData.type == 1) ||
rowData.status == 6 || rowData.status == 6 ||
(rowData.status == 0 && rowData.type == 3) ? ( (rowData.status == 0 && rowData.type == 3)) ? (
<span className="grid-link" onClick={(e) => this.deleteFn(e, rowData)}> <span className="grid-link" onClick={(e) => this.deleteFn(e, rowData)}>
作废 作废
</span> </span>
) : null} ) : null}
{(rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && ( {rowData.type != 2 &&
(rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && (
<span <span
className="grid-link" className="grid-link"
onClick={(e) => this.changeSuccessFn(e, rowData)} onClick={(e) => this.changeSuccessFn(e, rowData)}