From 8475b9f98c8a4c95446f02be4bf2a64e359c359a Mon Sep 17 00:00:00 2001
From: liwentao <1376563863@qq.com>
Date: 星期五, 11 八月 2023 09:10:31 +0800
Subject: [PATCH] 与测试环境对比,部分代码已被人修改,删除其中的alert和部分硬编码,还原测试环境代码逻辑

---
 force-app/main/default/pages/NewQuoteIrai.page |  818 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 409 insertions(+), 409 deletions(-)

diff --git a/force-app/main/default/pages/NewQuoteIrai.page b/force-app/main/default/pages/NewQuoteIrai.page
index 1bbe34f..85a6b4b 100644
--- a/force-app/main/default/pages/NewQuoteIrai.page
+++ b/force-app/main/default/pages/NewQuoteIrai.page
@@ -9,7 +9,415 @@
     <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
     <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
     <apex:includeScript value="{!URLFOR($Resource.jquerydoubletapjs)}"/>
-    <script type="text/javascript">
+
+    <style type="text/css">
+        div#iframelike {
+            height: 300px;
+            overflow: auto;
+        }
+        div#iframelikeheader {
+            height: 23px;
+            overflow: auto;
+        }
+        input {
+            font-size: 10.5px;
+        }
+        body {
+            font-size: 10.5px;
+        }
+        
+        .visitorplace_results {
+            border: 1px solid gray;
+            background-color: white;
+            padding: 0;
+            margin: 0;
+            list-style: none;
+            position: absolute;
+            z-index: 10000;
+            display: none;
+            overflow:auto;
+            white-space:nowrap;
+            width:400px;
+            height:250px;
+        }
+        .visitorplace_results li {
+            padding: 2px 5px 2px 0px;
+            margin-left : 2px;
+            color: #101010;
+            text-align: left;
+        }
+    </style>
+
+    <apex:form id="mainForm">
+        <apex:outputText id="hiddenQuoid" value="{!quoid}" style="display:none;"/>
+        <apex:inputHidden id="changedAfterPrint" value="{!changedAfterPrint}"/>
+        <apex:inputHidden id="productStatusUpdated" value="{!productStatusUpdated}"/>
+        <apex:inputHidden id="idHiddenUserStateHospital" value="{!loginUser.State_Hospital__c}" />
+        <apex:actionFunction action="{!setProductEntry}" name="setProductEntry" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
+            <apex:param assignTo="{!setProduct_text}" name="setProduct_text" value=""/>
+        </apex:actionFunction>
+        <apex:actionFunction action="{!excelImport}" name="excelImport" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
+            <apex:param assignTo="{!excel_text}" name="select_index" value=""/>
+        </apex:actionFunction>
+        <apex:actionFunction action="{!Save}" name="Save" reRender="mainForm,message1" oncomplete="unblockUI();"/>
+        <apex:actionFunction action="{!OppReflection}" name="OppReflection" reRender="mainForm" oncomplete="unblockUI();"/>
+        <apex:actionFunction action="{!QuoteIrai}" name="QuoteIrai" reRender="mainForm,message1" oncomplete="unblockUI();"/>
+        <apex:pageBlock id="block">
+            <apex:inputHidden value="{!quo.CurrencyIsoCode}" id="CurrencyIsoCode"/>
+            <apex:inputHidden value="{!baseUrl}" id="baseUrl"/>
+            <!--  CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
+            <apex:inputHidden value="{!qb.Estimation_List_Price}" id="hidden_Estimation"/>
+            <apex:inputHidden value="{!qb.QuoteTotal_Page}" id="hidden_quoTotalPrice"/>
+            <apex:inputHidden value="{!qb.MultiYearWarrantyTotalPrice}" id="hidden_MultiYearWarrantyTotalPrice_out"/>
+            <!--  CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 END -->
+            <apex:outputPanel id="message1">
+                <apex:messages styleClass="editListError"/>
+            </apex:outputPanel>
+            <apex:outputPanel rendered="{!errorflg}" >
+                <table width="100%">
+                    <tr>
+                        <td align="left"><div class="errorMsg">{!errorMessage}</div></td>
+                    </tr>
+                </table>
+            </apex:outputPanel>
+            <apex:outputPanel rendered="{!Messageflg}" >
+                <table width="100%">
+                    <tr>
+                        <td align="left">{!Message}</td>
+                    </tr>
+                </table>
+            </apex:outputPanel>
+            <div style="background:rgb(240 238 238);white-space:nowrap;padding:10px">
+                <table border="0">
+                    <tr>
+                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiSubject__c.Label}锛�</th>
+                        <td style="text-align:left;width:220px;margin:10px">
+                            <div class="requiredInput"><div class="requiredBlock"></div><apex:inputField id="idVisitorPlace" value="{!quo.IraiSubject__c}" onblur="vpClear2_delay();" onfocus="setVisitorPlace();" style="width:210px;"/></div>
+                            <apex:inputHidden id="idVisitorPlaceId" value="{!quo.Account__c}"/>
+                            <apex:inputHidden id="idVisitorPlaceHidden" value="{!quo.IraiSubject__c}" />
+                            <apex:inputHidden id="idVisitorPlaceHiddenId" value="{!quo.Account__c}" />                    
+                        </td>
+                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiName__c.Label}锛�</th>
+                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiName__c}" style="width:220px;"/></td>
+                        <th style="text-align:right;width:60px;margin:10px;padding-left:10px">  {!$ObjectType.QuoteIrai__c.fields.IraiComment__c.Label}锛�</th>
+                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiComment__c}" style="width:220px;"/></td>
+                        <th style="text-align:right;width:60px;margin:10px;padding-left:10px">{!$ObjectType.QuoteIrai__c.fields.QuoteProportion__c.Label}锛�</th>
+                        <td style="text-align:left;width:60px;margin:10px;"><apex:inputField value="{!quo.QuoteProportion__c}" style="width:70px;text-align:right;"/></td>
+                        <th style="text-align:left;width:20px;margin:10px;">%</th>
+                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteIrai_Status__c.Label}锛�</th>
+                        <td style="text-align:left;width:80px;margin:10px;"><apex:outputField value="{!quo.QuoteIrai_Status__c}" style="width:80px;"/></td>
+                    </tr>
+                </table>
+                 <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
+                <table border="0">
+                    <tr>
+                        <td>&nbsp;</td>
+                        <!-- <th style="text-align:right">{!IF(displayFlg,'浜у搧鏍囧噯瀹氫环鎬婚','')}</th> -->
+                        <th style="text-align:center;width:50px;white-space:nowrap;padding:20px;">浜у搧鏍囧噯瀹氫环鎬婚 :&nbsp;</th>
+                        <td style="width:176px;padding:10px;">
+                            <apex:outputText id="Estimation_Price"  value="{0, number, ###,##0.00}"
+                            style="text-align:right;width:100px;">
+                                <apex:param value="{!qb.Estimation_List_Price}" />
+                            </apex:outputText>
+                        </td>
+                        <th style="text-align:right;width:100px;white-space:nowrap;padding:10px;">鎶ヤ环鎬婚 :&nbsp;</th>
+                       <!--  <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th> -->
+                        <td style="width:180px;margin:10px;">
+                            <apex:outputtext id="quoTotalPrice" value="{0, number, ###,##0.00}" 
+                            style="text-align:right;width:100px;">
+                                <apex:param value="{!qb.QuoteTotal_Page}"/>
+                            </apex:outputtext>
+                    </td>
+                        
+                    </tr>
+                </table>
+                <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 End -->
+                <table border="0">
+                    <tr>
+                        <th style="width:50px;margin:10px;">&nbsp;</th>
+                        <!-- 浜у搧閰嶅妫�绱㈡寜閽� -->
+                        <td style="width:150px;margin:10px;"><apex:commandButton id="SetProduct" onclick="searchSetProduct();return false;" value="{!$Label.Set_Product}" rerender="dummy"/></td>
+                        <!-- excel 瀵煎嚭鎸夐挳 -->
+                        <td style="width:150px;margin:10px;"><apex:commandButton onclick="openQuoteExcelImport(event);return false;" value="{!$Label.Excel_Import}" rerender="dummy"/></td>
+                        <td style="text-align:right;width:80px;margin:10px;"><apex:commandButton rerender="dummy" id="Btn_RowDelete" onclick="radioChecker2('del');return false;" value="{!$Label.deleteLabel}" style="width:60px;"/></td>
+                        <td style="width:300px;margin:10px;">
+                            <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:100px;"/>
+                            <apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="{!$Label.Row_Down}" style="width:100px;"/>
+                        </td>
+                        <th style="text-align:right;width:80px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiUser__c.Label}锛�</th>
+                        <!-- fy 20220512 -->
+                        <!-- <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.鍗庝笢' || loginUser.Salesdepartment_text__c == '6.鍗庡崡'))}"  > -->
+                        <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag)}"  >
+
+                        <td style="width:150px;margin:10px;"><apex:outputPanel id="IraiUserId"><apex:inputField id="IraiUser" value="{!quo.IraiUser__c}"/></apex:outputPanel></td>
+                        </apex:variable>
+                        <!-- fy 20220512 -->
+                        <!-- <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.鍗庝笢' || loginUser.Salesdepartment_text__c == '6.鍗庡崡')}"  > -->
+                        <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag}"  >
+
+                        <!-- <th style="text-align:right;width:20px;">obsap浜哄憳</th> -->
+                        <td style="text-align:center;width:20px;margin:10px;"><apex:selectList value="{!quo.IraiUser__c}" size="1" style="width:120px" id="IraiUser" onchange="ObsapUsersChange()"><apex:selectOptions value="{!ObsapUsers}" id="obsapUsersList"/></apex:selectList></td>
+                        </apex:variable>
+
+                        <!-- 20230104 lt DB202212427301 start-->
+                        <!-- <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th>
+                        <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> -->
+                        <!-- 20230104 lt DB202212427301 end-->
+
+                        <!-- 20230104 lt DB202212427301 start-->
+                        <th style="text-align:right;width:190px;margin:10px;">绱ф�ワ細</th>
+                        <td style="text-align:center;width:10px;margin:10px;"><apex:inputField id="Urgent" value="{!quo.Urgent__c}"/></td>
+                        <!-- 20230104 lt DB202212427301 end-->
+
+                        <!-- 2020/02/18  绮剧悽鎶�鏈�  闊╅儴闀挎彁鍑哄厛闅愯棌 娌″繀瑕�  Start-->
+                        <!-- <th style="text-align:right;width:70px;">鎬昏</th>
+                        <td style="text-align:right;width:80px;">
+                            <apex:outputtext id="Estimation_List_Price" value="{0, number, ###,##0.00}"><apex:param value="{!total_ListPrice}"/></apex:outputtext>
+                            <apex:inputHidden id="hidden_Estimation_List" value="{!total_ListPrice}"/>
+                        </td> -->
+                        <!-- 2020/02/18  绮剧悽鎶�鏈�  闊╅儴闀挎彁鍑哄厛闅愯棌 娌″繀瑕�  end-->
+                    </tr>
+                </table>
+                <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
+                <table>
+                <tr>
+                    <td>&nbsp;&nbsp;</td>
+                </tr>
+                <tr>
+                    <td style="text-align:right;width:50px;margin:10px;"></td>
+                    <th style="text-align:right;width:50px;margin:10px;" rowspan="3">
+                       {!$ObjectType.QuoteIrai__c.fields.MultiYearWarrantyTotalPrice__c.Label}
+                   :&nbsp;</th>
+                   <!-- <td style="width:470px;"> -->
+                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
+                   <td style="width:100px;" rowspan="3">
+                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
+                       <apex:outputtext style="width: :100px" id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" 
+                       >
+                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
+                       <!-- style="text-align:right;width:180px;"> -->
+                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
+                           <apex:param value="{!qb.MultiYearWarrantyTotalPrice}"/>
+                       </apex:outputtext>
+                   </td>
+                   <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
+                   <th style="width:100px;">&nbsp;</th>
+                   <td style="text-align:right;width:50px;"></td>
+                   <td style="text-align:right;width:50px;"></td>
+                   <!--<th colspan="2" style="width:260px;text-align:center;">{!$Label.Sales_Name}??</th>-->
+                   
+                   <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
+                   <!-- <apex:variable id="contractWarranty" value="{!1}" var="abc" rendered="{!IF(trade   == '鍐呰部',true,false)}">
+                   
+                   <th style="text-align:right;width:50px;">
+                       {!$ObjectType.Quote.fields.MultiYearWarrantyTotalPrice__c.label}
+                   :&nbsp;</th>
+                   <td style="width:470px;">
+                       <apex:outputtext id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" 
+                       style="text-align:right;width:180px;">
+                           <apex:param value="{!quo.MultiYearWarrantyTotalPrice__c}"/>
+                       </apex:outputtext>
+                   </td>
+                   <th style="text-align:right;width:50px;">
+                       {!$ObjectType.Quote.fields.multiYearWarranty__c.label}
+                   :&nbsp;</th>
+                   <td style="width:200px;"><apex:inputField id="multiYearWarranty" value="{!quo.multiYearWarranty__c}" onchange="callFromCancelgurantee_MD();" style="text-align:right;width:30px;" /></td>
+                   </apex:variable> -->
+               </tr>
+               <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
+               <tr>
+                <td ></td>
+                <td ></td>
+                <td ></td>
+                <th style="width:100px;text-align:right;">{!$Label.Sales_Name1}锛�</th>
+                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName1"  value="{!quo.Agency1_entrust__c}"   onChange=""/></td>
+                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy start -->
+                <th style="width:100px;text-align:right;">澶氬勾淇濓細</th>
+                <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
+                <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance"  value="{!quo.cancelMultiyearInsurance__c}"  onChange="cancelMultiyearInsurancechange()"/></td><!-- onChange="cancelMultiyearInsurancechange()"-->
+                <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy end -->
+                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy end -->
+                </tr>
+                <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
+                <!--DB202302464682銆愭姤浠峰鎵樸�戞姤浠峰鎵樻敼鍠�224 fy start-->
+               <tr>
+                <td ></td>
+                <td ></td>
+                <td ></td>
+                <th style="width:100px;text-align:right;margin:10px;">{!$Label.Sales_Name2}锛�</th>
+                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName2"  value="{!quo.Agency2_entrust__c}"   onChange=""/></td>
+                <th style="width:100px;text-align:right;margin:10px;"></th>
+                <td colspan="2" style="width:120px;text-align:left;margin:10px;"></td>
+               </tr>
+                <!--DB202302464682銆愭姤浠峰鎵樸�戞姤浠峰鎵樻敼鍠�224 fy end-->
+                <tr>
+                    <td>&nbsp;</td>
+                </tr>
+            </table>
+             <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 End -->
+            </div>
+            <table>
+                <tr>
+                    <td>&nbsp;</td>
+                </tr>
+            </table>
+            <table style="width:1165px;background:rgb(240 238 238);" border="0">
+                <tr>
+                    <th style="text-align:center;width:30px;">&nbsp;<input type="checkbox" id="checkAll" onclick="selectAll()" style="height:15px;width:15px;"/></th>
+                    <th style="text-align:center;width:15px;">No</th>
+                    <th style="text-align:center;width:150px;">{!$Label.Asset_No}</th>
+                    <th style="text-align:center;width:100px;">{!$Label.SFDA_Status}</th>
+                    <th style="text-align:center;width:300px;">{!$Label.Product_Name}</th>
+                    <th style="text-align:center;width:100px;">{!$Label.Quantity}</th>
+                    <!-- CHAN-BHNBX6 2019/11/20 START -->
+                    <th style="text-align:center;width:50px;">淇濅慨骞撮檺</th>
+                    <!-- CHAN-BHNBX6 2019/11/20 END -->
+                    <th style="text-align:center;width:85px;">ListPrice</th>
+                    <th style="text-align:center;width:100px;">灏忚</th>
+                    <!-- CHAN-BHNBX6 2019/11/20 START -->
+                    <th style="text-align:center;width:100px;">NoDiscount灏忚</th>
+                    <!-- CHAN-BHNBX6 2019/11/20 END -->
+                </tr>
+            </table>
+            <div id="iframelike" style="width:1183px;">
+                <input type="hidden" id="ListPriceTotal" value="0" />
+                <input type="hidden" id="UnitPriceTotal" value="0" />
+                <apex:pageblocktable value="{!activities}" var="s" id="lists" style="width:1165px;text-align:center;">
+                    
+                    <apex:column style="width:20px;" >
+                        <input type="checkbox" name="checklist" value="{!s.lineNo}" style="height:15px;width:15px;"/>
+                    </apex:column>
+                    <!-- No -->
+                    <apex:column style="width:20px;text-align:right;" >
+                        <apex:outputLabel id="indexNo" value="{!IF(s.PageObject.Product2__c==null,null,s.lineNo + 1)}" style="width:10px;"/>
+                    </apex:column>
+                    <!-- 浜у搧缂栧彿-->
+                    <apex:column style="text-align:center;width:150px;">
+                        <apex:inputText id="Assert" style="width:120px;" value="{!s.Asset_Model}" onclick="searchProduct('{!s.lineNo}',this.value)" />
+                        <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
+                        <apex:inputHidden id="CanNotCancelledGurantee__c" value="{!s.CanNotCancelledGurantee}" />
+                        <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
+                    </apex:column>
+                    <!-- NMPA鐘舵�� -->
+                    <apex:column style="width:100px;text-align:center;">
+                        <apex:outputField style="width:75px;" id="Status__c" value="{!s.PageObject.SFDA_Status__c}"/>
+                        <apex:inputHidden id="SFDA" value="{!s.PageObject.SFDA_Status__c}"/>
+                    </apex:column>
+                    <!-- 浜у搧鍚嶇О -->
+                    <apex:column style="width:300px;">
+
+                        <apex:inputHidden id="Name__c" value="{!s.PageObject.Name__c}"/>
+                        <apex:inputHidden id="url__c" value="{!s.PageObject.Product2__c}"/>
+                    </apex:column>
+                    <!-- 鏁伴噺 -->
+                    <apex:column style="text-align:center;width:100px;">
+                        <apex:inputField id="Quantity" style="width:50px;text-align:right;" value="{!s.PageObject.Quantity__c}" onclick="show('{!s.PageObject.GuaranteePeriod__c}')" onChange="calPrice('{!s.lineNo}')"/>
+                    </apex:column>
+                    <!--    2019/11/12 淇濅慨骞撮檺 CHAN-BHNBX6  start -->
+                    <apex:column style="width:50px;text-align:right;" >
+                        <apex:outputLabel id="itemGuaranteePeriod" value="{!s.PageObject.GuaranteePeriod__c}" style="width:10px;"/>
+                    </apex:column>
+                    <!--    2019/11/12 淇濅慨骞撮檺 CHAN-BHNBX6  end -->
+                    <!-- ListPrice-->
+                    <apex:column style="width:85px;text-align:center;">
+                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
+                            <apex:outputText style="width:85px;" id="ListPricetext" value="{0, number, ###,##0.00}">
+                                <apex:param value="{!s.ListPrice_Page}" />
+                            </apex:outputText>
+                        </apex:outputPanel>
+                        <apex:inputHidden id="ListPrice" value="{!s.ListPrice_Page}"/>
+                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
+                            <span style="width:85px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPricetext">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
+                            <script type="text/javascript">
+                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPrice')).val(toNum(0));
+                            </script>
+                        </apex:outputPanel>
+                    </apex:column>
+                    <!-- 灏忚 -->
+                    <apex:column style="width:100px;text-align:center;">
+                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
+                            <apex:outputText style="width:80px;" id="ListPriceTotalText" value="{0, number, ###,##0.00}">
+                                <apex:param value="{!s.ListPriceTotal_Page}" />
+                            </apex:outputText>
+                        </apex:outputPanel>
+                        <apex:inputHidden id="ListPriceTotal" value="{!s.ListPriceTotal_Page}"/>
+                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
+                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPriceTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
+                            <script type="text/javascript">
+                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPriceTotal')).val(toNum(0));
+                            </script>
+                        </apex:outputPanel>
+                        <apex:inputHidden id="Product_Id" value="{!s.PageObject.Product2__c}"/>
+                        <apex:inputHidden id="lineNo" value="{!s.lineNo}"/>
+                    </apex:column>
+                    <!-- CHAN-BHNBX6  NodisCount 灏忚  2019/11/20 START -->
+                    <apex:column style="width:100px;text-align:center;">
+                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
+                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
+                                <apex:param value="{!s.NoDiscountTotal_Page}" />
+                            </apex:outputText>
+                        </apex:outputPanel>
+                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
+                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
+                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
+                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
+                            <script type="text/javascript">
+                            debugger
+                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
+                            </script>
+                        </apex:outputPanel>
+                        
+                        
+                    </apex:column>
+                    <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
+                    <!-- <apex:column style="width:100px;text-align:right;">
+                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='瑕�' ||(quo.cancelMultiyearInsurance__c =='涓嶈' && s.CanNotCancelledGurantee == 'true' ),true,false)}" >
+                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
+                                <apex:param value="{!s.NoDiscountTotal_Page}" />
+                            </apex:outputText>
+                        </apex:outputPanel>
+                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
+                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
+                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='涓嶈'&& s.CanNotCancelledGurantee == 'false'  ,true,false)}" >
+                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
+                            <script type="text/javascript">
+                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
+                            </script>
+                        </apex:outputPanel>
+                    </apex:column> -->
+                    <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy end -->
+                    <!-- CHAN-BHNBX6  NodisCount 灏忚  2019/11/20 END -->
+                </apex:pageBlockTable>
+            </div>
+
+            <BR></BR>
+            <table border="0">
+                <tr>
+                    <td style="width:550px;" align="right">
+                        <apex:inputField value="{!quo.Note__c}" style="width:550px;height:55px;"/>
+                    </td>
+                    <td>
+                        <table border="0">
+                            <tr>
+                                <th style="width:15px">&nbsp;</th>
+                                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy start -->
+                                <td style="width:100px;" align="right"><apex:commandButton id="QuoteIraiBtn" action="{!checkIraiUser}" reRender="IraiUserId,message1" onclick="blockme();" oncomplete="iraiJs();return false;" value="鍙戦�佸鎵橀偖浠�" style="width:100px;white-space:nowrap;" disabled="{!Save_button}"/></td>
+                                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy end -->
+                                <td style="width:100px;" align="right"><apex:commandButton action="{!checkIraiUser}" reRender="IraiUserId,hiddenQuoid,message1" onclick="blockme();" oncomplete="save2btn();return false;" value="{!$Label.Save_Button}" style="width:100px;" disabled="{!Save_button}" /></td>
+                                <!-- 20230109 lt DB202212427301 start  娉ㄩ噴 -->
+                                <!-- <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td>
+                                <td style="width:100px;" align="right"><apex:commandButton action="{!Back}" rerender="hiddenQuoid" value="涓嶄繚瀛橈紙杩斿洖锛�" style="width:90px;"/></td>
+                                <td style="width:100px;" align="right"><apex:commandButton value="浜у搧璇曠敤璇勪环OPD" style="width:95px;" onclick="openpdf('OPD');return false;" disabled="{!pdf_button}"/></td>
+                                <td style="width:100px;" align="right"><apex:commandButton value="浜у搧璇曠敤璇勪环SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> -->
+                                <!-- 20230109 lt DB202212427301 end  娉ㄩ噴 -->
+                            </tr>
+                        </table>
+                    </td>
+                </tr>
+            </table>
+        </apex:pageBlock>
+    </apex:form>
+        <script type="text/javascript">
         var QuoteEntryMaxLine = {!QuoteEntryMaxLine};
         var displayCost = '{!displayCost}';
         var quoid = '{!quoid}';
@@ -202,412 +610,4 @@
             }
         }
     </script>
-    <style type="text/css">
-        div#iframelike {
-            height: 300px;
-            overflow: auto;
-        }
-        div#iframelikeheader {
-            height: 23px;
-            overflow: auto;
-        }
-        input {
-            font-size: 10.5px;
-        }
-        body {
-            font-size: 10.5px;
-        }
-        
-        .visitorplace_results {
-            border: 1px solid gray;
-            background-color: white;
-            padding: 0;
-            margin: 0;
-            list-style: none;
-            position: absolute;
-            z-index: 10000;
-            display: none;
-            overflow:auto;
-            white-space:nowrap;
-            width:400px;
-            height:250px;
-        }
-        .visitorplace_results li {
-            padding: 2px 5px 2px 0px;
-            margin-left : 2px;
-            color: #101010;
-            text-align: left;
-        }
-    </style>
-
-    <apex:form id="mainForm">
-        <apex:outputText id="hiddenQuoid" value="{!quoid}" style="display:none;"/>
-        <apex:inputHidden id="changedAfterPrint" value="{!changedAfterPrint}"/>
-        <apex:inputHidden id="productStatusUpdated" value="{!productStatusUpdated}"/>
-        <apex:inputHidden id="idHiddenUserStateHospital" value="{!loginUser.State_Hospital__c}" />
-        <apex:actionFunction action="{!setProductEntry}" name="setProductEntry" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
-            <apex:param assignTo="{!setProduct_text}" name="setProduct_text" value=""/>
-        </apex:actionFunction>
-        <apex:actionFunction action="{!excelImport}" name="excelImport" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
-            <apex:param assignTo="{!excel_text}" name="select_index" value=""/>
-        </apex:actionFunction>
-        <apex:actionFunction action="{!Save}" name="Save" reRender="mainForm,message1" oncomplete="unblockUI();"/>
-        <apex:actionFunction action="{!OppReflection}" name="OppReflection" reRender="mainForm" oncomplete="unblockUI();"/>
-        <apex:actionFunction action="{!QuoteIrai}" name="QuoteIrai" reRender="mainForm,message1" oncomplete="unblockUI();"/>
-        <apex:pageBlock id="block">
-            <apex:inputHidden value="{!quo.CurrencyIsoCode}" id="CurrencyIsoCode"/>
-            <apex:inputHidden value="{!baseUrl}" id="baseUrl"/>
-            <!--  CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
-            <apex:inputHidden value="{!qb.Estimation_List_Price}" id="hidden_Estimation"/>
-            <apex:inputHidden value="{!qb.QuoteTotal_Page}" id="hidden_quoTotalPrice"/>
-            <apex:inputHidden value="{!qb.MultiYearWarrantyTotalPrice}" id="hidden_MultiYearWarrantyTotalPrice_out"/>
-            <!--  CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 END -->
-            <apex:outputPanel id="message1">
-                <apex:messages styleClass="editListError"/>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!errorflg}" >
-                <table width="100%">
-                    <tr>
-                        <td align="left"><div class="errorMsg">{!errorMessage}</div></td>
-                    </tr>
-                </table>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!Messageflg}" >
-                <table width="100%">
-                    <tr>
-                        <td align="left">{!Message}</td>
-                    </tr>
-                </table>
-            </apex:outputPanel>
-            <div style="background:rgb(240 238 238);white-space:nowrap;padding:10px">
-                <table border="0">
-                    <tr>
-                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiSubject__c.Label}</th>
-                        <td style="text-align:left;width:220px;margin:10px">
-                            <div class="requiredInput"><div class="requiredBlock"></div><apex:inputField id="idVisitorPlace" value="{!quo.IraiSubject__c}" onblur="vpClear2_delay();" onfocus="setVisitorPlace();" style="width:210px;"/></div>
-                            <apex:inputHidden id="idVisitorPlaceId" value="{!quo.Account__c}"/>
-                            <apex:inputHidden id="idVisitorPlaceHidden" value="{!quo.IraiSubject__c}" />
-                            <apex:inputHidden id="idVisitorPlaceHiddenId" value="{!quo.Account__c}" />                    
-                        </td>
-                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiName__c.Label}</th>
-                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiName__c}" style="width:220px;"/></td>
-                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiComment__c.Label}</th>
-                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiComment__c}" style="width:220px;"/></td>
-                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteProportion__c.Label}</th>
-                        <td style="text-align:left;width:60px;margin:10px;"><apex:inputField value="{!quo.QuoteProportion__c}" style="width:70px;text-align:right;"/></td>
-                        <th style="text-align:left;width:20px;margin:10px;">%</th>
-                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteIrai_Status__c.Label}</th>
-                        <td style="text-align:left;width:80px;margin:10px;"><apex:outputField value="{!quo.QuoteIrai_Status__c}" style="width:80px;"/></td>
-                    </tr>
-                </table>
-                 <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
-                <table border="0">
-                    <tr>
-                        <td>&nbsp;</td>
-                        <!-- <th style="text-align:right">{!IF(displayFlg,'浜у搧鏍囧噯瀹氫环鎬婚','')}</th> -->
-                        <th style="text-align:right;width:50px;white-space:nowrap;padding:20px;">浜у搧鏍囧噯瀹氫环鎬婚 :&nbsp;</th>
-                        <td style="width:176px;padding:10px;">
-                            <apex:outputText id="Estimation_Price"  value="{0, number, ###,##0.00}"
-                            style="text-align:right;width:100px;">
-                                <apex:param value="{!qb.Estimation_List_Price}" />
-                            </apex:outputText>
-                        </td>
-                        <th style="text-align:right;width:100px;white-space:nowrap;padding:10px;">鎶ヤ环鎬婚 :&nbsp;</th>
-                       <!--  <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th> -->
-                        <td style="width:180px;margin:10px;">
-                            <apex:outputtext id="quoTotalPrice" value="{0, number, ###,##0.00}" 
-                            style="text-align:right;width:100px;">
-                                <apex:param value="{!qb.QuoteTotal_Page}"/>
-                            </apex:outputtext>
-                    </td>
-                        
-                    </tr>
-                </table>
-                <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 End -->
-                <table border="0">
-                    <tr>
-                        <th style="width:50px;margin:10px;">&nbsp;</th>
-                        <!-- 浜у搧閰嶅妫�绱㈡寜閽� -->
-                        <td style="width:150px;margin:10px;"><apex:commandButton id="SetProduct" onclick="searchSetProduct();return false;" value="{!$Label.Set_Product}" rerender="dummy"/></td>
-                        <!-- excel 瀵煎嚭鎸夐挳 -->
-                        <td style="width:150px;margin:10px;"><apex:commandButton onclick="openQuoteExcelImport(event);return false;" value="{!$Label.Excel_Import}" rerender="dummy"/></td>
-                        <td style="text-align:right;width:80px;margin:10px;"><apex:commandButton rerender="dummy" id="Btn_RowDelete" onclick="radioChecker2('del');return false;" value="{!$Label.deleteLabel}" style="width:60px;"/></td>
-                        <td style="width:300px;margin:10px;">
-                            <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:100px;"/>
-                            <apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="{!$Label.Row_Down}" style="width:100px;"/>
-                        </td>
-                        <th style="text-align:right;width:80px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiUser__c.Label}</th>
-                        <!-- fy 20220512 -->
-                        <!-- <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.鍗庝笢' || loginUser.Salesdepartment_text__c == '6.鍗庡崡'))}"  > -->
-                        <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag)}"  >
-
-                        <td style="width:150px;margin:10px;"><apex:outputPanel id="IraiUserId"><apex:inputField id="IraiUser" value="{!quo.IraiUser__c}"/></apex:outputPanel></td>
-                        </apex:variable>
-                        <!-- fy 20220512 -->
-                        <!-- <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.鍗庝笢' || loginUser.Salesdepartment_text__c == '6.鍗庡崡')}"  > -->
-                        <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag}"  >
-
-                        <!-- <th style="text-align:right;width:20px;">obsap浜哄憳</th> -->
-                        <td style="text-align:center;width:20px;margin:10px;"><apex:selectList value="{!quo.IraiUser__c}" size="1" style="width:120px" id="IraiUser" onchange="ObsapUsersChange()"><apex:selectOptions value="{!ObsapUsers}" id="obsapUsersList"/></apex:selectList></td>
-                        </apex:variable>
-
-                        <!-- 20230104 lt DB202212427301 start-->
-                        <!-- <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th>
-                        <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> -->
-                        <!-- 20230104 lt DB202212427301 end-->
-
-                        <!-- 20230104 lt DB202212427301 start-->
-                        <th style="text-align:right;width:190px;margin:10px;">绱ф�ワ細</th>
-                        <td style="text-align:center;width:10px;margin:10px;"><apex:inputField id="Urgent" value="{!quo.Urgent__c}"/></td>
-                        <!-- 20230104 lt DB202212427301 end-->
-
-                        <!-- 2020/02/18  绮剧悽鎶�鏈�  闊╅儴闀挎彁鍑哄厛闅愯棌 娌″繀瑕�  Start-->
-                        <!-- <th style="text-align:right;width:70px;">鎬昏</th>
-                        <td style="text-align:right;width:80px;">
-                            <apex:outputtext id="Estimation_List_Price" value="{0, number, ###,##0.00}"><apex:param value="{!total_ListPrice}"/></apex:outputtext>
-                            <apex:inputHidden id="hidden_Estimation_List" value="{!total_ListPrice}"/>
-                        </td> -->
-                        <!-- 2020/02/18  绮剧悽鎶�鏈�  闊╅儴闀挎彁鍑哄厛闅愯棌 娌″繀瑕�  end-->
-                    </tr>
-                </table>
-                <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 Start -->
-                <table>
-                <tr>
-                    <td>&nbsp;&nbsp;</td>
-                </tr>
-                <tr>
-                    <td style="text-align:right;width:50px;margin:10px;"></td>
-                    <th style="text-align:right;width:50px;margin:10px;" rowspan="3">
-                       {!$ObjectType.QuoteIrai__c.fields.MultiYearWarrantyTotalPrice__c.Label}
-                   :&nbsp;</th>
-                   <!-- <td style="width:470px;"> -->
-                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
-                   <td style="width:100px;" rowspan="3">
-                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
-                       <apex:outputtext style="width: :100px" id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" 
-                       >
-                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
-                       <!-- style="text-align:right;width:180px;"> -->
-                       <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
-                           <apex:param value="{!qb.MultiYearWarrantyTotalPrice}"/>
-                       </apex:outputtext>
-                   </td>
-                   <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
-                   <th style="width:100px;">&nbsp;</th>
-                   <td style="text-align:right;width:50px;"></td>
-                   <td style="text-align:right;width:50px;"></td>
-                   <th colspan="2" style="width:260px;text-align:center;">{!$Label.Sales_Name}</th>
-                   <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
-                   <!-- <apex:variable id="contractWarranty" value="{!1}" var="abc" rendered="{!IF(trade   == '鍐呰部',true,false)}">
-                   
-                   <th style="text-align:right;width:50px;">
-                       {!$ObjectType.Quote.fields.MultiYearWarrantyTotalPrice__c.label}
-                   :&nbsp;</th>
-                   <td style="width:470px;">
-                       <apex:outputtext id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" 
-                       style="text-align:right;width:180px;">
-                           <apex:param value="{!quo.MultiYearWarrantyTotalPrice__c}"/>
-                       </apex:outputtext>
-                   </td>
-                   <th style="text-align:right;width:50px;">
-                       {!$ObjectType.Quote.fields.multiYearWarranty__c.label}
-                   :&nbsp;</th>
-                   <td style="width:200px;"><apex:inputField id="multiYearWarranty" value="{!quo.multiYearWarranty__c}" onchange="callFromCancelgurantee_MD();" style="text-align:right;width:30px;" /></td>
-                   </apex:variable> -->
-               </tr>
-               <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy start-->
-               <tr>
-                <td ></td>
-                <td ></td>
-                <td ></td>
-                <th style="width:100px;text-align:right;">{!$Label.Sales_Name1}</th>
-                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName1"  value="{!quo.Agency1_entrust__c}"   onChange=""/></td>
-                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy start -->
-                <th style="width:100px;text-align:right;">澶氬勾淇�</th>
-                <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
-                <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance"  value="{!quo.cancelMultiyearInsurance__c}"  onChange="cancelMultiyearInsurancechange()"/></td><!-- onChange="cancelMultiyearInsurancechange()"-->
-                <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy end -->
-                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy end -->
-                </tr>
-                <!--obsap 鏂板缁忛攢鍟�1瀛楁 fy end-->
-                <!--DB202302464682銆愭姤浠峰鎵樸�戞姤浠峰鎵樻敼鍠�224 fy start-->
-               <tr>
-                <td ></td>
-                <td ></td>
-                <td ></td>
-                <th style="width:100px;text-align:right;margin:10px;">{!$Label.Sales_Name2}</th>
-                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName2"  value="{!quo.Agency2_entrust__c}"   onChange=""/></td>
-                <th style="width:100px;text-align:right;margin:10px;"></th>
-                <td colspan="2" style="width:120px;text-align:left;margin:10px;"></td>
-               </tr>
-                <!--DB202302464682銆愭姤浠峰鎵樸�戞姤浠峰鎵樻敼鍠�224 fy end-->
-                <tr>
-                    <td>&nbsp;</td>
-                </tr>
-            </table>
-             <!-- CHAN-BJQ4VZ 绮剧悽鎶�鏈� 2019/12/10 End -->
-            </div>
-            <table>
-                <tr>
-                    <td>&nbsp;</td>
-                </tr>
-            </table>
-            <table style="width:1165px;background:rgb(240 238 238);" border="0">
-                <tr>
-                    <th style="text-align:center;width:15px;">&nbsp;<input type="checkbox" id="checkAll" onclick="selectAll()" style="width:10px;"/></th>
-                    <th style="text-align:center;width:15px;">No</th>
-                    <th style="text-align:center;width:150px;">{!$Label.Asset_No}</th>
-                    <th style="text-align:center;width:100px;">{!$Label.SFDA_Status}</th>
-                    <th style="text-align:center;width:300px;">{!$Label.Product_Name}</th>
-                    <th style="text-align:center;width:100px;">{!$Label.Quantity}</th>
-                    <!-- CHAN-BHNBX6 2019/11/20 START -->
-                    <th style="text-align:center;width:50px;">淇濅慨骞撮檺</th>
-                    <!-- CHAN-BHNBX6 2019/11/20 END -->
-                    <th style="text-align:center;width:85px;">ListPrice</th>
-                    <th style="text-align:center;width:100px;">灏忚</th>
-                    <!-- CHAN-BHNBX6 2019/11/20 START -->
-                    <th style="text-align:center;width:100px;">NoDiscount灏忚</th>
-                    <!-- CHAN-BHNBX6 2019/11/20 END -->
-                </tr>
-            </table>
-            <div id="iframelike" style="width:1183px;">
-                <input type="hidden" id="ListPriceTotal" value="0" />
-                <input type="hidden" id="UnitPriceTotal" value="0" />
-                <apex:pageblocktable value="{!activities}" var="s" id="lists" style="width:1165px;">
-                    
-                    <apex:column style="width:20px;" >
-                        <input type="checkbox" name="checklist" value="{!s.lineNo}" style="width:10px;"/>
-                    </apex:column>
-                    <!-- No -->
-                    <apex:column style="width:20px;text-align:right;" >
-                        <apex:outputLabel id="indexNo" value="{!IF(s.PageObject.Product2__c==null,null,s.lineNo + 1)}" style="width:10px;"/>
-                    </apex:column>
-                    <!-- 浜у搧缂栧彿-->
-                    <apex:column style="text-align:center;width:150px;">
-                        <apex:inputText id="Assert" style="width:120px;" value="{!s.Asset_Model}" onclick="searchProduct('{!s.lineNo}',this.value)" />
-                        <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
-                        <apex:inputHidden id="CanNotCancelledGurantee__c" value="{!s.CanNotCancelledGurantee}" />
-                        <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
-                    </apex:column>
-                    <!-- NMPA鐘舵�� -->
-                    <apex:column style="width:100px;text-align:center;">
-                        <apex:outputField style="width:75px;" id="Status__c" value="{!s.PageObject.SFDA_Status__c}"/>
-                        <apex:inputHidden id="SFDA" value="{!s.PageObject.SFDA_Status__c}"/>
-                    </apex:column>
-                    <!-- 浜у搧鍚嶇О -->
-                    <apex:column style="width:300px;">
-                        <div id="Page:mainForm:block:lists:{!s.lineNo}:NameLink">
-                            <apex:outputLink style="width:300px;" value="{!baseUrl}/{!s.PageObject.Product2__c}" id="Nametext1" target="_blank">{!s.PageObject.Name__c}</apex:outputLink>
-                        </div>
-                        <apex:inputHidden id="Name__c" value="{!s.PageObject.Name__c}"/>
-                        <apex:inputHidden id="url__c" value="{!s.PageObject.Product2__c}"/>
-                    </apex:column>
-                    <!-- 鏁伴噺 -->
-                    <apex:column style="text-align:center;width:100px;">
-                        <apex:inputField id="Quantity" style="width:50px;text-align:right;" value="{!s.PageObject.Quantity__c}" onclick="show('{!s.PageObject.GuaranteePeriod__c}')" onChange="calPrice('{!s.lineNo}')"/>
-                    </apex:column>
-                    <!--    2019/11/12 淇濅慨骞撮檺 CHAN-BHNBX6  start -->
-                    <apex:column style="width:50px;text-align:right;" >
-                        <apex:outputLabel id="itemGuaranteePeriod" value="{!s.PageObject.GuaranteePeriod__c}" style="width:10px;"/>
-                    </apex:column>
-                    <!--    2019/11/12 淇濅慨骞撮檺 CHAN-BHNBX6  end -->
-                    <!-- ListPrice-->
-                    <apex:column style="width:85px;text-align:center;">
-                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
-                            <apex:outputText style="width:85px;" id="ListPricetext" value="{0, number, ###,##0.00}">
-                                <apex:param value="{!s.ListPrice_Page}" />
-                            </apex:outputText>
-                        </apex:outputPanel>
-                        <apex:inputHidden id="ListPrice" value="{!s.ListPrice_Page}"/>
-                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
-                            <span style="width:85px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPricetext">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
-                            <script type="text/javascript">
-                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPrice')).val(toNum(0));
-                            </script>
-                        </apex:outputPanel>
-                    </apex:column>
-                    <!-- 灏忚 -->
-                    <apex:column style="width:100px;text-align:center;">
-                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
-                            <apex:outputText style="width:80px;" id="ListPriceTotalText" value="{0, number, ###,##0.00}">
-                                <apex:param value="{!s.ListPriceTotal_Page}" />
-                            </apex:outputText>
-                        </apex:outputPanel>
-                        <apex:inputHidden id="ListPriceTotal" value="{!s.ListPriceTotal_Page}"/>
-                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
-                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPriceTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
-                            <script type="text/javascript">
-                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPriceTotal')).val(toNum(0));
-                            </script>
-                        </apex:outputPanel>
-                        <apex:inputHidden id="Product_Id" value="{!s.PageObject.Product2__c}"/>
-                        <apex:inputHidden id="lineNo" value="{!s.lineNo}"/>
-                    </apex:column>
-                    <!-- CHAN-BHNBX6  NodisCount 灏忚  2019/11/20 START -->
-                    <apex:column style="width:100px;text-align:center;">
-                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
-                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
-                                <apex:param value="{!s.NoDiscountTotal_Page}" />
-                            </apex:outputText>
-                        </apex:outputPanel>
-                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
-                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
-                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
-                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
-                            <script type="text/javascript">
-                            debugger
-                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
-                            </script>
-                        </apex:outputPanel>
-                        
-                        
-                    </apex:column>
-                    <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy start -->
-                    <!-- <apex:column style="width:100px;text-align:right;">
-                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='瑕�' ||(quo.cancelMultiyearInsurance__c =='涓嶈' && s.CanNotCancelledGurantee == 'true' ),true,false)}" >
-                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
-                                <apex:param value="{!s.NoDiscountTotal_Page}" />
-                            </apex:outputText>
-                        </apex:outputPanel>
-                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
-                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
-                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='涓嶈'&& s.CanNotCancelledGurantee == 'false'  ,true,false)}" >
-                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
-                            <script type="text/javascript">
-                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
-                            </script>
-                        </apex:outputPanel>
-                    </apex:column> -->
-                    <!-- DB202212304166 銆愮揣鎬�-鎶ヤ环濮旀墭涓庤喘涔版剰鍚戙�戣灏嗘渶鍚庢搷浣滅殑鎶ヤ环濮旀墭鐘舵�佹斁鍒拌喘涔版剰鍚戜腑 fy end -->
-                    <!-- CHAN-BHNBX6  NodisCount 灏忚  2019/11/20 END -->
-                </apex:pageBlockTable>
-            </div>
-
-            <BR></BR>
-            <table border="0">
-                <tr>
-                    <td style="width:550px;" align="right">
-                        <apex:inputField value="{!quo.Note__c}" style="width:550px;height:55px;"/>
-                    </td>
-                    <td>
-                        <table border="0">
-                            <tr>
-                                <th style="width:15px">&nbsp;</th>
-                                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy start -->
-                                <td style="width:100px;" align="right"><apex:commandButton id="QuoteIraiBtn" action="{!checkIraiUser}" reRender="IraiUserId,message1" onclick="blockme();" oncomplete="iraiJs();return false;" value="鍙戦�佸鎵橀偖浠�" style="width:100px;white-space:nowrap;" disabled="{!Save_button}"/></td>
-                                <!-- SWAG-CKDATG 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 fy end -->
-                                <td style="width:100px;" align="right"><apex:commandButton action="{!checkIraiUser}" reRender="IraiUserId,hiddenQuoid,message1" onclick="blockme();" oncomplete="save2btn();return false;" value="{!$Label.Save_Button}" style="width:100px;" disabled="{!Save_button}" /></td>
-                                <!-- 20230109 lt DB202212427301 start  娉ㄩ噴 -->
-                                <!-- <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td>
-                                <td style="width:100px;" align="right"><apex:commandButton action="{!Back}" rerender="hiddenQuoid" value="涓嶄繚瀛橈紙杩斿洖锛�" style="width:90px;"/></td>
-                                <td style="width:100px;" align="right"><apex:commandButton value="浜у搧璇曠敤璇勪环OPD" style="width:95px;" onclick="openpdf('OPD');return false;" disabled="{!pdf_button}"/></td>
-                                <td style="width:100px;" align="right"><apex:commandButton value="浜у搧璇曠敤璇勪环SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> -->
-                                <!-- 20230109 lt DB202212427301 end  娉ㄩ噴 -->
-                            </tr>
-                        </table>
-                    </td>
-                </tr>
-            </table>
-        </apex:pageBlock>
-    </apex:form>
 </apex:page>
\ No newline at end of file

--
Gitblit v1.9.1