diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index 9600bab4d..ab7d59f93 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -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(); } } diff --git a/Application/Admin/View/PromoteCompany/add.html b/Application/Admin/View/PromoteCompany/add.html index 5ff0f6fef..2bf3525fa 100644 --- a/Application/Admin/View/PromoteCompany/add.html +++ b/Application/Admin/View/PromoteCompany/add.html @@ -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(); diff --git a/Application/Admin/View/PromoteCompany/edit.html b/Application/Admin/View/PromoteCompany/edit.html index 88d15b3da..311962430 100644 --- a/Application/Admin/View/PromoteCompany/edit.html +++ b/Application/Admin/View/PromoteCompany/edit.html @@ -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(); diff --git a/Public/static/czinputcheck.js b/Public/static/czinputcheck.js index fa0a1993a..f5058d941 100644 --- a/Public/static/czinputcheck.js +++ b/Public/static/czinputcheck.js @@ -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){