@@ -320,6 +320,9 @@ $(function () {
level: 'level',
rootId: -1,
fullPath: 'full_path',
+ calcFun: function (node) {
+ node.dgn_price = ZhCalc.round(ZhCalc.div(node.total_price, node.dgn_qty1), 2);
+ },
calcFields: ['plan_tp', 'next_plan_tp', 'end_plan_tp', 'year_plan_tp', 'total_price', 'end_gather_tp', 'year_gather_tp', 'gather_tp'],
};