Commit ed80e855 by 王栋源

wdy

parent 589e408f
......@@ -395,7 +395,7 @@ module.exports=
}
},
onDlgFormClick:function(k,model){
this.$emit("onDlgFormClick",k,model);
if(k=="save"){
this.$refs.dlgform.validate((valid)=>{
if(valid){
......@@ -446,12 +446,17 @@ module.exports=
}
if(k=="cancel"){
debugger;
this.showLeft();
debugger;
this.$refs.dlgform.setInitData({});
debugger;
this.status="common";
debugger;
this.fetchData();
return ;
}
this.$emit("onDlgFormClick",k,model);
},
onToolbarClick:function(k,t){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment