瀏覽代碼

台账分解,清单汇总,bug

MaiXinRong 2 年之前
父節點
當前提交
96c33c0b99
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/public/js/shares/cs_gcl_gather.js

+ 1 - 0
app/public/js/shares/cs_gcl_gather.js

@@ -75,6 +75,7 @@
 
         const gather = function (node) {
             $(`#${setting.id}-info`).html(`${node.code || ''}${node.b_code || ''} ${node.name || ''} - ${moment(new Date()).format('YYYY-MM-DD HH:mm:ss')}`);
+            result.length = 0;
             recursiveGather([node]);
             result.sort((a, b) => {
                 return checkUtils.compareCode(a.b_code, b.b_code);