1) 草稿状态下,可以进行新增商品的编辑

This commit is contained in:
zhangds 2022-04-18 15:58:39 +08:00
parent a26dd714c8
commit 46070111de
1 changed files with 10 additions and 0 deletions

View File

@ -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);
}