From 9ba48d3c5cffde082bab14a23f0e5b721817ceb8 Mon Sep 17 00:00:00 2001
From: DouDou <877258667@qq.com>
Date: Mon, 21 Oct 2024 11:48:55 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=9A=84BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tooling/components/com_tool_info_add_update.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
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()