|
@@ -22,6 +22,7 @@
|
|
|
|
|
|
<body>
|
|
|
<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="padding: 10px 0;">
|
|
|
<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{
|
|
|
isNeedBirthday = 1;
|
|
|
}
|
|
|
+
|
|
|
+ if(dt.data.memberToothNumber > 0){
|
|
|
+ $("#addOneTooth em").html(dt.data.memberToothNumber)
|
|
|
+ $("#addOneTooth").show();
|
|
|
+ }
|
|
|
+
|
|
|
oldPhone = dt.data.memberInfo.userTel;
|
|
|
|
|
|
if(oldPhone != null && oldPhone != "" && typeof(oldPhone) != "undefined"){
|