From dd2cbe9c6f7360d0f50da4e5f0fc506ad3915d8b Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期一, 10 七月 2023 18:04:43 +0800
Subject: [PATCH] 业务类型修改功能修正

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

diff --git a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
index cf1f1f7..3a057e4 100644
--- a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
+++ b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue
@@ -359,6 +359,12 @@
         },
         // 灞炴�ф睜鍔犺浇
         attrRefOnLoad(){
+            if (!this.attrRef.queryNotIn || (this.attrRef.queryNotIn === '' && this.btmType.attributes !== [])){
+              this.attrRef.queryNotIn = '';
+               this.btmType.attributes.forEach(item => {
+                  this.attrRef.queryNotIn += (item.id + ",")
+               })
+            }
             this.attrRef.loading = true;
             queryPage(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage, this.attrRef.page.pageSize).then(res => {
                 const data = res.data.data;

--
Gitblit v1.9.3