Xiaopeng Zhang 4 月之前
父節點
當前提交
6c67ab16f7
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      src/App2.js
  2. 1 1
      src/Djcs3.js

+ 2 - 0
src/App2.js

@@ -539,6 +539,8 @@ function a11yProps(index) {
       
        if (bt == 'Default') {
         bt = outlineLabelRef.current;
+       } else if (bt == 'Djcs') {
+        bt = 0;//bt = outlineLabelRef.current;
        }
        setExpandedQd(false);
        setExpandedDe(true);//1 jianzhu 2 zhuangshi 3 anzhuang 4 shizheng 5 yuanlin 6 guidao 7 xiushantujian 8 xiushananzhuang 9 xiushanjiagu  

+ 1 - 1
src/Djcs3.js

@@ -179,7 +179,7 @@ export default function Djcs3({name, bh, rgde, jxde, clde, beizhu, beizhuFK, cli
                selectedRowKeysTableParent.current = row_parent['data']['key'];
 
 
-               clickCallback('', row_parent['data']['清单编码'], row._row['data']['清单编码'], row._row['data']['名称']);
+               clickCallback('Djcs', row_parent['data']['清单编码'], row._row['data']['清单编码'], row._row['data']['名称']);
                Service.generateDingercj(name, bh,bt,row_parent['data']['清单编码'], row._row['data']['清单编码'], row._row['data']['单位'], row._row['data']['key']).then(x=>{
                               let y =[];
                               for (let i = 1; i < x[0].length; i++) {