diff --git a/src/views/modules/tooling/components/com_tool_info_add_update.vue b/src/views/modules/tooling/components/com_tool_info_add_update.vue index ad4a98f..bc0cff0 100644 --- a/src/views/modules/tooling/components/com_tool_info_add_update.vue +++ b/src/views/modules/tooling/components/com_tool_info_add_update.vue @@ -345,7 +345,7 @@ export default { this.pageData.noteText = ''; this.searchFlag = false; //新增结束调用获取默认的方法 - this.changeToolPrefix(); + //this.changeToolPrefix(); }else{ this.titleCon = '工具修改'; this.pageData = JSON.parse(JSON.stringify(toolInfo)); @@ -459,6 +459,7 @@ export default { //首先判断前缀是否存在 let site = this.pageData.site; let toolId = this.pageData.toolId; + debugger if(site == null || site === ''){ this.$message.error('工厂不能为空!'); return false;