提交 a519fddc 编写于 作者: zhentian.jia's avatar zhentian.jia

fix bug 13:23

上级 1beaa79a
...@@ -788,7 +788,7 @@ export default { ...@@ -788,7 +788,7 @@ export default {
this.changeValue(componentEdit); this.changeValue(componentEdit);
if (editData.certificateData.length > 0) { if (editData.certificateData.length > 0) {
this.formComponent.configure = 1; this.formComponent.configure = 1;
this.formComponent.certificate = editData.componentData[0].relevanceId; this.formComponent.certificate = editData.certificateData[0].relevanceId;
} }
}, },
//编辑管理 //编辑管理
...@@ -1029,16 +1029,22 @@ export default { ...@@ -1029,16 +1029,22 @@ export default {
}); });
} else if (this.active == 2) { } else if (this.active == 2) {
//暂存步骤3 //暂存步骤3
let formName = "formComponent"; this.componentDraft(1);
let completeState = this.submitForm(formName); // let formName = "formComponent";
if (completeState === true) { // let completeState = this.submitForm(formName);
this.componentDraft(1); // if (completeState === true) {
} // this.componentDraft(1);
// }
} }
}, },
//点击完成 //点击完成
complete() { complete() {
//type 1:暂存 2:完成 //type 1:暂存 2:完成
if(this.projectStatus == 4) {
vm.$message.info("已上架状态只能编辑基础信息");
vm.$router.push({ path: 'item-manager' });
return;
}
let formName = "formComponent"; let formName = "formComponent";
let completeState = this.submitForm(formName); let completeState = this.submitForm(formName);
if (completeState === true) { if (completeState === true) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册