1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>店铺名称:<select name="shop" class="select" style="width:180px;">
- <option value="">请选择</option>
- {loop usershop() as $val}
- <option value="{$val['id']}">{$val['shopname']}</option>{/loop}</select></li>
- <li>电话号码:<input value="" name="numphone" type="text" ></li>
- <li>客户名称:<input value="" name="name" type="text" ></li>
- <li>客户邮箱:<input value="" name="email" type="text" style="width:200px;"></li>
- <li>客户地址:<input value="" name="address" type="text" style="width:300px;"></li>
- <li>查找条件:<select name="xtime" class="select">
- <option value="">不使用时间</option>
- <option value="1">使用时间</option></select></li>
- <li>客户分类时间:<input id="timetk" value="{date('Y-m-d 00:00',time()-30*24*3600)}" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
- 至 <input id="timetj" value="{date('Y-m-d 00:00',time()+24*3600)}" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
- <li><span>确 定</span></li>
- </ul>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
- <td>所属店铺</td>
- <td>客户来源</td>
- <td>客户名称</td>
- <td>邮箱</td>
- <td>地址</td>
- <td>电话</td>
- <td>备注</td>
- <td>列入时间</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <script>
- var dataurl = "/customertt/cx/";var fdataurl = "/customertt";
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(2)').css("width","5%");
- $(this).find('td:eq(7)').css("width","25%");
- $(this).find('td:eq(9)').css("width","5%");
- });}
- $(".bankdown").click(function() {
- var f = "";
- $(".select").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
- });
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- var a = '';
- $(".datatext input[name='check']:checked").each(function() {
- a = a+$(this).val()+'|';
- });
- f = f + "id=" + a;
- window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|