customertt_edit.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <ul class="setting" style="padding-bottom:20px;">
  5. <li>
  6. <em>客户状态:</em>
  7. <select name="type" class="select class">
  8. <option value="1" {if $customertt['type'] == 1}selected="selected"{/if}>白名单</option>
  9. <option value="2" {if $customertt['type'] == 2}selected="selected"{/if}>黑名单</option>
  10. </select>
  11. </li>
  12. <li>
  13. <em>成交总额:</em>
  14. <b>{$customertt['money']}</b>
  15. </li>
  16. <li>
  17. <em>所属店铺:</em>
  18. <select name="shop" class="select class">
  19. {loop $wlshop as $val}
  20. <option value="{$val['id']}" {if $customertt['shop'] == $val['id']}selected="selected"{/if}>{$val['shopname']}</option>
  21. {/loop}
  22. </select>
  23. </li>
  24. <li>
  25. <em>客户来源:</em>
  26. <select name="source" class="select class">
  27. {loop typeclass(1) as $val}
  28. <option value="{$val['id']}" {if $customertt['source'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  29. {/loop}
  30. </select>
  31. </li>
  32. <li>
  33. <em>客户类型:</em>
  34. <select name="level" class="select class">
  35. <option value="1" {if $customertt['level'] == 1}selected="selected"{/if}>网红</option>
  36. <option value="2" {if $customertt['level'] == 2}selected="selected"{/if}>批发</option>
  37. <option value="3" {if $customertt['level'] == 3}selected="selected"{/if}>店铺转线下</option>
  38. <option value="4" {if $customertt['level'] == 4}selected="selected"{/if}>线下其他</option>
  39. <option value="5" {if $customertt['level'] == 5}selected="selected"{/if}>店内客户</option>
  40. </select>
  41. </li>
  42. <li>
  43. <em>国家:</em>
  44. <select name="country" class="select class">
  45. {loop $country as $val}
  46. <option value="{$val['id']}" {if $customertt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
  47. {/loop}
  48. </select>
  49. </li>
  50. <li>
  51. <em>姓名:</em>
  52. <input value="{$customertt['name']}" name="name" type="text" >
  53. </li>
  54. <li>
  55. <em>电话:</em>
  56. <input value="{$customertt['phone']}" name="phone" type="text" >
  57. </li>
  58. <li>
  59. <em>邮箱:</em>
  60. <input class="must" value="{$customertt['email']}" name="email" type="text" >
  61. </li>
  62. <li>
  63. <em>邮编:</em>
  64. <input value="{$customertt['zipcode']}" name="zipcode" type="text" >
  65. </li>
  66. <li>
  67. <em>省/州:</em>
  68. <input value="{$customertt['province']}" name="province" type="text" >
  69. </li>
  70. <li>
  71. <em>城市:</em>
  72. <input value="{$customertt['city']}" name="city" type="text" >
  73. </li>
  74. <!--
  75. <li class="length">
  76. <em>街道:</em>
  77. <input class="must" value="{$customertt['street']}" name="street" type="text" >
  78. </li>
  79. -->
  80. <li class="length">
  81. <em>详细地址:</em>
  82. <input value="{$customertt['address']}" name="address" type="text" >
  83. </li>
  84. <!--
  85. <li class="length">
  86. <em>详细地址2:</em>
  87. <input value="{$customertt['address2']}" name="address2" type="text" >
  88. </li>
  89. -->
  90. <li class="length">
  91. <em>备注:</em>
  92. <textarea name="count" style="height:100px;">{$customertt['count']}</textarea>
  93. </li>
  94. <div style="clear:both;"></div>
  95. </ul>
  96. <div class="packing">
  97. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  98. <tr>
  99. <td>订单号</td>
  100. <td>订单状态</td>
  101. <td>产品名</td>
  102. <td>下单时间</td>
  103. <td>订单金额</td>
  104. </tr>
  105. </table>
  106. <table class="datatext data" border="0" style="border-collapse:collapse;">
  107. {loop $data as $val}
  108. <tr>
  109. <td>{$val['orderinfo']}</td>
  110. <td>{$val['state']}</td>
  111. <td>{$val['product']}</td>
  112. <td>{$val['dtime']}</td>
  113. <td>{$val['shouldmoney']}</td>
  114. </tr>
  115. {/loop}
  116. </table>
  117. </div>
  118. <input type="hidden" name="id" value="{$customertt['id']}" />
  119. <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
  120. </div>
  121. <script>var addedit="/customertt/edit/";
  122. $(document).ready(function() {
  123. custom();
  124. });
  125. function custom(){
  126. $(".data tr td").css("width","10%");
  127. $(".data tr").each(function() {
  128. $(this).find('td:eq(2)').css("width","30%");
  129. });}
  130. </script>
  131. {Template footer}