MaiXinRong hace 6 años
padre
commit
537fcc77bb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/service/stage_pos_final.js

+ 1 - 1
app/service/stage_pos_final.js

@@ -73,7 +73,7 @@ module.exports = app => {
                     if (!p) continue;
                     c.contract_qty = this.ctx.helper.add(c.contract_qty, p.contract_qty);
                     c.qc_qty = this.ctx.helper.add(c.qc_qty, p.qc_qty);
-                    pre.splice(pre.indexOf(p), 1);
+                    //pre.splice(pre.indexOf(p), 1);
                 }
                 await transaction.insert(this.tableName, cur);
                 //await transaction.insert(this.tableName, cur.concat(pre));