|
|
|
@ -36,19 +36,19 @@
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>姓名:</td>
|
|
|
|
|
<td class="l">姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="real_name" id="real_name" maxlength="4" minlength="2" placeholder="请输入姓名">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>身份证:</td>
|
|
|
|
|
<td class="l">身份证:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="idcard" id="idcard" placeholder="请输入身份证">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>手机号:</td>
|
|
|
|
|
<td class="l">手机号:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="name input-txt txt" name="mobile_phone" id="mobile_phone" placeholder="请输入手机号">
|
|
|
|
|
</td>
|
|
|
|
@ -147,8 +147,10 @@
|
|
|
|
|
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 ($.trim($('#real_name').val()) != '') {
|
|
|
|
|
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':'子渠道密码不能为空'}
|
|
|
|
|