|
@@ -978,7 +978,7 @@ class AnalysisStageExcelTree extends AnalysisExcelTree {
|
|
|
if (node.contract_qty && node.unit_price) {
|
|
|
node.contract_tp = this.ctx.helper.mul(node.contract_qty, node.unit_price, this.decimal.tp);
|
|
|
} else {
|
|
|
- node.contract_tp = null;
|
|
|
+ node.contract_tp = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.contract_tp]), this.decimal.tp);
|
|
|
}
|
|
|
node.postil = this.ctx.helper.replaceReturn(row[this.colsDef.postil]);
|
|
|
if (this.filter.filterZeroGcl && !node.contract_qty && !node.contract_tp) return true;
|