From be102ae06e8f986bd9d1a544cd2752e5fa94231a Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期二, 11 七月 2023 14:23:51 +0800
Subject: [PATCH] LEX Community Deploy0711

---
 force-app/main/default/pages/SearchProduct.page |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/pages/SearchProduct.page b/force-app/main/default/pages/SearchProduct.page
index d944769..4bf9b30 100644
--- a/force-app/main/default/pages/SearchProduct.page
+++ b/force-app/main/default/pages/SearchProduct.page
@@ -1,11 +1,13 @@
-<apex:page id="Page" standardController="Product2" extensions="SearchProductController" sidebar="false" showHeader="false"  >
+<apex:page id="Page" standardController="Product2"  extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" >
     <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
     <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
     <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
-        
+    <apex:includeScript value="/soap/ajax/32.0/connection.js"/>
+    <apex:includeScript value="/soap/ajax/32.0/apex.js"/>
+
     <script>
-        var QuoteEntryMaxLine = window.opener.QuoteEntryMaxLine;
-        function setProductList() {
+        var QuoteEntryMaxLine =window.opener.QuoteEntryMaxLine  ;
+        function setProductList() { 
             var nextLine = top.window.opener.getLastLineNoNext(window.opener.document);
             var hasCheckedCnt = 0;
             var checklist = j$("input[name='checklist']");
@@ -417,7 +419,7 @@
     </script>
     <style type="text/css">
         div#iframelike {
-            color: #fff;
+            color: rgba(1, 118, 211, 1);
             height: 300px;
             overflow-y: auto;
             overflow-x: hidden;
@@ -428,7 +430,9 @@
             <apex:messages styleClass="editListError"/>
         </apex:outputPanel>
         <apex:form id="mainForm">
+        <apex:actionFunction action="{!searchNameisNUll}" name="searchNameisNUll"/>
             <apex:pageBlock id="idSearchSetProduct" title="{!$Label.Product_Search}">
+            
                 <apex:inputHidden id="Trade" value="{!Trade}"/>
                 <table width="900" border="0" style="background-color:#DCDCDC">
                     <colgroup>
@@ -454,7 +458,11 @@
                         <td><apex:inputText id="searchName" value="{!SearchName}" style="width:200px" required="false"/></td>
 <!--                        <td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" rerender="all,message1" onclick="blockme();" oncomplete="unblockUI();"/></td>-->
                         <!-- xudan Enter銈兗銈掑蹇溿仚銈嬨仧銈併�乺erender銆乷nclick銆乷ncomplete鍏ㄩ儴銇仐 -->
-                        <td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" /></td>
+                        <td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" />
+                        
+                        
+                        
+</td>
                         <td>&nbsp;<apex:commandButton value="{!$Label.Add_Product}" style="width:100px;float:right;" disabled="{!Hascl}" rerender="dummy" onclick="setProductList();return false;"/></td>
                     </tr>
                     <tr>

--
Gitblit v1.9.1