biz9-logic 4.8.236 → 4.8.240
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 +4 -14
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -228,25 +228,13 @@ class Page_Logic {
|
|
|
228
228
|
return 'section_'+section_id + '_value_'+value_id + "_" + type_str + "_value";
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
static
|
|
231
|
+
static get_section_property_type_list_value = (section_id,value_id,row_id) =>{
|
|
232
232
|
//page['section_1_value_1_type'] -- / list
|
|
233
|
-
//page['section_1_value_1_list_field_1']
|
|
234
233
|
//page['section_1_value_1_list_value_1']
|
|
235
|
-
//page['section_1_value_1_list_field_2']
|
|
236
234
|
//page['section_1_value_1_list_value_2']
|
|
237
|
-
//page['section_1_value_1_list_field_3']
|
|
238
235
|
//page['section_1_value_1_list_value_3']
|
|
239
236
|
//section_1_value_2_list_field_value_3
|
|
240
|
-
|
|
241
|
-
switch(type){
|
|
242
|
-
case 'field':
|
|
243
|
-
type_str = 'field';
|
|
244
|
-
break;
|
|
245
|
-
case 'value':
|
|
246
|
-
type_str = 'value';
|
|
247
|
-
break;
|
|
248
|
-
};
|
|
249
|
-
return 'section_'+section_id + '_value_'+value_id + "_list_" + type_str +"_" +row_id;
|
|
237
|
+
return 'section_'+section_id + '_value_'+value_id + "_list_value_" +row_id;
|
|
250
238
|
}
|
|
251
239
|
}
|
|
252
240
|
class Order_Logic {
|
|
@@ -817,6 +805,7 @@ class FieldType {
|
|
|
817
805
|
static STAT_ORDER_ADD_ID='5';
|
|
818
806
|
static STAT_REVIEW_ADD_ID='6';
|
|
819
807
|
|
|
808
|
+
/*
|
|
820
809
|
static KEY_ADMIN="key_admin";
|
|
821
810
|
static KEY_APP_ID="key_app_id";
|
|
822
811
|
static KEY_BUSINESS="key_business";
|
|
@@ -824,6 +813,7 @@ class FieldType {
|
|
|
824
813
|
static KEY_CART="key_cart";
|
|
825
814
|
static KEY_ORDER="key_order";
|
|
826
815
|
static KEY_USER="key_user";
|
|
816
|
+
*/
|
|
827
817
|
|
|
828
818
|
static ORDER_NUMBER="OR-";
|
|
829
819
|
static CART_NUMBER="CA-";
|