新增支付宝真实名称只能是中文验证

master
chenzhi 4 years ago
parent f66bce14b2
commit 61e6d8131c

@ -185,7 +185,7 @@ class PromoteCompanyController extends ThinkController
$payTypes = PresidentDepositService::$payTypes;
$this->assign('payTypes', $payTypes);
$this->meta_title = '推广公司';
$this->meta_title = '下游推广公司';
$this->display();
}
public function index()
@ -284,7 +284,7 @@ class PromoteCompanyController extends ThinkController
$this->assign('listData', $data);
$this->assign('count', $count);
$this->assign('VerifyStatus', D("PromoteCompanyVerify")->VerifyStatus);
$this->meta_title = '推广公司审核列表';
$this->meta_title = '下游推广公司审核列表';
$this->display();
}
@ -405,7 +405,7 @@ class PromoteCompanyController extends ThinkController
} else {
$this->assign('serviceAgreements', M('service_agreement', 'tab_')->select());
$this->assign('commonset', M('Kuaijieicon')->where(['url' => 'PromoteCompany/add'])->find());
$this->meta_title = '新增推广公司';
$this->meta_title = '新增下游推广公司';
$this->display();
}
}

@ -612,7 +612,8 @@
"company_name":["required",false,"推广公司名称不允许为空"],
"fax_ratio":["number",true,"开票税率必须是数字如果无此项请填0"],
"contact_phone":["phone",true,"联系人电话格式不对"],
"bank_card":["bankid",true,"银行卡格式错误"]
"bank_card":["bankid",true,"银行卡格式错误"],
"ali_user":["realname",true,"支付宝真实名称只能是中文"]
}
if(!CIC.checkInput(obj)){ return false; }
var senddata = $("#form").serializeArray();

@ -790,7 +790,8 @@
"company_name":["required",false,"推广公司名称不允许为空"],
"fax_ratio":["number",true,"开票税率必须是数字如果无此项请填0"],
"contact_phone":["phone",true,"联系人电话格式不对"],
"bank_card":["bankid",true,"银行卡格式错误"]
"bank_card":["bankid",true,"银行卡格式错误"],
"ali_user":["realname",true,"支付宝真实名称只能是中文"]
}
if(!CIC.checkInput(obj)){ return false; }
var senddata = $("#form").serializeArray();

@ -26,6 +26,7 @@
price:[/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,"价格格式错误"],
bankid:[/^([1-9]{1})\d{9,19}$/,"银行卡格式错误"],
nocheck:[false,"无需验证,存在填,不存在舍弃"],
realname:[/[\u4e00-\u9fa5]/,"名字只能是中文"],
checkno:[false,"验证,存在填,不存在报错"],
};
cic.checkAddInput=function(arr){

Loading…
Cancel
Save