Commit 8e5e8b13 authored by agping's avatar agping

约带看优化

parent 44437b60
...@@ -58,14 +58,14 @@ ...@@ -58,14 +58,14 @@
<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">
<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 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="user_phone" 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 btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="house_title" placeholder="商铺名称" type="text" value="">
......
...@@ -51,9 +51,9 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h ...@@ -51,9 +51,9 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
var m = myDate.getMonth() + 1; var m = myDate.getMonth() + 1;
var d = myDate.getDate(); var d = myDate.getDate();
var day_end = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d); var day_end = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
var day_start = getPreMonth(day_end); // var day_start = getPreMonth(day_end);
$('#create_time_start').val(day_start); // $('#create_time_start').val(day_start);
$('#create_time_end').val(day_end);//商铺跟进 添加 默认时间 一个月 // $('#create_time_end').val(day_end);//商铺跟进 添加 默认时间 一个月
record.getList(0); record.getList(0);
// 部门 门店 二级联动 // 部门 门店 二级联动
...@@ -94,12 +94,12 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h ...@@ -94,12 +94,12 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存 var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
console.log(user_info_obj); console.log(user_info_obj);
console.log(user_info_obj.AuthToken); console.log(user_info_obj.AuthToken);
// params.district_id = $('#district_id').val() * 1; params.create_time_start = $('#create_time_start').val();
// params.store_id = $('#guest_stores').val() * 1; params.create_time_end = $('#create_time_end').val();
// params.user_name = $('#user_name').val(); params.report_agent_name = $('#user_name').val();
// params.user_phone = $('#user_phone').val(); params.phone = $('#user_phone').val();
// params.report_agent_phone = $('#report_agent_phone').val(); params.house_title = $('#house_title').val();
// params.house_title = $('#house_title').val(); params.user_phone = $('#report_agent_phone').val();
// var start_ = $('#create_time_start').val()+" 00:00:00"; // var start_ = $('#create_time_start').val()+" 00:00:00";
// date_start =new Date(Date.parse(start_.replace(/-/g, "/"))); // date_start =new Date(Date.parse(start_.replace(/-/g, "/")));
// params.start_time =date_start.getTime()*0.001; // params.start_time =date_start.getTime()*0.001;
......
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