|
|
@@ -487,7 +487,7 @@ let zTreeOprObj = {
|
|
|
$("#divReqCommonSummaryMultiExcel")[0].style.display = "none";
|
|
|
$("#divReqCommonSummaryPDF")[0].style.display = "none";
|
|
|
$("#divReqCustomSelect")[0].style.display = "none";
|
|
|
- $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
+ if ($('#summaryTypeOptions')[0]) $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
zTreeOprObj.summaryBillsLv = [];
|
|
|
me.requestPrjFolderCommon();
|
|
|
},
|
|
|
@@ -499,7 +499,7 @@ let zTreeOprObj = {
|
|
|
$("#divReqCommonSummaryMultiExcel")[0].style.display = "none";
|
|
|
$("#divReqCommonSummaryPDF")[0].style.display = "none";
|
|
|
$("#divReqCustomSelect")[0].style.display = "none";
|
|
|
- $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
+ if ($('#summaryTypeOptions')[0]) $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
zTreeOprObj.summaryBillsLv = [];
|
|
|
me.requestPrjFolderCommon();
|
|
|
},
|
|
|
@@ -511,7 +511,7 @@ let zTreeOprObj = {
|
|
|
$("#divReqCommonSummaryMultiExcel")[0].style.display = "none";
|
|
|
$("#divReqCommonSummaryPDF")[0].style.display = "none";
|
|
|
$("#divReqCustomSelect")[0].style.display = "";
|
|
|
- $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
+ if ($('#summaryTypeOptions')[0]) $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
zTreeOprObj.summaryBillsLv = [];
|
|
|
me.requestPrjFolderCommon();
|
|
|
},
|
|
|
@@ -1378,7 +1378,7 @@ function activeBranchAfterPrjSelection(idStr) {
|
|
|
$("#divReqCommonSummaryPDF")[0].style.display = "none";
|
|
|
$("#divReqCustomSelect")[0].style.display = "none";
|
|
|
$(`#${idStr}`)[0].style.display = "";
|
|
|
- $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
+ if ($('#summaryTypeOptions')[0]) $('#summaryTypeOptions')[0].selectedIndex = 4;
|
|
|
zTreeOprObj.summaryBillsLv = [];
|
|
|
}
|
|
|
|