Commit 2fda2385 by 朱继来

temp

parent c73337b4
...@@ -879,11 +879,11 @@ ...@@ -879,11 +879,11 @@
// list = list.reverse(); // list = list.reverse();
// 购物车列表 // 购物车列表
for (var i = len - 1 ; i >= 0; i--) { for (var i = len - 1 ; i >= 0; i--) {
html += '<tr data-cid="'+list[i].cart_id+'" data-type="'+list[i].type+'" min_buy="'+list[i].min_buy+'" data-sup_name="'+list[i].supplier_name+'" data-sup_id="'+list[i].supplier_id+'">'+ html += '<tr data-cid="'+list[i].cart_id+'" data-type="'+list[i].type+'" min_buy="'+list[i].min_buy+'" data-sup_name="'+list[i].supplier_name+'" data-sup_id="'+list[i].supplier_id+'" data-brand_id="'+list[i].brand_id+'">'+
'<td>'+(len - i)+'</td>'+ '<td>'+(len - i)+'</td>'+
'<td class="goods_id">'+list[i].goods_id+'</td>'+ '<td class="goods_id">'+list[i].goods_id+'</td>'+
'<td>'+list[i].goods_name+'</td>'+ '<td>'+list[i].goods_name+'</td>'+
'<td class="brand_name">'+list[i].brand_name+'</td>'; '<td>'+list[i].brand_name+'</td>';
if (goods_type == 1) { // 联营添加标准品牌列 if (goods_type == 1) { // 联营添加标准品牌列
if (list[i].standard_brand_name) { if (list[i].standard_brand_name) {
......
...@@ -49,7 +49,7 @@ console.log(data) ...@@ -49,7 +49,7 @@ console.log(data)
$('.standard_brand_name').val(''); $('.standard_brand_name').val('');
renderTable(); // 重载表格 renderTable(); // 重载表格
var curr_brand_id = $(this).parents('tr').find('.brand_id'); var curr_brand_id = $(this).parents('tr').data('brand_id');
layer.open({ layer.open({
type: 1, type: 1,
......
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