buli
2023-05-04 50b39c4b52bf5fd61ec46ada365c51e05a16d2ae
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='';
    }
}