更新商品
This commit is contained in:
parent
5a8738b7f0
commit
961619eccb
|
@ -546,18 +546,18 @@ export default class acclist extends React.Component{
|
|||
addKeysBatchInfo(id,data).then((res)=>{
|
||||
handelResponse(res,(req,msg)=>{
|
||||
|
||||
// Notify.success("成功发起审批");
|
||||
// setTimeout(()=>{
|
||||
// this.props.history.push('/home/key-list/');
|
||||
// },2000)
|
||||
Notify.success("成功发起审批");
|
||||
setTimeout(()=>{
|
||||
this.props.history.push('/home/key-list/');
|
||||
},2000)
|
||||
|
||||
keyApproval(id,req.id).then((res)=>{
|
||||
handelResponse(res,(req,msg)=>{
|
||||
// keyApproval(id,req.id).then((res)=>{
|
||||
// handelResponse(res,(req,msg)=>{
|
||||
|
||||
},(err)=>{
|
||||
Notify.error(err);
|
||||
})
|
||||
})
|
||||
// },(err)=>{
|
||||
// Notify.error(err);
|
||||
// })
|
||||
// })
|
||||
|
||||
},(err)=>{
|
||||
Notify.error(err);
|
||||
|
|
|
@ -100,13 +100,13 @@ export default class acclist extends React.Component{
|
|||
this.setState({isCancel:true})
|
||||
}
|
||||
|
||||
if(req.status == 1)
|
||||
{
|
||||
this.setState({isEdit:false})
|
||||
}
|
||||
else{
|
||||
this.setState({isEdit:true})
|
||||
}
|
||||
// if(req.status == 1)
|
||||
// {
|
||||
// this.setState({isEdit:false})
|
||||
// }
|
||||
// else{
|
||||
// this.setState({isEdit:true})
|
||||
// }
|
||||
|
||||
this.setState({pagetitle:"编辑key"})
|
||||
req.code_batch = req.code_batch ? req.code_batch : []
|
||||
|
|
Loading…
Reference in New Issue