| 
					
				 | 
			
			
				@@ -150,10 +150,22 @@ var TREE_SHEET_HELPER = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(colSetting.data.field=="quantity"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    let tag = node.data.quantityEXP?node.data.quantityEXP:''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    sheet.setTag(iRow, iCol,tag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(sheet.name()=="mainSheet"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if(colSetting.data.field=="quantity"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let tag = node.data.quantityEXP?node.data.quantityEXP:''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        sheet.setTag(iRow, iCol,tag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if(colSetting.data.field=="code"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let tag = node.data.adjustState?node.data.adjustState:''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        sheet.setTag(iRow, iCol,tag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if(colSetting.data.field=="name"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let tag = node.data.itemCharacterText?node.data.itemCharacterText:''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        sheet.setTag(iRow, iCol,tag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (colSetting.data.getText && Object.prototype.toString.apply(colSetting.data.getText) === "[object Function]") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     cell.value(colSetting.data.getText(node)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -352,6 +364,22 @@ var TREE_SHEET_HELPER = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 hitinfo.sheet.repaint(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TreeNodeCellType.prototype.processMouseEnter = function(hitinfo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let text = hitinfo.sheet.getText(hitinfo.row, hitinfo.col); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let tag = hitinfo.sheet.getTag(hitinfo.row, hitinfo.col); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(tag){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                TREE_SHEET_HELPER.showTipsDiv(tag,setting,hitinfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TreeNodeCellType.prototype.processMouseLeave = function (hitinfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TREE_SHEET_HELPER.tipDiv = 'hide'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (me._toolTipElement) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $(me._toolTipElement).hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                me._toolTipElement = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TREE_SHEET_HELPER.tipDivCheck();//延时检查:当tips正在show的时候,就调用了hide方法,会导致tips一直存在,所以设置一个超时处理 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let TipCellType = function () {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         TipCellType.prototype = new GC.Spread.Sheets.CellTypes.Text(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -380,52 +408,27 @@ var TREE_SHEET_HELPER = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(hitinfo.sheet.getCell(hitinfo.row,hitinfo.col).wordWrap()==true){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(dataField === 'name' || dataField === 'itemCharacterText' || dataField === 'jobContentText' || dataField === 'adjustState'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(dataField === 'itemCharacterText' || dataField === 'jobContentText' || dataField === 'adjustState'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if((hitinfo.sheet.getParent() === projectObj.mainSpread||hitinfo.sheet.getParent() === tender_obj.tenderSpread) && textLength <= cellWidth) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(dataField=="quantity"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }else if(tag !== undefined && tag) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (setting.pos && text && text !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (!this._toolTipElement) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    let div = $('#autoTip')[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (!div) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        div = document.createElement("div"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        $(div).css("position", "absolute") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .css("border", "1px #C0C0C0 solid") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .css("box-shadow", "1px 2px 5px rgba(0,0,0,0.4)") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .css("font", "9pt Arial") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .css("background", "white") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .css("padding", 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            .attr("id", 'autoTip'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        $(div).hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        document.body.insertBefore(div, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this._toolTipElement = div; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    //实时读取位置信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if(sheet && sheet.getParent().qo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        setting.pos = SheetDataHelper.getObjPos(sheet.getParent().qo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    $(this._toolTipElement).text(text); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    //清单指引、清单库做特殊处理 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if($(sheet.getParent().qo).attr('id') === 'stdBillsSpread' || $(sheet.getParent().qo).attr('id') === 'billsGuidance_bills'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        $(this._toolTipElement).css('top', '').css('left', '').css('width', ''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        let marginLeftMouse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if($(this._toolTipElement).width() < hitinfo.x){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            marginLeftMouse = hitinfo.x - $(this._toolTipElement).width(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       $(this._toolTipElement).css("top", setting.pos.y + hitinfo.y + 15).css("left", marginLeftMouse ? setting.pos.x + marginLeftMouse : setting.pos.x); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        $(this._toolTipElement).css("top", setting.pos.y + hitinfo.y + 15).css("left", setting.pos.x + hitinfo.x + 15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(hitinfo.sheet.name()=="mainSheet"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(dataField=="quantity"){//显示工程量明细 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }if(dataField=="name"){//项目特征及内容隐藏时,显示特征及内容 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if(projectObj.ifItemCharHiden(setting)&&tag!=''){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }else if(textLength <= cellWidth){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    $(this._toolTipElement).show("fast"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    TREE_SHEET_HELPER.tipDiv = 'show';//做个标记 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else if(tag !== undefined && tag) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    text = tag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TREE_SHEET_HELPER.showTipsDiv(text,setting,hitinfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         TipCellType.prototype.processMouseLeave = function (hitinfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let me = this; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -460,6 +463,47 @@ var TREE_SHEET_HELPER = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             TREE_SHEET_HELPER.refreshNodesVisible(tree.roots, sheet, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    showTipsDiv:function (text,setting,hitinfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (setting.pos && text && text !== '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!this._toolTipElement) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let div = $('#autoTip')[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (!div) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    div = document.createElement("div"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(div).css("position", "absolute") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .css("border", "1px #C0C0C0 solid") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .css("box-shadow", "1px 2px 5px rgba(0,0,0,0.4)") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .css("font", "9pt Arial") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .css("background", "white") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .css("padding", 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .attr("id", 'autoTip'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(div).hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    document.body.insertBefore(div, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this._toolTipElement = div; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //实时读取位置信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(hitinfo.sheet && hitinfo.sheet.getParent().qo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    setting.pos = SheetDataHelper.getObjPos(hitinfo.sheet.getParent().qo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $(this._toolTipElement).text(text); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //清单指引、清单库做特殊处理 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if($(hitinfo.sheet.getParent().qo).attr('id') === 'stdBillsSpread' || $(hitinfo.sheet.getParent().qo).attr('id') === 'billsGuidance_bills'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(this._toolTipElement).css('top', '').css('left', '').css('width', ''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    let marginLeftMouse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if($(this._toolTipElement).width() < hitinfo.x){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        marginLeftMouse = hitinfo.x - $(this._toolTipElement).width(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(this._toolTipElement).css("top", setting.pos.y + hitinfo.y + 15).css("left", marginLeftMouse ? setting.pos.x + marginLeftMouse : setting.pos.x); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(this._toolTipElement).css("top", setting.pos.y + hitinfo.y + 15).css("left", setting.pos.x + hitinfo.x + 15); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $(this._toolTipElement).show("fast"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                TREE_SHEET_HELPER.tipDiv = 'show';//做个标记 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     tipDivCheck(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         setTimeout(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let tips = $('#autoTip'); 
			 |