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/tDriver/tDriverExceptionStartAndStop.html   |    4 +-
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_add.html                    |   14 +++---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html                   |   14 +++---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tAgent/tAgent_add.html                      |   10 ++--
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tEdition/tEdition_add.html                  |    4 +-
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStopException.html |    4 +-
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStop.html          |    4 +-
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tCoupon/tCoupon_add.html                    |   14 +++---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverStartAndStop.html            |    4 +-
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverAudit.html                   |    2 
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverRechargeBalancePage.html     |    2 
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_edit.html       |   12 +++---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_add.html        |   12 +++---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tYouTui/tYouTui_add.html                    |    4 +-
 14 files changed, 52 insertions(+), 52 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>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStop.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStop.html
index 4d4a4e5..a8b42b7 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStop.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStop.html
@@ -9,10 +9,10 @@
                         <input hidden id="status" value="${status}">
                         <div class="col-lg-3">
                             @if(status==1){
-                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" style="width: 681px; height: 249px;"></textarea>
+                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                             @if(status==2){
-                                启用理由:<textarea id="startRemark" placeholder="请输入启用理由" style="width: 681px; height: 249px;"></textarea>
+                                启用理由:<textarea id="startRemark" placeholder="请输入启用理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                         </div>
                         <div class="hidden-xs" id="TAppUserTableToolbar" role="group"  style="margin-left:300px">
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStopException.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStopException.html
index d18e878..c0480d6 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStopException.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tAppUser/tAppUserStartAndStopException.html
@@ -9,10 +9,10 @@
                         <input hidden id="status" value="${status}">
                         <div class="col-lg-3">
                             @if(status==1){
-                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" style="width: 681px; height: 249px;"></textarea>
+                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                             @if(status==2){
-                                启用理由:<textarea id="startRemark" placeholder="请输入启用理由" style="width: 681px; height: 249px;"></textarea>
+                                启用理由:<textarea id="startRemark" placeholder="请输入启用理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                         </div>
                         <div class="hidden-xs" id="TAppUserTableToolbar" role="group"  style="margin-left:300px">
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_add.html
index 8df3c2e..2af7f0b 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_add.html
@@ -15,7 +15,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >分公司名称:</label>
-                                    <input id="branchOfficeName" name="branchOfficeName" type="text" style="height: 30px" required="required">
+                                    <input id="branchOfficeName" name="branchOfficeName" type="text" maxlength="20" style="height: 30px" required="required">
                                 </div>
                             </div>
 
@@ -23,19 +23,19 @@
                                 <div class="initialLevel col-sm-3 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="required">
+                                    <input id="principal" name="principal" type="text" style="height: 30px" maxlength="20"  placeholder="请输入" required="required">
                                 </div>
                                 <div class="initialLevel col-sm-3 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="required">
+                                    <input id="principalPhone" name="principalPhone" type="number" maxlength="11" placeholder="请输入" style="height: 30px" required="required">
                                 </div>
                             </div>
 
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邮箱:</label>
-                                    <input id="email" type="email" style="height: 30px">
+                                    <input id="email" type="email" maxlength="40" placeholder="请输入" style="height: 30px">
                                 </div>
                             </div>
 
@@ -50,14 +50,14 @@
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >开户银行:</label>
-                                    <input id="bankDeposit" type="text" style="height: 30px">
+                                    <input id="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-3 control-label form-group"  >
                                     <label class="control-label" >银行账户:</label>
-                                    <input id="bankAccount" type="text" style="height: 30px">
+                                    <input id="bankAccount" type="text" maxlength="20" placeholder="请输入" style="height: 30px">
                                 </div>
                             </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_edit.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_edit.html
index 8b42aa4..4efc1a3 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_edit.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tBranchOffice/tBranchOffice_edit.html
@@ -17,7 +17,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >分公司名称:</label>
-                                    <input id="branchOfficeName" value="${item.branchOfficeName}" name="branchOfficeName" type="text" style="height: 30px" required="required">
+                                    <input id="branchOfficeName" value="${item.branchOfficeName}" name="branchOfficeName" type="text" maxlength="20" style="height: 30px" required="required">
                                 </div>
                             </div>
 
@@ -25,19 +25,19 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >负责人姓名:</label>
-                                    <input id="principal" value="${item.principal}" name="principal" type="text" style="height: 30px" required="required">
+                                    <input id="principal" value="${item.principal}" name="principal" type="text" maxlength="20" style="height: 30px" required="required">
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >联系电话:</label>
-                                    <input id="principalPhone" value="${item.principalPhone}" name="principalPhone" type="number" style="height: 30px" required="required">
+                                    <input id="principalPhone" value="${item.principalPhone}" name="principalPhone" type="number" maxlength="20" style="height: 30px" required="required">
                                 </div>
                             </div>
 
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邮箱:</label>
-                                    <input id="email" value="${item.email}" type="email" style="height: 30px">
+                                    <input id="email" value="${item.email}" type="email"  maxlength="40" style="height: 30px">
                                 </div>
                             </div>
 
@@ -52,14 +52,14 @@
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >开户银行:</label>
-                                    <input id="bankDeposit" value="${item.bankDeposit}" type="text" style="height: 30px">
+                                    <input id="bankDeposit" value="${item.bankDeposit}" type="text" maxlength="20" style="height: 30px">
                                 </div>
                             </div>
 
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >银行账户:</label>
-                                    <input id="bankAccount" value="${item.bankAccount}" type="text" style="height: 30px">
+                                    <input id="bankAccount" value="${item.bankAccount}" type="text" maxlength="20" style="height: 30px">
                                 </div>
                             </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCoupon/tCoupon_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCoupon/tCoupon_add.html
index 7542e6e..5e33072 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCoupon/tCoupon_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCoupon/tCoupon_add.html
@@ -14,7 +14,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label" >优惠券名称:</label>
-                                <input id="couponName" name="couponName" type="text" style="height: 30px" required="required">
+                                <input id="couponName" name="couponName" type="text" maxlength="20" placeholder="最多输入20个字符" style="height: 30px" required="required">
                             </div>
                         </div>
 
@@ -45,7 +45,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">优惠券限制数量:</label>
-                                <input id="couponCount" name="couponCount" type="number" style="height: 30px" required>
+                                <input id="couponCount" name="couponCount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                         </div>
 
@@ -53,7 +53,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">条件金额:订单满</label>
-                                <input id="couponConditionalAmount" name="couponConditionalAmount" type="number" style="height: 30px" required>
+                                <input id="couponConditionalAmount" name="couponConditionalAmount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                             <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" >
                                 <label>可使用</label>
@@ -64,7 +64,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">优惠金额:</label>
-                                <input id="couponPreferentialAmount" name="couponPreferentialAmount" type="number" style="height: 30px" required>
+                                <input id="couponPreferentialAmount" name="couponPreferentialAmount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                         </div>
 
@@ -72,7 +72,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">有效期:</label>
-                                <input id="couponValidity" name="couponValidity" type="number" style="height: 30px" required>
+                                <input id="couponValidity" name="couponValidity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                             <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" >
                                 <label>天</label>
@@ -83,7 +83,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">优惠券总量:</label>
-                                <input id="remainingQuantity" name="remainingQuantity" type="number" style="height: 30px" required>
+                                <input id="remainingQuantity" name="remainingQuantity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                         </div>
 
@@ -91,7 +91,7 @@
                             <div class="initialLevel col-sm-3 control-label form-group"  >
                                 <span style="color:red">*</span>
                                 <label class="control-label">赠送数量:</label>
-                                <input id="couponSendQuantity" name="couponSendQuantity" type="number" style="height: 30px" required>
+                                <input id="couponSendQuantity" name="couponSendQuantity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required>
                             </div>
                             <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" >
                                 <label>张</label>
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverAudit.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverAudit.html
index 64a22d6..773a4ab 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverAudit.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverAudit.html
@@ -124,7 +124,7 @@
                         </div>
                         <div class="initialLevel col-sm-12 control-label form-group"  >
                             <div class="initialLevel col-sm-2 control-label form-group" >
-                                <textarea id="approvalNotes" placeholder="请输入原因" class="control-label" style="width: 280px;height: 100px"></textarea>
+                                <textarea id="approvalNotes" placeholder="请输入原因" maxlength="200" class="control-label" style="width: 280px;height: 100px"></textarea>
                             </div>
                         </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverExceptionStartAndStop.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverExceptionStartAndStop.html
index d78c074..13e4e53 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverExceptionStartAndStop.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverExceptionStartAndStop.html
@@ -9,10 +9,10 @@
                         <input hidden id="status" value="${status}">
                         <div class="col-lg-3">
                             @if(status==1){
-                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" style="width: 681px; height: 249px;"></textarea>
+                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                             @if(status==2){
-                                解冻理由:<textarea id="startRemark" placeholder="请输入解冻理由" style="width: 681px; height: 249px;"></textarea>
+                                解冻理由:<textarea id="startRemark" placeholder="请输入解冻理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                         </div>
                         <div class="hidden-xs" id="TDriverTableToolbar" role="group"  style="margin-left:300px">
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverRechargeBalancePage.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverRechargeBalancePage.html
index a99393e..24d4ff3 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverRechargeBalancePage.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverRechargeBalancePage.html
@@ -7,7 +7,7 @@
                     <div class="col-sm-12">
                         <input hidden id="id" value="${id}">
                         <div class="col-sm-12" style="text-align: center;height: 60px">
-                            充值余额:<input id="backgroundBalance" placeholder="请输入充值金额" style="width: 300px; height: 30px;" required/>
+                            充值余额:<input id="backgroundBalance" placeholder="请输入充值金额" maxlength="4" style="width: 300px; height: 30px;" required/>
                         </div>
                         <div class="hidden-xs" id="TAppUserTableToolbar" role="group" style="text-align: center">
                             <#button name="取消" icon="fa-plus" clickFun="TDriverInfoDlg.close()" />
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverStartAndStop.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverStartAndStop.html
index 818fdfb..041dcf0 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverStartAndStop.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriverStartAndStop.html
@@ -9,10 +9,10 @@
                         <input hidden id="status" value="${status}">
                         <div class="col-lg-3">
                             @if(status==1){
-                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" style="width: 681px; height: 249px;"></textarea>
+                                冻结理由:<textarea id="stopRemark" placeholder="请输入冻结理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                             @if(status==2){
-                                解冻理由:<textarea id="startRemark" placeholder="请输入解冻理由" style="width: 681px; height: 249px;"></textarea>
+                                解冻理由:<textarea id="startRemark" placeholder="请输入解冻理由" maxlength="200" style="width: 681px; height: 249px;"></textarea>
                             @}
                         </div>
                         <div class="hidden-xs" id="TDriverTableToolbar" role="group"  style="margin-left:300px">
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_add.html
index 2d4d775..d4a00d7 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_add.html
@@ -22,12 +22,12 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >姓名:</label>
-                                    <input id="name" name="name" type="text" style="height: 30px" required="required">
+                                    <input id="name" name="name" type="text" style="height: 30px" maxlength="20" placeholder="请输入" required="required">
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >手机号:</label>
-                                    <input id="phone" name="phone" type="number" style="height: 30px" required="required">
+                                    <input id="phone" name="phone" type="number" style="height: 30px" maxlength="11" placeholder="请输入" required="required">
                                 </div>
                             </div>
 
@@ -35,23 +35,23 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >紧急联系人姓名:</label>
-                                    <input id="emergencyContact" name="emergencyContact" type="text" style="height: 30px" required>
+                                    <input id="emergencyContact" name="emergencyContact" type="text" maxlength="20" placeholder="请输入" style="height: 30px" required>
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >紧急联系人电话:</label>
-                                    <input id="emergencyPhone" name="emergencyPhone" type="number" style="height: 30px" required>
+                                    <input id="emergencyPhone" name="emergencyPhone" type="number" maxlength="11" placeholder="请输入" style="height: 30px" required>
                                 </div>
                             </div>
 
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邀约人姓名:</label>
-                                    <input id="inviterName" type="text" style="height: 30px">
+                                    <input id="inviterName" type="text" maxlength="20" placeholder="请输入" style="height: 30px">
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邀约人电话:</label>
-                                    <input id="inviterPhone" type="number" style="height: 30px">
+                                    <input id="inviterPhone" type="number"  maxlength="11" placeholder="请输入" style="height: 30px">
                                 </div>
                             </div>
 
@@ -77,7 +77,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >身份证号码:</label>
-                                    <input id="idcard" name="idcard" type="text" style="height: 30px" required>
+                                    <input id="idcard" name="idcard" type="text" maxlength="20" placeholder="请输入" style="height: 30px" required>
                                 </div>
                             </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html
index 733f5cc..401786e 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html
@@ -22,12 +22,12 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >姓名:</label>
-                                    <input id="name" name="name" value="${item.name}" type="text" style="height: 30px" required>
+                                    <input id="name" name="name" value="${item.name}" type="text" maxlength="20" style="height: 30px" required>
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >手机号:</label>
-                                    <input id="phone" name="phone" value="${item.phone}" type="number" style="height: 30px" required>
+                                    <input id="phone" name="phone" value="${item.phone}" type="number" maxlength="11" style="height: 30px" required>
                                 </div>
                             </div>
 
@@ -35,23 +35,23 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >紧急联系人姓名:</label>
-                                    <input id="emergencyContact" name="emergencyContact" value="${item.emergencyContact}" type="text" style="height: 30px" required>
+                                    <input id="emergencyContact" name="emergencyContact" value="${item.emergencyContact}" type="text" maxlength="20" style="height: 30px" required>
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >紧急联系人电话:</label>
-                                    <input id="emergencyPhone" name="emergencyPhone" value="${item.emergencyPhone}" type="number" style="height: 30px" required>
+                                    <input id="emergencyPhone" name="emergencyPhone" value="${item.emergencyPhone}" type="number" maxlength="11" style="height: 30px" required>
                                 </div>
                             </div>
 
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邀约人姓名:</label>
-                                    <input id="inviterName" value="${item.inviterName}" type="text" style="height: 30px">
+                                    <input id="inviterName" value="${item.inviterName}" type="text" maxlength="20" style="height: 30px">
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <label class="control-label" >邀约人电话:</label>
-                                    <input id="inviterPhone" value="${item.inviterPhone}" type="number" style="height: 30px">
+                                    <input id="inviterPhone" value="${item.inviterPhone}" type="number" maxlength="11" style="height: 30px">
                                 </div>
                             </div>
 
@@ -77,7 +77,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >身份证号码:</label>
-                                    <input id="idcard" name="idcard" value="${item.idcard}" type="text" style="height: 30px" required>
+                                    <input id="idcard" name="idcard" value="${item.idcard}" type="text" maxlength="20" style="height: 30px" required>
                                 </div>
                             </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tEdition/tEdition_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tEdition/tEdition_add.html
index 5472e03..856232f 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tEdition/tEdition_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tEdition/tEdition_add.html
@@ -13,7 +13,7 @@
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-5 control-label form-group"  >
                                     <label class="control-label  col-sm-2" >版本编号:</label>
-                                    <input id="editionNo" name="editionNo" type="text" class="col-sm-3" style="width: 180px;height: 30px" required="required">
+                                    <input id="editionNo" name="editionNo" type="text" class="col-sm-3" placeholder="版本编号" style="width: 180px;height: 30px" required="required">
                                 </div>
                             </div>
 
@@ -39,7 +39,7 @@
                             <div class="initialLevel col-sm-12 control-label form-group"  >
                                 <div class="initialLevel col-sm-5 control-label form-group"  >
                                     <label class="control-label  col-sm-2" >版本公告:</label>
-                                    <textarea id="editionAnnouncement" name="editionAnnouncement" class="col-sm-3" style="width: 180px;height: 80px"></textarea>
+                                    <textarea id="editionAnnouncement" name="editionAnnouncement" placeholder="多行输入" class="col-sm-3" maxlength="500" style="width: 180px;height: 80px"></textarea>
                                 </div>
                             </div>
 
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tYouTui/tYouTui_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tYouTui/tYouTui_add.html
index 77fd724..bf45922 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tYouTui/tYouTui_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tYouTui/tYouTui_add.html
@@ -38,7 +38,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >兑换条件:</label>
-                                    <input id="integral" name="integral" type="number" max="9999" placeholder="最多4位数" style="height: 30px" required>
+                                    <input id="integral" name="integral" type="number" maxlength="4" placeholder="最多4位数" style="height: 30px" required>
                                 </div>
                                 <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" >
                                     <label>积分</label>
@@ -71,7 +71,7 @@
                                 <div class="initialLevel col-sm-3 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >服务内容:</label>
-                                    <textarea id="serviceContent" name="serviceContent" placeholder="请输入" style="height: 80px" required></textarea>
+                                    <textarea id="serviceContent" name="serviceContent" placeholder="请输入" maxlength="500" style="height: 80px" required></textarea>
                                 </div>
                             </div>
 

--
Gitblit v1.7.1