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