From e395049f60b14ffbc89c98ad3d6f322d6878e6a7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 01 十一月 2023 19:31:20 +0800
Subject: [PATCH] bug列表156(主数据数据更改时,数据版本规则未按照规则升版)bug修改,157(数据更改,第二次对数据进行更改时,报错的bug,业务逻辑存在问题)

---
 Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js
index 8ae347a..bce29b0 100644
--- a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js
+++ b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js
@@ -6,7 +6,7 @@
     lazy: true,
     treeLoad: function (node, resolve) {
       // const parentId = (node.level === 0) ? 0 : node.data.id;
-      treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false,}).then( res=> {
+      treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false}).then( res=> {
         resolve(res.data.map(classifyitem => {
           let item = {
             "hasChildren": false,
@@ -15,6 +15,7 @@
             "parentId": 0,
             "title": classifyitem.text,
             "value": classifyitem.oid,
+            "btmTypeOid": classifyitem.attributes.btmTypeOid,
           }
           return {
             ...item,

--
Gitblit v1.9.3