From 8310a8fb31e4a82cbbb8bb512e9815709f23d441 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期二, 11 七月 2023 19:08:02 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
index 3a057e4..e8abccc 100644
--- a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
+++ b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
@@ -142,6 +142,15 @@
             type: Array
         }
     },
+  watch:{
+    btmType:{
+      handler(newval,oldval){
+        console.log('鐩戝惉',newval,oldval)
+      },
+      deep:true,
+      immediate:true
+    }
+  },
     data() {
         return {
             form: {},
@@ -359,7 +368,7 @@
         },
         // 灞炴�ф睜鍔犺浇
         attrRefOnLoad(){
-            if (!this.attrRef.queryNotIn || (this.attrRef.queryNotIn === '' && this.btmType.attributes !== [])){
+            if (this.attrRef.queryNotIn != ''){
               this.attrRef.queryNotIn = '';
                this.btmType.attributes.forEach(item => {
                   this.attrRef.queryNotIn += (item.id + ",")

--
Gitblit v1.9.3