Commit fd9608ce by yyq1988

优化代码

parent 72168f79
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<%@ include file="/webpage/include/taglib.jsp" %> <%@ include file="/webpage/include/taglib.jsp" %>
<div id="toolbar" class="text-left"> <div id="toolbar" class="text-left">
<a class="btn btn-primary btn-sm" onclick="addDetail('#detail_table')" title="新增"><i class="fa fa-plus"></i> 新增</a> <a class="btn btn-primary btn-sm" onclick="addDetail('#detail_table')" title="新增"><i class="fa fa-plus"></i> 新增</a>
<a class="btn btn-primary btn-sm" onclick="addShelve('#detail_table')" title="新增"><i class="fa fa-plus"></i> 批量编辑货架</a> <a class="btn btn-primary btn-sm" disabled="true" onclick="addShelve('#detail_table')" title="新增"><i class="fa fa-plus"></i> 批量编辑货架</a>
</div> </div>
<table id="detail_table" data-toolbar="#toolbar"></table> <table id="detail_table" data-toolbar="#toolbar"></table>
<script> <script>
......
...@@ -306,11 +306,9 @@ $(document).ready(function() { ...@@ -306,11 +306,9 @@ $(document).ready(function() {
<table class="ani table"> <table class="ani table">
<thead> <thead>
<tr> <tr>
<th>主表id</th>
<th>名称</th> <th>名称</th>
<th>类型</th> <th>类型</th>
<th>型号</th> <th>型号</th>
<th>数量</th>
<th>货架</th> <th>货架</th>
<th>备注信息</th> <th>备注信息</th>
</tr> </tr>
...@@ -324,9 +322,6 @@ $(document).ready(function() { ...@@ -324,9 +322,6 @@ $(document).ready(function() {
<script type="text/template" id="storageChild1Tpl">//<!-- <script type="text/template" id="storageChild1Tpl">//<!--
<tr> <tr>
<td> <td>
{{row.storage.id}}
</td>
<td>
{{row.name}} {{row.name}}
</td> </td>
<td> <td>
...@@ -336,10 +331,7 @@ $(document).ready(function() { ...@@ -336,10 +331,7 @@ $(document).ready(function() {
{{row.model}} {{row.model}}
</td> </td>
<td> <td>
{{row.shelves.name}}
</td>
<td>
{{row.names}}
</td> </td>
<td> <td>
{{row.remarks}} {{row.remarks}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment