|
@@ -560,19 +560,28 @@ var gljOprObj = {
|
|
|
}
|
|
|
if (node.sourceType == "ration") {
|
|
|
if(node.data.type==rationType.gljRation){
|
|
|
- this.showMixRatio(node);
|
|
|
+ if($('#linkGLJ').hasClass('active')){
|
|
|
+ this.showMixRatio(node);
|
|
|
+ }
|
|
|
}else {
|
|
|
- this.showRationGLJData(node);
|
|
|
- installationFeeObj.showRationInstallationData(node);
|
|
|
+ if($('#linkGLJ').hasClass('active')){
|
|
|
+ this.showRationGLJData(node);
|
|
|
+ }
|
|
|
+ if($('#linkAZZJF').hasClass('active')){
|
|
|
+ installationFeeObj.showRationInstallationData(node);
|
|
|
+ }
|
|
|
}
|
|
|
isShow = true;
|
|
|
}
|
|
|
if(node.sourceType == ModuleNames.ration_glj){
|
|
|
- this.showMixRatio(node);
|
|
|
+ if($('#linkGLJ').hasClass('active')) {
|
|
|
+ this.showMixRatio(node);
|
|
|
+ }
|
|
|
isShow = true;
|
|
|
}
|
|
|
-
|
|
|
- this.showQuantityDetailData(node);
|
|
|
+ if($('#linkGCLMX').hasClass('active')){
|
|
|
+ this.showQuantityDetailData(node);
|
|
|
+ }
|
|
|
} else {
|
|
|
this.selectedNodeId = null;
|
|
|
}
|
|
@@ -845,9 +854,13 @@ var gljOprObj = {
|
|
|
}
|
|
|
},
|
|
|
clearSheetData: function () {
|
|
|
- sheetCommonObj.showData(this.sheet, this.setting, []);
|
|
|
- installationFeeObj.rationInstallSheet.setRowCount(0);//清除combobox cell
|
|
|
- sheetCommonObj.showData(installationFeeObj.rationInstallSheet, installationFeeObj.rationInstallSetting, []);
|
|
|
+ if($('#linkGLJ').hasClass('active')){
|
|
|
+ sheetCommonObj.showData(this.sheet, this.setting, []);
|
|
|
+ }
|
|
|
+ if($('#linkAZZJF').hasClass('active')){
|
|
|
+ installationFeeObj.rationInstallSheet.setRowCount(0);//清除combobox cell
|
|
|
+ sheetCommonObj.showData(installationFeeObj.rationInstallSheet, installationFeeObj.rationInstallSetting, []);
|
|
|
+ }
|
|
|
// sheetCommonObj.showData(this.detailSheet,this.detailSetting,[]);
|
|
|
this.sheetData = [];
|
|
|
installationFeeObj.rationInstallData = [];
|