Commit c2863509 authored by xishifeng's avatar xishifeng

搜索时间增加

parent 9f8254fa
......@@ -30,6 +30,8 @@
<form id="maintable_form_search">
<span class="fore-span">提交时间:</span>
<input class="form-control btn4" value="" data-rule-phoneus="false" data-rule-required="false" id="maintable_create_time" name="start_date" type="date">
<span class="fore-span" id="maintable_form_span_zhi"></span>
<input class="form-control btn4" value="" data-rule-phoneus="false" data-rule-required="false" id="maintable_end_time" name="end_date" type="date">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_internal_address" placeholder="商铺地址" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_shop_num" placeholder="商铺号" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_user_phone" placeholder="客户电话" type="text" value="">
......
......@@ -15,7 +15,10 @@ addtax_
*
*
* */
/*页面主要内容table区域*/
#maintable_form_span_zhi{
margin-left: 10px;
}
/*详情弹出框*/
.detail-modal-body {
......
......@@ -356,7 +356,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
e.preventDefault();
e.stopPropagation();
var _this = $(this);
var _id = _this.closest('tr').data('id');
var _id = _this.closest('tr').data('orderid');
console.log(_id);
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id='+_id);
});
......@@ -1010,6 +1010,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
'pageNo': pageNo,
'pageSize': bargain.pageSize,
'create_time': $.trim($('#maintable_create_time').val()),
'end_time': $.trim($('#maintable_end_time').val()),
'internal_address': $.trim($('#maintable_internal_address').val()),
'user_phone': $.trim($('#maintable_user_phone').val()),
'house_number': $.trim($('#maintable_shop_num').val())
......
......@@ -2,7 +2,7 @@
[% if(it["list"] && it["list"].length && it["list"].length>0) { %]
[% var sw=function(s){switch(Number(s)){case 10:return"出租";case 20:return"增佣";case 30:return"代理";case 40:return"好处费";default:return s}}; %]
[% for(var item in it["list"]){ %]
<tr class="text-center" data-id='[%= it["list"][item]["id"] %]'>
<tr class="text-center" data-id="[%= it['list'][item]['id'] %]" data-orderid="[%= it['list'][item]['order_id'] %]">
<td>[%= it["list"][item]['create_time'] %]</td>
<td>[%= it["list"][item]['internal_address'] %]</td>
<td>[%= it["list"][item]['house_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 to comment