123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- {Template header}
- <body>
- <div class="warp">
- <ul class="setting" style="padding-bottom:20px;">
- <li>
- <em>客户状态:</em>
- <select name="type" class="select class">
- <option value="1" {if $customertt['type'] == 1}selected="selected"{/if}>白名单</option>
- <option value="2" {if $customertt['type'] == 2}selected="selected"{/if}>黑名单</option>
- </select>
- </li>
- <li>
- <em>成交总额:</em>
- <b>{$customertt['money']}</b>
- </li>
- <li>
- <em>所属店铺:</em>
- <select name="shop" class="select class">
- {loop $wlshop as $val}
- <option value="{$val['id']}" {if $customertt['shop'] == $val['id']}selected="selected"{/if}>{$val['shopname']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>客户来源:</em>
- <select name="source" class="select class">
- {loop typeclass(1) as $val}
- <option value="{$val['id']}" {if $customertt['source'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>客户类型:</em>
- <select name="level" class="select class">
- <option value="1" {if $customertt['level'] == 1}selected="selected"{/if}>网红</option>
- <option value="2" {if $customertt['level'] == 2}selected="selected"{/if}>批发</option>
- <option value="3" {if $customertt['level'] == 3}selected="selected"{/if}>店铺转线下</option>
- <option value="4" {if $customertt['level'] == 4}selected="selected"{/if}>线下其他</option>
- <option value="5" {if $customertt['level'] == 5}selected="selected"{/if}>店内客户</option>
- </select>
- </li>
- <li>
- <em>国家:</em>
- <select name="country" class="select class">
- {loop $country as $val}
- <option value="{$val['id']}" {if $customertt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>姓名:</em>
- <input value="{$customertt['name']}" name="name" type="text" >
- </li>
- <li>
- <em>电话:</em>
- <input value="{$customertt['phone']}" name="phone" type="text" >
- </li>
- <li>
- <em>邮箱:</em>
- <input class="must" value="{$customertt['email']}" name="email" type="text" >
- </li>
- <li>
- <em>邮编:</em>
- <input value="{$customertt['zipcode']}" name="zipcode" type="text" >
- </li>
- <li>
- <em>省/州:</em>
- <input value="{$customertt['province']}" name="province" type="text" >
- </li>
- <li>
- <em>城市:</em>
- <input value="{$customertt['city']}" name="city" type="text" >
- </li>
- <!--
- <li class="length">
- <em>街道:</em>
- <input class="must" value="{$customertt['street']}" name="street" type="text" >
- </li>
- -->
- <li class="length">
- <em>详细地址:</em>
- <input value="{$customertt['address']}" name="address" type="text" >
- </li>
- <!--
- <li class="length">
- <em>详细地址2:</em>
- <input value="{$customertt['address2']}" name="address2" type="text" >
- </li>
- -->
- <li class="length">
- <em>备注:</em>
- <textarea name="count" style="height:100px;">{$customertt['count']}</textarea>
- </li>
- <div style="clear:both;"></div>
- </ul>
- <div class="packing">
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td>订单号</td>
- <td>订单状态</td>
- <td>产品名</td>
- <td>下单时间</td>
- <td>订单金额</td>
- </tr>
- </table>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- {loop $data as $val}
- <tr>
- <td>{$val['orderinfo']}</td>
- <td>{$val['state']}</td>
- <td>{$val['product']}</td>
- <td>{$val['dtime']}</td>
- <td>{$val['shouldmoney']}</td>
- </tr>
- {/loop}
- </table>
- </div>
- <input type="hidden" name="id" value="{$customertt['id']}" />
- <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
- </div>
- <script>var addedit="/customertt/edit/";
- $(document).ready(function() {
- custom();
- });
- function custom(){
- $(".data tr td").css("width","10%");
- $(".data tr").each(function() {
- $(this).find('td:eq(2)').css("width","30%");
- });}
- </script>
- {Template footer}
|