|
@@ -37,7 +37,7 @@ var gljOprObj = {
|
|
|
view: {
|
|
|
comboBox: [{row: -1, col: 12, rowCount: -1, colCount: 1}],
|
|
|
lockedCells: [{row: -1, col: 3, rowCount: -1, colCount: 1}],
|
|
|
- lockColumns:[0,4,5,7,8,9,11]
|
|
|
+ lockColumns:[0,4,5,7,8,9,10,12]
|
|
|
},
|
|
|
notEditedType: ['砼','桨','配比','机']
|
|
|
},
|
|
@@ -538,8 +538,6 @@ var gljOprObj = {
|
|
|
// $('#dropdown').hide();
|
|
|
},
|
|
|
showRationGLJData:function (node) {
|
|
|
- console.log("showRationGLJData");
|
|
|
- console.log(+new Date());
|
|
|
var gljList = [];
|
|
|
var ration_glj = projectObj.project.ration_glj;
|
|
|
node=node?node:projectObj.project.mainTree.selected;
|
|
@@ -551,23 +549,14 @@ var gljOprObj = {
|
|
|
},
|
|
|
showRationGLJSheetData:function (init) {
|
|
|
this.sheet.setRowCount(0);
|
|
|
- console.log("showRationGLJSheetData---init")
|
|
|
- console.log(+new Date())
|
|
|
+ //console.log(+new Date())
|
|
|
//this.sheet.getRange(0,-1,this.sheet.getRowCount(),-1).visible(true); //这个方法导致加载缓慢
|
|
|
this.sheetData=_.sortBy(this.sheetData,'type');
|
|
|
- console.log("addMixRatioToShow");
|
|
|
- console.log(+new Date())
|
|
|
this.sumQuantity();//计算总消耗量
|
|
|
this.addMixRatioToShow();//显示组成物信息
|
|
|
- console.log("start initRationTree");
|
|
|
- console.log(+new Date());
|
|
|
this.initRationTree(init);
|
|
|
- console.log("end initRationTree");
|
|
|
- console.log(+new Date());
|
|
|
-
|
|
|
sheetCommonObj.showData(this.sheet,this.setting,this.sheetData);
|
|
|
- console.log("end show");
|
|
|
- console.log(+new Date())
|
|
|
+
|
|
|
},
|
|
|
initRationTree:function (init) {
|
|
|
this.sheet.getRange(-1, 0, -1, 1).cellType(this.getTreeNodeCellType(this.sheetData));
|