From 07279467cafd681aaec3df96046fef9c72155c0b Mon Sep 17 00:00:00 2001 From: zyx Date: Tue, 4 Feb 2020 13:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=99=90=E5=88=B6=E8=A7=84=E5=88=99=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20/=20=E5=BC=80=E6=94=BE=E7=94=B2=E4=B9=99=E6=96=B9=E9=83=BD?= =?UTF-8?q?=E8=83=BD=E4=B8=BA=E4=B8=87=E7=9B=9F=E5=A4=A9=E4=B8=8B=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E6=97=A0=E6=B3=95=E6=A3=80=E7=B4=A2=E5=87=BA=E4=B8=87?= =?UTF-8?q?=E7=9B=9F=E5=A4=A9=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StatementMangementController.class.php | 3 +++ .../StatementMangement/createDownstreamOrder.html | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index 504d22e38..3f5a9b98a 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -39,6 +39,9 @@ class StatementMangementController extends ThinkController if ($_REQUEST['company_id']) { $map['company_name'] = $_REQUEST['company_id']; + if ($_REQUEST['company_id']=='万盟天下科技') { + $map['company_name'] = '海南万盟天下科技有限公司'; + } } $data = M("statement","tab_") diff --git a/Application/Admin/View/StatementMangement/createDownstreamOrder.html b/Application/Admin/View/StatementMangement/createDownstreamOrder.html index ecc9c7baf..a07e1cb91 100644 --- a/Application/Admin/View/StatementMangement/createDownstreamOrder.html +++ b/Application/Admin/View/StatementMangement/createDownstreamOrder.html @@ -203,9 +203,9 @@ var CHECK = { number: /^\d+(\.{1}\d+)?$/, - mobile:/^1[3456789]\d{9}$/, - BankNo:/^([1-9]{1})(\d{15}|\d{18})$/, - money:/((^[1-9]\d*)|^0)(\.\d{0,2}){0,1}$/ + mobile: /^1[3456789]\d{9}$/, + BankNo: /^([1-9]{1})\d{10,19}$/, + money: /((^[1-9]\d*)|^0)(\.\d{0,2}){0,1}$/ } var queryData = []; @@ -592,8 +592,8 @@ return; } var myreg = /^(((13[0-9]{1})|(14[0-9]{1})|(17[0]{1})|(15[0-3]{1})|(15[5-9]{1})|(18[0-9]{1}))+\d{8})$/; - if (!myreg.test(second_party_info['link_phone'])) { - layer.msg("乙方联系电话必须有效"); + if (!second_party_info['link_phone']) { + layer.msg("乙方联系电话不能为空"); return; } if (!second_party_info["bank_account"]) { @@ -614,8 +614,8 @@ return; } - if(!myreg.test(first_party_info['jfTel'])) { - layer.msg("甲方联系电话必须有效"); + if(!first_party_info['jfTel']) { + layer.msg("甲方联系电话不能为空"); return; }