|  | @@ -201,6 +201,14 @@
 | 
	
		
			
				|  |  |                      <textarea class="form-control" rows="8" name="opinion">同意</textarea>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | +            <% if (isfinal) { %>
 | 
	
		
			
				|  |  | +                <!--终审填写批复编号-->
 | 
	
		
			
				|  |  | +                <div class="form-group mt-3">
 | 
	
		
			
				|  |  | +                    <label>变更通知书</label>
 | 
	
		
			
				|  |  | +                    <input class="form-control" value="BGTZ-<%= change.code %>" name="notice_code" type="text">
 | 
	
		
			
				|  |  | +                    <input value="<%- ctx.session.sessionUser.accountId %>" name="notice_uid" type="hidden">
 | 
	
		
			
				|  |  | +                </div>
 | 
	
		
			
				|  |  | +            <% } %>
 | 
	
		
			
				|  |  |              <div class="modal-footer">
 | 
	
		
			
				|  |  |                  <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
 | 
	
		
			
				|  |  |                  <input type="hidden" name="_csrf_j" value="<%= ctx.csrf %>" />
 | 
	
	
		
			
				|  | @@ -260,6 +268,12 @@
 | 
	
		
			
				|  |  |      function auditCheck(i) {
 | 
	
		
			
				|  |  |          const opinion = $('textarea[name="opinion"]').eq(i).val().replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>').replace(/\s/g, ' ');
 | 
	
		
			
				|  |  |          $('textarea[name="opinion"]').eq(i).val(opinion);
 | 
	
		
			
				|  |  | +        if ($('input[name="notice_code"]').val() !== undefined) {
 | 
	
		
			
				|  |  | +            if (_.trim($('input[name="notice_code"]').val()) === '') {
 | 
	
		
			
				|  |  | +                toastr.error('请输入变更通知书');
 | 
	
		
			
				|  |  | +                return false;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  </script>
 |