| 
					
				 | 
			
			
				@@ -77,7 +77,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <h5 class="card-title">计量期上报</h5> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <div class="pull-right d-inline-block form-group form-check ml-auto"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <div class="custom-control custom-switch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <input type="checkbox" class="custom-control-input" id="openStageStart" <% if(ctx.session.sessionProject.page_show.openStageStart) { %>checked<% } %> onchange="updateSetting();"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <input type="checkbox" class="custom-control-input" id="openStageStart" <% if(ctx.subProject.page_show.openStageStart) { %>checked<% } %> onchange="updateSetting();"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <label class="custom-control-label" for="openStageStart"></label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,7 +89,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <span class="input-group-text">开始日期:</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <span class="input-group-text" style="width: 90px;padding-left: 12px;">每月</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <select class="form-control form-control-sm" id="start_day" style="width: 90px!important;flex: none;" <% if (ctx.session.sessionProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <select class="form-control form-control-sm" id="start_day" style="width: 90px!important;flex: none;" <% if (ctx.subProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <option value="0">请选择日</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <% for (let i = 1; i <= 31;i++) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     <option value="<%- i %>" <% if (funSet.stage_start.start_day === i) {%>selected<% } %>><%- i %></option> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -101,13 +101,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             <div class="input-group-prepend"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <span class="input-group-text">截止日期:</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <select class="form-control form-control-sm" id="end_month" style="width: 90px!important;flex: none;" <% if (ctx.session.sessionProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <select class="form-control form-control-sm" id="end_month" style="width: 90px!important;flex: none;" <% if (ctx.subProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <option value="0">请选择月</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <% for (const i of endMonth) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <option value="<%- i.val %>" <% if (funSet.stage_start.end_month === i.val) {%>selected<% } %> ><%- i.name %></option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <% } %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            <select class="form-control form-control-sm" id="end_day" style="width: 90px!important;flex: none;" <% if (ctx.session.sessionProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            <select class="form-control form-control-sm" id="end_day" style="width: 90px!important;flex: none;" <% if (ctx.subProject.page_show.openStageStart) { %>disabled<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <option value="0">请选择日</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                 <% for (let i = 1; i <= 31;i++) { %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     <option value="<%- i %>" <% if (funSet.stage_start.end_day === i) {%>selected<% } %>><%- i %></option> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -193,7 +193,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            <div class="col-6" <% if (!ctx.session.sessionProject.page_show.openMaterial) { %>style="display: none;"<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <div class="col-6" <% if (!ctx.subProject.page_show.openMaterial) { %>style="display: none;"<% } %>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 <div class="card mb-3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <div class="card-body"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         <h5 class="card-title">材料调差</h5> 
			 |