@@ -110,6 +110,7 @@ module.exports = app => {
}
for (const p of pre) {
+ if (p.id !== undefined) delete p.id;
p.sid = stage.id;
p.sorder = stage.order;
p.used = p.used || !this.ctx.helper.checkZero(p.contract_qty) || !this.ctx.helper.checkZero(p.qc_qty);
@@ -91,6 +91,7 @@ module.exports = app => {