|
@@ -54,7 +54,7 @@
|
|
|
<th lay-data="{field:'price', edit: 'text'}">销售价(元)</th>
|
|
|
<th lay-data="{field:'total', edit: 'text'}">当前库存</th>
|
|
|
<th lay-data="{field:'number', edit: 'text'}">新增库存</th>
|
|
|
- <th lay-data="{field:'operation'}">操作</th>
|
|
|
+
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="goods">
|
|
@@ -205,7 +205,7 @@
|
|
|
addtr += '<td class="goods_price">'+node.price+'</td>';
|
|
|
addtr += '<td class="goods_price">'+node.total+'</td>';
|
|
|
addtr += '<td><div class="jiajian" value='+node.id+'><span class="jian" onclick="dec(\''+node.id+'\')">-</span><input type="text" value="'+node.num+'" class="goods_num"><span class="jia" onclick="add(\''+node.id+'\')">+</span></div></td>';
|
|
|
- addtr += '<td><button class="delete_btn" onclick="del(\''+node.id+'\')">删除</button></td>';
|
|
|
+ //addtr += '<td><button class="delete_btn" onclick="del(\''+node.id+'\')">删除</button></td>';
|
|
|
addtr += '</tr>';
|
|
|
$("#goods").append(addtr);
|
|
|
}
|