Browse Source

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

laiguoran 3 years atrás
parent
commit
24cd81de45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/public/js/shares/cs_tools.js

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

@@ -855,6 +855,7 @@ const showSelectTab = function(select, spread, afterShow) {
         const afterDeleteBills = function (nodes) {
         const afterDeleteBills = function (nodes) {
             for (const node of nodes) {
             for (const node of nodes) {
                 const bi = billsIndexes[node.id];
                 const bi = billsIndexes[node.id];
+                if (!bi) continue;
                 delete billsIndexes[node.id];
                 delete billsIndexes[node.id];
                 for (const biTag of bi) {
                 for (const biTag of bi) {
                     const delTag = billsTags.find(x => {return x.id === biTag.id});
                     const delTag = billsTags.find(x => {return x.id === biTag.id});