|  | @@ -24,6 +24,14 @@ $(function () {
 | 
	
		
			
				|  |  |          fullPath: 'full_path',
 | 
	
		
			
				|  |  |          calcFun: function (node) {
 | 
	
		
			
				|  |  |              node.dgn_price = ZhCalc.round(ZhCalc.div(node.total_price, node.dgn_qty1), 2);
 | 
	
		
			
				|  |  | +            if (node.children && node.children.length > 0) {
 | 
	
		
			
				|  |  | +                for (const sm of scheduleMonth) {
 | 
	
		
			
				|  |  | +                    if (sm.stage_gcl_used === 1) {
 | 
	
		
			
				|  |  | +                        node[sm.yearmonth + '_plan_gcl'] = ZhCalc.round(ZhCalc.div(node[sm.yearmonth + '_plan_tp'], node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                        node[sm.yearmonth + '_sj_gcl'] = ZhCalc.round(ZhCalc.div(node[sm.yearmonth + '_sj_tp'], node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          //treeCacheKey: 'ledger_bills_fold' + '_' + getTenderId(),
 | 
	
		
			
				|  |  |          // markFoldKey: 'bills-fold',
 | 
	
	
		
			
				|  | @@ -385,6 +393,15 @@ $(function () {
 | 
	
		
			
				|  |  |          fullPath: 'full_path',
 | 
	
		
			
				|  |  |          calcFun: function (node) {
 | 
	
		
			
				|  |  |              node.dgn_price = ZhCalc.round(ZhCalc.div(node.total_price, node.dgn_qty1), 2);
 | 
	
		
			
				|  |  | +            if (node.children && node.children.length > 0) {
 | 
	
		
			
				|  |  | +                node.end_plan_gcl = ZhCalc.round(ZhCalc.div(node.end_plan_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.year_plan_gcl = ZhCalc.round(ZhCalc.div(node.year_plan_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.plan_gcl = ZhCalc.round(ZhCalc.div(node.plan_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.next_plan_gcl = ZhCalc.round(ZhCalc.div(node.next_plan_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.end_sj_gcl = ZhCalc.round(ZhCalc.div(node.end_sj_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.year_sj_gcl = ZhCalc.round(ZhCalc.div(node.year_sj_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +                node.sj_gcl = ZhCalc.round(ZhCalc.div(node.sj_tp, node.dgn_price), 3);
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          calcFields: ['plan_tp', 'next_plan_tp', 'end_plan_tp', 'year_plan_tp', 'total_price', 'end_sj_tp', 'year_sj_tp', 'sj_tp'],
 | 
	
		
			
				|  |  |      };
 | 
	
	
		
			
				|  | @@ -607,6 +624,7 @@ $(function () {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          const _self = $(this);
 | 
	
		
			
				|  |  |          postData(window.location.pathname + '/save', {type: 'del_stage', postData: selectedMonth}, function (result) {
 | 
	
		
			
				|  |  | +            localStorage.removeItem('tender_' + getTenderId() + '_schedule_tp_sjs');
 | 
	
		
			
				|  |  |              _self.addClass('disabled').attr('disabled', true);
 | 
	
		
			
				|  |  |              toastr.success('删除成功');
 | 
	
		
			
				|  |  |              setTimeout(function () {
 |