Commit ed80e855 by 王栋源

wdy

parent 589e408f
...@@ -395,7 +395,7 @@ module.exports= ...@@ -395,7 +395,7 @@ module.exports=
} }
}, },
onDlgFormClick:function(k,model){ onDlgFormClick:function(k,model){
this.$emit("onDlgFormClick",k,model);
if(k=="save"){ if(k=="save"){
this.$refs.dlgform.validate((valid)=>{ this.$refs.dlgform.validate((valid)=>{
if(valid){ if(valid){
...@@ -446,12 +446,17 @@ module.exports= ...@@ -446,12 +446,17 @@ module.exports=
} }
if(k=="cancel"){ if(k=="cancel"){
debugger;
this.showLeft(); this.showLeft();
debugger;
this.$refs.dlgform.setInitData({}); this.$refs.dlgform.setInitData({});
debugger;
this.status="common"; this.status="common";
debugger;
this.fetchData(); this.fetchData();
return ;
} }
this.$emit("onDlgFormClick",k,model);
}, },
onToolbarClick:function(k,t){ 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