|
@@ -403,7 +403,7 @@ const stageIm = (function () {
|
|
|
if (node.gather_tp) {
|
|
|
const peg = getPegNode(node);
|
|
|
const im = {
|
|
|
- lid: node.id, code: node.code,
|
|
|
+ lid: node.id, pid: '', code: node.code,
|
|
|
jl: node.gather_tp, contract_jl: node.contract_tp, qc_jl: node.qc_tp,
|
|
|
im_code: getNewImCode(),
|
|
|
peg: peg ? getPegStr(peg.name) : '', drawing_code: getDrawingCode(node),
|
|
@@ -506,7 +506,7 @@ const stageIm = (function () {
|
|
|
if (!im) {
|
|
|
const peg = getPegNode(node);
|
|
|
im = {
|
|
|
- lid: node.id, code: p.b_code, name: p.name, unit: p.unit, unit_price: p.unit_price,
|
|
|
+ lid: node.id, pid: '', code: p.b_code, name: p.name, unit: p.unit, unit_price: p.unit_price,
|
|
|
jl: 0, contract_jl: 0, qc_jl: 0,
|
|
|
im_code: getNewImCode(),
|
|
|
peg: peg ? getPegStr(peg.name) : '', drawing_code: getDrawingCode(node),
|