Explorar o código

修改u9相关信息

lvhao hai 5 meses
pai
achega
73102d5f41

+ 6 - 6
template/erp/customeramz.html

@@ -47,12 +47,12 @@
 <li><span>确 定</span></li>
 </ul>
 <div class="control">
-<a href="javascript:void(0);" class="window" data-h="/customertt/add/" data-t="客户管理 - 添加">新增客户</a>
+<a href="javascript:void(0);" class="window" data-h="/customeramz/add/" data-t="客户管理 - 添加">新增客户</a>
 {if $vip == 1}
 <a href="javascript:void(0);" class="check">删 除</a>
 {/if}
 <a href="javascript:void(0);" id="excel">导入客户</a>
-<a href="/customertt/down?excela=1">下载导入模板</a>
+<a href="/customeramz/down?excela=1">下载导入模板</a>
 {if $userkz != 1}
 <a href="javascript:void(0);" class="ctex" data-ex="1">下载老客户订单列表</a>
 <a href="javascript:void(0);" class="ctex" data-ex="2">下载老客户列表</a>
@@ -83,8 +83,8 @@
 <div class="bomf"></div>
 </div>
 <script>
-var dataurl = "/customertt";var fdataurl = "/customertt";
-var editurl = "/customertt/edit/";
+var dataurl = "/customeramz";var fdataurl = "/customeramz";
+var editurl = "/customeramz/edit/";
 var editdj = 4;
 var editt = "客户管理 - 修改";
 var customon = 1;
@@ -152,7 +152,7 @@ $(".ctex").click(function() {
     $("input:text").each(function() {
         f = f + $(this).attr("name") + "=" + $(this).val() + "&";
     });
-	window.location.href = "/customertt/excel?excel="+$(this).data("ex")+"&"+f;
+	window.location.href = "/customeramz/excel?excel="+$(this).data("ex")+"&"+f;
 });
 $(".indexexcel").click(function() {
 	 var f = "";
@@ -170,7 +170,7 @@ $(".indexexcel").click(function() {
 	$("input:hidden").each(function() {
         f = f + $(this).attr("name") + "=" + $(this).val() + "&";
     });
-window.location.href = "/customertt/indexexcel?excel=1&"+f;
+window.location.href = "/customeramz/indexexcel?excel=1&"+f;
 });
 </script>
 <script src="{$theme}js/ajaxupload.3.5.js"></script>

+ 1 - 1
template/erp/customeramz_add.html

@@ -101,5 +101,5 @@
 </ul>
 <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
 </div>
-<script>var addedit="/customertt/add/";</script>
+<script>var addedit="/customeramz/add/";</script>
 {Template footer}

+ 3 - 3
template/erp/customeramz_black.html

@@ -42,8 +42,8 @@
 <div class="bomf"></div>
 </div>
 <script>
-var dataurl = "/customertt/black/";var fdataurl = "/customertt";
-var editurl = "/customertt/edit/";
+var dataurl = "/customeramz/black/";var fdataurl = "/customeramz";
+var editurl = "/customeramz/edit/";
 var editdj = 4;
 var editt = "客户管理 - 修改";
 var customon = 1;
@@ -66,7 +66,7 @@ $(".bankdown").click(function() {
         a = a+$(this).val()+'|';
     });
 	f = f + "id=" + a;
-	window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
+	window.location.href = "/customeramz/bankdown?bankdown=1&type=2&"+f;
 });
 </script>
 <script type="text/javascript" src="{$theme}js/laydate.js"></script>

+ 2 - 2
template/erp/customeramz_black_cx.html

@@ -37,7 +37,7 @@
 <div class="bomf"></div>
 </div>
 <script>
-var dataurl = "/customertt/cx/";var fdataurl = "/customertt";
+var dataurl = "/customeramz/cx/";var fdataurl = "/customeramz";
 var customon = 1;
 function custom(){
 $(".data tr").each(function() {
@@ -58,7 +58,7 @@ $(".bankdown").click(function() {
         a = a+$(this).val()+'|';
     });
 	f = f + "id=" + a;
-	window.location.href = "/customertt/bankdown?bankdown=1&type=2&"+f;
+	window.location.href = "/customeramz/bankdown?bankdown=1&type=2&"+f;
 });
 </script>
 <script type="text/javascript" src="{$theme}js/laydate.js"></script>

+ 3 - 3
template/erp/customeramz_dgso.html

@@ -29,8 +29,8 @@
 <div class="bomf"></div>
 </div>
 <script>
-var dataurl = "/customertt/dgso";var fdataurl = "/customertt/dgso";
-var editurl = "/customertt/edit/";
+var dataurl = "/customeramz/dgso";var fdataurl = "/customeramz/dgso";
+var editurl = "/customeramz/edit/";
 var editdj = 4;
 var editt = "客户管理 - 修改";
 var customon = 1;
@@ -95,7 +95,7 @@ $(".ctex").click(function() {
     $("input:text").each(function() {
         f = f + $(this).attr("name") + "=" + $(this).val() + "&";
     });
-	window.location.href = "/customertt/excel?excel="+$(this).data("ex")+"&"+f;
+	window.location.href = "/customeramz/excel?excel="+$(this).data("ex")+"&"+f;
 });
 </script>
 <script src="{$theme}js/ajaxupload.3.5.js"></script>

+ 23 - 23
template/erp/customeramz_edit.html

@@ -6,21 +6,21 @@
 <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>
+<option value="1" {if $customeramz['type'] == 1}selected="selected"{/if}>白名单</option>
+<option value="2" {if $customeramz['type'] == 2}selected="selected"{/if}>黑名单</option>
 </select>
 </li>
 
 <li>
 <em>成交总额:</em>
-<b>{$customertt['money']}</b>
+<b>{$customeramz['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>
+<option value="{$val['id']}" {if $customeramz['shop'] == $val['id']}selected="selected"{/if}>{$val['shopname']}</option>
 {/loop}
 </select>
 </li>
@@ -29,7 +29,7 @@
 <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>
+<option value="{$val['id']}" {if $customeramz['source'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
 {/loop}
 </select>
 </li>
@@ -37,11 +37,11 @@
 <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>
+<option value="1" {if $customeramz['level'] == 1}selected="selected"{/if}>网红</option>
+<option value="2" {if $customeramz['level'] == 2}selected="selected"{/if}>批发</option>
+<option value="3" {if $customeramz['level'] == 3}selected="selected"{/if}>店铺转线下</option>
+<option value="4" {if $customeramz['level'] == 4}selected="selected"{/if}>线下其他</option>
+<option value="5" {if $customeramz['level'] == 5}selected="selected"{/if}>店内客户</option>
 </select>
 </li>
 
@@ -49,63 +49,63 @@
 <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>
+<option value="{$val['id']}" {if $customeramz['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
 {/loop}
 </select>
 </li>
 
 <li>
 <em>姓名:</em>
-<input value="{$customertt['name']}" name="name" type="text" >
+<input value="{$customeramz['name']}" name="name" type="text" >
 </li>
 
 <li>
 <em>电话:</em>
-<input value="{$customertt['phone']}" name="phone" type="text" >
+<input value="{$customeramz['phone']}" name="phone" type="text" >
 </li>
 
 <li>
 <em>邮箱:</em>
-<input class="must" value="{$customertt['email']}" name="email" type="text" >
+<input class="must" value="{$customeramz['email']}" name="email" type="text" >
 </li>
 
 <li>
 <em>邮编:</em>
-<input value="{$customertt['zipcode']}" name="zipcode" type="text" >
+<input value="{$customeramz['zipcode']}" name="zipcode" type="text" >
 </li>
 
 <li>
 <em>省/州:</em>
-<input value="{$customertt['province']}" name="province" type="text" >
+<input value="{$customeramz['province']}" name="province" type="text" >
 </li>
 
 <li>
 <em>城市:</em>
-<input value="{$customertt['city']}" name="city" type="text" >
+<input value="{$customeramz['city']}" name="city" type="text" >
 </li>
 
 <!--
 <li class="length">
 <em>街道:</em>
-<input class="must" value="{$customertt['street']}" name="street" type="text" >
+<input class="must" value="{$customeramz['street']}" name="street" type="text" >
 </li>
 -->
 
 <li class="length">
 <em>详细地址:</em>
-<input value="{$customertt['address']}" name="address" type="text" >
+<input value="{$customeramz['address']}" name="address" type="text" >
 </li>
 
 <!--
 <li class="length">
 <em>详细地址2:</em>
-<input value="{$customertt['address2']}" name="address2" type="text" >
+<input value="{$customeramz['address2']}" name="address2" type="text" >
 </li>
 -->
 
 <li class="length">
 <em>备注:</em>
-<textarea name="count" style="height:100px;">{$customertt['count']}</textarea>
+<textarea name="count" style="height:100px;">{$customeramz['count']}</textarea>
 </li>
 
 <div style="clear:both;"></div>
@@ -133,10 +133,10 @@
 {/loop}
 </table>
 </div>
-<input type="hidden" name="id" value="{$customertt['id']}" />
+<input type="hidden" name="id" value="{$customeramz['id']}" />
 <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
 </div>
-<script>var addedit="/customertt/edit/";
+<script>var addedit="/customeramz/edit/";
 $(document).ready(function() {
 custom();
 });

+ 40 - 40
template/erp/customeramz_mdedit.html

@@ -83,9 +83,9 @@
 <li>
 <em>资金状态:</em>
 <select name="capital" class="select class">
-<option value="3" {if $fullordertt['capital'] == 3}selected="selected"{/if}>全部支付</option>
-<option value="1" {if $fullordertt['capital'] == 1}selected="selected"{/if}>暂未支付</option>
-<option value="2" {if $fullordertt['capital'] == 2}selected="selected"{/if}>部分支付</option>
+<option value="3" {if $customeramz['capital'] == 3}selected="selected"{/if}>全部支付</option>
+<option value="1" {if $customeramz['capital'] == 1}selected="selected"{/if}>暂未支付</option>
+<option value="2" {if $customeramz['capital'] == 2}selected="selected"{/if}>部分支付</option>
 </select>
 </li>
 
@@ -93,14 +93,14 @@
 <em>所属店铺:</em>
 <b>
 {loop usershop() as $val}
- {if $customertt['shop'] == $val['id']}{$val['shopname']}{/if}
+ {if $customeramz['shop'] == $val['id']}{$val['shopname']}{/if}
 {/loop}
 </b>
 </li>
 
 <li>
 <em>订单金额:</em>
-<input name="shouldmoney" class="must currencymoney" value="" type="text" {if $fullordertt['shouldmoney'] > 200}style="color:#F00"{/if}> <font class="currency">CNY</font>
+<input name="shouldmoney" class="must currencymoney" value="" type="text" {if $customeramz['shouldmoney'] > 200}style="color:#F00"{/if}> <font class="currency">CNY</font>
 </li>
 
 
@@ -147,84 +147,84 @@
 
 <li>
 <em>Bill Name:</em>
-<input name="bname" class="must" value="{$customertt['name']}" type="text">
+<input name="bname" class="must" value="{$customeramz['name']}" type="text">
 </li>
 
 <li>
 <em>Ship Name:</em>
-<input name="sname" class="must" value="{$customertt['name']}" type="text">
+<input name="sname" class="must" value="{$customeramz['name']}" type="text">
 </li>
 
 <li class="length remark">
 <em>Bill Address:</em>
-<input class="must" name="baddress" value="{$customertt['address']},{$customertt['city']},{$customertt['province']},{$customertt['zipcode']},{$bm['al']},{$customertt['phone']}" type="text">
+<input class="must" name="baddress" value="{$customeramz['address']},{$customeramz['city']},{$customeramz['province']},{$customeramz['zipcode']},{$bm['al']},{$customeramz['phone']}" type="text">
 </li>
 
 <li class="length remark">
 <em>Ship Address:</em>
-<input class="must" name="saddress" value="{$customertt['address']},{$customertt['city']},{$customertt['province']},{$customertt['zipcode']},{$bm['al']},{$customertt['phone']}" type="text">
+<input class="must" name="saddress" value="{$customeramz['address']},{$customeramz['city']},{$customeramz['province']},{$customeramz['zipcode']},{$bm['al']},{$customeramz['phone']}" type="text">
 </li>
 
 <li>
 <em>邮箱:</em>
-<input class="must" name="email" value="{$customertt['email']}" type="text">
+<input class="must" name="email" value="{$customeramz['email']}" type="text">
 </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>
+<option value="{$val['id']}" {if $customeramz['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
 {/loop}
 </select>
 </li>
 
 <li>
 <em>联系方式:</em>
-<input name="phone" class="must" value="{$customertt['phone']}" type="text">
+<input name="phone" class="must" value="{$customeramz['phone']}" type="text">
 </li>
 
 <li>
 <em>省州:</em>
-<input class="must" value="{$customertt['province']}" name="province" type="text">
+<input class="must" value="{$customeramz['province']}" name="province" type="text">
 </li>
 
 <li>
 <em>公司名:</em>
-<input class="must" name="client" value="{$customertt['name']}" type="text">
+<input class="must" name="client" value="{$customeramz['name']}" type="text">
 </li>
 
 <li>
 <em>城市:</em>
-<input class="must" value="{$customertt['city']}" name="city" type="text">
+<input class="must" value="{$customeramz['city']}" name="city" type="text">
 </li>
 
 <li>
 <em>收货人姓名:</em>
-<input name="name" class="must" value="{$customertt['name']}" type="text">
+<input name="name" class="must" value="{$customeramz['name']}" type="text">
 </li>
 
 <li>
 <em>邮编:</em>
-<input value="{$customertt['zipcode']}" name="zipcode" type="text">
+<input value="{$customeramz['zipcode']}" name="zipcode" type="text">
 </li>
 
 {if $is == 5}
 <!--
 <li class="length">
 <em>街道:</em>
-<input value="{$customertt['street']}" name="street" type="text">
+<input value="{$customeramz['street']}" name="street" type="text">
 </li>
 -->
 {/if}
 <li class="length">
 <em>地址2:</em>
-<input value="{$customertt['address2']}" name="address2" type="text">
+<input value="{$customeramz['address2']}" name="address2" type="text">
 </li>
 
 <li class="length">
 <em>地址1:</em>
-<input value="{$customertt['address']}" name="address" type="text">
+<input value="{$customeramz['address']}" name="address" type="text">
 </li>
 
 <li class="lengththree">
@@ -284,7 +284,7 @@
 <em>快递方式:</em>
 <select name="express" class="select class">
 {loop express(100) as $val}
-<option value="{$val['id']}" data-type="{$val['type']}" {if $fullordertt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
+<option value="{$val['id']}" data-type="{$val['type']}" {if $customeramz['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
 {/loop}
 </select>
 </li>
@@ -320,7 +320,7 @@
 
 <li class="lengththree">
 <em>购买保险:</em>
-<input name="bx" class="must" value="{if $fullordertt['bx']}{$fullordertt['bx']}{else}0.00{/if}" type="text"> USD
+<input name="bx" class="must" value="{if $customeramz['bx']}{$customeramz['bx']}{else}0.00{/if}" type="text"> USD
 </li>
 
 <li class="lengththree">
@@ -334,23 +334,23 @@
 <li class="lengththree">
 <em>服务类型:</em>
 <select name="js" class="printtype select class">
-<option value="0" {if $fullordertt['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
-<option value="1" {if $fullordertt['js'] == 1}selected="selected"{/if}>PRIORITY</option>
-<option value="2" {if $fullordertt['js'] == 2}selected="selected"{/if}>EXPRESS</option>
+<option value="0" {if $customeramz['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
+<option value="1" {if $customeramz['js'] == 1}selected="selected"{/if}>PRIORITY</option>
+<option value="2" {if $customeramz['js'] == 2}selected="selected"{/if}>EXPRESS</option>
 </select>
 </li>
 
 <li class="lengththree none">
 <em>延迟发货:</em>
 <select name="yc" class="printtype select class">
-<option value="0" {if $fullordertt['yc'] == 0}selected="selected"{/if}>0</option>
-<option value="1" {if $fullordertt['yc'] == 1}selected="selected"{/if}>1</option>
-<option value="2" {if $fullordertt['yc'] == 2}selected="selected"{/if}>2</option>
-<option value="3" {if $fullordertt['yc'] == 3}selected="selected"{/if}>3</option>
-<option value="4" {if $fullordertt['yc'] == 4}selected="selected"{/if}>4</option>
-<option value="5" {if $fullordertt['yc'] == 5}selected="selected"{/if}>5</option>
-<option value="6" {if $fullordertt['yc'] == 6}selected="selected"{/if}>6</option>
-<option value="7" {if $fullordertt['yc'] == 7}selected="selected"{/if}>7</option>
+<option value="0" {if $customeramz['yc'] == 0}selected="selected"{/if}>0</option>
+<option value="1" {if $customeramz['yc'] == 1}selected="selected"{/if}>1</option>
+<option value="2" {if $customeramz['yc'] == 2}selected="selected"{/if}>2</option>
+<option value="3" {if $customeramz['yc'] == 3}selected="selected"{/if}>3</option>
+<option value="4" {if $customeramz['yc'] == 4}selected="selected"{/if}>4</option>
+<option value="5" {if $customeramz['yc'] == 5}selected="selected"{/if}>5</option>
+<option value="6" {if $customeramz['yc'] == 6}selected="selected"{/if}>6</option>
+<option value="7" {if $customeramz['yc'] == 7}selected="selected"{/if}>7</option>
 </select>
 </li>
@@ -375,8 +375,8 @@
 <input type="hidden" name="cost" value="" />
 <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
 <input type="hidden" name="jgyc" value="1" />
-<input type="hidden" name="customerttid" value="{$customertt['id']}" />
-<input type="hidden" name="shop" value="{$customertt['shop']}" />
+<input type="hidden" name="customeramzid" value="{$customeramz['id']}" />
+<input type="hidden" name="shop" value="{$customeramz['shop']}" />
 <input type="hidden" name="mdedit" value="" />
 </div>
 <div class="button"><font class="yzaddress" style="margin-right:160px;">USPS验证地址</font> <font class="fullorderdata-ts">保 存</font> <font class="fh">关 闭</font></div>
@@ -385,16 +385,16 @@
 <div class="none fullorderdata"></div>
 <div class="zm none"></div>
 <script type="text/javascript">
-var addedit="/customertt/mdedit/";
-var fh="/fullordertt";
+var addedit="/customeramz/mdedit/";
+var fh="/customeramz";
 $(document).ready(function() { 
 if($("select[name='express']").find("option:selected").val() == '24')//联邦的话替换签名选项
 		{
-			 $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>成人签名</option>');
+			 $("select[name='qm']").html('<option value="0" {if $customeramz["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $customeramz["qm"] == 1}selected="selected"{/if}>成人签名</option>');
 		}
 		else
 		{
-			 $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
+			 $("select[name='qm']").html('<option value="0" {if $customeramz["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $customeramz["qm"] == 1}selected="selected"{/if}>需要</option>');
 		}
 $("#buytime").calendar();$("#buytimeCalendar").css('position','absolute')
  var index = $("#currency").find("option:selected").text();
@@ -410,7 +410,7 @@ var index = $("select[name='printtype']").find("option:selected").index();
 		var e = $("select[name=express]").find("option:selected").val();
 		var c = $("select[name=country]").find("option:selected").val();
 		 $.ajax({
-        url: "/fullordertt/customs/",
+        url: "/customeramz/customs/",
         data: "e="+e+"&c="+c,
         type: "POST",
         dataType: "json",

+ 1 - 1
template/erp/customeramz_newold.html

@@ -19,7 +19,7 @@ $(".default span").click(function() {
  function defaultgo() {
 	  layx.load('loadId','数据加载中');
 	  $.ajax({
-        url: "/customertt/newold/",
+        url: "/customeramz/newold/",
         data: "timek="+$("#timetk").val()+"&timej="+$("#timetj").val(),
         type: "POST",
         dataType: "json",