From 50b39c4b52bf5fd61ec46ada365c51e05a16d2ae Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 04 五月 2023 09:11:54 +0800
Subject: [PATCH] Backup0504
---
force-app/main/default/classes/SearchProductController.cls | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/force-app/main/default/classes/SearchProductController.cls b/force-app/main/default/classes/SearchProductController.cls
index 8b4f4f9..e455f66 100644
--- a/force-app/main/default/classes/SearchProductController.cls
+++ b/force-app/main/default/classes/SearchProductController.cls
@@ -1,14 +1,6 @@
public virtual class SearchProductController {
- //lexSearchProduct鎵�闇�瑕佺殑鏂规硶
- //add author:kkbes
- @AuraEnabled
- public static List<ProductLine> getCl(){
- SearchProductController searchProduct= new SearchProductController();
- searchProduct.serContact();
- List<ProductLine> getCl = searchProduct.cl;
- return getCl;
- }
+
public List<ProductLine> cl {get;set;}
@@ -27,7 +19,7 @@
public String lineNo {get;set;} // 瑕敾闈€伄閬告姙銇椼仧琛�
public String val {get;set;} // 瑕敾闈€伄銇嬨倝銇绱㈡枃瀛楀垪
public String celon {get;set;} // 瑕敾闈€伄銇嬨倝銇绱㈡枃瀛楀垪 Celon璇环澧炲姞 2022-04-24 ssm
-
+ public String maxLen {get;set;}
public String SearchName {get;set;} // 妞滅储鏂囧瓧鍒�
public SearchProductController(ApexPages.StandardController controller){
@@ -253,6 +245,11 @@
}
+
+ public void searchNameisNUll(){
+ maxLen =SearchName;
+ SearchName='';
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1