Browse Source

修复变更期打开bug

ellisran 1 year ago
parent
commit
6bda2e16ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/change_settle_list.js

+ 1 - 1
app/service/change_settle_list.js

@@ -22,7 +22,7 @@ module.exports = app => {
 
         async isSettle(cid) {
             const result = await this.getDataByCondition({ cid });
-            return result.length > 0;
+            return result && result.length > 0;
         }
 
         async updateChangeList(cid, settleBills, settlePos, list) {