浏览代码

截至日期与开始日期一致

TonyKang 4 年之前
父节点
当前提交
1a4c8668d5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/reports/util/rpt_calculation_data_util.js

+ 3 - 0
app/reports/util/rpt_calculation_data_util.js

@@ -945,6 +945,9 @@ function ext_getSplitProperty(dataKey, propKey, splitChar, index, dftValue) {
             const splitArr = rst[idx].split(splitChar);
             if (splitArr.length > index) {
                 rst[idx] = splitArr[index];
+                if (rst[idx].trim() === '' && index === 1) {
+                    rst[idx] = splitArr[0]; // 把业务带进来了 !_!
+                }
             } else {
                 rst[idx] = dftValue;
             }