biz9-logic 4.8.62 → 4.8.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biz9_config +1 -1
- package/index.js +7 -2
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -112,10 +112,14 @@ class Template_Logic {
|
|
|
112
112
|
//template.items = Sub_Item_Logic.get_test_list(template,template,option);
|
|
113
113
|
template.items = [];
|
|
114
114
|
for(let a = 0; a<title_list.length;a++){
|
|
115
|
-
|
|
115
|
+
let item = Sub_Item_Logic.get_test(title_list[a],template,template,option);
|
|
116
|
+
item.items = Sub_Item_Logic.get_test_list(item,template,option);
|
|
117
|
+
item = Sub_Item_Logic.bind_parent_child_list(item,item.items);
|
|
118
|
+
template.items.push(item);
|
|
119
|
+
//template.items.push(Sub_Item_Logic.get_test(title_list[a],template,template,option));
|
|
116
120
|
}
|
|
117
121
|
if(option.get_item_bind){
|
|
118
|
-
|
|
122
|
+
template = Sub_Item_Logic.bind_parent_child_list(template,template.items);
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
return template;
|
|
@@ -513,6 +517,7 @@ class Field_Logic {
|
|
|
513
517
|
option.get_value = option.get_value ? true : false;
|
|
514
518
|
option.get_item = option.get_item ? true : false;
|
|
515
519
|
option.get_blank = option.get_blank ? true : false;
|
|
520
|
+
option.get_item_bind = option.get_item_bind ? true : true;
|
|
516
521
|
option.value_count = option.value_count ? option.value_count : 9;
|
|
517
522
|
option.section_count = option.section_count ? option.section_count : 9;
|
|
518
523
|
option.item_count = option.item_count ? option.item_count : 9;
|