瀏覽代碼

分组bug

TonyKang 5 年之前
父節點
當前提交
b080adcb13
共有 2 個文件被更改,包括 549 次插入539 次删除
  1. 548 538
      app/const/report_defined_properties.js
  2. 1 1
      app/reports/rpt_component/jpc_flow_tab.js

File diff suppressed because it is too large
+ 548 - 538
app/const/report_defined_properties.js


+ 1 - 1
app/reports/rpt_component/jpc_flow_tab.js

@@ -309,7 +309,7 @@ JpcFlowTabSrv.prototype.createNew = function() {
                 }
                 for (let di = 0; di < segDataIdx.length; di++) {
                     let hasDiff = false;
-                    if (di > 1) {
+                    if (di >= 1) {
                         for (let i = 0; i < me.group_check_fields.length; i++) {
                             const grp_field = JE.F(me.group_check_fields[i][JV.PROP_FIELD_ID], $CURRENT_RPT);
                             if (grp_field) {