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 d72332e..862f960 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 @@ -20,7 +20,7 @@ - + @@ -379,7 +379,7 @@ export default { getBaseData (val) { if (this.tagNo === 1017) { this.pageData.site = val.SiteID; - this.changeToolPrefix(); + //this.changeToolPrefix(); }else if (this.tagNo === 1016) { this.pageData.toolType = val.tool_type; this.pageData.toolTypeDesc = val.tool_type_desc; @@ -491,6 +491,12 @@ export default { }, }, + watch:{ + 'pageData.site': function(newValue, oldValue){ + //调用方法 + this.changeToolPrefix(); + }, + }, created() { // this.factoryList() // this.getLanguageList()