From e8044ee933b7e2f834855f28ea8575d82eb0eeac Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 20 六月 2025 21:25:13 +0800
Subject: [PATCH] 提现管理

---
 ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
index 967e57a..5e4c92c 100644
--- a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
+++ b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js
@@ -58,9 +58,6 @@
         },*/
         password: {
             validators: {
-                notEmpty: {
-                    message: '密码不能为空'
-                },
                 regexp:{
                     regexp: /^.{6,18}$/,
                     message: '密码长度为6-18'
@@ -73,9 +70,6 @@
         },
         rePassword: {
             validators: {
-                notEmpty: {
-                    message: '密码不能为空'
-                },
                 regexp:{
                     regexp: /^.{6,18}$/,
                     message: '密码长度为6-18'
@@ -284,6 +278,17 @@
     if(!this.validate()){
         return ;
     }
+
+    // 判断密码
+    if ($('#password').val() == "" || $('#password').val() == null){
+        Feng.info("密码不能为空");
+        return;
+    }
+    if ($('#rePassword').val() == "" || $('#rePassword').val() == null){
+        Feng.info("密码不能为空");
+        return;
+    }
+
     // 遍历this.tCarInfoData 如果有值为空字符串或者是undefined 将这个字段剔除
     for (var key in this.yesDriverInfoData) {
         if (this.yesDriverInfoData[key] == "" || this.yesDriverInfoData[key] == undefined) {

--
Gitblit v1.7.1