提交 3349ae68 编写于 作者: yi.li's avatar yi.li

新建计划1

上级 88e28773
......@@ -207,21 +207,21 @@
});
},
nextClick(formName) {
this.activeTab = 'second';
// if(!this.baseInfo.hasSelectedNum) {
// this.noChoice = true
// return;
// }else {
// this.noChoice = false
// }
// this.$refs[formName].validate((valid) => {
// if (valid) {
// // this.$refs['statusForm'].resetFields();
// this.activeTab = 'second';
// } else {
// return false;
// }
// });
// this.activeTab = 'second';
if(!this.baseInfo.hasSelectedNum) {
this.noChoice = true
return;
}else {
this.noChoice = false
}
this.$refs[formName].validate((valid) => {
if (valid) {
// this.$refs['statusForm'].resetFields();
this.activeTab = 'second';
} else {
return false;
}
});
},
preClick() {
this.activeTab = 'first';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册