From f1486a6ba44b04003cecab23f68a18133f64803f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Fri, 7 Jan 2022 12:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=A1=E6=89=B9=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=88=A4=E6=96=AD=E5=90=8E=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/edit/edit.js | 7 +------ src/pages/plan/key/edit.js | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/pages/exchangecode/edit/edit.js b/src/pages/exchangecode/edit/edit.js index 90db17ec..ebac9251 100644 --- a/src/pages/exchangecode/edit/edit.js +++ b/src/pages/exchangecode/edit/edit.js @@ -487,12 +487,7 @@ export default class exchangedit extends React.Component{ this.setState({approvalsStatus:true}) this.setState({recall_visible:true}) } - if(req.status == 1) - { - Notify.error("进行中的批次不能提交审核") - - } - if(req.status == 2 || req.status == 3){ + if(req.status == 1 || req.status == 2 || req.status == 3){ getIsRequireApproval(code_batch_id,data).then((res)=>{ handelResponse(res,(req,msg)=>{ diff --git a/src/pages/plan/key/edit.js b/src/pages/plan/key/edit.js index 5cf7ae56..44105613 100644 --- a/src/pages/plan/key/edit.js +++ b/src/pages/plan/key/edit.js @@ -540,10 +540,7 @@ export default class acclist extends React.Component{ } if(req.status == 1) { - Notify.error("进行中的批次不能提交审核") - setTimeout(()=>{ - this.props.history.push('/home/key-list/'); - },2000) + this.setState({audit_visible:true}) } if(req.status == 2 || req.status == 3){