소스 검색

自动调用变更令bug

MaiXinRong 2 년 전
부모
커밋
4a7c1e092c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/stage_change.js

+ 1 - 1
app/service/stage_change.js

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