Commit fd9608ce by yyq1988

优化代码

parent 72168f79
......@@ -9,7 +9,7 @@
<%@ include file="/webpage/include/taglib.jsp" %>
<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="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>
<table id="detail_table" data-toolbar="#toolbar"></table>
<script>
......
......@@ -306,11 +306,9 @@ $(document).ready(function() {
<table class="ani table">
<thead>
<tr>
<th>主表id</th>
<th>名称</th>
<th>类型</th>
<th>型号</th>
<th>数量</th>
<th>货架</th>
<th>备注信息</th>
</tr>
......@@ -324,9 +322,6 @@ $(document).ready(function() {
<script type="text/template" id="storageChild1Tpl">//<!--
<tr>
<td>
{{row.storage.id}}
</td>
<td>
{{row.name}}
</td>
<td>
......@@ -336,10 +331,7 @@ $(document).ready(function() {
{{row.model}}
</td>
<td>
</td>
<td>
{{row.names}}
{{row.shelves.name}}
</td>
<td>
{{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