瀏覽代碼

调用全部变更令相关

MaiXinRong 2 年之前
父節點
當前提交
d65e7e654a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/stage_change.js

+ 1 - 1
app/service/stage_change.js

@@ -69,7 +69,7 @@ class autoUseChange {
                     is_tp: !!node.is_tp,
                 };
                 if (this.helper._.isMatch(cb, b)) {
-                    posData = this.pos.getLedgerPos(node.id) || [];
+                    const posData = this.pos.getLedgerPos(node.id) || [];
                     return { bills: node, lid: node.id, pid: posData.length > 0 ? posData[0].id : '-1' };
                 }
             }