Commit a4c33603 authored by xinyuandu's avatar xinyuandu

新增id字段,新增搜索条件

parent 44d4ac23
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<table class="table table-striped table-bordered table-hover table-condensed"> <table class="table table-striped table-bordered table-hover table-condensed">
<thead> <thead>
<tr> <tr>
<td colspan="9"> <td colspan="10">
<form id="form_search"> <form id="form_search">
<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" name="start_date" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time" name="start_date" type="date">
...@@ -75,11 +75,12 @@ ...@@ -75,11 +75,12 @@
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="internal_address" placeholder="商铺地址" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="internal_address" placeholder="商铺地址" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="internal_num" placeholder="商铺号" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="internal_num" 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_name" placeholder="业务员姓名" type="text" value="">
<div class="clear"> <div class="clear">
</div> </div>
<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="bargian_id" placeholder="成交报告id" type="text" value="">
<span class="btn btn-info btn3" id="search">搜索</span> <span class="btn btn-info btn3" id="search">搜索</span>
<span class="btn btn-info btn3" id="reset">重置</span> <span class="btn btn-info btn3" id="reset">重置</span>
<span class="btn btn-info btn3" id="export">导出excel</span> <span class="btn btn-info btn3" id="export">导出excel</span>
...@@ -87,6 +88,7 @@ ...@@ -87,6 +88,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<th class="text-center">ID</th>
<th class="text-center">收佣日期</th> <th class="text-center">收佣日期</th>
<th class="text-center">所属部门/门店</th> <th class="text-center">所属部门/门店</th>
<th class="text-center">业务员</th> <th class="text-center">业务员</th>
......
...@@ -1048,7 +1048,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n ...@@ -1048,7 +1048,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n
// } // }
// }, // },
//获取一级审核,二级审核,三级审核,结单数据列表共用的方法 //获取一级审核,二级审核,三级审核,结单数据列表共用的方法
getList: function(pageNo) { getList: function(pageNo) {
bargain.pageNo = pageNo; bargain.pageNo = pageNo;
var params = {}; var params = {};
params.pageNo = bargain.pageNo; params.pageNo = bargain.pageNo;
...@@ -1059,6 +1059,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n ...@@ -1059,6 +1059,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_n
params.name = $('#user_name').val(); params.name = $('#user_name').val();
params.phone = $('#user_phone').val(); params.phone = $('#user_phone').val();
params.house_number = $('#internal_num').val(); params.house_number = $('#internal_num').val();
params.bargian_id = $('#bargian_id').val();
$.ajax({ $.ajax({
url: '/index/partialCommissionList', //获取列表 url: '/index/partialCommissionList', //获取列表
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
[% if(it) { %] [% if(it) { %]
[% for(var item in it){ %] [% for(var item in it){ %]
<tr class="text-center" data-id="[%= it[item]['bargain_id'] %]" data-orderid="[%= it[item]['order_id'] %]" data-fatherid="[%= it[item]['father_id'] %]"> <tr class="text-center" data-id="[%= it[item]['bargain_id'] %]" data-orderid="[%= it[item]['order_id'] %]" data-fatherid="[%= it[item]['father_id'] %]">
<td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['confirm_date'] %]</td> <td>[%= it[item]['confirm_date'] %]</td>
<td>[%= it[item]['district_store'] %]</td> <td>[%= it[item]['district_store'] %]</td>
<td>[%= it[item]['agent'] %]</td> <td>[%= it[item]['agent'] %]</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