소스 검색

修复bug

ellisran 1 개월 전
부모
커밋
232e31d128
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/view/change/modal.ejs

+ 1 - 1
app/view/change/modal.ejs

@@ -411,7 +411,7 @@
                     makeSpList([]);
                 }
                 let showAuditSelectHtml = '';
-                if (res.spGroupList && res.spGroupList.length > 0 && shenpi_status === shenpiConst.sp_status.gdspl) {
+                if (res.spGroupList && shenpi_status === shenpiConst.sp_status.gdspl) {
                     let optionHtml = '';
                     for (const g of res.spGroupList) { %>
                         optionHtml += `<option value="${g.id}" ${res.uncheckList.length > 0 && g.id === res.uncheckList[0].sp_group ? 'selected' : ''}>${g.name}</option>`;