From b7aeb1865574584d70e61a4b72bb00b87f12f479 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期二, 11 六月 2024 20:08:52 +0800
Subject: [PATCH] 5600 run custonevent

---
 pages/modal/5600.vue |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/pages/modal/5600.vue b/pages/modal/5600.vue
index cdd720b..ef0d7b1 100644
--- a/pages/modal/5600.vue
+++ b/pages/modal/5600.vue
@@ -1161,9 +1161,10 @@
 		    });
 		});
 		// console.log(jsonlist);
-		jsonlist.forEach(async (json,key)=>{
-			await $this.runCustomEvent(event,input_param,json,'1');
-		});
+		$this.runCustomEvent(event,input_param,jsonlist,'1');
+		// jsonlist.forEach(async (json,key)=>{
+		// 	await $this.runCustomEvent(event,input_param,json,'1');
+		// });
 	},
     ok2(){
         this.Before_OK_Event = this.param.Sub_Page[1].Before_ok;
@@ -1246,9 +1247,10 @@
     	    });
     	});
     	// console.log(jsonlist);
-    	jsonlist.forEach(async (json,key)=>{
-    		await $this.runCustomEvent(event,input_param,json,'2');
-    	});
+		$this.runCustomEvent(event,input_param,jsonlist,'2');
+    	// jsonlist.forEach(async (json,key)=>{
+    	// 	await $this.runCustomEvent(event,input_param,json,'2');
+    	// });
     },
     //鎵ц纭畾鑴氭湰
     async runCustomEvent(event,input_param,json,type){
@@ -1305,12 +1307,12 @@
 								}
 							});
 							//娓呴櫎姝e湪鐮佺洏涓垚鍔熺殑鏁版嵁
-							$this.$data.detail1StyleDefList.forEach((style,index)=>{
-							  if(style.form.items[0].fieldId == json.attrs[0].attr && style.form.items[0].value == json.attrs[0].value){ 
-								$this.$data.detail1StyleDefList.splice(index,1);
-								return;
-							  }
-							});
+							// $this.$data.detail1StyleDefList.forEach((style,index)=>{
+							//   if(style.form.items[0].fieldId == json.attrs[0].attr && style.form.items[0].value == json.attrs[0].value){ 
+							// 	$this.$data.detail1StyleDefList.splice(index,1);
+							// 	return;
+							//   }
+							// });
 							// this.detail2StyleDefList=[];
 							uni.showModal({title:"鎻愮ず",content:"鐮佺洏鎴愬姛",showCancel:false,confirmText:"鍙栨秷"});
 						 //  } else if(item.action_type == "refresh"){  //鍒锋柊

--
Gitblit v1.9.1