|
@@ -261,20 +261,25 @@ let MainTreeCol = {
|
|
|
if(MainTreeCol.readOnly.glj(node)|| (node.sourceType === projectObj.project.Ration.getSourceType()&&node.data.type===rationType.gljRation)){//是主材或者设备、或者是工料机类型的定额
|
|
|
return true;
|
|
|
}
|
|
|
- if(Bills.isTopThreeNode(node)){//是大项1、2、3项的编号设置为只读
|
|
|
+
|
|
|
+ //2020-11-30 为了多行复制时,遇到只读的大项费,spreadjs 粘贴事件能触发,放开这里的只读限制
|
|
|
+ /* if(Bills.isTopThreeNode(node)){//是大项1、2、3项的编号设置为只读
|
|
|
return true;
|
|
|
- }
|
|
|
+ } */
|
|
|
return false;
|
|
|
},
|
|
|
forName:function (node) {
|
|
|
// 属于标题清单,只读
|
|
|
+ /* 2020-11-30 为了多行复制时,遇到只读的大项费,spreadjs 粘贴事件能触发,放开这里的只读限制
|
|
|
if (node.sourceType == ModuleNames.bills &&
|
|
|
calcTools.isTitleBills(node)) {
|
|
|
return true;
|
|
|
}
|
|
|
- if(projectObj.project.Bills.isTopThreeNode(node)){//是大项1、2、3项的编号设置为只读
|
|
|
+ */
|
|
|
+ /* 2020-11-30 为了多行复制时,遇到只读的大项费,spreadjs 粘贴事件能触发,放开这里的只读限制
|
|
|
+ if(projectObj.project.Bills.isTopThreeNode(node)){//是大项1、2、3项的编号设置为只读
|
|
|
return true;
|
|
|
- }
|
|
|
+ } */
|
|
|
return false;
|
|
|
},
|
|
|
forUnit:function (node) {
|