소스 검색

筛选立项书

laiguoran 3 년 전
부모
커밋
e2c58e6948
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/view/change/apply_modal.ejs

+ 2 - 0
app/view/change/apply_modal.ejs

@@ -43,8 +43,10 @@
                     <select class="form-control form-control-sm" id="project-code">
                         <option></option>
                         <% for (const cp of changeProjectList) { %>
+                        <% if (ctx.helper._.findIndex(changes, { project_code: cp.code }) === -1) { %>
                         <option><%- cp.code %></option>
                         <% } %>
+                        <% } %>
                     </select>
                 </div>
                 <input value="" type="hidden" id="bj-name">