diff --git a/src/pages/plan/add/edit.js b/src/pages/plan/add/edit.js index ee46e119..176eec31 100644 --- a/src/pages/plan/add/edit.js +++ b/src/pages/plan/add/edit.js @@ -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); }