From 8937235726327c30bc93d488c3f302d5b03b3a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 2 Nov 2019 09:08:38 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c010b28..1a0e3aaa 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ * 欢迎加入华夏ERP交流QQ群,群1:120725710(满)、群2:732152262 * 系统的默认超管账户:admin,默认租户账号:jsh,默认密码均为:123456 * 部署如遇到困难请参考Wiki文档 **https://gitee.com/jishenghua/JSH_ERP/wikis/pages** -* 本系统演示地址:[http://www.huaxiaerp.com](http://www.huaxiaerp.com),账号:jsh,密码:123456,**欢迎登录(如需试用,欢迎注册)** +* 官网地址:[http://www.huaxiaerp.com](http://www.huaxiaerp.com),测试账号:jsh,密码:123456,**(如需长期使用,欢迎注册)** # 定制服务 * 如有ERP **私人定制** 需求,请将需求整理成文档,发给邮箱: **514869858@qq.com** ,我会及时回复哒 @@ -42,7 +42,7 @@ # 系统美图 * 首页 - + * 零售管理  * 采购管理 From 15a431e77f99a08697a3163f89cbb55407cbdd03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 2 Nov 2019 09:49:01 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E7=BB=99=E6=B3=A8=E5=86=8C=E7=9A=84?= =?UTF-8?q?=E8=B4=A6=E6=88=B7=E9=99=90=E5=88=B6=E4=B8=BA=E5=8F=AA=E8=83=BD?= =?UTF-8?q?=E7=94=A8=E6=89=8B=E6=9C=BA=E5=8F=B7=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/common/common.js | 14 ++++++++++++++ erp_web/register.html | 13 ++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/erp_web/js/common/common.js b/erp_web/js/common/common.js index cd866865..3c91a0d0 100644 --- a/erp_web/js/common/common.js +++ b/erp_web/js/common/common.js @@ -334,4 +334,18 @@ function turnBillDetailPage(number, type) { js.addTabPage(null, "单据明细", "/pages/materials/bill_detail.html?n="+ number + "&type=" + type); + } + + /** + * 验证手机号码 + * @param phoneInput + * @returns {boolean} + */ + function isPhoneAvailable(phoneInput) { + var myreg=/^[1][3,4,5,7,8,9][0-9]{9}$/; + if (!myreg.test(phoneInput.val())) { + return false; + } else { + return true; + } } \ No newline at end of file diff --git a/erp_web/register.html b/erp_web/register.html index 65cf02ea..839ca92a 100644 --- a/erp_web/register.html +++ b/erp_web/register.html @@ -48,9 +48,9 @@