Commit c85aa7e3 by 蒋勇

d

parent f5c019ae
......@@ -248,12 +248,13 @@ export default {
setTimeout(() => {
this.$refs.edform.formModel = this.deepclone(row)
this.$refs.edform.activeChildTables()
this.$refs.edform.activeChildTables(false)
}, 100);
}
if (key == "create") {
this.fm_status = "create";
this.showedform = true;
this.$refs.edform.activeChildTables(true)
}
if (key == "save") {
if (this.clickcount["save"] == 0) {
......
......@@ -216,9 +216,9 @@ export default {
}
},
methods: {
activeChildTables(){
activeChildTables(vf){
Object.keys(this.tabDisabled).forEach(k=>{
this.tabDisabled[k]=false
this.tabDisabled[k]=vf==false?vf:true
})
},
resetForm() {
......
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