|
@@ -712,6 +712,8 @@ module.exports = app => {
|
|
|
id: 'ledger_id', pid: 'ledger_pid', order: 'order', full_path: 'full_path', level: 'level', rootId: -1,
|
|
|
calcFields: [ 'total_price' ],
|
|
|
calc(node, helper, decimal) {
|
|
|
+ node.dgn_qty1 = helper.round(node.dgn_qty1, 3);
|
|
|
+ node.dgn_qty2 = helper.round(node.dgn_qty2, 3);
|
|
|
helper.checkDgnQtyPrecision(node);
|
|
|
const precision = helper.findPrecision(tender.info.precision, node.unit);
|
|
|
node.quantity = helper.round(node.quantity, precision.value);
|