Commit 44f585b3 by 朱继来

调整审核新增商品

parent a52c7b95
Showing with 23 additions and 1 deletions
......@@ -95,7 +95,7 @@
var order_item = data.item; // 当前新增商品信息
var sup = order_item.canal ? order_item.supplier_id+'.'+order_item.canal : order_item.supplier_id;
html += '<tr data-sup="'+sup+'">\
html += '<tr data-sup="'+sup+'" data-brand_name="'+order_item.brand_name+'">\
<td>'+curr_no+'</td>\
<td>\
<input type="hidden" name="change_info['+curr_no+'][supplier_id]" value="'+order_item.supplier_id+'">\
......@@ -107,6 +107,26 @@
<p>'+order_item.goods_name+'</p>\
</td>\
<td>\
<input class="change_brand_id" type="hidden" name="change_info['+curr_no+'][brand_id]" value="'+order_item.brand_id+'">\
<p>'+order_item.brand_name+'</p>\
</td>';
if (order_item.standard_brand_name) {
html += '<td>\
<input class="change_standard_brand_id" type="hidden" name="change_info['+curr_no+'][standard_brand_id]" value="'+order_item.standard_brand_id+'">\
<input class="change_standard_brand_name" type="hidden" name="change_info['+curr_no+'][standard_brand_name]" value="'+order_item.standard_brand_name+'">\
<p>'+order_item.standard_brand_name+'</p>\
</td>';
} else {
html += '<td>\
<input class="change_standard_brand_id" type="hidden" name="change_info['+curr_no+'][standard_brand_id]">\
<input class="change_standard_brand_name" type="text" name="change_info['+curr_no+'][standard_brand_name]" readonly>\
<i class="fa fa-exclamation-triangle fa-2x select-standard-brand" aria-hidden="true" data-type=2></i>\
</td>';
}
html += '<td>\
<input class="only_number num change_goods_number" name="change_info['+curr_no+'][goods_number]" value="'+order_item.goods_number+'">\
</td>\
<td>\
......@@ -276,6 +296,8 @@
<input class="change_goods_name" type="hidden" name="change_info['+curr_no+'][goods_name]" value="'+add_goods_name+'">\
<p>'+add_goods_name+'</p>\
</td>\
<td></td>\
<td></td>\
<td>\
<input class="only_number num change_goods_number" name="change_info['+curr_no+'][goods_number]" value="'+add_goods_number+'">\
</td>\
......
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