Browse Source

台账分解,清单汇总,bug

MaiXinRong 2 years ago
parent
commit
96c33c0b99
1 changed files with 1 additions and 0 deletions
  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);