From a472fa1f44b9976ce7e2b502814b130ec72e0f29 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 19 七月 2023 11:31:11 +0800
Subject: [PATCH] 1、主要解决在批量插入的时候通过业务类型去获取字段信息,对比字段没有的则不进行插入。

---
 Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue b/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
index 2d6fc7b..87bf1ca 100644
--- a/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
+++ b/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
@@ -122,6 +122,7 @@
       simOid:"",
       btmName:"",
       btmOid:"",
+      btmId:"",
       masterInput:'',
       MasterSearchSelects:"",
       masterData:[],
@@ -536,7 +537,7 @@
         this.BtmdialogVisible=false;
         this.btmSelectList=[]
         this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName ||this.btmOid)
-        this.$set(this.loneTreeNewForm,'btmTypeid',this.btmOid)
+        this.$set(this.loneTreeNewForm,'btmTypeId',this.btmId)
         this.$emit('MasterHandler',this.loneTreeNewForm)
       }
     },
@@ -563,6 +564,7 @@
       this.btmSelectList=row;
       this.btmName=row[0].name;
       this.btmOid=row[0].oid;
+      this.btmId=row[0].id;
     },
     //涓氬姟绫诲瀷鎺ュ彛
     btmdefaultRend(masterParameter){

--
Gitblit v1.9.3