From 61e6d8131cc9f590ab92283a4bb1e8de70ba62da Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 22 Jul 2020 22:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E7=9C=9F=E5=AE=9E=E5=90=8D=E7=A7=B0=E5=8F=AA=E8=83=BD=E6=98=AF?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/PromoteCompanyController.class.php | 6 +++--- Application/Admin/View/PromoteCompany/add.html | 3 ++- Application/Admin/View/PromoteCompany/edit.html | 3 ++- Public/static/czinputcheck.js | 1 + 4 files changed, 8 insertions(+), 5 deletions(-) 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){