|
@@ -544,8 +544,8 @@ const stageIm = (function () {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- imDefault.contract_jl = ZhCalc.add(imDefault.contract_jl, p.contract_qty);
|
|
|
- imDefault.qc_jl = ZhCalc.add(imDefault.qc_jl, p.qc_qty);
|
|
|
+ imDefault.contract_jl = ZhCalc.add(imDefault.contract_jl, p.contract_tp);
|
|
|
+ imDefault.qc_jl = ZhCalc.add(imDefault.qc_jl, p.qc_tp);
|
|
|
|
|
|
addBwBillsGclBills(imDefault, {
|
|
|
b_code: p.b_code, name: p.name, unit: p.unit, unit_price: p.unit_price,
|
|
@@ -812,6 +812,7 @@ const stageIm = (function () {
|
|
|
_.assignInWith(detail, d, function (oV, sV, key) {
|
|
|
return imFields.indexOf(key) > -1 && !_.isUndefined(sV) && !_.isNull(sV) ? sV : oV;
|
|
|
});
|
|
|
+ detail.custom_define = d.custom_define;
|
|
|
} else {
|
|
|
details.push(d);
|
|
|
}
|