From 30d572757ef13c58770d0bed1a7356c6f1ad81d4 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期三, 15 三月 2023 09:31:46 +0800 Subject: [PATCH] 规则校验 --- management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html index 7ebef5f..4261860 100644 --- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html +++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html @@ -10,21 +10,21 @@ <div class="initialLevel col-sm-6 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >负责人姓名:</label> - <input id="principal" name="principal" type="text" style="height: 30px" required> + <input id="principal" name="principal" type="text" maxlength="20" placeholder="请输入" style="height: 30px" required> </div> </div> <div class="initialLevel col-sm-12 control-label form-group"> <div class="initialLevel col-sm-6 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >联系电话:</label> - <input id="principalPhone" name="principalPhone" type="number" style="height: 30px" required> + <input id="principalPhone" name="principalPhone" maxlength="11" type="number" placeholder="请输入" style="height: 30px" required> </div> </div> <div class="initialLevel col-sm-12 control-label form-group"> <div class="initialLevel col-sm-6 control-label form-group" > <label class="control-label" >邮箱:</label> - <input id="email" name="email" type="email" style="height: 30px"> + <input id="email" name="email" type="email" maxlength="40" placeholder="请输入" style="height: 30px"> </div> </div> @@ -39,14 +39,14 @@ <div class="initialLevel col-sm-12 control-label form-group"> <div class="initialLevel col-sm-6 control-label form-group" > <label class="control-label" >开户银行:</label> - <input id="bankDeposit" name="bankDeposit" type="text" style="height: 30px"> + <input id="bankDeposit" name="bankDeposit" type="text" maxlength="20" placeholder="请输入" style="height: 30px"> </div> </div> <div class="initialLevel col-sm-12 control-label form-group"> <div class="initialLevel col-sm-6 control-label form-group" > <label class="control-label" >银行账户:</label> - <input id="bankAccount" name="bankAccount" type="number" style="height: 30px"> + <input id="bankAccount" name="bankAccount" type="number" maxlength="20" placeholder="请输入" style="height: 30px"> </div> </div> -- Gitblit v1.7.1