|
@@ -114,7 +114,7 @@
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
|
|
- addFormVisible: false,//新增界面是否显示
|
|
|
|
|
|
+ addFormVisible: false, //新增界面是否显示
|
|
addLoading: false,
|
|
addLoading: false,
|
|
//新增界面数据
|
|
//新增界面数据
|
|
addForm: {
|
|
addForm: {
|
|
@@ -126,7 +126,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 获取基础数据
|
|
|
|
|
|
+ //获取基础数据
|
|
getMsg(){
|
|
getMsg(){
|
|
this.http.post(this.port.project.getUserById, {
|
|
this.http.post(this.port.project.getUserById, {
|
|
companyIds: this.user.companyId,
|
|
companyIds: this.user.companyId,
|
|
@@ -172,7 +172,12 @@
|
|
});
|
|
});
|
|
})
|
|
})
|
|
|
|
|
|
- // 获取模具
|
|
|
|
|
|
+ //获取模具
|
|
|
|
+ this.getMoulds();
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ //获取模具
|
|
|
|
+ getMoulds(){
|
|
this.http.post(this.port.mold.modelList, {
|
|
this.http.post(this.port.mold.modelList, {
|
|
parentId: this.user.parentId,
|
|
parentId: this.user.parentId,
|
|
id: this.user.id
|
|
id: this.user.id
|
|
@@ -276,6 +281,8 @@
|
|
|
|
|
|
//显示新增界面
|
|
//显示新增界面
|
|
handleAdd() {
|
|
handleAdd() {
|
|
|
|
+ //重新获取一下模具
|
|
|
|
+ this.getMoulds();
|
|
this.addFormVisible = true;
|
|
this.addFormVisible = true;
|
|
this.addForm = {
|
|
this.addForm = {
|
|
projectName: '',
|
|
projectName: '',
|