customertt_black_cx.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>店铺名称:<select name="shop" class="select" style="width:180px;">
  7. <option value="">请选择</option>
  8. {loop usershop() as $val}
  9. <option value="{$val['id']}">{$val['shopname']}</option>{/loop}</select></li>
  10. <li>电话号码:<input value="" name="numphone" type="text" ></li>
  11. <li>客户名称:<input value="" name="name" type="text" ></li>
  12. <li>客户邮箱:<input value="" name="email" type="text" style="width:200px;"></li>
  13. <li>客户地址:<input value="" name="address" type="text" style="width:300px;"></li>
  14. <li>查找条件:<select name="xtime" class="select">
  15. <option value="">不使用时间</option>
  16. <option value="1">使用时间</option></select></li>
  17. <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'})">
  18. 至&nbsp;&nbsp;&nbsp;&nbsp; <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>
  19. <li><span>确 定</span></li>
  20. </ul>
  21. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  22. <tr>
  23. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  24. <td>所属店铺</td>
  25. <td>客户来源</td>
  26. <td>客户名称</td>
  27. <td>邮箱</td>
  28. <td>地址</td>
  29. <td>电话</td>
  30. <td>备注</td>
  31. <td>列入时间</td>
  32. </tr>
  33. </table>
  34. </div>
  35. <table class="datatext data" border="0" style="border-collapse:collapse;">
  36. </table>
  37. <div class="bomf"></div>
  38. </div>
  39. <script>
  40. var dataurl = "/customertt/cx/";var fdataurl = "/customertt";
  41. var customon = 1;
  42. function custom(){
  43. $(".data tr").each(function() {
  44. $(this).find('td:eq(2)').css("width","5%");
  45. $(this).find('td:eq(7)').css("width","25%");
  46. $(this).find('td:eq(9)').css("width","5%");
  47. });}
  48. $(".bankdown").click(function() {
  49. var f = "";
  50. $(".select").each(function() {
  51. f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
  52. });
  53. $("input:text").each(function() {
  54. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  55. });
  56. var a = '';
  57. $(".datatext input[name='check']:checked").each(function() {
  58. a = a+$(this).val()+'|';
  59. });
  60. f = f + "id=" + a;
  61. window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
  62. });
  63. </script>
  64. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  65. {Template footer}