|
|
@@ -1032,7 +1032,7 @@ let zTreeOprObj = {
|
|
|
if (!me.currentNode.hasOwnProperty("flags")) {
|
|
|
me.currentNode.flags = {};
|
|
|
}
|
|
|
- if (flagProp === "outputDesignData") {
|
|
|
+ if (flagDom.type === "checkbox") {
|
|
|
me.currentNode.flags[flagProp] = flagDom.checked;
|
|
|
} else {
|
|
|
me.currentNode.flags[flagProp] =
|
|
|
@@ -1209,6 +1209,7 @@ let zTreeOprObj = {
|
|
|
// 该属性是根据项目汇总级别显示的
|
|
|
$("#outputDesignDataBar").hide();
|
|
|
$("#outputDesignData").attr("checked", false);
|
|
|
+ $("#recalculateSummaryAmount").prop("checked", false);
|
|
|
// 初始化dom
|
|
|
params.rptTplId = me.currentNode.refId;
|
|
|
CommonAjax.postEx(
|
|
|
@@ -1343,6 +1344,11 @@ let zTreeOprObj = {
|
|
|
$("#element_sumLv_flags")[0].selectedIndex = 0;
|
|
|
}
|
|
|
|
|
|
+ $("#recalculateSummaryAmount").prop(
|
|
|
+ "checked",
|
|
|
+ !!me.currentNode.flags.recalculateSummaryAmount,
|
|
|
+ );
|
|
|
+
|
|
|
if (me.currentNode.flags.hasOwnProperty("contrastType")) {
|
|
|
let contrastType = me.currentNode.flags["contrastType"];
|
|
|
if (contrastType === "chapter")
|