|
@@ -70,9 +70,9 @@ class loadStageExcelTree {
|
|
|
|
|
|
contract_qty = this.ctx.helper.add(contract_qty, p.contract_qty);
|
|
|
let ssp = sourceStagePos.find(x => { return x.pid === sp.id; });
|
|
|
- sourceStagePos.splice(sourceStagePos.indexOf(ssp), 1);
|
|
|
if (ssp) {
|
|
|
this.updatePos.push({ id: ssp.id, contract_qty: p.contract_qty, postil: p.postil || ssp.postil || '' });
|
|
|
+ sourceStagePos.splice(sourceStagePos.indexOf(ssp), 1);
|
|
|
} else {
|
|
|
this.insertPos.push({
|
|
|
tid: this.default.tid, sid: this.default.sid, said: this.default.said, times: 1, order: 0,
|