瀏覽代碼

筛选立项书

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">