From 57a99060441cd4dbf33f78ce0a59954a13bc34ea Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 07 六月 2023 20:15:20 +0800
Subject: [PATCH] 代理商修改

---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

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 449b111..6b2256f 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
@@ -121,7 +121,7 @@
                             <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="firstCertificateTime" name="firstCertificateTime" type="text" placeholder="请选择时间" style="height: 30px" disabled>
+                                    <input id="firstCertificateTime" name="firstCertificateTime" value="${item.firstCertificateTimeStr}" type="text" placeholder="请选择时间" style="height: 30px" disabled>
                                 </div>
                             </div>
 
@@ -211,6 +211,14 @@
 <script src="${ctxPath}/static/modular/system/tDriver/tDriver_info.js"></script>
 <script src="${ctxPath}/static/modular/system/tDriver/tDriver.js"></script>
 <script type="text/javascript">
+
+    laydate.render({
+        elem: '#firstCertificateTime',
+        type: 'date',
+        range: false,
+        max: Date.now()
+    });
+
     $(function () {
         if('' == $("#inviterName").val()){
             $("#inviterName").val('')

--
Gitblit v1.7.1