Commit 6516efa1 authored by chenzj's avatar chenzj

工装夹具bug

parent 286aaeee
...@@ -431,9 +431,6 @@ export default { ...@@ -431,9 +431,6 @@ export default {
created() { created() {
this.getList(); this.getList();
this.getTypeList(); this.getTypeList();
if (this.mode == "add") {
this.gCode();
}
}, },
methods: { methods: {
/** 查询工装夹具清单列表 */ /** 查询工装夹具清单列表 */
...@@ -483,7 +480,6 @@ export default { ...@@ -483,7 +480,6 @@ export default {
}; };
this.autoGenFlag = false; this.autoGenFlag = false;
this.resetForm("form"); this.resetForm("form");
this.gCode();
}, },
onToolTypeChanged(){ onToolTypeChanged(){
var types = this.toolTypeOptions.filter((item) =>{ var types = this.toolTypeOptions.filter((item) =>{
...@@ -527,6 +523,7 @@ export default { ...@@ -527,6 +523,7 @@ export default {
this.reset(); this.reset();
this.open = true; this.open = true;
this.title = "添加工装夹具清单"; this.title = "添加工装夹具清单";
this.gCode();
this.optType = "add"; this.optType = "add";
}, },
// 查询明细按钮操作 // 查询明细按钮操作
......
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