Commit dc6ae536 by 朱继来

调整后台下单列表

parent 836e6902
Showing with 7 additions and 2 deletions
......@@ -804,6 +804,8 @@
var cart_ids = [];
if (len > 0) {
var buyer = '';
// 购物车列表
for (var i = 0; i < len; i++) {
html += '<tr data-cid="'+list[i].cart_id+'" data-type="'+list[i].type+'" min_buy="'+list[i].min_buy+'">'+
......@@ -823,10 +825,13 @@
if (goods_type == 1) {
html += '<td>'+list[i].supplier_name+'</td>';
buyer = list[i].buyer_id != '0' ? list[i].buyer_id : '';
html += '<td>'+buyer+'</td>';
html += '<td>'+list[i].batch+'</td>';
}
html += '<td>'+list[i].buyer_id+'</td>';
html += '<td>'+list[i].batch+'</td>';
html += '<td><a class="btn btn-danger btn-xs remove-goods">删除</a></td>'+
'</tr>';
......
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 sign in to comment