Commit 34e998c2 authored by hujun's avatar hujun

经纪人搜索

parent 20b51003
......@@ -88,6 +88,10 @@ class Broker extends Basic
$where .= ' AND store_id='.$this->params['store_id'];
}
if ($this->params['district_id']) {
$where .= ' AND district_id='.$this->params['district_id'];
}
if ($where) {
$agent = new AAgents();
$field = 'id,name,phone';
......
......@@ -1099,7 +1099,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n
var temp = document.getElementById('commission_list_tpl').innerHTML;
var doTtmpl = doT.template(temp);
$("#business_list").html(doTtmpl(data.data.data.list));
$("#money_total").html('6666666666');//实收总计
$("#money_total").html(data.total_money);//实收总计
/*分页代码*/
add_page(data.data.data.total, pageNo, bargain.pageSize, bargain.getList);
} else {
......
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