更新审批状态判断后逻辑

This commit is contained in:
姜棚 2022-01-07 12:02:12 +08:00
parent 340533453b
commit f1486a6ba4
2 changed files with 2 additions and 10 deletions

View File

@ -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)=>{

View File

@ -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){