Commit f96ef74a authored by agping's avatar agping

成交报告审核 客户id搜索

parent 4e713939
...@@ -1590,7 +1590,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', ' ...@@ -1590,7 +1590,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
'agent_phone': $.trim($('#agent_phone').val()), 'agent_phone': $.trim($('#agent_phone').val()),
// 'partial_name': $.trim($('#partical_name').val()), // 'partial_name': $.trim($('#partical_name').val()),
'bargain_id' :$.trim($('#bargain_id').val()), 'bargain_id' :$.trim($('#bargain_id').val()),
'partial_id': bargain.agent_id_phone 'partial_id': bargain.agent_id_phone,
'user_id': $('#maintable_user_ID').val(),
}; };
$.ajax({ $.ajax({
...@@ -1641,7 +1642,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', ' ...@@ -1641,7 +1642,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
} }
}); });
}, },
//导出列表 收款记录 //导出列表 成交报告 审核
exportList: function() { exportList: function() {
var excel = 1; var excel = 1;
var shop_type = $('#maintable_shop_type').val(); var shop_type = $('#maintable_shop_type').val();
...@@ -1656,8 +1657,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', ' ...@@ -1656,8 +1657,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
var bargain_id = $('#bargain_id').val(); var bargain_id = $('#bargain_id').val();
var agent_name = $('#agent_name').val(); var agent_name = $('#agent_name').val();
var partial_id = bargain.agent_id_phone; var partial_id = bargain.agent_id_phone;
var user_id = $('#maintable_user_ID').val();
var _url = bargain.switchUrl() + '?'; var _url = bargain.switchUrl() + '?';
window.open(_url + 'excel=' + excel + '&shop_type=' + shop_type + '&create_time=' + create_time + '&end_time=' + end_time + '&internal_address=' + internal_address + '&user_phone=' + user_phone + '&house_number=' + house_number + '&store_id=' + store_id + '&district_id=' + district_id + '&agent_phone=' + agent_phone+ '&bargain_id=' + bargain_id+ '&agent_name=' + agent_name+ '&partial_id=' + partial_id); window.open(_url + 'excel=' + excel + '&shop_type=' + shop_type + '&create_time=' + create_time + '&end_time=' + end_time + '&internal_address=' + internal_address + '&user_phone=' + user_phone + '&house_number=' + house_number + '&store_id=' + store_id + '&district_id=' + district_id + '&agent_phone=' + agent_phone+ '&bargain_id=' + bargain_id+ '&agent_name=' + agent_name+ '&partial_id=' + partial_id+ '&user_id=' + user_id);
}, },
// 获取客户详情 // 获取客户详情
Caozuo: function() { //获取跟进详情的数据 Caozuo: function() { //获取跟进详情的数据
......
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