From ef04ce57881e6a338b10d596c5eb76b2220598bf Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 31 八月 2023 11:16:49 +0800
Subject: [PATCH] 更新版本

---
 management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js b/management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js
index 179ae62..16a3346 100644
--- a/management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js
+++ b/management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js
@@ -302,6 +302,10 @@
     if(!this.validate()){
         return ;
     }
+    if(this.tAgentInfoData.userType == 0){
+        delete this.tAgentInfoData.socialCreditCodeExpires;
+        delete this.tAgentInfoData.certIdExpires;
+    }
 
     //提交信息
     var ajax = new $ax(Feng.ctxPath + "/tAgent/add", function(data){
@@ -345,7 +349,4 @@
 
 $(function() {
     Feng.initValidator("tAgentInfoForm", TAgentInfoDlg.validateFields);
-    var carPhoto = new $WebUpload("fileNo");
-    carPhoto.setUploadBarId("progressBar");
-    carPhoto.init();
 });

--
Gitblit v1.7.1