From 39bd6755805e19b584a24db6f5a4b26c90fb88c4 Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com>
Date: 星期三, 10 八月 2022 08:54:42 +0800
Subject: [PATCH] test

---
 pages/modal/classAttr.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/pages/modal/classAttr.vue b/pages/modal/classAttr.vue
index 63c34e0..d5b01a5 100644
--- a/pages/modal/classAttr.vue
+++ b/pages/modal/classAttr.vue
@@ -694,7 +694,7 @@
 							uni.showModal({title:"鎻愮ず",content:ar.DispName+'涓嶈兘涓虹┖锛�,showCancel:false,confirmText:"鍙栨秷"});
 							return;
 						}
-						if(ar.Value=='璇烽�鎷�) ar.Value='';
+						if(ar.Value=='璇烽�鎷� || ar.Value=='鈥斺�璇烽�鎷┾�鈥�) ar.Value='';
 						if(ar.Type=='寮曠敤瀵硅薄(澶氫釜)')
 							if(ar.Value=='璇�) ar.Value='';
 				        if(ar.Type=='寮曠敤浜哄憳' || ar.Type=='寮曠敤椤圭洰')
@@ -777,7 +777,7 @@
 												// 	dictitemlist.push(dictitem[d].CN_S_NAME);
 												// }
 												// ca.dictitemlist = dictitemlist;
-												ca.Value = ca.dictitem[0].CN_S_NAME;
+												ca.Value = '璇烽�鎷�;//ca.dictitem[0].CN_S_NAME;
 											}
 											if(ca.Type=='鏃ユ湡' || ca.Type=='鏃堕棿'){
 												var nowDate = new Date();
@@ -923,14 +923,14 @@
 													if (val[i].attr  == ca.Name) {
 														if(ca.Type=='瀛楀吀' || ca.Type=='瀛楀吀-瀛楃涓�){
 															var dictItemList=[];
-															for(var d in result[i].choice_list){
-																var val =result[i].choice_list[d];
+															for(var d in val[i].choice_list){
+																var val =val[i].choice_list[d];
 																dictItemList.push({"CN_S_NAME":val,"Name":val});
 															}
 															ca.dictitem = dictItemList;
-															// attr[j].dictitem = result[i].choice_list;
+															// attr[j].dictitem = val[i].choice_list;
 														}else{
-															ca.value = val[i].value;
+															// ca.value = val[i].value;
 														}
 													}
 												}
@@ -1118,7 +1118,7 @@
 					var attr = attrlist[i].Attr;
 					for (var j = 0; j < attr.length; j++) {
 						var ar = attr[j];
-						if(ar.Value=='璇烽�鎷�) ar.Value='';
+						if(ar.Value=='璇烽�鎷� || ar.Value=='鈥斺�璇烽�鎷┾�鈥�) ar.Value='';
 						if(ar.Type=='寮曠敤瀵硅薄(澶氫釜)')
 							if(ar.Value=='璇�) ar.Value='';
 				        if(ar.Type=='寮曠敤浜哄憳' || ar.Type=='寮曠敤椤圭洰')
@@ -1206,7 +1206,6 @@
 					var attr = attrlist[i].Attr;
 					for (var j = 0; j < attr.length; j++) {
 						var ar = attr[j];
-						if(ar.Value=='璇烽�鎷�) ar.Value='';
 						if(ar.Type=='寮曠敤瀵硅薄(澶氫釜)')
 							if(ar.Value=='璇�) ar.Value='';
 				        if(ar.Type=='寮曠敤浜哄憳' || ar.Type=='寮曠敤椤圭洰')

--
Gitblit v1.9.1