From 070bf45544bcfaa97f523c68a24ac992ace002c1 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 19 Dec 2023 17:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/list/list.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index 995351ff..816c0225 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -744,22 +744,24 @@ export default class orderList extends React.Component { this.moreFn(e, rowData)}> 详情 - {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)) ? ( this.deleteFn(e, rowData)}> 作废 ) : null} - {(rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && ( - this.changeSuccessFn(e, rowData)} - > - 改为成功 - - )} + {rowData.type != 2 && + (rowData.status == 1 || (rowData.status == 0 && rowData.type == 3)) && ( + this.changeSuccessFn(e, rowData)} + > + 改为成功 + + )} {rowData.status == 3 && rowData.pay_status == 2 ? ( <>