|  | @@ -27,6 +27,8 @@ module.exports = options => {
 | 
	
		
			
				|  |  |              if (!id) throw '参数错误';
 | 
	
		
			
				|  |  |              this.budget = yield this.service.budget.getCurBudget(id);
 | 
	
		
			
				|  |  |              if (!this.budget) throw '项目不存在';
 | 
	
		
			
				|  |  | +            const subProj = yield this.service.subProject.getDataByCondition({ budget_id: this.budget.id });
 | 
	
		
			
				|  |  | +            if (subProj) this.budget.name = subProj.name || '';
 | 
	
		
			
				|  |  |              if (this.session.sessionUser.is_admin) {
 | 
	
		
			
				|  |  |                  this.budget.readOnly = false;
 | 
	
		
			
				|  |  |              } else {
 |