Explorar o código

修复调差清单没选中问题

laiguoran %!s(int64=5) %!d(string=hai) anos
pai
achega
1523e09816
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      app/view/material/list_modal.ejs

+ 8 - 0
app/view/material/list_modal.ejs

@@ -28,6 +28,14 @@
                             <td><%= m.unit %></td>
                             <td><%= m.spec %></td>
                         </tr>
+                        <% } else { %>
+                        <tr class="table-secondary" style="display: none">
+                            <td><input type="checkbox" checked disabled value="<%= m.id %>"></td>
+                            <td><%= m.code %></td>
+                            <td><%= m.name %></td>
+                            <td><%= m.unit %></td>
+                            <td><%= m.spec %></td>
+                        </tr>
                         <% } %>
                         <% } %>
                         </tbody>