商品范围列表后端提示
This commit is contained in:
parent
71bc0eed61
commit
4ee71c5b09
|
@ -164,7 +164,6 @@ export default class adduserinfo extends React.Component{
|
||||||
|
|
||||||
putCodeProduct(code_batch_id,product_id,formdata).then((res)=>{
|
putCodeProduct(code_batch_id,product_id,formdata).then((res)=>{
|
||||||
handelResponse(res,(req,msg)=>{
|
handelResponse(res,(req,msg)=>{
|
||||||
console.log(req)
|
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.show_url = req.path;
|
model2.show_url = req.path;
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
|
@ -172,11 +171,12 @@ export default class adduserinfo extends React.Component{
|
||||||
Notify.clear();
|
Notify.clear();
|
||||||
Notify.success(msg);
|
Notify.success(msg);
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
window.history.back()
|
window.history.back()
|
||||||
},1000);
|
},1000);
|
||||||
})
|
},(error)=>{
|
||||||
|
Notify.error(error);
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onProductChange(e){
|
onProductChange(e){
|
||||||
|
|
Loading…
Reference in New Issue