From 9df1a2176d0c1d2bf1a9549a6f8bd70e1f46827d Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 08 六月 2023 13:42:38 +0800
Subject: [PATCH] 修改bug

---
 management/guns-admin/src/main/webapp/static/modular/system/tAgent/tAgent_info.js |    4 ++++
 1 files changed, 4 insertions(+), 0 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 53f47c2..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){

--
Gitblit v1.7.1