浏览代码

上朵分销

wangxiaoming 7 年之前
父节点
当前提交
100c3a1b3f
共有 2 个文件被更改,包括 23 次插入9 次删除
  1. 9 6
      tooth/channel-clearing.html
  2. 14 3
      tooth/register-vip.html

文件差异内容过多而无法显示
+ 9 - 6
tooth/channel-clearing.html


+ 14 - 3
tooth/register-vip.html

@@ -22,6 +22,7 @@
 
 
 	<body>
 	<body>
 		<div class="mui-content">
 		<div class="mui-content">
+			<h6 style="text-align: center;margin-top: 10px;display: none;" id="addOneTooth">尊敬的会员,您已经添加过 <em class="cl-red">1</em> 支牙刷了,添加后无法撤销。</h6>
 			<div style="margin: 20px 0;text-align: center;">
 			<div style="margin: 20px 0;text-align: center;">
 				<div style="padding: 10px 0;">
 				<div style="padding: 10px 0;">
 					<span class="iconfont icon-chenggong" style="color: #3bbf64;font-size: 40px;"></span>
 					<span class="iconfont icon-chenggong" style="color: #3bbf64;font-size: 40px;"></span>
@@ -414,12 +415,22 @@
 											}
 											}
 										}
 										}
 										
 										
-										if(dt.data.memberInfo.userIdentity == 1 && dt.data.memberInfo.userBirthDate != null){
-											$("#js-userBirthDate").hide();
-											isNeedBirthday = 2;
+										if(dt.data.memberInfo.userIdentity == 1){
+											if(dt.data.memberInfo.userBirthDate != null && typeof(dt.data.memberInfo.userBirthDate) != "undefined"){
+												$("#js-userBirthDate").hide();
+												isNeedBirthday = 2;
+											}else{
+												isNeedBirthday = 1;
+											}
 										}else{
 										}else{
 											isNeedBirthday = 1;
 											isNeedBirthday = 1;
 										}
 										}
+										
+										if(dt.data.memberToothNumber > 0){
+											$("#addOneTooth em").html(dt.data.memberToothNumber)
+											$("#addOneTooth").show();
+										}
+										
 										oldPhone = dt.data.memberInfo.userTel;
 										oldPhone = dt.data.memberInfo.userTel;
 										
 										
 										if(oldPhone != null && oldPhone != "" && typeof(oldPhone) != "undefined"){
 										if(oldPhone != null && oldPhone != "" && typeof(oldPhone) != "undefined"){