MaiXinRong 6 years ago
parent
commit
537fcc77bb
1 changed files with 1 additions and 1 deletions
  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));