Commit 19d1fff0 authored by agping's avatar agping

商铺跟进 修改

parent f643b5e7
...@@ -111,9 +111,7 @@ ...@@ -111,9 +111,7 @@
<input class="form-control" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value=""> <input class="form-control" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">
<ul class="user-ul"></ul> <ul class="user-ul"></ul>
</div> </div>
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="分佣方姓名" type="text" value="">-->
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="分佣方手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="bargain_id" placeholder="成交报告id" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="bargain_id" placeholder="成交报告id" type="text" value="">
<div class="clear"></div> <div class="clear"></div>
<span class="btn btn-info btn3" id="search">搜索</span> <span class="btn btn-info btn3" id="search">搜索</span>
......
...@@ -75,15 +75,15 @@ ...@@ -75,15 +75,15 @@
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date">
<span class="fore-span ld-Marheight">-</span> <span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_end" name="end_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_end" name="end_date1" type="date">
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="houseID" placeholder="商铺ID" type="text" value="">--> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="houseID" placeholder="商铺ID" type="text" value="">
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="house_title" placeholder="商铺名称" type="text" value="">--> <!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="house_title" placeholder="商铺名称" type="text" value="">-->
<input class="form-control btn4 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="follow_up_con" placeholder="跟进内容" type="text" value=""> <input class="form-control btn4 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="follow_up_con" placeholder="跟进内容" type="text" value="">
<!--<select class="form-control btn4 ld-Marheight input" name="" id="district_id"> <select class="form-control btn4 ld-Marheight input" name="" id="district_id">
<option value="">跟进人所在部门</option> <option value="">跟进人所在部门</option>
</select> </select>
<select class="form-control btn4 ld-Marheight input" name="" id="guest_stores" value=""> <select class="form-control btn4 ld-Marheight input" name="" id="guest_stores" value="">
</select>--> </select>
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="跟进人姓名" type="text" value="">--> <!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="跟进人姓名" type="text" value="">-->
<input class="form-control btn4 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="跟进人姓名/电话" type="text" value=""> <input class="form-control btn4 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="跟进人姓名/电话" type="text" value="">
......
...@@ -1083,7 +1083,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n ...@@ -1083,7 +1083,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n
params.create_time = $('#create_time') .val(); params.create_time = $('#create_time') .val();
params.end_time = $('#end_time') .val(); params.end_time = $('#end_time') .val();
params.internal_address = $('#internal_address').val(); params.internal_address = $('#internal_address').val();
params.phone = $('#user_phone').val(); // params.phone = $('#user_phone').val();
params.house_number = $('#internal_num').val(); params.house_number = $('#internal_num').val();
params.bargain_id = $('#bargain_id').val(); params.bargain_id = $('#bargain_id').val();
params.partial_id = bargain.agent_id_phone;//分佣方姓名 下拉式 搜索 params.partial_id = bargain.agent_id_phone;//分佣方姓名 下拉式 搜索
......
...@@ -76,8 +76,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css' ...@@ -76,8 +76,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
var _id = _this.val(); var _id = _this.val();
_this.next().html(''); //先清空 _this.next().html(''); //先清空
if(_id && _id != '0') { if(_id && _id != '0') {
record.getDistrictStoreList(_id, function(_data) { house.getDistrictStoreList(_id, function(_data) {
// var _str = '';
var _str = '<option value="0">全部</option>'; var _str = '<option value="0">全部</option>';
$.each(_data, function(i, item) { $.each(_data, function(i, item) {
_str += '<option value="' + item.id + '">' + item.store_name + '</option>'; _str += '<option value="' + item.id + '">' + item.store_name + '</option>';
...@@ -192,8 +191,10 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css' ...@@ -192,8 +191,10 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
//var date="2014-05-08 00:22:11"; //var date="2014-05-08 00:22:11";
// date = new Date(Date.parse(date.replace(/-/g, "/"))); // date = new Date(Date.parse(date.replace(/-/g, "/")));
// date = date.getTime(); // date = date.getTime();
// params.district_id = $('#district_id').val() * 1; params.district_id = $('#district_id').val() * 1;//部门
// params.store_id = $('#guest_stores').val() * 1; params.store_id = $('#guest_stores').val() * 1;//门店
params.houseID = $('#houseID').val() * 1;//商铺 id
// params.user_name = $('#user_name').val(); // params.user_name = $('#user_name').val();
params.name_or_phone = $('#user_phone').val(); params.name_or_phone = $('#user_phone').val();
if(params.name_or_phone.length == 1){ if(params.name_or_phone.length == 1){
...@@ -216,7 +217,6 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css' ...@@ -216,7 +217,6 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
if( !(params.end_time&&params.start_time)){ if( !(params.end_time&&params.start_time)){
alert('请选择时间') alert('请选择时间')
return; return;
} }
var cha_time=params.end_time*1000-params.start_time*1000; var cha_time=params.end_time*1000-params.start_time*1000;
......
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