|
|
|
@ -37,13 +37,13 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>帐号:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="account" id="account" placeholder="请输入帐号">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="account" id="account" maxlength="15" minlength="6" placeholder="请输入帐号">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="real_name" id="real_name" placeholder="请输入姓名">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="real_name" id="real_name" maxlength="4" minlength="2" placeholder="请输入姓名">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -141,8 +141,14 @@
|
|
|
|
|
if($('#account').val()==""){
|
|
|
|
|
return json_data = {'status':0,'msg':'子渠道账号不能为空'}
|
|
|
|
|
}
|
|
|
|
|
if($.trim($('#account').val()).length < 6){
|
|
|
|
|
return json_data = {'status':0,'msg':'子渠道账号不能小于6位字符'}
|
|
|
|
|
// if($.trim($('#account').val()).length < 6){
|
|
|
|
|
// return json_data = {'status':0,'msg':'子渠道账号不能小于6位字符'}
|
|
|
|
|
// }
|
|
|
|
|
if($.trim($('#account').val()).length < 6 || $.trim($('#account').val()).length > 15){
|
|
|
|
|
return json_data = {'status':0,'msg':'子渠道账号长度为6-15位字符'}
|
|
|
|
|
}
|
|
|
|
|
if($.trim($('#real_name').val()).length < 2 || $.trim($('#real_name').val()).length > 4){
|
|
|
|
|
return json_data = {'status':0,'msg':'子渠道姓名长度为2-4位字符'}
|
|
|
|
|
}
|
|
|
|
|
if($('#password').val()==""){
|
|
|
|
|
return json_data = {'status':0,'msg':'子渠道密码不能为空'}
|
|
|
|
|