Explorar o código

中间计量,部位明细数据

MaiXinRong %!s(int64=6) %!d(string=hai) anos
pai
achega
8700dc88c2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/public/js/stage_im.js

+ 1 - 0
app/public/js/stage_im.js

@@ -173,6 +173,7 @@ const stageIm = (function () {
             lx.pos = [];
         }
         const posRange = gsPos.getLedgerPos(node.id);
+        if (!posRange) { return }
         for (const p of posRange) {
             if (!p.gather_qty || checkZero(p.gather_qty)) { continue; }
             let lp = _.find(lx.pos, {name: p.name});