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