|
@@ -1313,6 +1313,18 @@ let zTreeOprObj = {
|
|
|
} else {
|
|
|
$("#element_existLevel_select")[0].selectedIndex = 0;
|
|
|
}
|
|
|
+ if (me.currentNode.flags.hasOwnProperty("summaryRule")) {
|
|
|
+ let summaryRule = me.currentNode.flags["summaryRule"];
|
|
|
+ if (summaryRule === "true") {
|
|
|
+ $("#element_summaryRule_select")[0].selectedIndex = 1;
|
|
|
+ } else if (summaryRule === "false") {
|
|
|
+ $("#element_summaryRule_select")[0].selectedIndex = 2;
|
|
|
+ } else {
|
|
|
+ $("#element_summaryRule_select")[0].selectedIndex = 0;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ $("#element_summaryRule_select")[0].selectedIndex = 0;
|
|
|
+ }
|
|
|
if (me.currentNode.flags.hasOwnProperty("constructSumType")) {
|
|
|
let val = me.currentNode.flags["constructSumType"];
|
|
|
if (val === "constructSum") {
|