|
@@ -117,7 +117,7 @@ class revisePriceCalc {
|
|
|
node.cur_qc_tp = helper.mul(node.cur_qc_qty, node.unit_price, decimal.tp);
|
|
|
result.ibData.push({
|
|
|
tid: stage.tid, sid: stage.id, said,
|
|
|
- lid: node.lid, pid: node.id,
|
|
|
+ lid: node.id,
|
|
|
times: stage.times, order: auditOrder,
|
|
|
contract_qty: node.cur_contract_qty, contract_tp: node.cur_contract_tp, qc_qty: node.cur_qc_qty, qc_tp: node.cur_qc_tp,
|
|
|
postil: node.postil,
|
|
@@ -220,7 +220,7 @@ class revisePriceCalc {
|
|
|
} else {
|
|
|
result.ibData.push({
|
|
|
tid: stage.tid, sid: stage.id, said,
|
|
|
- lid: node.lid, pid: node.id, times: stage.times, order: 0,
|
|
|
+ lid: node.id, times: stage.times, order: 0,
|
|
|
contract_qty: node.cur_contract_qty, contract_tp: node.cur_contract_tp, qc_qty: node.cur_qc_qty, qc_tp: node.cur_qc_tp,
|
|
|
postil: node.cur_postil,
|
|
|
});
|
|
@@ -228,7 +228,7 @@ class revisePriceCalc {
|
|
|
}
|
|
|
if (node.pre_id) {
|
|
|
result.bpcData.push({
|
|
|
- tid: stage.tid, sid: stage.id, sorder: stage.order, lid: node.lid, pid: node.id, org_price: node.pre_unit_price,
|
|
|
+ tid: stage.tid, sid: stage.id, sorder: stage.order, lid: node.id, org_price: node.pre_unit_price,
|
|
|
contract_pc_tp: node.contract_pc_tp, qc_pc_tp: node.qc_pc_tp, pc_tp: node.pc_tp,
|
|
|
});
|
|
|
}
|