Selaa lähdekoodia

台账模式增加空白清单和签约清单显示

ellisran 5 kuukautta sitten
vanhempi
commit
d89516f249
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      app/public/js/change_information.js

+ 1 - 2
app/public/js/change_information.js

@@ -5445,7 +5445,6 @@ $(document).ready(() => {
             $('.judge-hide').attr("style","display:none !important");
             $('.judge-show').show();
             const {changeLedgers, changePoss} = makeLedgerAndPosData();
-            console.log(changeLedgers);
             ledgerTree.loadDatas(changeLedgers);
             pos.loadDatas(changePoss);
             treeCalc.calculateAll(ledgerTree);
@@ -5494,7 +5493,7 @@ $(document).ready(() => {
         }
         // 找出空白清单和签约清单
         const otherChangeList = _.filter(changeList, function (item) {
-            return item.gcl_id === '';
+            return item.gcl_id === '' || item.gcl_id === null || item.gcl_id == 0;
         });
         if (otherChangeList.length > 0) {
             // 判断changeLedgers中是否已经存在第一部分