1) 草稿状态下,可以进行新增商品的编辑
This commit is contained in:
parent
a26dd714c8
commit
46070111de
|
@ -169,10 +169,20 @@ export default class add extends React.Component {
|
|||
});
|
||||
} else {
|
||||
//获取草稿信息
|
||||
console.log("获取草稿信息 ==>");
|
||||
getDraftInfo(plan_id).then((res) => {
|
||||
handelResponse(
|
||||
res,
|
||||
(req, msg) => {
|
||||
//获取分销商
|
||||
getReseller(req.info.reseller_id).then((res) => {
|
||||
handelResponse(res, (req, msg) => {
|
||||
this.setState({
|
||||
direct_reseller_id: req.direct_reseller_id,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
if (req.info) {
|
||||
this.refs.step1.edit(req.info);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue